create-better-t-stack 2.41.4 → 2.42.0

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-CGOvCEq2.js";
2
+ import { createBtsCli } from "./src-D0heoKPu.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-CGOvCEq2.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-D0heoKPu.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -3132,7 +3132,8 @@ async function setupNuxtAlchemyDeploy(projectDir, _packageManager, options) {
3132
3132
  devDependencies: [
3133
3133
  "alchemy",
3134
3134
  "nitro-cloudflare-dev",
3135
- "dotenv"
3135
+ "dotenv",
3136
+ "wrangler"
3136
3137
  ],
3137
3138
  projectDir: webAppDir
3138
3139
  });
@@ -5993,7 +5994,7 @@ function getNativeInstructions(isConvex) {
5993
5994
  function getLintingInstructions(runCmd) {
5994
5995
  return `${pc.bold("Linting and formatting:")}\n${pc.cyan("•")} Format and lint fix: ${`${runCmd} check`}\n`;
5995
5996
  }
5996
- async function getDatabaseInstructions(database, orm, runCmd, _runtime, dbSetup, serverDeploy) {
5997
+ async function getDatabaseInstructions(database, orm, runCmd, runtime, dbSetup, serverDeploy) {
5997
5998
  const instructions = [];
5998
5999
  if (dbSetup === "docker") {
5999
6000
  const dockerStatus = await getDockerStatus(database);
@@ -6003,8 +6004,7 @@ async function getDatabaseInstructions(database, orm, runCmd, _runtime, dbSetup,
6003
6004
  }
6004
6005
  }
6005
6006
  if (serverDeploy === "wrangler" && dbSetup === "d1") {
6006
- if (orm === "prisma" && _runtime === "workers") instructions.push(`${pc.yellow("WARNING:")} Prisma + D1 on Workers with Wrangler has migration issues.
6007
- Consider using Alchemy deploy instead of Wrangler for D1 projects.`);
6007
+ if (orm === "prisma" && runtime === "workers") instructions.push(`\n${pc.yellow("WARNING:")} Prisma + D1 on Workers with Wrangler has migration issues.\n Consider using Alchemy deploy instead of Wrangler for D1 projects.\n`);
6008
6008
  const packageManager = runCmd === "npm run" ? "npm" : runCmd || "npm";
6009
6009
  instructions.push(`${pc.cyan("1.")} Login to Cloudflare: ${pc.white(`${packageManager} wrangler login`)}`);
6010
6010
  instructions.push(`${pc.cyan("2.")} Create D1 database: ${pc.white(`${packageManager} wrangler d1 create your-database-name`)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.41.4",
3
+ "version": "2.42.0",
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",
@@ -3,7 +3,7 @@ export default defineAppConfig({
3
3
  ui: {
4
4
  colors: {
5
5
  primary: 'emerald',
6
- neutral: 'slate',
6
+ neutral: 'neutral',
7
7
  },
8
8
  button: {
9
9
  defaultVariants: {
@@ -12,7 +12,7 @@ export default defineNuxtConfig({
12
12
  devServer: {
13
13
  port: 3001
14
14
  },
15
- ssr: false,
15
+ ssr: true,
16
16
  {{#if (eq backend "convex")}}
17
17
  convex: {
18
18
  url: process.env.NUXT_PUBLIC_CONVEX_URL,
@@ -10,12 +10,12 @@
10
10
  "postinstall": "nuxt prepare"
11
11
  },
12
12
  "dependencies": {
13
- "@nuxt/ui": "3.3.0",
14
- "nuxt": "^4.0.2",
15
- "typescript": "^5.8.3",
16
- "vue": "^3.5.18",
13
+ "@nuxt/ui": "3.3.3",
14
+ "nuxt": "^4.1.1",
15
+ "typescript": "^5.9.2",
16
+ "vue": "^3.5.21",
17
17
  "vue-router": "^4.5.1",
18
- "zod": "^4.0.2"
18
+ "zod": "^4.1.5"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tailwindcss": "^4.1.11",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  // https://nuxt.com/docs/guide/concepts/typescript
3
+ "files": [],
3
4
  "references": [
4
5
  {
5
6
  "path": "./.nuxt/tsconfig.app.json"