@cosmicdrift/kumiko-dev-server 0.156.1 → 0.156.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-dev-server",
|
|
3
|
-
"version": "0.156.
|
|
3
|
+
"version": "0.156.3",
|
|
4
4
|
"description": "Dev-tooling for Kumiko apps: local dev-server bootstrap (runDevApp), scaffolding, codegen. Not shipped into production node_modules — see @cosmicdrift/kumiko-server-runtime for the prod boot path.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"kumiko-schema-check": "./bin/kumiko-schema-check.ts"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@cosmicdrift/kumiko-bundled-features": "0.156.
|
|
58
|
-
"@cosmicdrift/kumiko-framework": "0.156.
|
|
59
|
-
"@cosmicdrift/kumiko-server-runtime": "0.156.
|
|
57
|
+
"@cosmicdrift/kumiko-bundled-features": "0.156.3",
|
|
58
|
+
"@cosmicdrift/kumiko-framework": "0.156.3",
|
|
59
|
+
"@cosmicdrift/kumiko-server-runtime": "0.156.3",
|
|
60
60
|
"ts-morph": "^28.0.0"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
@@ -55,6 +55,12 @@ describe("buildServerBundle (multi-entry + splitting)", () => {
|
|
|
55
55
|
expect(pkg.scripts.start).toBe("bun run server.js");
|
|
56
56
|
expect(Object.keys(pkg.dependencies)).not.toContain("drizzle-kit");
|
|
57
57
|
expect(Object.keys(pkg.dependencies)).not.toContain("drizzle-orm");
|
|
58
|
+
// Positive counterpart to the negative checks above — a runtime
|
|
59
|
+
// external accidentally dropped from RUNTIME_EXTERNALS (into
|
|
60
|
+
// BUILD_ONLY_EXTERNALS instead) would slip through silently. This
|
|
61
|
+
// is the exact regression class behind the money-horse prod crash
|
|
62
|
+
// ("Cannot find package 'meilisearch'").
|
|
63
|
+
expect(Object.keys(pkg.dependencies)).toContain("meilisearch");
|
|
58
64
|
|
|
59
65
|
expect(result.totalBytes).toBeGreaterThan(0);
|
|
60
66
|
} finally {
|
|
@@ -47,6 +47,12 @@ const hasBun = typeof (globalThis as { Bun?: unknown }).Bun !== "undefined";
|
|
|
47
47
|
// ioredis), dynamic-require (postgres, temporal-polyfill) — alles was unter
|
|
48
48
|
// Bun-bundling bricht. (drizzle-kit/drizzle-orm sind raus: der Migrate-Pfad
|
|
49
49
|
// nutzt jetzt den framework-eigenen runMigrationsFromDir, kein drizzle-kit.)
|
|
50
|
+
// meilisearch: deliberately here, not in BUILD_ONLY_EXTERNALS below — apps
|
|
51
|
+
// that import createMeilisearchAdapter (kumiko-framework/search/meilisearch)
|
|
52
|
+
// reference the package at runtime (no native binding, plain HTTP client,
|
|
53
|
+
// but a real runtime import). Found 2026-07-19: money-horse prod crash
|
|
54
|
+
// "Cannot find package 'meilisearch'" because it used to sit in
|
|
55
|
+
// BUILD_ONLY_EXTERNALS instead.
|
|
50
56
|
const RUNTIME_EXTERNALS = [
|
|
51
57
|
"@node-rs/argon2",
|
|
52
58
|
"bullmq",
|
|
@@ -55,6 +61,7 @@ const RUNTIME_EXTERNALS = [
|
|
|
55
61
|
"temporal-polyfill",
|
|
56
62
|
"pino",
|
|
57
63
|
"pino-pretty",
|
|
64
|
+
"meilisearch",
|
|
58
65
|
] as const;
|
|
59
66
|
|
|
60
67
|
// Pakete die nur im Build-Stack erscheinen (transitive Imports im Framework),
|
|
@@ -63,7 +70,6 @@ const RUNTIME_EXTERNALS = [
|
|
|
63
70
|
// Bundle — der Marker schaltet nur das resolution-during-build ab. NICHT in
|
|
64
71
|
// runtime-deps.
|
|
65
72
|
const BUILD_ONLY_EXTERNALS = [
|
|
66
|
-
"meilisearch",
|
|
67
73
|
"@planetscale/database",
|
|
68
74
|
"@libsql/client",
|
|
69
75
|
"better-sqlite3",
|