9 Commits

Author SHA1 Message Date
Chris Farhood eff564b7d1 fix: pin pnpm@10.32.1 via packageManager field (PRI-1630)
Dual Approval (CTO + QA) / dual-approval (pull_request) Failing after 0s
CI / ci (push) Failing after 35s
CI / ci (pull_request) Failing after 33s
2026-05-20 11:11:16 +00:00
Chris Farhood 7589718ac6 fix: correct pnpm overrides format and regenerate lockfile (PRI-1630)
Dual Approval (CTO + QA) / dual-approval (pull_request) Failing after 0s
CI / ci (push) Failing after 42s
CI / ci (pull_request) Failing after 39s
- Move overrides from pnpm.overrides to top-level overrides (pnpm 10+ requirement)
- Add pnpm.onlyBuiltDependencies to match other plugins
- Remove redundant direct vite/vite-plugin-svgr devDeps (provided by headlamp-plugin)
- Regenerate pnpm-lock.yaml in sync with updated package.json
- Update artifacthub-pkg.yml with real v0.1.0 release values and correct checksum
2026-05-20 11:07:15 +00:00
privilegedescalation-engineer[bot] 59cfa0bd78 fix: override elliptic for GHSA-848j-6mx2-7j84
* fix: override elliptic to patched version for GHSA-848j-6mx2-7j84

* chore: regenerate pnpm-lock.yaml for elliptic override

Co-Authored-By: Paperclip <noreply@paperclip.ing>

---------

Co-authored-by: Chris Farhood <chris@farhood.org>
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-05-06 02:14:16 +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
Gandalf the Greybeard a62dbcac2d fix: add missing test devDependencies (vitest, @testing-library/*)
The test script runs vitest and imports from @testing-library/react and
@testing-library/jest-dom, but none of these were listed as devDependencies.
Adds vitest ^3.0.5 and all required @testing-library packages matching other
plugin repos in the org.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 12:53:39 +00:00
Gandalf the Greybeard 9da27f4186 feat: scaffold starter template with TypeScript, CRD list view, CI, ArtifactHub
Adds full plugin starter template including:
- package.json with @kinvolk/headlamp-plugin devDependency and standard scripts
- tsconfig.json extending headlamp plugin config
- vitest.config.mts + vitest.setup.ts (jsdom, NODE_ENV=test, localStorage shim)
- src/index.tsx: registers sidebar entry and route for ResourceListPage
- src/components/ResourceListPage.tsx: placeholder CRD list view with TODO guide
- src/components/ResourceListPage.test.tsx: example tests using vi.mock pattern
- .github/workflows/ci.yaml: delegates to shared plugin-ci.yaml
- .github/workflows/release.yaml: delegates to shared plugin-release.yaml
- artifacthub-pkg.yml + artifacthub-repo.yml: ArtifactHub metadata with TODO markers
- renovate.json: Mend Renovate config for weekly dependency updates
- README.md: complete getting-started guide
- CONTRIBUTING.md: local dev, code style, testing, PR process
- LICENSE: Apache-2.0

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-21 03:45:12 +00:00