create-better-t-stack 2.33.0 → 2.33.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/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { createBtsCli } from "./src-DdLzqWNh.js";
2
+ import { createBtsCli } from "./src-T8rBM5gC.js";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
package/dist/index.d.ts CHANGED
@@ -56,7 +56,7 @@ declare const AddonsSchema: z.ZodEnum<{
56
56
  starlight: "starlight";
57
57
  biome: "biome";
58
58
  husky: "husky";
59
- "vibe-rules": "vibe-rules";
59
+ ruler: "ruler";
60
60
  turborepo: "turborepo";
61
61
  fumadocs: "fumadocs";
62
62
  ultracite: "ultracite";
@@ -196,7 +196,7 @@ declare const router: trpcServer.TRPCBuiltRouter<{
196
196
  orm?: "none" | "drizzle" | "prisma" | "mongoose" | undefined;
197
197
  auth?: boolean | undefined;
198
198
  frontend?: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-nativewind" | "native-unistyles" | "svelte" | "solid")[] | undefined;
199
- addons?: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "vibe-rules" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[] | undefined;
199
+ addons?: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[] | undefined;
200
200
  examples?: ("none" | "todo" | "ai")[] | undefined;
201
201
  git?: boolean | undefined;
202
202
  packageManager?: "npm" | "pnpm" | "bun" | undefined;
@@ -215,7 +215,7 @@ declare const router: trpcServer.TRPCBuiltRouter<{
215
215
  }>;
216
216
  add: trpcServer.TRPCMutationProcedure<{
217
217
  input: [{
218
- addons?: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "vibe-rules" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[] | undefined;
218
+ addons?: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[] | undefined;
219
219
  webDeploy?: "none" | "workers" | undefined;
220
220
  projectDir?: string | undefined;
221
221
  install?: boolean | undefined;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { builder, createBtsCli, docs, init, router, sponsors } from "./src-DdLzqWNh.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-T8rBM5gC.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -136,7 +136,7 @@ const ADDON_COMPATIBILITY = {
136
136
  turborepo: [],
137
137
  starlight: [],
138
138
  ultracite: [],
139
- "vibe-rules": [],
139
+ "ruler": [],
140
140
  oxlint: [],
141
141
  fumadocs: [],
142
142
  none: []
@@ -190,7 +190,7 @@ const AddonsSchema = z.enum([
190
190
  "starlight",
191
191
  "biome",
192
192
  "husky",
193
- "vibe-rules",
193
+ "ruler",
194
194
  "turborepo",
195
195
  "fumadocs",
196
196
  "ultracite",
@@ -318,8 +318,8 @@ function getAddonDisplay(addon) {
318
318
  label = "Ultracite";
319
319
  hint = "Zero-config Biome preset with AI integration";
320
320
  break;
321
- case "vibe-rules":
322
- label = "vibe-rules";
321
+ case "ruler":
322
+ label = "Ruler";
323
323
  hint = "Install and apply BTS rules to editors";
324
324
  break;
325
325
  case "husky":
@@ -351,7 +351,7 @@ const ADDON_GROUPS = {
351
351
  "ultracite"
352
352
  ],
353
353
  Other: [
354
- "vibe-rules",
354
+ "ruler",
355
355
  "turborepo",
356
356
  "pwa",
357
357
  "tauri",
@@ -2150,7 +2150,7 @@ async function setupAddonsTemplate(projectDir, context) {
2150
2150
  if (!context.addons || context.addons.length === 0) return;
2151
2151
  for (const addon of context.addons) {
2152
2152
  if (addon === "none") continue;
2153
- if (addon === "vibe-rules") continue;
2153
+ if (addon === "ruler") continue;
2154
2154
  let addonSrcDir = path.join(PKG_ROOT, `templates/addons/${addon}`);
2155
2155
  let addonDestDir = projectDir;
2156
2156
  if (addon === "pwa") {
@@ -2292,13 +2292,13 @@ async function setupDeploymentTemplates(projectDir, context) {
2292
2292
  }
2293
2293
 
2294
2294
  //#endregion
2295
- //#region src/helpers/setup/vibe-rules-setup.ts
2295
+ //#region src/helpers/setup/ruler-setup.ts
2296
2296
  async function setupVibeRules(config) {
2297
2297
  const { packageManager, projectDir } = config;
2298
2298
  try {
2299
2299
  log.info("Setting up Ruler...");
2300
2300
  const rulerDir = path.join(projectDir, ".ruler");
2301
- const rulerTemplateDir = path.join(PKG_ROOT, "templates", "addons", "vibe-rules", ".ruler");
2301
+ const rulerTemplateDir = path.join(PKG_ROOT, "templates", "addons", "ruler", ".ruler");
2302
2302
  if (!await fs.pathExists(rulerDir)) if (await fs.pathExists(rulerTemplateDir)) await processAndCopyFiles("**/*", rulerTemplateDir, rulerDir, config);
2303
2303
  else {
2304
2304
  log.error(pc.red("Ruler template directory not found"));
@@ -2464,7 +2464,7 @@ ${pc.cyan("Docs:")} ${pc.underline("https://turborepo.com/docs")}
2464
2464
  }
2465
2465
  if (addons.includes("oxlint")) await setupOxlint(projectDir, packageManager);
2466
2466
  if (addons.includes("starlight")) await setupStarlight(config);
2467
- if (addons.includes("vibe-rules")) await setupVibeRules(config);
2467
+ if (addons.includes("ruler")) await setupVibeRules(config);
2468
2468
  if (addons.includes("fumadocs")) await setupFumadocs(config);
2469
2469
  }
2470
2470
  function getWebAppDir(projectDir, frontends) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.33.0",
3
+ "version": "2.33.1",
4
4
  "description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -106,7 +106,7 @@ add
106
106
  Available addons you can add:
107
107
  - **Documentation**: Starlight, Fumadocs
108
108
  - **Linting**: Biome, Oxlint, Ultracite
109
- - **Other**: vibe-rules, Turborepo, PWA, Tauri, Husky
109
+ - **Other**: Ruler, Turborepo, PWA, Tauri, Husky
110
110
 
111
111
  You can also add web deployment configurations like Cloudflare Workers support.
112
112