0bd5223587
* ci: add E2E preflight check for Headlamp connectivity and plugin version Adds a diagnostic step before E2E tests that: - Logs the expected plugin version from package.json - Verifies Headlamp is reachable (fails fast if not) - Attempts to list installed plugins for debugging This surfaces version mismatches and connectivity issues immediately instead of requiring analysis of cryptic test timeout failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: correct package name from headlamp-solaris to headlamp-polaris The package name was misspelled as "solaris" instead of "polaris" in artifacthub-pkg.yml, package.json, and package-lock.json. Fixes PRI-49 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: correct package name from headlamp-solaris to headlamp-polaris Fixes the ArtifactHub package name typo introduced in 0.6.0. Only changes the name field in artifacthub-pkg.yml, package.json, and package-lock.json. No dependency or workflow changes. Fixes #25 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: gandalf-the-greybeard[bot] <gandalf-the-greybeard[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "headlamp-polaris",
|
|
"version": "0.6.0",
|
|
"description": "Headlamp plugin for Fairwinds Polaris audit results",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/privilegedescalation/headlamp-polaris-plugin.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/privilegedescalation/headlamp-polaris-plugin/issues"
|
|
},
|
|
"homepage": "https://github.com/privilegedescalation/headlamp-polaris-plugin#readme",
|
|
"author": "privilegedescalation",
|
|
"license": "Apache-2.0",
|
|
"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"
|
|
}
|
|
}
|