The repo's .commitlintrc.json extends @commitlint/config-conventional and the .husky/commit-msg hook invokes the commitlint CLI, but neither package was actually declared in package.json — both were resolved implicitly via npx and the local cache. This makes a clean install break the commit-msg hook. Adds both packages as devDependencies (^20.5.0 — latest at the time of writing) so a fresh `npm install` produces a working hook. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
56 lines
3.4 KiB
JSON
56 lines
3.4 KiB
JSON
{
|
|
"name": "veza-monorepo",
|
|
"private": true,
|
|
"packageManager": "npm@10.9.2",
|
|
"workspaces": [
|
|
"apps/web",
|
|
"packages/*",
|
|
"veza-backend-api",
|
|
"veza-stream-server"
|
|
],
|
|
"overrides": {
|
|
"axios": ">=1.13.5"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.11.1",
|
|
"@chromatic-com/playwright": "^0.12.8",
|
|
"@commitlint/cli": "^20.5.0",
|
|
"@commitlint/config-conventional": "^20.5.0",
|
|
"@eslint/js": "^9.39.1",
|
|
"@playwright/test": "^1.57.0",
|
|
"@types/node": "^25.0.3",
|
|
"chromatic": "^16.0.0",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"globals": "^16.5.0",
|
|
"prettier": "3.6.2",
|
|
"turbo": "^2.3.0",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "^8.46.3"
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"build": "turbo run build",
|
|
"test": "turbo run test",
|
|
"lint": "turbo run lint",
|
|
"e2e": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts",
|
|
"e2e:all": "VEZA_ENV=test PLAYWRIGHT_ALL=1 npx playwright test --config=tests/e2e/playwright.config.ts",
|
|
"e2e:critical": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts --grep @critical",
|
|
"e2e:fast": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts --grep @critical --workers=75%",
|
|
"e2e:serial": "VEZA_ENV=test PLAYWRIGHT_WORKERS=1 npx playwright test --config=tests/e2e/playwright.config.ts",
|
|
"e2e:list": "npx playwright test --config=tests/e2e/playwright.config.ts --list",
|
|
"e2e:audit": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts; node tests/e2e/scripts/generate-audit-report.mjs && (xdg-open tests/e2e/VEZA_AUDIT_REPORT.html 2>/dev/null || open tests/e2e/VEZA_AUDIT_REPORT.html 2>/dev/null || true)",
|
|
"e2e:ui": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts --ui",
|
|
"e2e:routes": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts --grep @route-coverage",
|
|
"e2e:visual": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts --grep @visual",
|
|
"e2e:visual:update": "VEZA_ENV=test npx playwright test --config=tests/e2e/playwright.config.ts --grep @visual --update-snapshots",
|
|
"audit": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts; node tests/e2e/audit/scripts/generate-report.mjs && (xdg-open tests/e2e/audit/results/AUDIT_REPORT.html 2>/dev/null || open tests/e2e/audit/results/AUDIT_REPORT.html 2>/dev/null || true)",
|
|
"audit:functional": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/functional/",
|
|
"audit:visual": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/pixel-perfect/",
|
|
"audit:a11y": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/accessibility/",
|
|
"audit:interactions": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/interaction/",
|
|
"audit:ethical": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/ethical/",
|
|
"audit:screenshots": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/screenshots/",
|
|
"audit:screenshots:update": "VEZA_ENV=test npx playwright test --config=tests/e2e/audit/audit.config.ts tests/e2e/audit/screenshots/ --update-snapshots"
|
|
}
|
|
}
|