4 Commits

Author SHA1 Message Date
723cb5f078 build: root build now also renders the docs site (zero-touch Cloudflare deploy)
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.
2026-08-18 23:22:00 +03:00
da74ae61d4 fix(deploy): unblock the Cloudflare build (pnpm lockfile + static-assets Worker)
The Cloudflare build failed at install with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH
(autoInstallPeers) and the committed pnpm-lock.yaml is also out of date (it
predates @types/node in @lawsynth/state-store), so --frozen-lockfile can't
proceed.

- .npmrc: pin auto-install-peers=false so the resolved config matches the
  lockfile's recorded settings (fixes the CONFIG_MISMATCH).
- pr.yml + deploy-site.yml: install with --no-frozen-lockfile so CI/deploy
  regenerate the lockfile on the networked runner instead of hard-failing on the
  stale lock. (Restore --frozen-lockfile after committing a regenerated lock.)
- wrangler.jsonc (root): a static-assets Worker (assets -> apps/docs-site/public,
  no `main`) so `npx wrangler deploy` serves the pre-rendered site.
- package.json: `build:site` = build the workspace then render the docs site to
  apps/docs-site/public (verified: 16-file static tree).

Cloudflare Workers Build settings: build command `pnpm run build:site`, deploy
`npx wrangler deploy`, root `/`. The permanent lockfile fix is one command on a
networked machine: `pnpm install --no-frozen-lockfile && git commit pnpm-lock.yaml`.
2026-08-18 22:58:57 +03:00
5828d99939 dragon warrior 2026-08-16 22:04:11 +03:00
6a9ce627e0 asdoruyu 2026-08-16 20:29:23 +03:00