Files
helm-dashboard/frontend/package.json
T
Andrey Pokhilko 2c4cb262c6 build(deps): bump vite, ws, js-yaml, esbuild, @babel/core in /frontend (#734)
* build(deps): bump vite, ws, js-yaml, esbuild, @babel/core in /frontend

Closes six Dependabot advisories that had no automated PR because all but
vite are transitive and not expressible as direct bumps:

  vite         7.3.1  -> 7.3.6   3 high
  ws           8.19.0 -> 8.21.3  1 high
  js-yaml      4.1.1  -> 4.3.0   1 high
  esbuild      0.27.3 -> 0.28.1  1 low
  @babel/core  7.29.0 -> 7.29.7  1 low

storybook moves 10.2.10 -> 10.5.7 as a prerequisite: 10.2.10 caps esbuild
at ^0.27.0, so 0.28.1 was unreachable until storybook widened the range.
That is within the declared ^10.2.10, so only the vite range changed in
package.json.

Verified with npm ci, vite build and tsc --noEmit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* fix(frontend): give action() story callbacks a void return

storybook 10.5.7 types action() as returning any, so the concise arrow
bodies tripped @typescript-eslint/no-unsafe-return. Wrapping the calls in
block bodies discards the return value and restores the void contract the
onSelect/onClick props expect.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-08 12:34:26 +01:00

111 lines
3.5 KiB
JSON

{
"name": "dashboard",
"version": "1.1.0",
"type": "module",
"description": "Frontend Web UI for Helm Dashboard",
"repository": {
"type": "git",
"url": "git+https://github.com/komodorio/helm-dashboard.git"
},
"bugs": {
"url": "https://github.com/komodorio/helm-dashboard/issues"
},
"homepage": "https://github.com/komodorio/helm-dashboard#readme",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"prepare": "cd .. && husky",
"pre:commit": "lint-staged",
"test": "echo \"Error: no test specified. Please use 'cypress:run' or 'cypress:open' commands\" && exit 1",
"tsc": "tsc",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"lint": "npx eslint src/",
"lint:fix": "npm run lint -- --fix --max-warnings=0",
"prettier": "npx prettier src/ --check",
"prettier:fix": "npm run prettier -- --write",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:component": "cypress run --component",
"cypress:component:open": "cypress open --component"
},
"dependencies": {
"@dagrejs/dagre": "^2.0.4",
"@tanstack/react-query": "^5.90.21",
"@types/d3-force": "^3.0.10",
"@xyflow/react": "^12.10.1",
"compare-versions": "^6.1.1",
"d3-force": "^3.0.0",
"diff2html": "^3.4.52",
"flowbite-react": "^0.12.17",
"highlight.js": "^11.11.1",
"html-react-parser": "^5.2.17",
"luxon": "^3.7.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-error-boundary": "^6.1.1",
"react-icons": "^5.5.0",
"react-intersection-observer": "^10.0.3",
"react-modern-drawer": "^1.4.0",
"react-router": "^7.13.0",
"react-select": "^5.10.2",
"swagger-ui-react": "^5.31.2",
"uuid": "^14.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.2",
"@storybook/addon-docs": "^10.2.10",
"@storybook/addon-links": "^10.2.10",
"@storybook/mdx2-csf": "^1.1.0",
"@storybook/react-vite": "^10.2.10",
"@tailwindcss/vite": "^4.2.0",
"@types/luxon": "^3.7.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/swagger-ui-react": "^5.18.0",
"@typescript-eslint/eslint-plugin": "^8.56.0",
"@typescript-eslint/parser": "^8.56.0",
"@vitejs/plugin-react": "^5.1.4",
"autoprefixer": "^10.4.24",
"babel-plugin-react-compiler": "^1.0.0",
"cypress": "15.10.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-storybook": "^10.2.10",
"eslint-plugin-tsc": "^2.0.0",
"flowbite": "^4.0.1",
"globals": "^17.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"rollup-plugin-visualizer": "^7.0.0",
"storybook": "^10.2.10",
"tailwindcss": "^4.2.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0",
"vite": "^7.3.5",
"vite-plugin-static-copy": "^3.2.0"
},
"overrides": {
"minimatch": "^10.2.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "npm run lint:fix",
"*.{js,jsx,ts,tsx,json,css,md,mdx}": "npm run prettier:fix"
},
"resolutions": {
"dompurify": "^3.3.2"
},
"keywords": [],
"author": "",
"license": "Apache-2.0"
}