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 +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-DT9NPMDZ.js → src-D0MPVT22.js} +10 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -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(
|
|
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(
|
|
2227
|
-
|
|
2228
|
-
await
|
|
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.
|
|
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",
|