create-zerotal 1.0.0 → 1.0.1
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 +12 -0
- package/package.json +1 -1
- package/src/prompts.ts +6 -6
- package/src/scaffold.ts +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,18 @@ follows the Zerotal monorepo's unified versioning.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [1.0.1] — 2026-08-06
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- **Scaffolded apps could not install.** The dependency range stamped into new
|
|
16
|
+
projects was `^1.1.0` while the registry holds 1.0.0, so every
|
|
17
|
+
`bun create zerotal` ended in `No version matching "^1.1.0" found for
|
|
18
|
+
specifier "zerotal"`. The range now tracks this package's own version, and a
|
|
19
|
+
test asserts they agree so it cannot drift again.
|
|
20
|
+
- **The startup banner read KULANI**, left over from the rename — the letters are
|
|
21
|
+
drawn in box-drawing characters, so a text search for the old name never
|
|
22
|
+
matched them.
|
|
11
23
|
|
|
12
24
|
## [1.0.0] — 2026-08-05
|
|
13
25
|
|
package/package.json
CHANGED
package/src/prompts.ts
CHANGED
|
@@ -24,12 +24,12 @@ export function dim(msg: string) { log(`${c.gray} ${msg}${c.reset}`); }
|
|
|
24
24
|
|
|
25
25
|
export function printBanner(): void {
|
|
26
26
|
log('');
|
|
27
|
-
log(`${c.bold}${c.white}
|
|
28
|
-
log(`${c.bold}${c.white}
|
|
29
|
-
log(`${c.bold}${c.cyan}
|
|
30
|
-
log(`${c.bold}${c.cyan}
|
|
31
|
-
log(`${c.bold}${c.blue} ██║
|
|
32
|
-
log(`${c.bold}${c.blue}
|
|
27
|
+
log(`${c.bold}${c.white} ███████╗███████╗██████╗ ██████╗ ████████╗ █████╗ ██╗ ${c.reset}`);
|
|
28
|
+
log(`${c.bold}${c.white} ╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██╔══██╗██║ ${c.reset}`);
|
|
29
|
+
log(`${c.bold}${c.cyan} ███╔╝ █████╗ ██████╔╝██║ ██║ ██║ ███████║██║ ${c.reset}`);
|
|
30
|
+
log(`${c.bold}${c.cyan} ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ ██║ ██╔══██║██║ ${c.reset}`);
|
|
31
|
+
log(`${c.bold}${c.blue} ███████╗███████╗██║ ██║╚██████╔╝ ██║ ██║ ██║███████╗${c.reset}`);
|
|
32
|
+
log(`${c.bold}${c.blue} ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝${c.reset}`);
|
|
33
33
|
log('');
|
|
34
34
|
log(`${c.gray} Bun-native TypeScript framework${c.reset}`);
|
|
35
35
|
log('');
|
package/src/scaffold.ts
CHANGED
|
@@ -5,9 +5,15 @@ export type Database = 'sqlite' | 'postgres' | 'mysql';
|
|
|
5
5
|
export type Template = 'minimal' | 'api' | 'admin' | 'flow' | 'react' | 'vue';
|
|
6
6
|
|
|
7
7
|
// Version range stamped into scaffolded apps' `zerotal` / `@zerotal/*` dependencies.
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
|
|
8
|
+
//
|
|
9
|
+
// This must match the version this package is published at: the monorepo releases
|
|
10
|
+
// in lockstep, so a `create-zerotal@X.Y.Z` that scaffolds any other range points
|
|
11
|
+
// new projects at packages that need not exist. When it drifted to `^1.1.0` while
|
|
12
|
+
// the registry held 1.0.0, every scaffold ended in `error: No version matching
|
|
13
|
+
// "^1.1.0" found for specifier "zerotal"` — the first thing anyone trying the
|
|
14
|
+
// framework saw. `scaffold.test.ts` now asserts the two agree, so CI fails rather
|
|
15
|
+
// than the user's install.
|
|
16
|
+
export const ZT_VERSION = '^1.0.1';
|
|
11
17
|
|
|
12
18
|
export interface ScaffoldOptions {
|
|
13
19
|
name: string;
|