fix: add missing direct devDependencies to package.json
This is a prerequisite for CI to work with pnpm --frozen-lockfile. Missing direct devDependencies that were only available transitively: - eslint (lint script needs it) - typescript (tsc script needs it) - vite (provides vite/client.d.ts type definitions) - vite-plugin-svgr (provides vite-plugin-svgr/client.d.ts type definitions) Also fixed: tsconfig.json was missing skipLibCheck: true which caused errors when type definitions referenced packages not in node_modules. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
committed by
Gandalf the Greybeard [agent]
parent
b204491808
commit
f07a4c7775
@@ -2,6 +2,7 @@
|
||||
"extends": "@kinvolk/headlamp-plugin/config/plugins-tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"jsx": "react",
|
||||
"skipLibCheck": true,
|
||||
"types": ["vite/client", "vite-plugin-svgr/client", "vitest/globals", "@testing-library/jest-dom"]
|
||||
},
|
||||
"include": ["src"]
|
||||
|
||||
Reference in New Issue
Block a user