186f9ef380
Fix getNamespaces() to skip cluster-scoped resources (Namespace: "") that caused Router.createRouteURL to throw TypeError on the Namespaces page. Add Playwright E2E smoke tests with Authentik OIDC auth for CI and K8s token fallback for local dev. Add Gitea Actions E2E workflow, vitest unit test infrastructure, and test-utils fixtures. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
24 lines
711 B
JSON
24 lines
711 B
JSON
{
|
|
"name": "headlamp-polaris-plugin",
|
|
"version": "0.1.3",
|
|
"description": "Headlamp plugin for Fairwinds Polaris audit results",
|
|
"scripts": {
|
|
"start": "headlamp-plugin start",
|
|
"build": "headlamp-plugin build",
|
|
"package": "headlamp-plugin package",
|
|
"tsc": "tsc --noEmit",
|
|
"lint": "eslint --ext .ts,.tsx src/",
|
|
"lint:fix": "eslint --ext .ts,.tsx --fix src/",
|
|
"format": "prettier --write src/",
|
|
"format:check": "prettier --check src/",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"e2e": "playwright test",
|
|
"e2e:headed": "playwright test --headed"
|
|
},
|
|
"devDependencies": {
|
|
"@kinvolk/headlamp-plugin": "^0.13.0",
|
|
"@playwright/test": "^1.58.2"
|
|
}
|
|
}
|