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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-CGOvCEq2.js → src-D0heoKPu.js} +4 -4
- package/package.json +1 -1
- package/templates/frontend/nuxt/app/{app.config.ts → app.config.ts.hbs} +1 -1
- package/templates/frontend/nuxt/nuxt.config.ts.hbs +1 -1
- package/templates/frontend/nuxt/package.json.hbs +5 -5
- package/templates/frontend/nuxt/tsconfig.json.hbs +1 -0
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -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,
|
|
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" &&
|
|
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.
|
|
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",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"postinstall": "nuxt prepare"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@nuxt/ui": "3.3.
|
|
14
|
-
"nuxt": "^4.
|
|
15
|
-
"typescript": "^5.
|
|
16
|
-
"vue": "^3.5.
|
|
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.
|
|
18
|
+
"zod": "^4.1.5"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tailwindcss": "^4.1.11",
|