create-better-t-stack 2.28.3 → 2.28.5

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/index.js CHANGED
@@ -2578,9 +2578,9 @@ async function handleExtras(projectDir, context) {
2578
2578
  if (await fs.pathExists(pnpmWorkspaceSrc)) await fs.copy(pnpmWorkspaceSrc, pnpmWorkspaceDest);
2579
2579
  }
2580
2580
  if (context.packageManager === "bun") {
2581
- const bunfigSrc = path.join(extrasDir, "bunfig.toml");
2581
+ const bunfigSrc = path.join(extrasDir, "bunfig.toml.hbs");
2582
2582
  const bunfigDest = path.join(projectDir, "bunfig.toml");
2583
- if (await fs.pathExists(bunfigSrc)) await fs.copy(bunfigSrc, bunfigDest);
2583
+ if (await fs.pathExists(bunfigSrc)) await processTemplate(bunfigSrc, bunfigDest, context);
2584
2584
  }
2585
2585
  if (context.packageManager === "pnpm" && (hasNative || context.frontend.includes("nuxt"))) {
2586
2586
  const npmrcTemplateSrc = path.join(extrasDir, "_npmrc.hbs");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.28.3",
3
+ "version": "2.28.5",
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",
@@ -33,7 +33,7 @@ export default function SignInForm({
33
33
  toast.success("Sign in successful");
34
34
  },
35
35
  onError: (error) => {
36
- toast.error(error.error.message);
36
+ toast.error(error.error.message || error.error.statusText);
37
37
  },
38
38
  },
39
39
  );
@@ -35,7 +35,7 @@ export default function SignUpForm({
35
35
  toast.success("Sign up successful");
36
36
  },
37
37
  onError: (error) => {
38
- toast.error(error.error.message);
38
+ toast.error(error.error.message || error.error.statusText);
39
39
  },
40
40
  },
41
41
  );
@@ -33,7 +33,7 @@ export default function SignInForm({
33
33
  toast.success("Sign in successful");
34
34
  },
35
35
  onError: (error) => {
36
- toast.error(error.error.message);
36
+ toast.error(error.error.message || error.error.statusText);
37
37
  },
38
38
  }
39
39
  );
@@ -35,7 +35,7 @@ export default function SignUpForm({
35
35
  toast.success("Sign up successful");
36
36
  },
37
37
  onError: (error) => {
38
- toast.error(error.error.message);
38
+ toast.error(error.error.message || error.error.statusText);
39
39
  },
40
40
  }
41
41
  );
@@ -37,7 +37,7 @@ export default function SignInForm({
37
37
  toast.success("Sign in successful");
38
38
  },
39
39
  onError: (error) => {
40
- toast.error(error.error.message);
40
+ toast.error(error.error.message || error.error.statusText);
41
41
  },
42
42
  },
43
43
  );
@@ -39,7 +39,7 @@ export default function SignUpForm({
39
39
  toast.success("Sign up successful");
40
40
  },
41
41
  onError: (error) => {
42
- toast.error(error.error.message);
42
+ toast.error(error.error.message || error.error.statusText);
43
43
  },
44
44
  },
45
45
  );
@@ -37,7 +37,7 @@ export default function SignInForm({
37
37
  toast.success("Sign in successful");
38
38
  },
39
39
  onError: (error) => {
40
- toast.error(error.error.message);
40
+ toast.error(error.error.message || error.error.statusText);
41
41
  },
42
42
  },
43
43
  );
@@ -39,7 +39,7 @@ export default function SignUpForm({
39
39
  toast.success("Sign up successful");
40
40
  },
41
41
  onError: (error) => {
42
- toast.error(error.error.message);
42
+ toast.error(error.error.message || error.error.statusText);
43
43
  },
44
44
  },
45
45
  );
@@ -0,0 +1,7 @@
1
+ {{#if (includes frontend "nuxt")}}
2
+ # [install]
3
+ # linker = "isolated"
4
+ {{else}}
5
+ [install]
6
+ linker = "isolated"
7
+ {{/if}}
@@ -13,13 +13,13 @@
13
13
  "@nuxt/ui": "3.3.0",
14
14
  "@tanstack/vue-query": "^5.83.0",
15
15
  "nuxt": "^4.0.2",
16
- "tailwindcss": "^4.1.11",
17
16
  "typescript": "^5.8.3",
18
17
  "vue": "^3.5.18",
19
18
  "vue-router": "^4.5.1",
20
19
  "zod": "^4.0.2"
21
20
  },
22
21
  "devDependencies": {
22
+ "tailwindcss": "^4.1.11",
23
23
  "@tanstack/vue-query-devtools": "^5.83.0",
24
24
  "@iconify-json/lucide": "^1.2.57"
25
25
  }
@@ -1,9 +1,23 @@
1
1
  {
2
2
  // https://nuxt.com/docs/guide/concepts/typescript
3
- "extends": "./.nuxt/tsconfig.json",
3
+ "references": [
4
+ {
5
+ "path": "./.nuxt/tsconfig.app.json"
6
+ },
7
+ {
8
+ "path": "./.nuxt/tsconfig.server.json"
9
+ },
10
+ {
11
+ "path": "./.nuxt/tsconfig.shared.json"
12
+ },
13
+ {
14
+ "path": "./.nuxt/tsconfig.node.json"
15
+ }
4
16
  {{#unless (or (eq backend "convex") (eq backend "none"))}}
5
- "references": [{
6
- "path": "../server"
7
- }]
17
+ ,
18
+ {
19
+ "path": "../server"
20
+ }
8
21
  {{/unless}}
22
+ ]
9
23
  }
@@ -1,2 +0,0 @@
1
- [install]
2
- linker = "isolated"