Skip to content

Commit

Permalink
chore: 升级 react v18
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Oct 22, 2023
1 parent 03705c3 commit ca44667
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions examples/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"antd": "^5.5.0",
"download.js": "^1.0.0",
"lodash-es": "^4.17.21",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"umi": "^4.0.64"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/li-template-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"@antv/l7": "^2.17.2",
"@antv/larkmap": "^1.4.1",
"antd": "^5.4.6",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"lint-staged": {
"*.less": "stylelint --fix",
Expand Down
4 changes: 2 additions & 2 deletions packages/li-analysis-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"@antv/l7": "^2.17.2",
"@antv/larkmap": "^1.4.1",
"antd": "^5.5.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions packages/li-core-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"@antv/l7": "^2.17.2",
"@antv/larkmap": "^1.4.1",
"antd": "^5.5.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions packages/li-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"@antv/l7": "^2.17.2",
"@antv/larkmap": "^1.4.1",
"antd": "^5.5.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions packages/li-p2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"peerDependencies": {
"@ant-design/icons": "^5.0.1",
"antd": "^5.5.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions packages/li-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"peerDependencies": {
"@antv/l7": "^2.17.2",
"@antv/larkmap": "^1.4.1",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"publishConfig": {
"access": "public",
Expand Down

0 comments on commit ca44667

Please sign in to comment.