Skip to content

Commit 49ac9c4

Browse files
Copilothotlong
andcommitted
Also exclude __tests__ from create package template copies
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 842a547 commit 49ac9c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/tools/create/scripts/copy-templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function copyTemplates() {
2424

2525
// Directory exclusions
2626
if (stats.isDirectory()) {
27-
return !['node_modules', 'dist', '.turbo', '.git'].includes(filename);
27+
return !['node_modules', 'dist', '.turbo', '.git', '__tests__'].includes(filename);
2828
}
2929
// File exclusions
3030
return !['.DS_Store', 'pnpm-lock.yaml', 'yarn.lock', 'package-lock.json'].includes(filename);

0 commit comments

Comments
 (0)