f07a4c7775
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>
10 lines
272 B
JSON
10 lines
272 B
JSON
{
|
|
"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"]
|
|
}
|