create-better-t-stack 3.0.10 → 3.0.12
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
package/dist/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "3.0.12",
|
|
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",
|
|
@@ -17,7 +17,7 @@ import { QueryCache, QueryClient, QueryClientProvider } from "@tanstack/react-qu
|
|
|
17
17
|
import { createTRPCClient, httpBatchLink } from "@trpc/client";
|
|
18
18
|
import { createTRPCOptionsProxy } from "@trpc/tanstack-react-query";
|
|
19
19
|
import { toast } from "sonner";
|
|
20
|
-
import type { AppRouter } from "
|
|
20
|
+
import type { AppRouter } from "@{{projectName}}/api/routers/index";
|
|
21
21
|
import { TRPCProvider } from "./utils/trpc";
|
|
22
22
|
{{else if (eq api "orpc")}}
|
|
23
23
|
import { QueryClientProvider } from "@tanstack/react-query";
|