create-better-t-stack 3.2.18 → 3.2.19

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-B-Gt8TxY.js";
2
+ import { n as createBtsCli } from "./src-BjWlXInp.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-B-Gt8TxY.js";
2
+ import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-BjWlXInp.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -2070,7 +2070,7 @@ async function setupFumadocs(config) {
2070
2070
  initialValue: "next-mdx"
2071
2071
  });
2072
2072
  if (isCancel(template)) return exitCancelled("Operation cancelled");
2073
- const fumadocsInitCommand = getPackageExecutionCommand(packageManager, `create-fumadocs-app@16.0.4 fumadocs --template ${TEMPLATES[template].value} --src --pm ${packageManager} --no-git`);
2073
+ const fumadocsInitCommand = getPackageExecutionCommand(packageManager, `create-fumadocs-app@latest fumadocs --template ${TEMPLATES[template].value} --src --pm ${packageManager} --no-git`);
2074
2074
  const appsDir = path.join(projectDir, "apps");
2075
2075
  await fs.ensureDir(appsDir);
2076
2076
  const s = spinner();
@@ -4017,6 +4017,8 @@ async function setupCatalogs(projectDir, options) {
4017
4017
  const packagePaths = [
4018
4018
  "apps/server",
4019
4019
  "apps/web",
4020
+ "apps/fumadocs",
4021
+ "apps/docs",
4020
4022
  "packages/api",
4021
4023
  "packages/db",
4022
4024
  "packages/auth",
@@ -6994,9 +6996,9 @@ async function createProject(options, cliInput) {
6994
6996
  await handleExtras(projectDir, options);
6995
6997
  await setupEnvironmentVariables(options);
6996
6998
  await updatePackageConfigurations(projectDir, options);
6997
- await setupCatalogs(projectDir, options);
6998
6999
  await setupWebDeploy(options);
6999
7000
  await setupServerDeploy(options);
7001
+ await setupCatalogs(projectDir, options);
7000
7002
  await createReadme(projectDir, options);
7001
7003
  await writeBtsConfig(options);
7002
7004
  log.success("Project template successfully scaffolded!");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.2.18",
3
+ "version": "3.2.19",
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",