create-better-t-stack 3.2.3 → 3.2.5

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-BcBhk2Os.js";
2
+ import { createBtsCli } from "./src-ljR3uw5T.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 { builder, createBtsCli, docs, init, router, sponsors } from "./src-BcBhk2Os.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-ljR3uw5T.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -4337,6 +4337,10 @@ async function setupApi(config) {
4337
4337
  });
4338
4338
  }
4339
4339
  }
4340
+ if (config.auth === "better-auth" && (backend === "express" || backend === "fastify")) await addPackageDependency({
4341
+ dependencies: ["better-auth"],
4342
+ projectDir: apiPackageDir
4343
+ });
4340
4344
  if (webDirExists && apiDeps.web) await addPackageDependency({
4341
4345
  dependencies: apiDeps.web.dependencies,
4342
4346
  devDependencies: apiDeps.web.devDependencies,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.2.3",
3
+ "version": "3.2.5",
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",
@@ -60,6 +60,9 @@
60
60
  ".": {
61
61
  "types": "./dist/index.d.ts",
62
62
  "import": "./dist/index.js"
63
+ },
64
+ "./cli": {
65
+ "import": "./dist/cli.js"
63
66
  }
64
67
  },
65
68
  "dependencies": {