create-better-t-stack 2.33.9-canary.20c8e952 → 2.33.9-canary.38a6c011

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-CpB-qAME.js";
2
+ import { createBtsCli } from "./src-pVOzV3_5.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-CpB-qAME.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-pVOzV3_5.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -2333,7 +2333,10 @@ async function setupDeploymentTemplates(projectDir, context) {
2333
2333
  if (await fs.pathExists(alchemyTemplateSrc)) {
2334
2334
  await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, projectDir, context);
2335
2335
  const serverAppDir = path.join(projectDir, "apps/server");
2336
- if (await fs.pathExists(serverAppDir)) await processAndCopyFiles("env.d.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2336
+ if (await fs.pathExists(serverAppDir)) {
2337
+ await processAndCopyFiles("env.d.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2338
+ await processAndCopyFiles("wrangler.jsonc.hbs", alchemyTemplateSrc, serverAppDir, context);
2339
+ }
2337
2340
  }
2338
2341
  } else {
2339
2342
  if (context.webDeploy === "alchemy") {
@@ -2347,6 +2350,7 @@ async function setupDeploymentTemplates(projectDir, context) {
2347
2350
  if (await fs.pathExists(alchemyTemplateSrc) && await fs.pathExists(serverAppDir)) {
2348
2351
  await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2349
2352
  await processAndCopyFiles("env.d.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2353
+ await processAndCopyFiles("wrangler.jsonc.hbs", alchemyTemplateSrc, serverAppDir, context);
2350
2354
  }
2351
2355
  }
2352
2356
  }
@@ -4757,8 +4761,10 @@ async function setupPrismaPostgres(config) {
4757
4761
  else prismaConfig = await initPrismaDatabase(serverDir, packageManager);
4758
4762
  if (prismaConfig) {
4759
4763
  await writeEnvFile$1(projectDir, prismaConfig);
4760
- await addDotenvImportToPrismaConfig(projectDir);
4761
- if (orm === "prisma") await addPrismaAccelerateExtension(serverDir);
4764
+ if (orm === "prisma") {
4765
+ await addDotenvImportToPrismaConfig(projectDir);
4766
+ await addPrismaAccelerateExtension(serverDir);
4767
+ }
4762
4768
  log.success(pc.green("Prisma Postgres database configured successfully!"));
4763
4769
  } else {
4764
4770
  await writeEnvFile$1(projectDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.33.9-canary.20c8e952",
3
+ "version": "2.33.9-canary.38a6c011",
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",
@@ -0,0 +1,11 @@
1
+ // This is a temporary wrangler.jsonc file that will be overwritten by alchemy
2
+ // It's only here so that `wrangler dev` can work or use alchemy dev instead
3
+ {
4
+ "name": "{{projectName}}",
5
+ "main": "src/index.ts",
6
+ "compatibility_date": "2025-08-16",
7
+ "compatibility_flags": [
8
+ "nodejs_compat",
9
+ "nodejs_compat_populate_process_env"
10
+ ]
11
+ }