@cosmicdrift/kumiko-dev-server 0.382.0 → 0.383.1

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.
@@ -28,9 +28,10 @@ export type DevClientEntry = {
28
28
  * wird `htmlPath` (das default-Template) für alle Entries genutzt. */
29
29
  readonly htmlPath?: string;
30
30
  };
31
- /** Discriminated union, identical in shape to `runProdApp.hostDispatch`, so
32
- * dev/prod routing mirrors 1:1 — an apex 404 in prod is an apex 404 in dev
33
- * (with an `/etc/hosts` entry for the affected domain). HTML never carries
31
+ /** Dev counterpart of `runProdApp.hostDispatch`. Not the same shape: dev names
32
+ * bundled entries (`entryName`), prod serves built files (`file`). Derive the
33
+ * dev dispatch from the prod one with `toDevHostDispatch` (host-dispatch-adapter.ts)
34
+ * instead of writing both by hand, so dev routing cannot drift from prod. HTML never carries
34
35
  * a schema, in dev or prod — createKumikoApp fetches it itself from the
35
36
  * authenticated GET /api/schema. */
36
37
  export type DevHostDispatchResult = {
@@ -507,6 +507,10 @@ TEST_DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/postgres
507
507
  DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/app
508
508
  REDIS_URL=redis://127.0.0.1:6379
509
509
 
510
+ # KUMIKO_TRUSTED_PROXY_HOPS: trusted reverse-proxy hops in front of the app. Required in
511
+ # production (runProdApp refuses to boot without it); 0 when the app is exposed directly.
512
+ KUMIKO_TRUSTED_PROXY_HOPS=0
513
+
510
514
  # JWT_SECRET: min 32 chars. Generate with: openssl rand -base64 32
511
515
  JWT_SECRET=change-me-min-32-chars-change-me-min-32
512
516
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-dev-server",
3
- "version": "0.382.0",
3
+ "version": "0.383.1",
4
4
  "description": "Dev-tooling for Kumiko apps: local dev-server bootstrap (runDevApp), scaffolding. Its compose-stacks/env-schema subpaths are consumed at prod boot too — see @cosmicdrift/kumiko-server-runtime for the prod runner itself.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -77,14 +77,14 @@
77
77
  "kumiko-upgrade": "./bin/kumiko-upgrade.ts"
78
78
  },
79
79
  "dependencies": {
80
- "@cosmicdrift/kumiko-bundled-features": "0.382.0",
81
- "@cosmicdrift/kumiko-framework": "0.382.0",
82
- "@cosmicdrift/kumiko-renderer": "0.382.0",
83
- "@cosmicdrift/kumiko-renderer-mail-html": "0.382.0",
84
- "@cosmicdrift/kumiko-guards": "0.382.0",
85
- "@cosmicdrift/kumiko-server-runtime": "0.382.0",
86
- "@cosmicdrift/kumiko-testing": "0.382.0",
87
- "@cosmicdrift/kumiko-types": "0.382.0",
80
+ "@cosmicdrift/kumiko-bundled-features": "0.383.1",
81
+ "@cosmicdrift/kumiko-framework": "0.383.1",
82
+ "@cosmicdrift/kumiko-renderer": "0.383.1",
83
+ "@cosmicdrift/kumiko-renderer-mail-html": "0.383.1",
84
+ "@cosmicdrift/kumiko-guards": "0.383.1",
85
+ "@cosmicdrift/kumiko-server-runtime": "0.383.1",
86
+ "@cosmicdrift/kumiko-testing": "0.383.1",
87
+ "@cosmicdrift/kumiko-types": "0.383.1",
88
88
  "bun-types": "^1.3.13",
89
89
  "ts-morph": "^28.0.0",
90
90
  "zod": "^4.4.3"