create-better-t-stack 3.0.10 → 3.0.11

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-z6x1V1-F.js";
2
+ import { createBtsCli } from "./src-91MwhQvg.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-z6x1V1-F.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-91MwhQvg.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -130,7 +130,7 @@ const dependencyVersionMap = {
130
130
  "convex-svelte": "^0.0.11",
131
131
  "convex-nuxt": "0.1.5",
132
132
  "convex-vue": "^0.1.5",
133
- "@convex-dev/better-auth": "^0.8.4",
133
+ "@convex-dev/better-auth": "^0.9.1",
134
134
  "@tanstack/svelte-query": "^5.85.3",
135
135
  "@tanstack/svelte-query-devtools": "^5.85.3",
136
136
  "@tanstack/vue-query-devtools": "^5.90.2",
@@ -4406,7 +4406,7 @@ async function setupAuth(config) {
4406
4406
  const convexBackendDir = path.join(projectDir, "packages/backend");
4407
4407
  if (await fs.pathExists(convexBackendDir)) await addPackageDependency({
4408
4408
  dependencies: ["better-auth", "@convex-dev/better-auth"],
4409
- customDependencies: { "better-auth": "1.3.8" },
4409
+ customDependencies: { "better-auth": "1.3.27" },
4410
4410
  projectDir: convexBackendDir
4411
4411
  });
4412
4412
  if (clientDirExists) {
@@ -4415,17 +4415,17 @@ async function setupAuth(config) {
4415
4415
  const hasViteReactOther = frontend.some((f) => ["tanstack-router", "react-router"].includes(f));
4416
4416
  if (hasNextJs) await addPackageDependency({
4417
4417
  dependencies: ["better-auth", "@convex-dev/better-auth"],
4418
- customDependencies: { "better-auth": "1.3.8" },
4418
+ customDependencies: { "better-auth": "1.3.27" },
4419
4419
  projectDir: clientDir
4420
4420
  });
4421
4421
  else if (hasTanStackStart) await addPackageDependency({
4422
4422
  dependencies: ["better-auth", "@convex-dev/better-auth"],
4423
- customDependencies: { "better-auth": "1.3.8" },
4423
+ customDependencies: { "better-auth": "1.3.27" },
4424
4424
  projectDir: clientDir
4425
4425
  });
4426
4426
  else if (hasViteReactOther) await addPackageDependency({
4427
4427
  dependencies: ["better-auth", "@convex-dev/better-auth"],
4428
- customDependencies: { "better-auth": "1.3.8" },
4428
+ customDependencies: { "better-auth": "1.3.27" },
4429
4429
  projectDir: clientDir
4430
4430
  });
4431
4431
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.0.10",
3
+ "version": "3.0.11",
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",
@@ -22,7 +22,7 @@ export const createAuth = (
22
22
  disabled: optionsOnly,
23
23
  },
24
24
  {{#if (or (includes frontend "tanstack-start") (includes frontend "next"))}}
25
- baseUrl: siteUrl,
25
+ baseURL: siteUrl,
26
26
  trustedOrigins: [siteUrl],
27
27
  {{else}}
28
28
  trustedOrigins: [siteUrl],