The Cloudflare Workers build command is `pnpm run build`, but that only compiled the packages — it didn't emit apps/docs-site/public for `wrangler deploy`. Fold the site render into `build` so the existing command produces the deployable static tree (verified: 16 files). `build:packages` keeps the packages-only build; `build:site` is now an alias. No Cloudflare settings change needed — just redeploy.
21 lines
790 B
JSON
21 lines
790 B
JSON
{
|
|
"name": "lawsynth-workspace",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Workspace tooling for the implemented LawSynth TypeScript packages.",
|
|
"license": "Apache-2.0",
|
|
"engines": { "node": ">=22" },
|
|
"packageManager": "pnpm@10.18.2",
|
|
"scripts": {
|
|
"build": "pnpm -r --if-present run build && pnpm --filter @lawsynth/docs-site run render",
|
|
"build:packages": "pnpm -r --if-present run build",
|
|
"build:site": "pnpm run build",
|
|
"typecheck": "pnpm -r --if-present run typecheck",
|
|
"test": "pnpm -r --if-present run test",
|
|
"check:workspace": "node --input-type=module -e \"import fs from 'node:fs'; JSON.parse(fs.readFileSync('package.json')); console.log('workspace metadata valid')\""
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|