Adds prettier 3.9.8 (exact) with a shared config (single quotes, 120 columns, trailing commas), .prettierignore, .editorconfig and the `format` / `format:check` scripts, then formats all TypeScript, JavaScript, CSS, JSON and YAML sources. Purely mechanical: no behaviour change. Typecheck passes, the vitest suite and the 74 IDE node tests produce the same results as before (socket-binding tests still cannot run inside this sandbox). Previously the longest source line was ~3000 characters; reviewing the following semantic changes now produces readable diffs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
{
|
|
"name": "wishforge",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"workspaces": [
|
|
"apps/api",
|
|
"apps/web",
|
|
"apps/worker",
|
|
"apps/runner",
|
|
"apps/git-service",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev": "npm run dev -w @wishforge/api",
|
|
"dev:web": "npm run dev -w @wishforge/web",
|
|
"dev:all": "node scripts/dev.mjs",
|
|
"rsi:rollout": "tsx apps/worker/src/evolution-rollout-loop.ts",
|
|
"dev:worker": "npm run dev -w @wishforge/worker",
|
|
"dev:git": "node --env-file=.env.local --import tsx apps/git-service/src/main.ts",
|
|
"build": "npm run build --workspaces --if-present",
|
|
"typecheck": "npm run typecheck --workspaces --if-present",
|
|
"test": "vitest run",
|
|
"test:integration": "WF_INTEGRATION=1 vitest run tests/integration",
|
|
"test:ide": "node --test apps/ide/gateway/test/*.test.mjs apps/ide/provisioner/test/*.test.mjs apps/ide/collaboration/test/*.test.mjs apps/ide/collaboration/test/*.test.cjs apps/ide/coordination/test/*.test.cjs apps/ide/security/test/*.test.cjs apps/ide/policy/test/*.test.cjs",
|
|
"test:preview": "node --test apps/preview-gateway/test/*.test.mjs",
|
|
"db:migrate": "tsx apps/api/src/db/migrate.ts",
|
|
"db:seed": "tsx apps/api/src/db/seed.ts",
|
|
"setup:local": "node scripts/setup-local.mjs && node scripts/configure-local-services.mjs",
|
|
"tenant:invite": "tsx scripts/provision-tenant.ts",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/pg": "^8.15.0",
|
|
"prettier": "3.9.8",
|
|
"tsx": "^4.20.0",
|
|
"typescript": "~5.9.3",
|
|
"vitest": "^4.0.0"
|
|
}
|
|
}
|