create-better-t-stack 3.43.3 → 3.44.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.
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-uqnkdOQG.mjs";
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-DyelC0q-.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
- "yusukebe/hono-skill": "yusukebe/hono-skill";
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";
@@ -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
- "yusukebe/hono-skill": "yusukebe/hono-skill";
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";
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-uqnkdOQG.mjs";
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-DyelC0q-.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 };
@@ -1119,7 +1119,7 @@ function validatePrismaServerDeploy(serverDeploy, backend, runtime) {
1119
1119
  }
1120
1120
  function validatePrismaWebDeploy(webDeploy, frontend) {
1121
1121
  if (webDeploy !== "prisma" || !frontend) return Result.ok(void 0);
1122
- if (!supportsPrismaWebDeploy(frontend)) return validationErr$1("'--web-deploy prisma' requires a supported server frontend. Choose Next.js, Nuxt, Astro, React Router, TanStack Start, SvelteKit, or Solid. TanStack Router is a static SPA, while Prisma Compute requires an executable server artifact.");
1122
+ if (!supportsPrismaWebDeploy(frontend)) return validationErr$1("'--web-deploy prisma' requires a supported web frontend. Choose TanStack Router, Next.js, Nuxt, Astro, React Router, TanStack Start, SvelteKit, or Solid.");
1123
1123
  return Result.ok(void 0);
1124
1124
  }
1125
1125
  function validateCloudflareWebDeployKnownIssues(config) {
@@ -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
- "yusukebe/hono-skill": { label: "Hono Backend" },
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("yusukebe/hono-skill");
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
- "yusukebe/hono-skill": () => ["hono"],
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",
3
+ "version": "3.44.0",
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.3",
74
- "@better-t-stack/types": "^3.43.3",
73
+ "@better-t-stack/template-generator": "^3.44.0",
74
+ "@better-t-stack/types": "^3.44.0",
75
75
  "@clack/core": "^1.5.0",
76
76
  "@clack/prompts": "^1.8.0",
77
77
  "@modelcontextprotocol/server": "2.0.0",