Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ apps/site/src/routeTree.gen.ts
apps/site/.tanstack/
apps/site-e2e/artifacts/
.journeys/
.deps
.cache/
.scratch/
1 change: 0 additions & 1 deletion .worktreeinclude
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
dist
dist/**
.deps
**/*.tsbuildinfo
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,9 @@ To remove it:
4. `apps/site/src/api/site-rpcs.ts`: drop the `GuestbookRpcs` import and make `SiteRpcs` just `HealthRpcs`.
5. `apps/site/src/api/site-rpc-server.ts`: drop the five `../features/guestbook/…` imports and the `GuestbookStoreLive` line; build the context from `SiteDatabaseLive` alone (the health check still probes D1); and delete the `guestbook` record, so the `toLayer` effect returns only `health`.
6. `apps/site/alchemy.run.ts`: drop the `migrations` option from `Cloudflare.D1.Database('Database', …)`.
7. `pnpm-workspace.yaml`: drop the `"@systemfsoftware/xstate-*"` entries from the `overrides:` block, which `nix eval --raw .#producer-tarballs.overrides` generates from the producer inputs; `apps/site/package.json`: drop the `@systemfsoftware/xstate` dependency.
7. `apps/site/package.json`: drop the `@systemfsoftware/xstate` dependency.
8. Run `pnpm install --no-frozen-lockfile` from the shell you already have open. It rewrites `pnpm-lock.yaml` without its xstate entries; `--frozen-lockfile` (pnpm's default when `CI` is set) refuses that rewrite. The devshell builds its pnpm store from `pnpm-lock.yaml`, so it can't start again until the lockfile drops xstate.
9. `flake.nix`: drop the `systemfsoftware-xstate` input, its name in the `outputs` arguments, and its entry in the `producers` attrset of `producer-tarballs`; then run `nix flake lock`.
10. Delete this README's guestbook text, from "The site ships one example feature" through the D1 note below.
9. Delete this README's guestbook text, from "The site ships one example feature" through the D1 note below.

Removal leaves a deployed D1 as it is: the `guestbook_entries` table and its `0001_create_guestbook_entries.sql` and `0002_add_guestbook_entry_state.sql` rows in `__alchemy_migrations` stay; drop them from the D1 console in the Cloudflare dashboard with `DROP TABLE guestbook_entries; DELETE FROM __alchemy_migrations WHERE name IN ('0001_create_guestbook_entries.sql', '0002_add_guestbook_entry_state.sql');`.

Expand Down
8 changes: 4 additions & 4 deletions apps/site-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"author": "TODO <todo@example.com>",
"description": "Seam-only journeys against the running site Worker",
"devDependencies": {
"@systemfsoftware/effect-gherkin-spec": "*",
"@systemfsoftware/oxlint-config-recommended": "*",
"@systemfsoftware/tsconfig": "*",
"@systemfsoftware/vitest": "*",
"@systemfsoftware/effect-gherkin-spec": "^8.1.4",
"@systemfsoftware/oxlint-config-recommended": "^6.0.1",
"@systemfsoftware/tsconfig": "^2.1.0",
"@systemfsoftware/vitest": "^4.1.1",
"@types/node": "catalog:",
"effect": "catalog:",
"oxlint": "catalog:",
Expand Down
18 changes: 9 additions & 9 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"author": "TODO <todo@example.com>",
"description": "The one Worker: the starter's TanStack Start site",
"dependencies": {
"@systemfsoftware/effect-cell-types": "*",
"@systemfsoftware/xstate": "*",
"@systemfsoftware/effect-cell-types": "^12.1.4",
"@systemfsoftware/xstate": "^6.0.0-beta.65",
"@tanstack/react-router": "catalog:",
"@tanstack/react-start": "catalog:",
"effect": "catalog:",
Expand All @@ -17,13 +17,13 @@
"@cloudflare/vite-plugin": "catalog:",
"@cloudflare/workers-types": "catalog:",
"@rolldown/plugin-babel": "catalog:",
"@systemfsoftware/oxlint-config-recommended": "*",
"@systemfsoftware/stryker-ignorer-effect-schema-declarations": "*",
"@systemfsoftware/stryker-js": "*",
"@systemfsoftware/stryker-js-typescript-checker": "*",
"@systemfsoftware/stryker-js-vitest-runner": "*",
"@systemfsoftware/tsconfig": "*",
"@systemfsoftware/vitest": "*",
"@systemfsoftware/oxlint-config-recommended": "^6.0.1",
"@systemfsoftware/stryker-ignorer-effect-schema-declarations": "^0.3.1",
"@systemfsoftware/stryker-js": "^22.0.0",
"@systemfsoftware/stryker-js-typescript-checker": "^9.0.1",
"@systemfsoftware/stryker-js-vitest-runner": "^10.1.0",
"@systemfsoftware/tsconfig": "^2.1.0",
"@systemfsoftware/vitest": "^4.1.1",
"@tanstack/router-cli": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
Expand Down
Loading
Loading