mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
Each role's Playwright spec is staged the same way `test-e2e-playwright` does at deploy time (central config + personas tree + service-gating) and `npx playwright test --list` runs against it. `--list` skips the browser launch and any test body, so this catches refactor regressions like missing helpers, broken exports, or syntax errors in seconds instead of waiting for a full deploy. Stub env values keyed off the variable-name suffix satisfy the few specs that build URLs or call `.replace()` at module-load time. Parallelism caps at `INFINITO_WORKER_CPU` (same env knob as `scripts/make/parallel.sh`); output is replayed in `SPEC_FILES` order after all workers drain so stdout stays deterministic. `@playwright/test` ships as a devDep via the existing eslint `npm ci`. Workflow wires into `ci-orchestrator.yml` behind the `lint-gate`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
18 lines
444 B
JSON
18 lines
444 B
JSON
{
|
|
"name": "infinito-nexus-js-lint",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "JavaScript lint dependencies for infinito-nexus (Playwright specs + persona helpers).",
|
|
"scripts": {
|
|
"lint": "eslint",
|
|
"lint:fix": "eslint --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.17.0",
|
|
"@playwright/test": "^1.55.0",
|
|
"eslint": "^9.17.0",
|
|
"eslint-plugin-playwright": "^2.1.0",
|
|
"globals": "^15.14.0"
|
|
}
|
|
}
|