bytelyst-devops-tools/dashboard/backend/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

45 lines
1.3 KiB
JSON

{
"name": "@bytelyst/devops-backend",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@10.6.5",
"description": "ByteLyst DevOps backend — deployment orchestration and service monitoring",
"type": "module",
"scripts": {
"dev": "node --import tsx src/server.ts",
"build": "tsc",
"typecheck": "tsc --noEmit",
"start": "node dist/server.js",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "eslint src",
"migrate": "tsx src/scripts/run-migrations.ts up",
"migrate:rollback": "tsx src/scripts/run-migrations.ts down"
},
"dependencies": {
"@azure/cosmos": "^4.1.0",
"@azure/identity": "^4.5.0",
"@azure/keyvault-secrets": "^4.9.0",
"@fastify/rate-limit": "^10.2.1",
"@fastify/swagger": "^9.0.0",
"@fastify/swagger-ui": "^5.2.1",
"dotenv": "^16.4.5",
"fastify": "^5.2.1",
"fastify-sse-v2": "^4.2.2",
"jose": "^6.1.2",
"zod": "^3.24.1"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@types/node": "^25.0.3",
"@vitest/coverage-v8": "3.2.4",
"eslint": "^9.18.0",
"globals": "^15.14.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.20.0",
"vitest": "^3.1.2"
}
}