mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix(cli): remove unwanted orm directories
This commit is contained in:
5
.changeset/fuzzy-dogs-try.md
Normal file
5
.changeset/fuzzy-dogs-try.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix unwanted orm directories (sorry it was pretty bad)
|
||||||
@@ -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) {
|
if (webAppDirExists) {
|
||||||
|
|||||||
Reference in New Issue
Block a user