Commit Graph

99 Commits

Author SHA1 Message Date
Matt Kane
de70c72aa8 fix: set all plugin versions to 0.1.0 (not 1.0.0)
Changesets treats minor on 0.0.x as a major bump per semver convention.
All packages should be 0.1.0 for the first beta release.
2026-04-01 16:10:06 +01:00
github-actions[bot]
2463da9556 ci: release 2026-04-01 15:02:06 +00:00
Matt Kane
dad55bb80a Merge pull request #15 from emdash-cms/fix/changeset-config
fix: changeset config -- ignore private packages, reduce cascade to minor
2026-04-01 15:59:49 +01:00
Matt Kane
4413226dd8 chore: fix changeset config -- ignore private packages, reduce cascade to minor 2026-04-01 15:57:41 +01:00
Matt Kane
71f390c4f1 Merge pull request #14 from emdash-cms/fix/lint-and-test-cleanup
fix: resolve all lint warnings and fix failing playground toolbar test
2026-04-01 15:42:29 +01:00
Matt Kane
755b501790 chore: add minor changeset for first beta release 2026-04-01 15:37:30 +01:00
Matt Kane
c7d2401b8b fix: resolve all lint warnings and fix failing playground toolbar test
- Fix playground-toolbar test: URL changed to github.com but test still expected docs.emdashcms.com
- create-emdash: extract selectTemplate() to eliminate unsafe/unnecessary type assertions
- create-emdash: use type-safe Object.keys filter instead of bare cast
- cloudflare/cache: use Reflect.get with typeof guard instead of double type assertion
- x402/enforcer: replace unsafe request cast with Reflect.get type guards for CF bot management
- x402/middleware: suppress unavoidable virtual module any-cast with eslint comment
2026-04-01 15:35:06 +01:00
Matt Kane
15b4b3aae2 Merge pull request #12 from emdash-cms/fix/remove-bootstrap-step
fix(create-emdash): remove manual bootstrap step from CLI output
2026-04-01 15:26:08 +01:00
Matt Kane
ca398cc3f8 format 2026-04-01 15:25:41 +01:00
Matt Kane
9db4c2cba2 fix(create-emdash): remove manual bootstrap step from CLI output 2026-04-01 15:23:54 +01:00
Matt Kane
d282bca578 Merge pull request #11 from emdash-cms/marketplace-update
fix: update database_id in wrangler.jsonc and add README.md
2026-04-01 15:05:40 +01:00
Matt Kane
bc81ad2280 fix: update database_id in wrangler.jsonc and add README.md 2026-04-01 15:05:11 +01:00
Matt 'TK' Taylor
419c77c006 Update readme docs link 2026-04-01 14:51:03 +01:00
Matt Kane
a92f503b58 Merge pull request #10 from emdash-cms/changeset-release/main
ci: release
2026-04-01 14:33:18 +01:00
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
025a8973e6 Merge pull request #8 from emdash-cms/fix/fresh-deploy-setup-redirect
fix: redirect to setup wizard on fresh deployments
2026-04-01 14:24:11 +01:00
Matt ‘TK’ Taylor
b5b79c182e Merge pull request #9 from emdash-cms/fix/playground-link
Fix playground toolbar link to point to repo
2026-04-01 14:18:19 +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 'TK' Taylor
0553848b66 Fix playground toolbar link to point to repo 2026-04-01 14:10:30 +01:00
Matt Kane
2022b77341 fix(create-emdash): use async exec so spinner animates during install 2026-04-01 13:45:04 +01:00
Matt Kane
4925c6014f Merge pull request #6 from emdash-cms/changeset-release/main
ci: release
2026-04-01 13:36:28 +01:00
github-actions[bot]
90e31e8e43 ci: release 2026-04-01 12:35:38 +00:00
Matt Kane
1e803f91d7 Merge pull request #5 from emdash-cms/feat/create-emdash-ux
feat(create-emdash): improve CLI branding and UX
2026-04-01 13:31:09 +01:00
Matt Kane
7877db5032 Format 2026-04-01 13:29:26 +01:00
Matt Kane
3bec16b171 fix repo urls 2026-04-01 13:27:23 +01:00
Matt Kane
8e389d5ef8 chore: add changeset for create-emdash UX improvements 2026-04-01 13:25:43 +01:00
Matt Kane
91732a0e7a feat(create-emdash): add branding, package manager selection, and install prompt 2026-04-01 13:25:26 +01:00
Matt Kane
e60804e85c Merge pull request #4 from emdash-cms/changeset-release/main
ci: release
2026-04-01 13:15:05 +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
1500cd4679 Merge pull request #2 from emdash-cms/fix/virtual-module-optimizedeps
fix: exclude virtual:emdash from optimizeDeps to fix npm installs on Cloudflare
2026-04-01 12:51:08 +01:00
Matt Kane
9f14710d88 Update env 2026-04-01 12:39:52 +01:00
Matt Kane
086647bff4 fix: use placeholder database_id in templates for local dev
Miniflare asserts database_id is truthy. An empty string crashes
on startup. Use 'local' as a placeholder -- miniflare doesn't
validate it for local dev, and the comment tells users to replace
it with a real ID for deploy.
2026-04-01 12:39:34 +01:00
Matt Kane
cb7a816675 Fix migration 2026-04-01 12:39:19 +01:00
Matt Kane
478570ff34 Fix ci 2026-04-01 12:39:06 +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
7a545979ee Preview release support 2026-04-01 12:24:44 +01:00
Matt Kane
4bafdb9781 Add publish CI with OIDC trusted publishing and changesets 2026-04-01 12:01:32 +01:00
Matt Kane
ca3c2b77e1 Format 2026-04-01 11:51:57 +01:00
Matt Kane
c8e318da5c Package names 2026-04-01 11:45:50 +01:00
Matt Kane
7262b93a44 branding 2026-04-01 11:44:21 +01:00
Matt Kane
c2120a4961 Fix repo names 2026-04-01 11:18:28 +01:00
Matt Kane
5e061c3569 Align version numbers 2026-04-01 11:11:34 +01:00
Matt Kane
2e863566b3 Fix scope 2026-04-01 10:58:32 +01:00
Matt Kane
482a442f60 Add readme 2026-04-01 10:46:10 +01:00
Matt Kane
43fcb9a131 first commit 2026-04-01 10:44:22 +01:00