diff --git a/package.json b/package.json index 79f3f33e3d..96163ed149 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "format": "biome format --write .", "install-react-16": "npm i --no-save --legacy-peer-deps react@16 react-dom@16 @testing-library/react@12", "install-react-17": "npm i --no-save --legacy-peer-deps react@17 react-dom@17 @testing-library/react@12", - "install-react-18": "npm i --no-save --legacy-peer-deps react@18 react-dom@18", + "install-react-18": "npm i --no-save --legacy-peer-deps react@18.2 react-dom@18.2", "prelint": "dumi setup", "lint": "npm run version && npm run tsc && npm run lint:script && npm run lint:demo && npm run lint:md && npm run lint:style && npm run lint:changelog", "lint-fix": "npm run lint-fix:script && npm run lint-fix:demo", @@ -303,10 +303,10 @@ "rc-footer": "^0.6.8", "rc-tween-one": "^3.0.6", "rc-virtual-list": "^3.11.5", - "react": "^18.2.0", + "react": "18.2.0", "react-copy-to-clipboard": "^5.1.0", "react-countup": "^6.5.3", - "react-dom": "^18.2.0", + "react-dom": "18.2.0", "react-draggable": "^4.4.6", "react-fast-marquee": "^1.6.4", "react-highlight-words": "^0.20.0",