From 8059b92511fe3dcbb180659c70de193c24deb20f Mon Sep 17 00:00:00 2001 From: Wanpan Date: Fri, 16 Aug 2024 14:51:27 +0800 Subject: [PATCH] deps: Fix ghost dependency issue when using pnpm --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 41f1576..a48ac04 100644 --- a/package.json +++ b/package.json @@ -36,11 +36,13 @@ "test:only": "node ./bin/rc-test.js" }, "dependencies": { + "@babel/core": "^7.25.2", "@babel/preset-typescript": "^7.18.6", "@babel/runtime": "^7.18.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.0.0", "@umijs/fabric": "^4.0.0", + "babel-jest": "^29.7.0", "babel-plugin-module-resolver": "^4.1.0", "babel-preset-umi": "^1.8.4", "core-js": "^3.25.5",