Skip to content

Commit a01f3d5

Browse files
authored
Merge pull request #186 from objectstack-ai/copilot/update-action-step
2 parents 006c312 + 49ac9c4 commit a01f3d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/tools/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"scripts": {
2828
"build": "tsc && pnpm run copy-templates",
29-
"copy-templates": "rm -rf templates && mkdir -p templates && cp -r ../../../examples/quickstart/hello-world templates/ && cp -r ../../../examples/showcase/project-tracker templates/starter && rm -rf templates/*/node_modules templates/*/dist",
29+
"copy-templates": "rm -rf templates && mkdir -p templates && cp -r ../../../examples/quickstart/hello-world templates/ && cp -r ../../../examples/showcase/project-tracker templates/starter && rm -rf templates/*/node_modules templates/*/dist templates/*/__tests__",
3030
"watch": "tsc -w",
3131
"test": "jest"
3232
},

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)