chore: optimize jsdom and vitest configuration (#3269)
This commit is contained in:
parent
1c3b5c1645
commit
80335aa23c
@ -28,7 +28,6 @@
|
|||||||
"eslint-plugin-react": "^7.33.0",
|
"eslint-plugin-react": "^7.33.0",
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"fast-glob": "^3.3.1",
|
"fast-glob": "^3.3.1",
|
||||||
"jsdom": "^16.0.0",
|
|
||||||
"lerna": "^4.0.0",
|
"lerna": "^4.0.0",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^3.0.0",
|
||||||
"pretty-format": "^24.0.0",
|
"pretty-format": "^24.0.0",
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
"@types/supertest": "^2.0.11",
|
"@types/supertest": "^2.0.11",
|
||||||
"@vitejs/plugin-react": "^4.0.0",
|
"@vitejs/plugin-react": "^4.0.0",
|
||||||
"jsdom-worker": "^0.3.0",
|
"jsdom-worker": "^0.3.0",
|
||||||
|
"jsdom": "^16.0.0",
|
||||||
"mariadb": "^2.5.6",
|
"mariadb": "^2.5.6",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"mysql2": "^2.3.3",
|
"mysql2": "^2.3.3",
|
||||||
|
@ -57,6 +57,7 @@ export const defineConfig = (config = {}) => {
|
|||||||
'**/lib/**',
|
'**/lib/**',
|
||||||
'**/es/**',
|
'**/es/**',
|
||||||
'**/e2e/**',
|
'**/e2e/**',
|
||||||
|
'**/__e2e__/**',
|
||||||
'**/{vitest,commitlint}.config.*',
|
'**/{vitest,commitlint}.config.*',
|
||||||
'packages/**/{dumi-theme-nocobase,sdk,client}/**/__tests__/**/*.{test,spec}.{ts,tsx}',
|
'packages/**/{dumi-theme-nocobase,sdk,client}/**/__tests__/**/*.{test,spec}.{ts,tsx}',
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user