From a634542c9a3f058838c5817f81214c794f4ac5d5 Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Mon, 6 Jan 2025 14:11:25 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Support=20react=2019?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 697750f..fc4ea2e 100644 --- a/package.json +++ b/package.json @@ -70,35 +70,32 @@ "@babel/runtime": "^7.26.0", "date-fns": "^3.6.0", "polished": "^4.3.1", - "recharts": "^2.13.3" + "recharts": "^2.15.0" }, "devDependencies": { - "@commitlint/cli": "^19.6.0", + "@commitlint/cli": "^19.6.1", "@icons-pack/react-simple-icons": "^9.7.0", "@lobehub/lint": "^1.24.4", - "@lobehub/ui": "^1.153.1", "@testing-library/react": "^14.3.1", - "@types/chroma-js": "^2.4.4", + "@types/chroma-js": "^2.4.5", "@types/pangu": "^4.0.2", "@types/query-string": "^6.3.0", - "@types/react": "18.2.40", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "@vitest/coverage-v8": "~1.2.2", "babel-plugin-antd-style": "^1.0.4", - "commitlint": "^19.6.0", + "commitlint": "^19.6.1", "concurrently": "^8.2.2", "cross-env": "^7.0.3", "dayjs": "^1.11.13", - "dumi": "^2.4.14", - "dumi-theme-lobehub": "^1.10.4", + "dumi": "^2.4.17", + "dumi-theme-lobehub": "^1.10.10", "eslint": "^8.57.1", "father": "^4.5.1", "husky": "^9.1.7", "jsdom": "^23.2.0", - "lint-staged": "^15.2.10", - "prettier": "^3.3.3", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "lint-staged": "^15.3.0", + "prettier": "^3.4.2", "remark": "^14.0.3", "remark-cli": "^11.0.0", "semantic-release": "^21.1.2", @@ -113,8 +110,9 @@ "antd-style": ">=3", "chroma-js": ">=2", "lucide-react": ">=0.396.0", - "react": ">=18", - "react-dom": ">=18", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0", + "react-is": "^18.0.0 || ^19.0.0", "react-layout-kit": ">=1" }, "publishConfig": {