feat: complete TASK-WP0-01 toolchain skeleton

This commit is contained in:
suyx
2026-07-27 17:13:01 +08:00
parent 67e7a17d96
commit ae20eaf01f
39 changed files with 3588 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
{
"name": "dada-p0a",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@10.28.2",
"engines": {
"node": "24.13.0"
},
"scripts": {
"build": "pnpm -r --if-present build && dotnet build supervisor/Dada.Supervisor/Dada.Supervisor.csproj --configuration Release",
"typecheck": "pnpm -r --if-present typecheck",
"test:unit:contract": "node --test tests/toolchain/frozen-toolchain.test.mjs",
"test:unit": "pnpm run test:unit:contract && vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:api": "vitest run tests/api",
"test:worker": "pnpm --filter @dada/worker build && node scripts/worker-smoke.mjs",
"test:e2e": "node scripts/validate-layer-scope.mjs E2E",
"test:visual": "node scripts/validate-layer-scope.mjs VISUAL",
"test:performance": "node scripts/validate-layer-scope.mjs PERFORMANCE",
"test:security": "node scripts/verify-frozen-dependencies.mjs && node scripts/redaction-scan.mjs",
"test:package": "pnpm run typecheck && pnpm --filter @dada/web build && pnpm --filter @dada/api build && pnpm --filter @dada/worker build && node scripts/package-smoke.mjs",
"validate:tdd-trace": "node scripts/validate-tdd-trace.mjs",
"validate:external": "node scripts/validate-external.mjs",
"test:all": "pnpm test:unit && pnpm test:integration && pnpm test:api && pnpm test:worker && pnpm test:e2e && pnpm test:visual && pnpm test:performance && pnpm test:security && pnpm test:package && pnpm validate:tdd-trace",
"test:wp0-01": "node scripts/run-wp0-01-validation.mjs"
},
"devDependencies": {
"@playwright/test": "1.62.0",
"@types/better-sqlite3": "7.6.13",
"@types/node": "24.13.3",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"typescript": "7.0.2",
"vite": "8.1.5",
"vitest": "4.1.10"
}
}