Skip to content

Commit

Permalink
fix: exclude CHANGELOG.md when copying app templates (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored Jun 3, 2022
1 parent 9dca62d commit 85ef6ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/ten-cheetahs-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rainbow-me/create-rainbowkit': patch
---

Exclude `CHANGELOG.md` when copying app templates
2 changes: 1 addition & 1 deletion packages/create-rainbowkit/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async function run() {
)
);

const ignore: string[] = ['node_modules', '.next'];
const ignore: string[] = ['node_modules', '.next', 'CHANGELOG.md'];

await cpy(path.join(selectedTemplatePath, '**', '*'), targetPath, {
filter: src => ignore.every(i => !src.path.includes(i)),
Expand Down

2 comments on commit 85ef6ec

@vercel
Copy link

@vercel vercel bot commented on 85ef6ec Jun 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 85ef6ec Jun 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.