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 CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { createBtsCli } from "./src-BUa64nwX.js";
2
+ import { createBtsCli } from "./src-C_VdApv8.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-BUa64nwX.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-C_VdApv8.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -59,8 +59,8 @@ function getDefaultConfig() {
59
59
  }
60
60
  const DEFAULT_CONFIG = getDefaultConfig();
61
61
  const dependencyVersionMap = {
62
- "better-auth": "^1.3.4",
63
- "@better-auth/expo": "^1.3.4",
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.8.0",
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.2.6",
88
- "@elysiajs/cors": "^1.2.0",
87
+ "@elysiajs/node": "^1.3.1",
88
+ "@elysiajs/cors": "^1.3.3",
89
89
  "@elysiajs/trpc": "^1.1.0",
90
- elysia: "^1.2.25",
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.5.0",
107
- "@orpc/client": "^1.5.0",
108
- "@orpc/tanstack-query": "^1.5.0",
109
- "@trpc/tanstack-react-query": "^11.4.2",
110
- "@trpc/server": "^11.4.2",
111
- "@trpc/client": "^11.4.2",
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.80.5",
122
- "@tanstack/react-query": "^5.80.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.62.1",
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" || f === "react-router");
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" || f === "react-router");
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" || f === "react-router");
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 = "1";
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 = "phc_8ZUxEwwfKMajJLvxz1daGd931dYbQrwKNficBmsdIrs";
1357
- const POSTHOG_HOST = "https://us.i.posthog.com";
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.2",
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",
@@ -1,7 +1,7 @@
1
1
  import type { NextConfig } from "next";
2
2
 
3
3
  const nextConfig: NextConfig = {
4
- /* config options here */
4
+ typedRoutes: true,
5
5
  };
6
6
 
7
7
  export default nextConfig;
@@ -8,7 +8,7 @@
8
8
  "start": "next start"
9
9
  },
10
10
  "dependencies": {
11
- "next": "15.3.0",
11
+ "next": "15.5.0",
12
12
  "react": "^19.0.0",
13
13
  "react-dom": "^19.0.0",
14
14
  "dotenv": "^17.2.1"
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  {{/if}}
19
19
  "devDependencies": {
20
- "tsdown": "^0.12.9",
20
+ "tsdown": "^0.14.1",
21
21
  "typescript": "^5.8.2"
22
22
  }
23
23
  }
@@ -1,5 +1,7 @@
1
1
  import type { NextConfig } from "next";
2
2
 
3
- const nextConfig: NextConfig = {};
3
+ const nextConfig: NextConfig = {
4
+ typedRoutes: true,
5
+ };
4
6
 
5
7
  export default nextConfig;
@@ -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.3.0",
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",
@@ -25,7 +25,7 @@ export default function Header() {
25
25
  {{#if (includes examples "ai")}}
26
26
  { to: "/ai", label: "AI Chat" },
27
27
  {{/if}}
28
- ];
28
+ ] as const;
29
29
 
30
30
  return (
31
31
  <div>