From 37889e7b7df4381efde572959dd692b713433c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Tue, 2 Jul 2024 19:36:54 +0800 Subject: [PATCH] chore: rollback package.json --- package.json | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 57580336e4..18436afa62 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,10 @@ "*.{cjs,css,cts,html,js,json,jsx,less,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}": "prettier --write", "*.{css,less,scss}": "stylelint --fix" }, + "resolutions": { + "@types/react": "18", + "@types/react-dom": "18" + }, "dependencies": { "@floating-ui/dom": "^1.4.2", "@rc-component/mini-decimal": "^1.1.0", @@ -95,9 +99,9 @@ "@types/jest-axe": "3.5.4", "@types/lodash": "^4.14.194", "@types/node": "^18.15.13", - "@types/react": "18", + "@types/react": "^18.0.38", "@types/react-beautiful-dnd": "^13.1.4", - "@types/react-dom": "18", + "@types/react-dom": "^18.0.11", "@types/react-helmet": "^6.1.6", "@types/react-is": "^17.0.3", "@types/react-virtualized": "^9.21.21", @@ -180,17 +184,5 @@ "path": "./lib/bundle/antd-mobile.es.js", "limit": "200 kB" } - ], - "overrides": { - "@types/react": { - ".": "18" - }, - "@types/react-dom": { - ".": "18" - } - }, - "_resolutions": { - "@types/react": "18", - "@types/react-dom": "18" - } + ] }