create-better-t-stack 3.2.20 → 3.2.21

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 { n as createBtsCli } from "./src-CQps1oXf.js";
2
+ import { n as createBtsCli } from "./src-WIwtBCHf.js";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-CQps1oXf.js";
2
+ import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-WIwtBCHf.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -2076,12 +2076,12 @@ async function setupFumadocs(config) {
2076
2076
  const fumadocsInitCommand = getPackageExecutionCommand(packageManager, `create-fumadocs-app@latest fumadocs --template ${TEMPLATES[template].value} --src --pm ${packageManager} --no-git`);
2077
2077
  const appsDir = path.join(projectDir, "apps");
2078
2078
  await fs.ensureDir(appsDir);
2079
- const s = spinner();
2080
- s.start("Setting up Fumadocs...");
2079
+ log.info("Running Fumadocs create command...");
2081
2080
  await execa(fumadocsInitCommand, {
2082
2081
  cwd: appsDir,
2083
2082
  env: { CI: "true" },
2084
- shell: true
2083
+ shell: true,
2084
+ stdio: "inherit"
2085
2085
  });
2086
2086
  const fumadocsDir = path.join(projectDir, "apps", "fumadocs");
2087
2087
  const packageJsonPath = path.join(fumadocsDir, "package.json");
@@ -2091,7 +2091,7 @@ async function setupFumadocs(config) {
2091
2091
  if (packageJson.scripts?.dev) packageJson.scripts.dev = `${packageJson.scripts.dev} --port=4000`;
2092
2092
  await fs.writeJson(packageJsonPath, packageJson, { spaces: 2 });
2093
2093
  }
2094
- s.stop("Fumadocs setup complete!");
2094
+ log.success("Fumadocs setup complete!");
2095
2095
  } catch (error) {
2096
2096
  log.error(pc.red("Failed to set up Fumadocs"));
2097
2097
  if (error instanceof Error) consola.error(pc.red(error.message));
@@ -2349,14 +2349,14 @@ async function setupUltracite(config, hasHusky) {
2349
2349
  if (agents.length > 0) ultraciteArgs.push("--agents", ...agents);
2350
2350
  if (hasHusky) ultraciteArgs.push("--integrations", "husky", "lint-staged");
2351
2351
  const ultraciteInitCommand = getPackageExecutionCommand(packageManager, `ultracite@latest ${ultraciteArgs.join(" ")} --skip-install`);
2352
- const s = spinner();
2353
- s.start("Setting up Ultracite...");
2352
+ log.info("Running Ultracite init command...");
2354
2353
  await execa(ultraciteInitCommand, {
2355
2354
  cwd: projectDir,
2356
2355
  env: { CI: "true" },
2357
- shell: true
2356
+ shell: true,
2357
+ stdio: "inherit"
2358
2358
  });
2359
- s.stop("Ultracite setup complete!");
2359
+ log.success("Ultracite setup complete!");
2360
2360
  if (hasHusky) await addPackageDependency({
2361
2361
  devDependencies: ["husky", "lint-staged"],
2362
2362
  projectDir
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.2.20",
3
+ "version": "3.2.21",
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",