create-better-t-stack 3.0.1 → 3.0.2

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-BywywK-y.js";
2
+ import { createBtsCli } from "./src-D7cz-mze.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-BywywK-y.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-D7cz-mze.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };
@@ -3158,7 +3158,9 @@ async function setupDeploymentTemplates(projectDir, context) {
3158
3158
  const alchemyTemplateSrc = path.join(PKG_ROOT, "templates/deploy/alchemy");
3159
3159
  if (context.webDeploy === "alchemy" && (context.serverDeploy === "alchemy" || isBackendSelf)) {
3160
3160
  if (await fs.pathExists(alchemyTemplateSrc)) {
3161
- await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, projectDir, context);
3161
+ const webAppDir = path.join(projectDir, "apps/web");
3162
+ const destDir = isBackendSelf && await fs.pathExists(webAppDir) ? webAppDir : projectDir;
3163
+ await processAndCopyFiles("alchemy.run.ts.hbs", alchemyTemplateSrc, destDir, context);
3162
3164
  await addEnvDtsToPackages(projectDir, context, alchemyTemplateSrc);
3163
3165
  }
3164
3166
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
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",