fix(config): move build toolchain to devDependencies
vite, @vitejs/plugin-react-swc, @tailwindcss/vite are build-time only; they were inflating the production dependency audit surface. Build + tests verified green after the move.
This commit is contained in:
1 parent
3f91a45660
commit
187dfb5371
2 files changed
+12
-12
No files matched your search
+3
-3
@@ -20,25 +20,24 @@
|
||||
"scaffold:species": "node scripts/scaffold-species.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@vitejs/plugin-react-swc": "^3.7.2",
|
||||
"canvg": "^4.0.2",
|
||||
"motion": "^11.11.17",
|
||||
"pdf-lib": "^1.17.1",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"react-router-dom": "^7.1.1",
|
||||
"vite": "^7.3.6",
|
||||
"zod": "^3.24.1",
|
||||
"zustand": "^5.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
"@testing-library/jest-dom": "^6.6.3",
|
||||
"@testing-library/react": "^16.1.0",
|
||||
"@testing-library/user-event": "^14.5.2",
|
||||
"@types/node": "^20.19.41",
|
||||
"@types/react": "^19.0.1",
|
||||
"@types/react-dom": "^19.0.1",
|
||||
"@vitejs/plugin-react-swc": "^3.7.2",
|
||||
"eslint": "^9.17.0",
|
||||
"eslint-plugin-react": "^7.37.3",
|
||||
"eslint-plugin-react-hooks": "^5.1.0",
|
||||
@@ -47,6 +46,7 @@
|
||||
"prettier": "^3.4.2",
|
||||
"typescript": "^5.7.2",
|
||||
"typescript-eslint": "^8.19.0",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "^3.2.7"
|
||||
}
|
||||
}
|
||||
Generated
+9
-9
@@ -8,12 +8,6 @@ importers:
|
||||
|
||||
.:
|
||||
dependencies:
|
||||
'@tailwindcss/vite':
|
||||
specifier: ^4.3.0
|
||||
version: 4.3.0(vite@7.3.6(@types/node@20.19.41)(jiti@2.7.0)(lightningcss@1.32.0))
|
||||
'@vitejs/plugin-react-swc':
|
||||
specifier: ^3.7.2
|
||||
version: 3.11.0(vite@7.3.6(@types/node@20.19.41)(jiti@2.7.0)(lightningcss@1.32.0))
|
||||
canvg:
|
||||
specifier: ^4.0.2
|
||||
version: 4.0.3
|
||||
@@ -32,9 +26,6 @@ importers:
|
||||
react-router-dom:
|
||||
specifier: ^7.1.1
|
||||
version: 7.15.1(react-dom@19.2.6(react@19.2.6))(react@19.2.6)
|
||||
vite:
|
||||
specifier: ^7.3.6
|
||||
version: 7.3.6(@types/node@20.19.41)(jiti@2.7.0)(lightningcss@1.32.0)
|
||||
zod:
|
||||
specifier: ^3.24.1
|
||||
version: 3.25.76
|
||||
@@ -42,6 +33,9 @@ importers:
|
||||
specifier: ^5.0.2
|
||||
version: 5.0.13(@types/react@19.2.14)(react@19.2.6)
|
||||
devDependencies:
|
||||
'@tailwindcss/vite':
|
||||
specifier: ^4.3.0
|
||||
version: 4.3.0(vite@7.3.6(@types/node@20.19.41)(jiti@2.7.0)(lightningcss@1.32.0))
|
||||
'@testing-library/jest-dom':
|
||||
specifier: ^6.6.3
|
||||
version: 6.9.1
|
||||
@@ -60,6 +54,9 @@ importers:
|
||||
'@types/react-dom':
|
||||
specifier: ^19.0.1
|
||||
version: 19.2.3(@types/react@19.2.14)
|
||||
'@vitejs/plugin-react-swc':
|
||||
specifier: ^3.7.2
|
||||
version: 3.11.0(vite@7.3.6(@types/node@20.19.41)(jiti@2.7.0)(lightningcss@1.32.0))
|
||||
eslint:
|
||||
specifier: ^9.17.0
|
||||
version: 9.39.4(jiti@2.7.0)
|
||||
@@ -84,6 +81,9 @@ importers:
|
||||
typescript-eslint:
|
||||
specifier: ^8.19.0
|
||||
version: 8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3)
|
||||
vite:
|
||||
specifier: ^7.3.6
|
||||
version: 7.3.6(@types/node@20.19.41)(jiti@2.7.0)(lightningcss@1.32.0)
|
||||
vitest:
|
||||
specifier: ^3.2.7
|
||||
version: 3.2.7(@types/node@20.19.41)(happy-dom@20.10.6)(jiti@2.7.0)(lightningcss@1.32.0)
|
||||
|
||||
Reference in new issue
Block a user