Skip to content

Commit 5c822f1

Browse files
committed
fix(package): update to React 18
otherwise will install React 17 just for this plugin and fail with "You might have more than one copy of React in the same app" release-npm BREAKING CHANGE: might cause issues when used with React 17 still (depends on npm installation flags)
1 parent 1dae21a commit 5c822f1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

demo/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"dependencies": {
88
"exmpl": "^2.2.1",
99
"konfi": "^0.1.11",
10-
"mobx": "^6.4.2",
10+
"mobx": "^6.5.0",
1111
"mobx-react-lite": "^3.3.0",
12-
"papua": "^0.1.39",
13-
"react": "^17.0.2",
14-
"react-dom": "^17.0.2"
12+
"papua": "^1.0.0",
13+
"react": "^18.0.0",
14+
"react-dom": "^18.0.0"
1515
},
1616
"localDependencies": {
1717
"indicate": ".."

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"csstype": "^3.0.11",
19-
"react": "^17.0.2"
19+
"react": "^18.0.0"
2020
},
2121
"type": "module",
2222
"sideEffects": false,
@@ -41,9 +41,9 @@
4141
"overflow"
4242
],
4343
"devDependencies": {
44-
"@types/react": "^17.0.39",
45-
"cypress": "^9.5.1",
46-
"padua": "^0.5.3"
44+
"@types/react": "^17.0.43",
45+
"cypress": "^9.5.3",
46+
"padua": "^0.5.4"
4747
},
4848
"prettier": "padua/configuration/.prettierrc.json",
4949
"eslintConfig": {

0 commit comments

Comments
 (0)