c95aab3ca3
- Add isFullUrl() helper to detect full vs proxy URLs - Support both K8s proxy URLs and direct HTTP/HTTPS URLs - Use fetch() for full URLs, ApiProxy for K8s proxy URLs - Improve error messages with context-specific guidance - Update settings with examples for both URL types - Version bump to 0.2.3 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
24 lines
711 B
JSON
24 lines
711 B
JSON
{
|
|
"name": "headlamp-polaris-plugin",
|
|
"version": "0.2.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"
|
|
}
|
|
}
|