create-better-t-stack 3.2.16 → 3.2.18

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 { n as createBtsCli } from "./src-DJUohHTZ.js";
2
+ import { n as createBtsCli } from "./src-B-Gt8TxY.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 { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-DJUohHTZ.js";
2
+ import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-B-Gt8TxY.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -5172,18 +5172,18 @@ async function writeEnvFile$2(projectDir, backend, config) {
5172
5172
  async function setupWithNeonDb(projectDir, packageManager, backend) {
5173
5173
  try {
5174
5174
  const s = spinner();
5175
- s.start("Creating Neon database using neondb...");
5175
+ s.start("Creating Neon database using get-db...");
5176
5176
  const targetApp = backend === "self" ? "apps/web" : "apps/server";
5177
5177
  const targetDir = path.join(projectDir, targetApp);
5178
5178
  await fs.ensureDir(targetDir);
5179
- await execa(getPackageExecutionCommand(packageManager, "neondb@latest --yes"), {
5179
+ await execa(getPackageExecutionCommand(packageManager, "get-db@latest --yes"), {
5180
5180
  shell: true,
5181
5181
  cwd: targetDir
5182
5182
  });
5183
5183
  s.stop(pc.green("Neon database created successfully!"));
5184
5184
  return true;
5185
5185
  } catch (error) {
5186
- consola$1.error(pc.red("Failed to create database with neondb"));
5186
+ consola$1.error(pc.red("Failed to create database with get-db"));
5187
5187
  throw error;
5188
5188
  }
5189
5189
  }
@@ -5228,7 +5228,7 @@ async function setupNeonPostgres(config, cliInput) {
5228
5228
  const setupMethod = await select({
5229
5229
  message: "Choose your Neon setup method:",
5230
5230
  options: [{
5231
- label: "Quick setup with neondb",
5231
+ label: "Quick setup with get-db",
5232
5232
  value: "neondb",
5233
5233
  hint: "fastest, no auth required"
5234
5234
  }, {
@@ -6067,7 +6067,7 @@ function generateReadmeContent(options) {
6067
6067
  const hasReactRouter = frontend.includes("react-router");
6068
6068
  const hasNative = frontend.includes("native-nativewind") || frontend.includes("native-unistyles");
6069
6069
  const hasSvelte = frontend.includes("svelte");
6070
- const packageManagerRunCmd = packageManager === "npm" ? "npm run" : packageManager;
6070
+ const packageManagerRunCmd = `${packageManager} run`;
6071
6071
  let webPort = "3001";
6072
6072
  if (hasReactRouter || hasSvelte) webPort = "5173";
6073
6073
  const stackDescription = generateStackDescription(frontend, backend, api, isConvex);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.2.16",
3
+ "version": "3.2.18",
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",