Add web shell, build and deploy scripts, Playwright smoke

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-17 01:59:44 -04:00
1 parent ff50f9b35a
commit 127f53d5f5
14 files changed
+1960 -15

No files matched your search

+3 -2
View File
@@ -27,7 +27,7 @@ kit/ helpers shared by three or more components
<category>/ one component per file, package = folder name
gallery/ registry, demos (demos_<category>*.go), app view, tests
cmd/gallery/ one main for desktop and browser; hook_js.go for tests
web/ shell, build.sh, deploy.sh, wrangler.jsonc, _headers, Playwright tests
web/ shell, build.mjs, deploy.mjs, wrangler.jsonc, _headers, Playwright tests
internal/archtest/ import and file rules
```
@@ -86,7 +86,8 @@ code panel shows the demo function's own source, cut from the embedded `demos*.g
## Deploy
- `npm run deploy` in `web/` (clean tree only): live page beside new files first, then the new page tested on its
preview URL, promoted, and tested live at https://crychicui.zhangyanghaha0407.workers.dev.
preview URL, promoted, and tested live at https://crychicui.zhangyanghaha0407.workers.dev. The Worker's first
deploy is `npm run deploy -- --first`.
- Rollback: `npx wrangler rollback <version-id>` in `web/`.
## Review