create-better-t-stack 2.33.8-canary.70c2a51a → 2.33.8-canary.98a850ad

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-DT9NPMDZ.js";
2
+ import { createBtsCli } from "./src-D0MPVT22.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-DT9NPMDZ.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-D0MPVT22.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -2216,16 +2216,20 @@ async function setupDeploymentTemplates(projectDir, context) {
2216
2216
  }
2217
2217
  } else {
2218
2218
  if (context.webDeploy === "alchemy") {
2219
- const alchemyTemplateSrc = path.join(PKG_ROOT, "templates/deploy/alchemy");
2220
2219
  const webAppDir = path.join(projectDir, "apps/web");
2221
- if (await fs.pathExists(alchemyTemplateSrc) && await fs.pathExists(webAppDir)) await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, webAppDir, context);
2220
+ if (await fs.pathExists(webAppDir)) {
2221
+ const alchemyTemplateSrc = path.join(PKG_ROOT, "templates/deploy/alchemy");
2222
+ if (await fs.pathExists(alchemyTemplateSrc)) await processAndCopyFiles("**/*", alchemyTemplateSrc, webAppDir, context);
2223
+ }
2222
2224
  }
2223
2225
  if (context.serverDeploy === "alchemy") {
2224
- const alchemyTemplateSrc = path.join(PKG_ROOT, "templates/deploy/alchemy");
2225
2226
  const serverAppDir = path.join(projectDir, "apps/server");
2226
- if (await fs.pathExists(alchemyTemplateSrc) && await fs.pathExists(serverAppDir)) {
2227
- await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2228
- await processAndCopyFiles("env.d.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2227
+ if (await fs.pathExists(serverAppDir)) {
2228
+ const alchemyTemplateSrc = path.join(PKG_ROOT, "templates/deploy/alchemy");
2229
+ if (await fs.pathExists(alchemyTemplateSrc)) {
2230
+ await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2231
+ await processAndCopyFiles("env.d.ts.hbs", alchemyTemplateSrc, serverAppDir, context);
2232
+ }
2229
2233
  }
2230
2234
  }
2231
2235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "2.33.8-canary.70c2a51a",
3
+ "version": "2.33.8-canary.98a850ad",
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",