- Fix 98 TypeScript errors across 37 files: - Service layer double-unwrapping (subscriptionService, distributionService, gearService) - Self-referencing variables in SearchPageResults - FeedView/ExploreView .posts→.items alignment - useQueueSync Zustand subscribe API - AdminAuditLogsView missing interface fields - Toast proxy type, interceptor type narrowing - 22 unused imports/variables removed - 5 storybook mock data fixes - Align frontend API calls with backend endpoints: - Analytics: useAnalyticsView now calls /creator/analytics/dashboard (was /analytics) - Chat: chatService uses /conversations (was mock data), WS URL from backend token - Dashboard StatsSection: uses real /dashboard API data (was hardcoded zeros) - Settings: suppress 2FA toast error when endpoint unavailable - Fix marketplace products: seed uses 'active' status (was 'published') - Enrich seed: admin follows all creators (feed has content) - Optimize bundle: vendor catch-all 793KB→318KB gzip (-60%) Split into vendor-charts, vendor-emoji, vendor-swagger, vendor-media, etc. - Clean repo: remove ~100 orphaned screenshots, audit reports, logs from root Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
54 lines
3.3 KiB
JSON
54 lines
3.3 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",
|
|
"@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"
|
|
}
|
|
}
|