create-better-t-stack 2.36.2 → 2.36.3-canary.5fe7a73e
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-BUa64nwX.js → src-C_VdApv8.js} +21 -21
- package/package.json +1 -1
- package/templates/backend/server/next/next.config.ts +1 -1
- package/templates/backend/server/next/package.json.hbs +1 -1
- package/templates/backend/server/server-base/package.json.hbs +1 -1
- package/templates/frontend/react/next/next.config.ts.hbs +3 -1
- package/templates/frontend/react/next/package.json.hbs +2 -3
- package/templates/frontend/react/web-base/src/components/header.tsx.hbs +1 -1
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -59,8 +59,8 @@ function getDefaultConfig() {
|
|
|
59
59
|
}
|
|
60
60
|
const DEFAULT_CONFIG = getDefaultConfig();
|
|
61
61
|
const dependencyVersionMap = {
|
|
62
|
-
"better-auth": "^1.3.
|
|
63
|
-
"@better-auth/expo": "^1.3.
|
|
62
|
+
"better-auth": "^1.3.7",
|
|
63
|
+
"@better-auth/expo": "^1.3.7",
|
|
64
64
|
"drizzle-orm": "^0.44.2",
|
|
65
65
|
"drizzle-kit": "^0.31.2",
|
|
66
66
|
"@libsql/client": "^0.15.9",
|
|
@@ -78,16 +78,16 @@ const dependencyVersionMap = {
|
|
|
78
78
|
"@vite-pwa/assets-generator": "^1.0.0",
|
|
79
79
|
"@tauri-apps/cli": "^2.4.0",
|
|
80
80
|
"@biomejs/biome": "^2.2.0",
|
|
81
|
-
oxlint: "^1.
|
|
81
|
+
oxlint: "^1.12.0",
|
|
82
82
|
husky: "^9.1.7",
|
|
83
83
|
"lint-staged": "^16.1.2",
|
|
84
84
|
tsx: "^4.19.2",
|
|
85
85
|
"@types/node": "^22.13.11",
|
|
86
86
|
"@types/bun": "^1.2.6",
|
|
87
|
-
"@elysiajs/node": "^1.
|
|
88
|
-
"@elysiajs/cors": "^1.
|
|
87
|
+
"@elysiajs/node": "^1.3.1",
|
|
88
|
+
"@elysiajs/cors": "^1.3.3",
|
|
89
89
|
"@elysiajs/trpc": "^1.1.0",
|
|
90
|
-
elysia: "^1.
|
|
90
|
+
elysia: "^1.3.20",
|
|
91
91
|
"@hono/node-server": "^1.14.4",
|
|
92
92
|
"@hono/trpc-server": "^0.4.0",
|
|
93
93
|
hono: "^4.8.2",
|
|
@@ -103,12 +103,12 @@ const dependencyVersionMap = {
|
|
|
103
103
|
"@ai-sdk/vue": "^2.0.9",
|
|
104
104
|
"@ai-sdk/svelte": "^3.0.9",
|
|
105
105
|
"@ai-sdk/react": "^2.0.9",
|
|
106
|
-
"@orpc/server": "^1.
|
|
107
|
-
"@orpc/client": "^1.
|
|
108
|
-
"@orpc/tanstack-query": "^1.
|
|
109
|
-
"@trpc/tanstack-react-query": "^11.
|
|
110
|
-
"@trpc/server": "^11.
|
|
111
|
-
"@trpc/client": "^11.
|
|
106
|
+
"@orpc/server": "^1.8.4",
|
|
107
|
+
"@orpc/client": "^1.8.4",
|
|
108
|
+
"@orpc/tanstack-query": "^1.8.4",
|
|
109
|
+
"@trpc/tanstack-react-query": "^11.5.0",
|
|
110
|
+
"@trpc/server": "^11.5.0",
|
|
111
|
+
"@trpc/client": "^11.5.0",
|
|
112
112
|
convex: "^1.25.4",
|
|
113
113
|
"@convex-dev/react-query": "^0.0.0-alpha.8",
|
|
114
114
|
"convex-svelte": "^0.0.11",
|
|
@@ -118,8 +118,8 @@ const dependencyVersionMap = {
|
|
|
118
118
|
"@tanstack/svelte-query-devtools": "^5.85.3",
|
|
119
119
|
"@tanstack/vue-query-devtools": "^5.83.0",
|
|
120
120
|
"@tanstack/vue-query": "^5.83.0",
|
|
121
|
-
"@tanstack/react-query-devtools": "^5.
|
|
122
|
-
"@tanstack/react-query": "^5.
|
|
121
|
+
"@tanstack/react-query-devtools": "^5.85.5",
|
|
122
|
+
"@tanstack/react-query": "^5.85.5",
|
|
123
123
|
"@tanstack/solid-query": "^5.75.0",
|
|
124
124
|
"@tanstack/solid-query-devtools": "^5.75.0",
|
|
125
125
|
"@tanstack/solid-router-devtools": "^1.131.25",
|
|
@@ -129,7 +129,7 @@ const dependencyVersionMap = {
|
|
|
129
129
|
"nitro-cloudflare-dev": "^0.2.2",
|
|
130
130
|
"@sveltejs/adapter-cloudflare": "^7.2.1",
|
|
131
131
|
"@cloudflare/workers-types": "^4.20250822.0",
|
|
132
|
-
alchemy: "^0.
|
|
132
|
+
alchemy: "^0.63.0",
|
|
133
133
|
nitropack: "^2.12.4",
|
|
134
134
|
dotenv: "^17.2.1"
|
|
135
135
|
};
|
|
@@ -592,7 +592,7 @@ function validateAlchemyCompatibility(webDeploy, serverDeploy, frontends = []) {
|
|
|
592
592
|
const isAlchemyWebDeploy = webDeploy === "alchemy";
|
|
593
593
|
const isAlchemyServerDeploy = serverDeploy === "alchemy";
|
|
594
594
|
if (isAlchemyWebDeploy || isAlchemyServerDeploy) {
|
|
595
|
-
const incompatibleFrontends = frontends.filter((f) => f === "next"
|
|
595
|
+
const incompatibleFrontends = frontends.filter((f) => f === "next");
|
|
596
596
|
if (incompatibleFrontends.length > 0) {
|
|
597
597
|
const deployType = isAlchemyWebDeploy && isAlchemyServerDeploy ? "web and server deployment" : isAlchemyWebDeploy ? "web deployment" : "server deployment";
|
|
598
598
|
exitWithError(`Alchemy ${deployType} is temporarily not compatible with ${incompatibleFrontends.join(" and ")} frontend(s). Please choose a different frontend or deployment option.`);
|
|
@@ -1152,7 +1152,7 @@ function getDeploymentDisplay(deployment) {
|
|
|
1152
1152
|
async function getDeploymentChoice(deployment, _runtime, _backend, frontend = []) {
|
|
1153
1153
|
if (deployment !== void 0) return deployment;
|
|
1154
1154
|
if (!hasWebFrontend(frontend)) return "none";
|
|
1155
|
-
const hasIncompatibleFrontend = frontend.some((f) => f === "next"
|
|
1155
|
+
const hasIncompatibleFrontend = frontend.some((f) => f === "next");
|
|
1156
1156
|
const availableDeployments = hasIncompatibleFrontend ? ["wrangler", "none"] : [
|
|
1157
1157
|
"wrangler",
|
|
1158
1158
|
"alchemy",
|
|
@@ -1176,7 +1176,7 @@ async function getDeploymentChoice(deployment, _runtime, _backend, frontend = []
|
|
|
1176
1176
|
}
|
|
1177
1177
|
async function getDeploymentToAdd(frontend, existingDeployment) {
|
|
1178
1178
|
if (!hasWebFrontend(frontend)) return "none";
|
|
1179
|
-
const hasIncompatibleFrontend = frontend.some((f) => f === "next"
|
|
1179
|
+
const hasIncompatibleFrontend = frontend.some((f) => f === "next");
|
|
1180
1180
|
const options = [];
|
|
1181
1181
|
if (existingDeployment !== "wrangler") {
|
|
1182
1182
|
const { label, hint } = getDeploymentDisplay("wrangler");
|
|
@@ -1345,7 +1345,7 @@ const getLatestCLIVersion = () => {
|
|
|
1345
1345
|
*/
|
|
1346
1346
|
function isTelemetryEnabled() {
|
|
1347
1347
|
const BTS_TELEMETRY_DISABLED = process.env.BTS_TELEMETRY_DISABLED;
|
|
1348
|
-
const BTS_TELEMETRY = "
|
|
1348
|
+
const BTS_TELEMETRY = "0";
|
|
1349
1349
|
if (BTS_TELEMETRY_DISABLED !== void 0) return BTS_TELEMETRY_DISABLED !== "1";
|
|
1350
1350
|
if (BTS_TELEMETRY !== void 0) return BTS_TELEMETRY === "1";
|
|
1351
1351
|
return true;
|
|
@@ -1353,8 +1353,8 @@ function isTelemetryEnabled() {
|
|
|
1353
1353
|
|
|
1354
1354
|
//#endregion
|
|
1355
1355
|
//#region src/utils/analytics.ts
|
|
1356
|
-
const POSTHOG_API_KEY = "
|
|
1357
|
-
const POSTHOG_HOST = "
|
|
1356
|
+
const POSTHOG_API_KEY = "random";
|
|
1357
|
+
const POSTHOG_HOST = "random";
|
|
1358
1358
|
function generateSessionId() {
|
|
1359
1359
|
const rand = Math.random().toString(36).slice(2);
|
|
1360
1360
|
const now = Date.now().toString(36);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-t-stack",
|
|
3
|
-
"version": "2.36.
|
|
3
|
+
"version": "2.36.3-canary.5fe7a73e",
|
|
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",
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "next dev --turbopack --port=3001",
|
|
7
7
|
"build": "next build",
|
|
8
|
-
"start": "next start"
|
|
9
|
-
"lint": "next lint"
|
|
8
|
+
"start": "next start"
|
|
10
9
|
},
|
|
11
10
|
"dependencies": {
|
|
12
11
|
"radix-ui": "^1.4.2",
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
"class-variance-authority": "^0.7.1",
|
|
15
14
|
"clsx": "^2.1.1",
|
|
16
15
|
"lucide-react": "^0.487.0",
|
|
17
|
-
"next": "15.
|
|
16
|
+
"next": "15.5.0",
|
|
18
17
|
"next-themes": "^0.4.6",
|
|
19
18
|
"react": "^19.0.0",
|
|
20
19
|
"react-dom": "^19.0.0",
|