Files
Rosea/packages/schema/package.json
T
mnovak 49c8def037 [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
2026-11-01 00:27:33 +01:00

28 lines
777 B
JSON

{
"name": "@rosea/schema",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "THE source of truth: JSON Schemas for hope sentences, care events and traces; generated types; the validator. Imports nothing from this repository.",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./validate": "./src/validate.ts",
"./schemas/*": "./schemas/*"
},
"scripts": {
"build": "node scripts/generate-types.mjs && tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json",
"test": "vitest run --reporter=verbose"
},
"dependencies": {
"ajv": "8.20.0"
},
"devDependencies": {
"json-schema-to-typescript": "15.0.4",
"typescript": "5.9.3",
"vitest": "3.2.7"
}
}