create-better-t-stack 2.24.2 → 2.24.4

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
@@ -1488,7 +1488,7 @@ function processAndValidateFlags(options, providedFlags, projectName) {
1488
1488
  process.exit(1);
1489
1489
  }
1490
1490
  const hasWebFrontendFlag = (config.frontend ?? []).some((f) => WEB_FRAMEWORKS.includes(f));
1491
- if (config.webDeploy && config.webDeploy !== "none" && !hasWebFrontendFlag) {
1491
+ if (config.webDeploy && config.webDeploy !== "none" && !hasWebFrontendFlag && providedFlags.has("frontend")) {
1492
1492
  consola$1.fatal("'--web-deploy' requires a web frontend. Please select a web frontend or set '--web-deploy none'.");
1493
1493
  process.exit(1);
1494
1494
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.24.2",
3
+ "version": "2.24.4",
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",
@@ -17,8 +17,7 @@ export const todoRouter = {
17
17
  .insert(todo)
18
18
  .values({
19
19
  text: input.text,
20
- })
21
- .returning();
20
+ });
22
21
  return result[0];
23
22
  }),
24
23