@zerotal/core 1.14.1 → 1.14.2
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/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,15 @@ follows the Zerotal monorepo's unified versioning.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [1.14.2] — 2026-09-01
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **`zt upgrade` now rewrites `zt.ts serve --dev`.** The `deprecated-aliases` codemod
|
|
16
|
+
anchored on `zt` followed by whitespace, so it matched `zt serve --dev` and missed
|
|
17
|
+
`bun zt.ts serve --dev` — the form in every scaffolded `package.json`, and the one an app
|
|
18
|
+
runs as `bun run dev`. The codemod reported nothing to do on the file that needed it most.
|
|
19
|
+
|
|
11
20
|
## [1.14.1] — 2026-09-01
|
|
12
21
|
|
|
13
22
|
### Fixed
|
package/package.json
CHANGED
|
@@ -41,8 +41,13 @@ const BASE_MODEL_IMPORT = /(\bimport\s*\{[^}]*?)\bBaseModel\b([^}]*?\}\s*from\s*
|
|
|
41
41
|
const COMMAND_ALIASES: { find: RegExp; replace: string; label: string }[] = [
|
|
42
42
|
{ find: /\broutes:types\b/g, replace: "route:types", label: "`routes:types` → `route:types`" },
|
|
43
43
|
{
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
// `zt.ts` as well as `zt`, because the scaffolded entry point *is* `zt.ts` and
|
|
45
|
+
// every generated `package.json` reads `bun zt.ts serve --dev`. Anchoring on
|
|
46
|
+
// `zt` followed by whitespace missed the most common occurrence there is — the
|
|
47
|
+
// one an app runs as `bun run dev` — so `zt upgrade` reported nothing to do on
|
|
48
|
+
// the file that needed it most.
|
|
49
|
+
find: /\b(zt|zerotal)(\.ts)?\s+serve\s+--dev\b/g,
|
|
50
|
+
replace: "$1$2 dev",
|
|
46
51
|
label: "`serve --dev` → `dev`",
|
|
47
52
|
},
|
|
48
53
|
];
|