From 409a227aa0fc91d6a405bd0b18c5cdd0e5a766b8 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Fri, 26 Apr 2024 17:17:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=20ci:=20locked=20React=20version?= =?UTF-8?q?=20(#48640)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: fix * ci: lock React version --------- Co-authored-by: wuxh --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",