create-eigen-game 0.14.1 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -67,6 +67,10 @@ public values from `app/app-config.json` through Flutter's native
67
67
  it contains its own `package.json`, `wrangler.jsonc`, TypeScript entry point,
68
68
  generated Wrangler types, and game module. The combined CLI renders that same
69
69
  template under `server/`; it does not maintain a second Worker skeleton.
70
+ The template approves only the `esbuild` and `workerd` install scripts that its
71
+ toolchain requires, using npm's `allowScripts` in `package.json` and pnpm's
72
+ `allowBuilds` in `pnpm-workspace.yaml`; npm explicitly declines the unnecessary
73
+ optional `fsevents` fallback build.
70
74
 
71
75
  `templates/app-overlay` is applied after
72
76
  `flutter create --empty --platforms android,web`. It supplies the Firebase
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-eigen-game",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "license": "MIT",
5
5
  "description": "Scaffold an EigenInteractive game Worker and Flutter app without cloning the engine repositories.",
6
6
  "type": "module",
@@ -29,9 +29,9 @@
29
29
  "vitest": "^4.1.11",
30
30
  "wrangler": "^4.129.0",
31
31
  "zod": "^4.4.3",
32
- "@eigeninteractive/rules": "0.6.0",
33
- "@eigeninteractive/server": "0.6.0",
34
- "@eigeninteractive/testkit": "0.6.0"
32
+ "@eigeninteractive/rules": "0.6.1",
33
+ "@eigeninteractive/server": "0.6.1",
34
+ "@eigeninteractive/testkit": "0.6.1"
35
35
  },
36
36
  "engines": {
37
37
  "node": ">=22"
@@ -62,8 +62,12 @@ formatter is free to move anything written there.
62
62
  refuses to run them unless the project asks, and fails the install outright
63
63
  when one is skipped (`ERR_PNPM_IGNORED_BUILDS`). Two need theirs: `esbuild`
64
64
  fetches its platform binary, and `workerd` is the runtime `vitest` and
65
- `wrangler dev` execute against. npm runs install scripts by default and ignores
66
- the file entirely, so the scaffold is correct under both.
65
+ `wrangler dev` execute against. npm ignores this file, so `package.json`
66
+ declares the same two names in npm's `allowScripts` policy. Keeping both
67
+ policies beside the Worker dependencies makes installs work without granting
68
+ every dependency permission to run code. npm's policy also explicitly declines
69
+ the optional `fsevents` fallback build: its package already carries a universal
70
+ macOS binary, so compiling another one is unnecessary.
67
71
 
68
72
  `minimumReleaseAgeExclude` appears on its own. pnpm 11 will not install a
69
73
  version published less than a day ago, a quarantine against a compromised
@@ -4,6 +4,11 @@
4
4
  "private": true,
5
5
  "description": "The authoritative Example Game server on Cloudflare Workers.",
6
6
  "type": "module",
7
+ "allowScripts": {
8
+ "esbuild": true,
9
+ "fsevents": false,
10
+ "workerd": true
11
+ },
7
12
  "eigen": {
8
13
  "game": "Example Game"
9
14
  },