Commit Graph

14 Commits

Author SHA1 Message Date
github-actions[bot]
144d7e488a ci: release 2026-04-01 13:28:55 +00:00
Matt Kane
0c6c66fe44 Merge pull request #7 from emdash-cms/fix/create-emdash-spinner
fix(create-emdash): fix spinner hanging during dep install
2026-04-01 14:24:28 +01:00
Matt Kane
3c319ed641 fix: redirect to setup wizard on fresh deployments when public page is first request
On a fresh CF deployment, if the first request hits a public page, the
middleware fast-path skips runtime init. Template helpers like
getSiteSettings() then query an empty database and crash with
'no such table: options'.

Add a one-time setup probe in the middleware fast-path: check if the
migrations table exists, and redirect to the setup wizard if not.
The check is cached for the worker lifetime after first success.

Also includes release workflow update to use GitHub App token and
admin branding changeset.
2026-04-01 14:14:05 +01:00
Matt Kane
2022b77341 fix(create-emdash): use async exec so spinner animates during install 2026-04-01 13:45:04 +01:00
github-actions[bot]
90e31e8e43 ci: release 2026-04-01 12:35:38 +00:00
Matt Kane
8e389d5ef8 chore: add changeset for create-emdash UX improvements 2026-04-01 13:25:43 +01:00
github-actions[bot]
be76e0781e ci: release 2026-04-01 12:07:38 +00:00
Matt Kane
841a75093c Merge pull request #3 from emdash-cms/fix/create-emdash
fix: update create-emdash for standalone templates repo
2026-04-01 13:05:11 +01:00
Matt Kane
7687d5ca6c Fix changeset config 2026-04-01 12:58:43 +01:00
Matt Kane
2dc5815f03 fix: update create-emdash for standalone templates repo 2026-04-01 12:52:56 +01:00
Matt Kane
b09bfd51ce fix: exclude virtual:emdash from optimizeDeps to fix npm installs on Cloudflare 2026-04-01 12:27:00 +01:00
Matt Kane
4bafdb9781 Add publish CI with OIDC trusted publishing and changesets 2026-04-01 12:01:32 +01:00
Matt Kane
c2120a4961 Fix repo names 2026-04-01 11:18:28 +01:00
Matt Kane
43fcb9a131 first commit 2026-04-01 10:44:22 +01:00