fix(cli): remove unwanted orm directories

This commit is contained in:
Aman Varshney
2025-08-12 20:29:42 +05:30
parent 4ef10c9bee
commit 78fe4b76b7
2 changed files with 5 additions and 14 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
fix unwanted orm directories (sorry it was pretty bad)

View File

@@ -653,20 +653,6 @@ export async function setupExamplesTemplate(
);
}
}
const ignorePatterns = [`${context.orm}/**`];
if (example === "ai" && context.backend === "next") {
ignorePatterns.push("next/**");
}
await processAndCopyFiles(
["**/*.ts", "**/*.hbs"],
exampleServerSrc,
serverAppDir,
context,
false,
ignorePatterns,
);
}
if (webAppDirExists) {