@cosmicdrift/kumiko-dev-server 0.383.0 → 0.384.0
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.
|
@@ -62,6 +62,8 @@ export type DevHostDispatchResult = {
|
|
|
62
62
|
* Multi-Entry-Apps gesetzt; im Single-Entry-Mode irrelevant. */
|
|
63
63
|
export type DevHostDispatch = (req: Request, deps: {
|
|
64
64
|
readonly systemQuery: PageHeadSystemQuery;
|
|
65
|
+
/** Always empty: dev serves no per-host CSP. */
|
|
66
|
+
readonly cspScriptHashes: readonly string[];
|
|
65
67
|
}) => DevHostDispatchResult | Promise<DevHostDispatchResult>;
|
|
66
68
|
export type CreateKumikoServerOptions = {
|
|
67
69
|
/** Features whose entities, handlers, and screens get wired into the
|
|
@@ -923,6 +923,7 @@ export async function createKumikoServer(options) {
|
|
|
923
923
|
if (options.hostDispatch !== undefined) {
|
|
924
924
|
const dispatch = await options.hostDispatch(req, {
|
|
925
925
|
systemQuery: buildDevSystemQuery(req, socketAddress),
|
|
926
|
+
cspScriptHashes: [],
|
|
926
927
|
});
|
|
927
928
|
if (dispatch.kind === "redirect") {
|
|
928
929
|
return new Response(null, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-dev-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.384.0",
|
|
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.
|
|
81
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
82
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
83
|
-
"@cosmicdrift/kumiko-renderer-mail-html": "0.
|
|
84
|
-
"@cosmicdrift/kumiko-guards": "0.
|
|
85
|
-
"@cosmicdrift/kumiko-server-runtime": "0.
|
|
86
|
-
"@cosmicdrift/kumiko-testing": "0.
|
|
87
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
80
|
+
"@cosmicdrift/kumiko-bundled-features": "0.384.0",
|
|
81
|
+
"@cosmicdrift/kumiko-framework": "0.384.0",
|
|
82
|
+
"@cosmicdrift/kumiko-renderer": "0.384.0",
|
|
83
|
+
"@cosmicdrift/kumiko-renderer-mail-html": "0.384.0",
|
|
84
|
+
"@cosmicdrift/kumiko-guards": "0.384.0",
|
|
85
|
+
"@cosmicdrift/kumiko-server-runtime": "0.384.0",
|
|
86
|
+
"@cosmicdrift/kumiko-testing": "0.384.0",
|
|
87
|
+
"@cosmicdrift/kumiko-types": "0.384.0",
|
|
88
88
|
"bun-types": "^1.3.13",
|
|
89
89
|
"ts-morph": "^28.0.0",
|
|
90
90
|
"zod": "^4.4.3"
|