@cosmicdrift/kumiko-dev-server 0.211.0 → 0.212.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.
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env bun
2
+ // Shipped, app-facing upgrade CLI: `kumiko-upgrade [--from <version>] [--json] [--verbose]`.
3
+ //
4
+ // Self-contained — delegates to the framework's runUpgradeCli core, so apps
5
+ // check for breaking changes without the full dev `kumiko` CLI. Run from the
6
+ // app workspace root:
7
+ //
8
+ // bunx kumiko-upgrade
9
+ // bunx kumiko-upgrade --from 0.160.0 --verbose
10
+ // bunx kumiko-upgrade --apply --dry-run
11
+
12
+ import { runUpgradeCli } from "@cosmicdrift/kumiko-framework/upgrade-cli";
13
+
14
+ // biome-ignore lint/suspicious/noConsole: CLI output is the feature.
15
+ const out = { log: (l: string) => console.log(l), err: (l: string) => console.error(l) };
16
+ const appCwd = process.env["INIT_CWD"] ?? process.cwd();
17
+ const code = await runUpgradeCli(process.argv.slice(2), appCwd, out);
18
+ process.exit(code);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-dev-server",
3
- "version": "0.211.0",
3
+ "version": "0.212.0",
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>",
@@ -51,12 +51,13 @@
51
51
  "kumiko-build": "./bin/kumiko-build.ts",
52
52
  "kumiko-dev": "./bin/kumiko-dev.ts",
53
53
  "kumiko-schema": "./bin/kumiko-schema.ts",
54
- "kumiko-schema-check": "./bin/kumiko-schema-check.ts"
54
+ "kumiko-schema-check": "./bin/kumiko-schema-check.ts",
55
+ "kumiko-upgrade": "./bin/kumiko-upgrade.ts"
55
56
  },
56
57
  "dependencies": {
57
- "@cosmicdrift/kumiko-bundled-features": "0.211.0",
58
- "@cosmicdrift/kumiko-framework": "0.211.0",
59
- "@cosmicdrift/kumiko-server-runtime": "0.211.0",
58
+ "@cosmicdrift/kumiko-bundled-features": "0.212.0",
59
+ "@cosmicdrift/kumiko-framework": "0.212.0",
60
+ "@cosmicdrift/kumiko-server-runtime": "0.212.0",
60
61
  "ts-morph": "^28.0.0"
61
62
  },
62
63
  "publishConfig": {