@cosmicdrift/kumiko-dev-server 0.299.0 → 0.304.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-dev-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.304.0",
|
|
4
4
|
"description": "Dev-tooling for Kumiko apps: local dev-server bootstrap (runDevApp), scaffolding, codegen. 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>",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"kumiko-upgrade": "./bin/kumiko-upgrade.ts"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cosmicdrift/kumiko-bundled-features": "0.
|
|
63
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
64
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
65
|
-
"@cosmicdrift/kumiko-server-runtime": "0.
|
|
62
|
+
"@cosmicdrift/kumiko-bundled-features": "0.304.0",
|
|
63
|
+
"@cosmicdrift/kumiko-framework": "0.304.0",
|
|
64
|
+
"@cosmicdrift/kumiko-headless": "0.304.0",
|
|
65
|
+
"@cosmicdrift/kumiko-server-runtime": "0.304.0",
|
|
66
66
|
"ts-morph": "^28.0.0"
|
|
67
67
|
},
|
|
68
68
|
"publishConfig": {
|
|
@@ -101,6 +101,18 @@ describe("scaffoldApp", () => {
|
|
|
101
101
|
expect(readFileSync(join(dest, "README.md"), "utf-8")).not.toContain("## Testing");
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
+
test("scaffolded bunfig.toml and bunfig.ci.toml have no [test].concurrency key", async () => {
|
|
105
|
+
const dest = join(tmp, "my-shop");
|
|
106
|
+
await scaffoldApp({ name: "my-shop", destination: dest });
|
|
107
|
+
|
|
108
|
+
for (const file of ["bunfig.toml", "bunfig.ci.toml"]) {
|
|
109
|
+
const parsed = Bun.TOML.parse(readFileSync(join(dest, file), "utf-8")) as {
|
|
110
|
+
test: Record<string, unknown>;
|
|
111
|
+
};
|
|
112
|
+
expect(parsed.test["concurrency"]).toBeUndefined();
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
|
|
104
116
|
test("testSetup: factory gets name + version, files land (nested dirs) and are reported", async () => {
|
|
105
117
|
const dest = join(tmp, "my-shop");
|
|
106
118
|
let received: { appName: string; frameworkVersion: string } | undefined;
|
package/src/changes.json
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.301.0",
|
|
4
|
+
"type": "fix",
|
|
5
|
+
"title": "Scaffolded bunfig.toml and bunfig.ci.toml no longer contain the inert [test] concurrency key",
|
|
6
|
+
"detail": "bun has no [test] concurrency key and ignores it silently; the scaffold wrote concurrency = 8, which made kumiko-testing bunfig refuse the merge on a freshly scaffolded app. Existing apps can delete the line from their bunfig files; nothing changes at runtime."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.299.0",
|
|
4
10
|
"type": "fix",
|
package/src/scaffold-app.ts
CHANGED
|
@@ -348,7 +348,6 @@ function renderBunfigToml(): string {
|
|
|
348
348
|
linker = "hoisted"
|
|
349
349
|
|
|
350
350
|
[test]
|
|
351
|
-
concurrency = 8
|
|
352
351
|
pathIgnorePatterns = [
|
|
353
352
|
"**/e2e/**",
|
|
354
353
|
"**/*.spec.ts",
|
|
@@ -362,7 +361,6 @@ function renderBunfigCiToml(): string {
|
|
|
362
361
|
linker = "hoisted"
|
|
363
362
|
|
|
364
363
|
[test]
|
|
365
|
-
concurrency = 8
|
|
366
364
|
pathIgnorePatterns = [
|
|
367
365
|
"**/e2e/**",
|
|
368
366
|
"**/*.spec.ts",
|