[repo] Workspace: Scaffold Phase 0 with schema, engine, content, ui and the PWA shell
pnpm + turbo workspace with the commands from CLAUDE.md §3. The contracts from §6 as JSON Schemas with generated types; localDay as the one place a day is computed; the forbidden-word list shared by lint:copy and the library validator, with 13 negative fixtures; a Svelte 5 PWA shell built under /Rosea/ with a meta CSP. E2E and offline suites run against the built bundle; the offline one closes the server rather than emulating. Analysis: .agents/features/phase0-workspace.md
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "rosea",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@9.12.3",
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "node scripts/install-hooks.mjs",
|
||||
"build": "turbo run build",
|
||||
"typecheck": "turbo run typecheck && tsc -p tsconfig.json --noEmit",
|
||||
"lint": "eslint .",
|
||||
"test": "turbo run test",
|
||||
"test:e2e": "turbo run build --filter=@rosea/app && playwright test --config=e2e/playwright.config.ts",
|
||||
"test:offline": "turbo run build --filter=@rosea/app && playwright test --config=e2e/playwright.offline.config.ts",
|
||||
"validate:library": "tsx scripts/validate-library.ts",
|
||||
"lint:copy": "tsx scripts/lint-copy.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@axe-core/playwright": "4.13.0",
|
||||
"@eslint/js": "9.39.5",
|
||||
"@playwright/test": "1.62.1",
|
||||
"@rosea/content": "workspace:*",
|
||||
"@rosea/schema": "workspace:*",
|
||||
"@rosea/ui": "workspace:*",
|
||||
"@types/node": "22.20.1",
|
||||
"eslint": "9.39.5",
|
||||
"eslint-plugin-svelte": "3.23.0",
|
||||
"globals": "16.5.0",
|
||||
"svelte": "5.56.9",
|
||||
"svelte-eslint-parser": "1.8.1",
|
||||
"tsx": "4.23.12",
|
||||
"turbo": "2.10.10",
|
||||
"typescript": "5.9.3",
|
||||
"typescript-eslint": "8.69.0",
|
||||
"vitest": "3.2.7"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user