@cosmicdrift/kumiko-server-runtime 0.308.0 → 0.309.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.
- package/package.json +4 -4
- package/src/run-prod-app.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-server-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.309.0",
|
|
4
4
|
"description": "Production server-boot runtime for Kumiko apps: connections, schema-drift-gate, seeds, lifecycle, graceful shutdown. Symmetric to kumiko-dev-server's runDevApp, without dev/scaffold/codegen tooling.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@cosmicdrift/kumiko-bundled-features": "0.
|
|
84
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
85
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
83
|
+
"@cosmicdrift/kumiko-bundled-features": "0.309.0",
|
|
84
|
+
"@cosmicdrift/kumiko-framework": "0.309.0",
|
|
85
|
+
"@cosmicdrift/kumiko-headless": "0.309.0",
|
|
86
86
|
"temporal-polyfill": "^0.3.2"
|
|
87
87
|
},
|
|
88
88
|
"publishConfig": {
|
package/src/run-prod-app.ts
CHANGED
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "@cosmicdrift/kumiko-bundled-features/auth-email-password";
|
|
54
54
|
import {
|
|
55
55
|
type SeedAdminOptions,
|
|
56
|
-
|
|
56
|
+
seedAdminGuarded,
|
|
57
57
|
} from "@cosmicdrift/kumiko-bundled-features/auth-email-password/seeding";
|
|
58
58
|
import {
|
|
59
59
|
EXT_SESSION_STORE,
|
|
@@ -1254,7 +1254,7 @@ export async function runProdApp(options: RunProdAppOptions): Promise<ProdAppHan
|
|
|
1254
1254
|
// preconditions. Config-seeds rely on a deterministic
|
|
1255
1255
|
// aggregate-id so re-boot becomes a version_conflict skip.
|
|
1256
1256
|
if (effectiveAuth) {
|
|
1257
|
-
await
|
|
1257
|
+
await seedAdminGuarded(db, effectiveAuth.admin);
|
|
1258
1258
|
}
|
|
1259
1259
|
await applyBootSeeds({
|
|
1260
1260
|
registry,
|