bytelyst-devops-tools/dashboard/web/package.json
Hermes VM 3ee4e7104e fix(dashboard): Phase 5 P0 — correct CI workspace path + real ESLint
- ci.yml: actions/checkout into the runner workspace instead of cd-ing into a
  hard-coded host path and `git reset --hard origin/main` on the live checkout;
  install via `pnpm install:gitea` (self-contained, no sibling common-plat
  checkout); E2E step left as a TODO pointer (ci-e2e-hardening, Phase 5 P2).
- Fix the same stale /opt/bytelyst/bytelyst-devops-tools path in deploy.sh,
  scripts/deploy-hotcopy.sh, DEPLOYMENT.md, DEPLOYMENT_GUIDE.md.
- Replace the no-op `lint` echoes with real ESLint 9 flat configs (js +
  typescript-eslint recommended) for backend and web; add a root `pnpm lint`.
- Fix the 10 errors lint surfaced, incl. require('os') in an ESM backend
  (system/repository.ts -> import * as os), prefer-const x4, and a ternary
  expression-statement in web vm/page.tsx.

Verified locally: secret-scan, lint (0 errors; correctly fails on bad code),
typecheck, unit tests (backend 9 / web 11), and build all green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 06:50:32 +00:00

49 lines
1.3 KiB
JSON

{
"name": "@bytelyst/devops-web",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.6.5",
"scripts": {
"dev": "next dev",
"build": "BROWSERSLIST_IGNORE_OLD_DATA=true BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA=true next build",
"start": "next start",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
},
"dependencies": {
"clsx": "^2.1.1",
"lucide-react": "^0.562.0",
"next": "16.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@playwright/test": "^1.59.1",
"@tailwindcss/postcss": "^4.0.0",
"@testing-library/jest-dom": "^6.6.5",
"@testing-library/react": "^16.2.0",
"@types/node": "^25.0.3",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@eslint/js": "^9.18.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "3.2.4",
"autoprefixer": "^10.4.20",
"eslint": "^9.18.0",
"globals": "^15.14.0",
"jsdom": "^26.0.3",
"playwright": "^1.58.2",
"postcss": "^8.4.49",
"tailwindcss": "^4.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.20.0",
"vitest": "^3.1.2"
}
}