create-zerotal 1.7.4 → 1.7.5
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 +1 -1
- package/src/index.ts +8 -0
- package/src/scaffold.ts +1 -1
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -182,6 +182,14 @@ async function main(): Promise<void> {
|
|
|
182
182
|
dim(`# then open http://localhost:3000/admin`);
|
|
183
183
|
}
|
|
184
184
|
log('');
|
|
185
|
+
// Discoverability without a dependency. `@zerotal/arch` exposes the app's own
|
|
186
|
+
// routes, schema and docs to a coding agent over MCP, and it is genuinely
|
|
187
|
+
// useful — but it is `beta`, and putting a beta package in every template would
|
|
188
|
+
// undercut the maturity rule the packages gate enforces. `arch:install` also
|
|
189
|
+
// writes `.mcp.json` and instruction files into the project, which is an
|
|
190
|
+
// opinion about someone's toolchain and should stay their choice.
|
|
191
|
+
log(`${c.gray} Agent tooling (optional): bun add -d @zerotal/arch && bun zt arch:install${c.reset}`);
|
|
192
|
+
log('');
|
|
185
193
|
log(`${c.gray} Docs: https://zerotal.dev${c.reset}`);
|
|
186
194
|
log('');
|
|
187
195
|
}
|
package/src/scaffold.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type Template = 'minimal' | 'api' | 'admin' | 'flow' | 'react' | 'vue';
|
|
|
13
13
|
// "^1.1.0" found for specifier "zerotal"` — the first thing anyone trying the
|
|
14
14
|
// framework saw. `scaffold.test.ts` now asserts the two agree, so CI fails rather
|
|
15
15
|
// than the user's install.
|
|
16
|
-
export const ZT_VERSION = "^1.7.
|
|
16
|
+
export const ZT_VERSION = "^1.7.5";
|
|
17
17
|
|
|
18
18
|
export interface ScaffoldOptions {
|
|
19
19
|
name: string;
|