Skip to content

Commit b0f14f4

Browse files
committed
update deps and fix ESM imports
1 parent 7ef35dc commit b0f14f4

File tree

2 files changed

+4839
-3471
lines changed

2 files changed

+4839
-3471
lines changed

package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"docs:build": "export NODE_OPTIONS=--openssl-legacy-provider && dumi build",
3737
"docs:deploy": "gh-pages -d docs-dist",
3838
"build": "pnpm compile",
39-
"compile": "father-build",
39+
"compile": "father-build && pnpm fix-esm-import-path ./es/index.js",
4040
"deploy": "pnpm run docs:build && pnpm run docs:deploy",
4141
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
4242
"test": "vitest --watch=false",
@@ -52,42 +52,43 @@
5252
"react-dom": ">=18"
5353
},
5454
"dependencies": {
55-
"@babel/runtime": "^7.18.0",
55+
"@babel/runtime": "^7.23.8",
5656
"async-validator": "^4.1.0",
57-
"rc-util": "^5.29.3"
57+
"rc-util": "^5.38.1"
5858
},
5959
"devDependencies": {
60-
"@testing-library/jest-dom": "^5.16.4",
60+
"@testing-library/jest-dom": "^5.17.0",
6161
"@testing-library/react": "14.0.0",
6262
"@testing-library/react-hooks": "^8.0.1",
63-
"@testing-library/user-event": "^14.4.3",
64-
"@types/jest": "^29.2.5",
65-
"@types/lodash": "^4.14.135",
66-
"@types/node": "^18.15.11",
67-
"@types/react": "^18.0.32",
68-
"@types/react-dom": "^18.0.0",
63+
"@testing-library/user-event": "^14.5.2",
64+
"@types/jest": "^29.5.11",
65+
"@types/lodash": "^4.14.202",
66+
"@types/node": "^18.19.9",
67+
"@types/react": "^18.2.48",
68+
"@types/react-dom": "^18.2.18",
6969
"@umijs/fabric": "^2.5.2",
7070
"@umijs/test": "4.0.61",
7171
"@vitejs/plugin-react": "^3.1.0",
7272
"@vitest/coverage-c8": "^0.29.8",
7373
"@vitest/ui": "^0.29.8",
74-
"dumi": "^1.1.0",
74+
"dumi": "^1.1.54",
7575
"eslint": "^7.18.0",
7676
"father": "4.1.7",
7777
"father-build": "^1.18.6",
78+
"fix-esm-import-path": "^1.5.0",
7879
"gh-pages": "^3.1.0",
79-
"jest": "^29.3.1",
80+
"jest": "^29.7.0",
8081
"np": "^5.0.3",
81-
"prettier": "^2.8.7",
82+
"prettier": "^2.8.8",
8283
"react": "18.2.0",
8384
"react-dnd": "^8.0.3",
8485
"react-dnd-html5-backend": "^8.0.3",
8586
"react-dom": "18.2.0",
8687
"react-redux": "^4.4.10",
8788
"redux": "^3.7.2",
88-
"ts-node": "^10.9.1",
89+
"ts-node": "^10.9.2",
8990
"typescript": "5.0.3",
90-
"vite": "^4.2.1",
91+
"vite": "^4.5.2",
9192
"vitest": "^0.29.8"
9293
}
9394
}

0 commit comments

Comments
 (0)