create-better-t-stack 3.43.3 → 3.43.4
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/dist/cli.mjs +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/{src-uqnkdOQG.mjs → src-DgIDG3dg.mjs} +7 -3
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { D as setProcessMode, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as types_exports, y as getLatestCLIVersion } from "./src-
|
|
2
|
+
import { D as setProcessMode, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as types_exports, y as getLatestCLIVersion } from "./src-DgIDG3dg.mjs";
|
|
3
3
|
import { lineByLineConsoleLogger } from "trpc-cli";
|
|
4
4
|
import z from "zod";
|
|
5
5
|
import { McpServer } from "@modelcontextprotocol/server";
|
package/dist/index.d.mts
CHANGED
|
@@ -579,7 +579,7 @@ export declare const router: {
|
|
|
579
579
|
"vercel-labs/agent-skills": "vercel-labs/agent-skills";
|
|
580
580
|
"vercel/ai": "vercel/ai";
|
|
581
581
|
"vercel/turborepo": "vercel/turborepo";
|
|
582
|
-
"
|
|
582
|
+
"honojs/skills": "honojs/skills";
|
|
583
583
|
"vercel/next.js": "vercel/next.js";
|
|
584
584
|
"nuxt/ui": "nuxt/ui";
|
|
585
585
|
"heroui-inc/heroui": "heroui-inc/heroui";
|
|
@@ -606,7 +606,6 @@ export declare const router: {
|
|
|
606
606
|
oxlint: "oxlint";
|
|
607
607
|
}>>;
|
|
608
608
|
editors: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
609
|
-
void: "void";
|
|
610
609
|
antigravity: "antigravity";
|
|
611
610
|
cursor: "cursor";
|
|
612
611
|
vscode: "vscode";
|
|
@@ -616,6 +615,7 @@ export declare const router: {
|
|
|
616
615
|
bob: "bob";
|
|
617
616
|
codebuddy: "codebuddy";
|
|
618
617
|
trae: "trae";
|
|
618
|
+
void: "void";
|
|
619
619
|
kiro: "kiro";
|
|
620
620
|
}>>>;
|
|
621
621
|
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -1094,7 +1094,7 @@ export declare const router: {
|
|
|
1094
1094
|
"vercel-labs/agent-skills": "vercel-labs/agent-skills";
|
|
1095
1095
|
"vercel/ai": "vercel/ai";
|
|
1096
1096
|
"vercel/turborepo": "vercel/turborepo";
|
|
1097
|
-
"
|
|
1097
|
+
"honojs/skills": "honojs/skills";
|
|
1098
1098
|
"vercel/next.js": "vercel/next.js";
|
|
1099
1099
|
"nuxt/ui": "nuxt/ui";
|
|
1100
1100
|
"heroui-inc/heroui": "heroui-inc/heroui";
|
|
@@ -1121,7 +1121,6 @@ export declare const router: {
|
|
|
1121
1121
|
oxlint: "oxlint";
|
|
1122
1122
|
}>>;
|
|
1123
1123
|
editors: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1124
|
-
void: "void";
|
|
1125
1124
|
antigravity: "antigravity";
|
|
1126
1125
|
cursor: "cursor";
|
|
1127
1126
|
vscode: "vscode";
|
|
@@ -1131,6 +1130,7 @@ export declare const router: {
|
|
|
1131
1130
|
bob: "bob";
|
|
1132
1131
|
codebuddy: "codebuddy";
|
|
1133
1132
|
trae: "trae";
|
|
1133
|
+
void: "void";
|
|
1134
1134
|
kiro: "kiro";
|
|
1135
1135
|
}>>>;
|
|
1136
1136
|
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as DirectoryConflictError, E as ValidationError, S as DatabaseSetupError, T as UserCancelledError, _ as ProjectLauncherSchema, a as TEMPLATE_COUNT, b as CLIError, c as builder, d as createVirtual, f as docs, g as sponsors, h as router, i as SchemaNameSchema, l as create, m as getSchemaResult, n as GeneratorError, o as VirtualFileSystem, p as generate, r as Result, s as add, t as EMBEDDED_TEMPLATES, u as createBtsCli, w as ProjectCreationError, x as CompatibilityError } from "./src-
|
|
2
|
+
import { C as DirectoryConflictError, E as ValidationError, S as DatabaseSetupError, T as UserCancelledError, _ as ProjectLauncherSchema, a as TEMPLATE_COUNT, b as CLIError, c as builder, d as createVirtual, f as docs, g as sponsors, h as router, i as SchemaNameSchema, l as create, m as getSchemaResult, n as GeneratorError, o as VirtualFileSystem, p as generate, r as Result, s as add, t as EMBEDDED_TEMPLATES, u as createBtsCli, w as ProjectCreationError, x as CompatibilityError } from "./src-DgIDG3dg.mjs";
|
|
3
3
|
export { CLIError, CompatibilityError, DatabaseSetupError, DirectoryConflictError, EMBEDDED_TEMPLATES, GeneratorError, ProjectCreationError, ProjectLauncherSchema, Result, SchemaNameSchema, TEMPLATE_COUNT, UserCancelledError, ValidationError, VirtualFileSystem, add, builder, create, createBtsCli, createVirtual, docs, generate, getSchemaResult, router, sponsors };
|
|
@@ -1697,6 +1697,10 @@ function parseBtsConfig(content) {
|
|
|
1697
1697
|
const errors = [];
|
|
1698
1698
|
const value = parse(content, errors, { allowTrailingComma: true });
|
|
1699
1699
|
if (errors.length > 0) throw new Error("Invalid JSONC in bts.jsonc");
|
|
1700
|
+
const selections = value?.addonOptions?.skills?.selections;
|
|
1701
|
+
if (Array.isArray(selections)) {
|
|
1702
|
+
for (const selection of selections) if (selection?.source === "yusukebe/hono-skill") selection.source = "honojs/skills";
|
|
1703
|
+
}
|
|
1700
1704
|
return BetterTStackConfigSchema.parse(value);
|
|
1701
1705
|
}
|
|
1702
1706
|
async function readBtsConfig(projectDir) {
|
|
@@ -3576,7 +3580,7 @@ const SKILL_SOURCES = {
|
|
|
3576
3580
|
"vercel-labs/agent-skills": { label: "Vercel Agent Skills" },
|
|
3577
3581
|
"vercel/ai": { label: "Vercel AI SDK" },
|
|
3578
3582
|
"vercel/turborepo": { label: "Turborepo" },
|
|
3579
|
-
"
|
|
3583
|
+
"honojs/skills": { label: "Hono Backend" },
|
|
3580
3584
|
"vercel/next.js": { label: "Next.js" },
|
|
3581
3585
|
"nuxt/ui": { label: "Nuxt UI" },
|
|
3582
3586
|
"heroui-inc/heroui": { label: "HeroUI Native" },
|
|
@@ -3974,7 +3978,7 @@ function getRecommendedSourceKeys(config) {
|
|
|
3974
3978
|
if (orm === "prisma" || dbSetup === "prisma-postgres") sources.push("prisma/skills");
|
|
3975
3979
|
if (examples.includes("ai")) sources.push("vercel/ai");
|
|
3976
3980
|
if (addons.includes("turborepo")) sources.push("vercel/turborepo");
|
|
3977
|
-
if (backend === "hono") sources.push("
|
|
3981
|
+
if (backend === "hono") sources.push("honojs/skills");
|
|
3978
3982
|
if (backend === "elysia") sources.push("elysiajs/skills");
|
|
3979
3983
|
if (backend === "convex") sources.push("waynesutton/convexskills");
|
|
3980
3984
|
if (addons.includes("opentui")) sources.push("msmps/opentui-skill");
|
|
@@ -3992,7 +3996,7 @@ const CURATED_SKILLS_BY_SOURCE = {
|
|
|
3992
3996
|
},
|
|
3993
3997
|
"vercel/ai": () => ["ai-sdk"],
|
|
3994
3998
|
"vercel/turborepo": () => ["turborepo"],
|
|
3995
|
-
"
|
|
3999
|
+
"honojs/skills": () => ["hono"],
|
|
3996
4000
|
"vercel/next.js": () => [
|
|
3997
4001
|
"next-dev-loop",
|
|
3998
4002
|
"next-cache-components-adoption",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.43.
|
|
3
|
+
"version": "3.43.4",
|
|
4
4
|
"description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"better-auth",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"prepublishOnly": "npm run build"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@better-t-stack/template-generator": "^3.43.
|
|
74
|
-
"@better-t-stack/types": "^3.43.
|
|
73
|
+
"@better-t-stack/template-generator": "^3.43.4",
|
|
74
|
+
"@better-t-stack/types": "^3.43.4",
|
|
75
75
|
"@clack/core": "^1.5.0",
|
|
76
76
|
"@clack/prompts": "^1.8.0",
|
|
77
77
|
"@modelcontextprotocol/server": "2.0.0",
|