create-better-t-stack 3.7.2 → 3.7.3
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-BNPik1LZ.js → src-b1TtTCMt.js} +3 -3
- package/package.json +2 -2
- package/templates/auth/better-auth/convex/native/base/lib/auth-client.ts.hbs +0 -2
- package/templates/frontend/nuxt/package.json.hbs +1 -2
- package/templates/frontend/react/next/package.json.hbs +0 -1
- package/templates/frontend/react/react-router/package.json.hbs +1 -2
- package/templates/frontend/react/tanstack-router/package.json.hbs +1 -2
- package/templates/frontend/react/tanstack-start/package.json.hbs +1 -2
- package/templates/frontend/solid/package.json.hbs +1 -2
- package/templates/frontend/svelte/package.json.hbs +1 -2
package/dist/cli.js
CHANGED
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-
|
|
2
|
+
import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-b1TtTCMt.js";
|
|
3
3
|
|
|
4
4
|
export { builder, createBtsCli, docs, init, router, sponsors };
|
|
@@ -128,7 +128,7 @@ const dependencyVersionMap = {
|
|
|
128
128
|
"@trpc/tanstack-react-query": "^11.5.0",
|
|
129
129
|
"@trpc/server": "^11.5.0",
|
|
130
130
|
"@trpc/client": "^11.5.0",
|
|
131
|
-
next: "
|
|
131
|
+
next: "^16.0.7",
|
|
132
132
|
convex: "^1.29.3",
|
|
133
133
|
"@convex-dev/react-query": "^0.1.0",
|
|
134
134
|
"convex-svelte": "^0.0.12",
|
|
@@ -153,7 +153,7 @@ const dependencyVersionMap = {
|
|
|
153
153
|
alchemy: "^0.77.0",
|
|
154
154
|
dotenv: "^17.2.2",
|
|
155
155
|
tsdown: "^0.16.5",
|
|
156
|
-
zod: "^4.1.
|
|
156
|
+
zod: "^4.1.13",
|
|
157
157
|
srvx: "0.8.15",
|
|
158
158
|
"@polar-sh/better-auth": "^1.1.3",
|
|
159
159
|
"@polar-sh/sdk": "^0.34.16"
|
|
@@ -3975,7 +3975,7 @@ async function setupExamples(config) {
|
|
|
3975
3975
|
const apiDir = path.join(projectDir, "packages/api");
|
|
3976
3976
|
if (await fs.pathExists(apiDir) && backend !== "none") {
|
|
3977
3977
|
if (orm === "drizzle") await addPackageDependency({
|
|
3978
|
-
dependencies: ["drizzle-orm"],
|
|
3978
|
+
dependencies: ["drizzle-orm", "@types/pg"],
|
|
3979
3979
|
projectDir: apiDir
|
|
3980
3980
|
});
|
|
3981
3981
|
else if (orm === "prisma") await addPackageDependency({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.3",
|
|
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",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"trpc-cli": "^0.12.0",
|
|
81
81
|
"ts-morph": "^27.0.2",
|
|
82
82
|
"yaml": "^2.8.1",
|
|
83
|
-
"zod": "^4.1.
|
|
83
|
+
"zod": "^4.1.13"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@types/fs-extra": "^11.0.4",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createAuthClient } from "better-auth/react";
|
|
2
|
-
import { anonymousClient } from "better-auth/client/plugins";
|
|
3
2
|
import { convexClient } from "@convex-dev/better-auth/client/plugins";
|
|
4
3
|
import { expoClient } from "@better-auth/expo/client";
|
|
5
4
|
import Constants from "expo-constants";
|
|
@@ -8,7 +7,6 @@ import * as SecureStore from "expo-secure-store";
|
|
|
8
7
|
export const authClient = createAuthClient({
|
|
9
8
|
baseURL: process.env.EXPO_PUBLIC_CONVEX_SITE_URL,
|
|
10
9
|
plugins: [
|
|
11
|
-
anonymousClient(),
|
|
12
10
|
expoClient({
|
|
13
11
|
scheme: Constants.expoConfig?.scheme as string,
|
|
14
12
|
storagePrefix: Constants.expoConfig?.scheme as string,
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"tailwindcss": "^4.1.3",
|
|
27
27
|
"tailwind-merge": "^3.3.1",
|
|
28
28
|
"tw-animate-css": "^1.2.5",
|
|
29
|
-
"vite-tsconfig-paths": "^5.1.4"
|
|
30
|
-
"zod": "^4.0.2"
|
|
29
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@tanstack/react-router-devtools": {{#if (eq auth "clerk")}}"1.134.4"{{else}}"^1.132.31"{{/if}},
|