chore: upgrade types of react

This commit is contained in:
Rairn 2023-06-25 09:24:21 +08:00
parent 0e84d61b72
commit 78729bdc41
3 changed files with 15 additions and 14 deletions

View File

@ -31,8 +31,8 @@
"run:example": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./examples/index.ts" "run:example": "ts-node-dev -r dotenv/config -r tsconfig-paths/register ./examples/index.ts"
}, },
"resolutions": { "resolutions": {
"@types/react": "^17.0.0", "@types/react": "^18.0.0",
"@types/react-dom": "^17.0.0", "@types/react-dom": "^18.0.0",
"react-router-dom": "^6.11.2", "react-router-dom": "^6.11.2",
"react-router": "^6.11.2", "react-router": "^6.11.2",
"react": "^18.0.0", "react": "^18.0.0",
@ -44,8 +44,8 @@
} }
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^17.0.0", "@types/react": "^18.0.0",
"@types/react-dom": "^17.0.0", "@types/react-dom": "^18.0.0",
"react": "^18.0.0", "react": "^18.0.0",
"react-dom": "^18.0.0", "react-dom": "^18.0.0",
"@commitlint/cli": "^16.1.0", "@commitlint/cli": "^16.1.0",

View File

@ -13,8 +13,8 @@
"@formily/shared": "2.2.26", "@formily/shared": "2.2.26",
"@nocobase/server": "0.10.0-alpha.3", "@nocobase/server": "0.10.0-alpha.3",
"@nocobase/test": "0.10.0-alpha.3", "@nocobase/test": "0.10.0-alpha.3",
"@types/react": "^17.0.0", "@types/react": "^18.0.0",
"@types/react-dom": "^17.0.0", "@types/react-dom": "^18.0.0",
"antd": "^4.24.8", "antd": "^4.24.8",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"react": "^18.0.0", "react": "^18.0.0",

View File

@ -6740,11 +6740,12 @@
version "1.2.4" version "1.2.4"
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc"
"@types/react-dom@<18.0.0", "@types/react-dom@^17.0.0", "@types/react-dom@^18.0.0": "@types/react-dom@<18.0.0", "@types/react-dom@^18.0.0":
version "17.0.19" version "18.2.6"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.19.tgz#36feef3aa35d045cacd5ed60fe0eef5272f19492" resolved "https://registry.npmmirror.com/@types/react-dom/-/react-dom-18.2.6.tgz#ad621fa71a8db29af7c31b41b2ea3d8a6f4144d1"
integrity sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==
dependencies: dependencies:
"@types/react" "^17" "@types/react" "*"
"@types/react-redux@^7.1.20": "@types/react-redux@^7.1.20":
version "7.1.25" version "7.1.25"
@ -6755,10 +6756,10 @@
hoist-non-react-statics "^3.3.0" hoist-non-react-statics "^3.3.0"
redux "^4.0.0" redux "^4.0.0"
"@types/react@*", "@types/react@16 || 17 || 18", "@types/react@>=16.9.11", "@types/react@^17", "@types/react@^17.0.0", "@types/react@^18.0.0": "@types/react@*", "@types/react@16 || 17 || 18", "@types/react@>=16.9.11", "@types/react@^18.0.0":
version "17.0.60" version "18.2.14"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.60.tgz#a4a97dcdbebad76612c188fc06440e4995fd8ad2" resolved "https://registry.npmmirror.com/@types/react/-/react-18.2.14.tgz#fa7a6fecf1ce35ca94e74874f70c56ce88f7a127"
integrity sha512-pCH7bqWIfzHs3D+PDs3O/COCQJka+Kcw3RnO9rFA2zalqoXg7cNjJDh6mZ7oRtY1wmY4LVwDdAbA1F7Z8tv3BQ== integrity sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==
dependencies: dependencies:
"@types/prop-types" "*" "@types/prop-types" "*"
"@types/scheduler" "*" "@types/scheduler" "*"