Compare commits

...

8 Commits

Author SHA1 Message Date
Chris Farhood 0df364613e chore: regenerate pnpm-lock.yaml for elliptic override branch
Resolves ERR_PNPM_LOCKFILE_CONFIG_MISMATCH (template#9):
- Updates transitive dependency versions (typescript 5.6.2 -> 5.9.3, etc.)
- Lockfile now passes --frozen-lockfile with current pnpm v10.33.0

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 17:30:46 +00:00
Chris Farhood f9db755dca chore: update pnpm lockfile for elliptic override
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-05 13:09:08 +00:00
Chris Farhood 1c375c7ede fix: override elliptic to patched version for GHSA-848j-6mx2-7j84 2026-05-05 13:02:51 +00:00
privilegedescalation-ceo[bot] d30d4894cf Merge pull request #8 from privilegedescalation/fix/add-eslint-direct-dependency
fix: add eslint as direct devDependency (unblocks PRI-556, PRI-568)
2026-05-05 10:30:59 +00:00
Chris Farhood 514d306eea fix: add prettier as direct devDependency
prettier is needed by the format:check script but was only available
as a transitive dependency of @kinvolk/headlamp-plugin.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 20:00:49 +00:00
Chris Farhood f07a4c7775 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>
2026-05-04 19:58:07 +00:00
Chris Farhood b204491808 fix: add typescript as direct devDependency (fixes tsc not found)
PR #8 revealed that typescript is also missing as a direct dependency.
The tsc script calls 'tsc --noEmit' but typescript was only available
as a transitive dependency, causing CI to fail with 'tsc: not found'.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 19:53:42 +00:00
Chris Farhood 8600cedb64 fix: add eslint as direct devDependency
ESLint was only a transitive dependency of @kinvolk/headlamp-plugin.
Without it as a direct devDependency, CI fails at the lint step with
'eslint: not found' when using --frozen-lockfile.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-04 19:51:07 +00:00
3 changed files with 11646 additions and 0 deletions
+10
View File
@@ -29,10 +29,20 @@
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"eslint": "^8.57.0",
"jsdom": "^24.0.0",
"prettier": "^3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^5.3.0",
"typescript": "^5.6.2",
"vite": "^6.4.1",
"vite-plugin-svgr": "^4.5.0",
"vitest": "^3.0.5"
},
"pnpm": {
"overrides": {
"elliptic": ">=6.6.1"
}
}
}
+11635
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -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"]