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
12 changes: 0 additions & 12 deletions server/.changeset/web-application-shell.md

This file was deleted.

13 changes: 13 additions & 0 deletions server/packages/create-eigen-game/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# create-eigen-game

## 0.17.0

### Minor Changes

- [#108](https://github.com/eigeninteractive/eigen-platform/pull/108) [`201e66a`](https://github.com/eigeninteractive/eigen-platform/commit/201e66a5eb8a5f1170c03a1cefb69111afe7cab3) Thanks [@seenu-k](https://github.com/seenu-k)! - A scaffolded game's web app opens offline from its first visit, and updates cleanly (decision 0014).

- `build:web` finishes by generating the service worker with Workbox (`workbox generateSW workbox-config.cjs`), which precaches the whole build. `workbox-cli` is a root dev dependency, and the generated CI installs the root and runs `build:web`. The hand-written `web/eigen_offline_sw.js` is gone.
- `web/flutter_bootstrap.js` starts Flutter without waiting for either service worker, and keeps the CDN files a first visit loads for offline use.
- `web/sqlite3.wasm` and `web/drift_worker.js` are gone: `eigen_flutter` ships drift's web runtime itself.
- The messaging worker loads the Firebase JS SDK version `firebase_core_web` is tested against, 12.19.0.

Migrating an existing game: delete `app/web/sqlite3.wasm`, `app/web/drift_worker.js`, and `app/web/eigen_offline_sw.js`; copy `workbox-config.cjs`, `app/web/flutter_bootstrap.js`, and the `build:web` script from a fresh scaffold; add `workbox-cli` to the root's dev dependencies; and add every route in the Worker's `run_worker_first` that it renders itself to `navigateFallbackDenylist`.

## 0.16.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion server/packages/create-eigen-game/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-eigen-game",
"version": "0.16.2",
"version": "0.17.0",
"license": "MIT",
"description": "Scaffold an EigenInteractive game Worker and Flutter app without cloning the engine repositories.",
"type": "module",
Expand Down