fix: Phase 0 verification — passWithNoTests, prettierignore (P0-009)

Add --passWithNoTests to all vitest test scripts so packages without
test files don't fail CI. Add .prettierignore for auto-generated files
(next-env.d.ts, dist, drizzle, .next). All quality gates now pass:
typecheck, lint, format:check, test, build (18/18 packages).

Closes #9

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 21:28:15 -05:00
parent 4cd5cbf893
commit 7d33b5ed7f
20 changed files with 27 additions and 21 deletions

6
.prettierignore Normal file
View File

@@ -0,0 +1,6 @@
pnpm-lock.yaml
**/next-env.d.ts
**/dist
**/node_modules
**/drizzle
**/.next

View File

@@ -9,7 +9,7 @@
"dev": "tsx watch src/main.ts",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mariozechner/pi-coding-agent": "~0.57.1",

View File

@@ -7,7 +7,7 @@
"dev": "next dev",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test": "vitest run --passWithNoTests",
"start": "next start"
},
"dependencies": {

View File

@@ -10,9 +10,9 @@
| P0-004 | done | Phase 0 | @mosaic/auth — BetterAuth email/password setup | #68 | #4 |
| P0-005 | done | Phase 0 | Docker Compose — PG 17, Valkey 8, SigNoz | #65 | #5 |
| P0-006 | done | Phase 0 | OTEL foundation — OpenTelemetry SDK setup | #65 | #6 |
| P0-007 | not-started | Phase 0 | CI pipeline — Woodpecker config | | #7 |
| P0-008 | not-started | Phase 0 | Project docs — AGENTS.md, CLAUDE.md, README | | #8 |
| P0-009 | not-started | Phase 0 | Verify Phase 0 — CI green, all packages build | | #9 |
| P0-007 | done | Phase 0 | CI pipeline — Woodpecker config | #69 | #7 |
| P0-008 | done | Phase 0 | Project docs — AGENTS.md, CLAUDE.md, README | #69 | #8 |
| P0-009 | done | Phase 0 | Verify Phase 0 — CI green, all packages build | #70 | #9 |
| P1-001 | done | Phase 1 | apps/gateway scaffold — NestJS + Fastify adapter | #61 | #10 |
| P1-002 | not-started | Phase 1 | Auth middleware — BetterAuth session validation | — | #11 |
| P1-003 | not-started | Phase 1 | @mosaic/brain — migrate from v0, PG backend | — | #12 |

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mosaic/types": "workspace:*"

View File

@@ -14,7 +14,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"@types/node": "^22.0.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mosaic/types": "workspace:*"

View File

@@ -18,7 +18,7 @@
"dev": "tsx src/cli.ts",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"ink": "^5.0.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mosaic/types": "workspace:*"

View File

@@ -14,7 +14,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test": "vitest run --passWithNoTests",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:push": "drizzle-kit push",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mosaic/types": "workspace:*"

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"@mosaic/types": "workspace:*"

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",

View File

@@ -14,7 +14,7 @@
"dev": "tsx watch src/index.ts",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"dependencies": {
"discord.js": "^14.16.0",

View File

@@ -13,7 +13,7 @@
"build": "tsc",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"devDependencies": {
"typescript": "^5.8.0",