Skip to content

Commit

Permalink
fix(npmignore): Stop including the Yarn cache in published packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vinsonchuong committed Apr 11, 2023
1 parent aa297a9 commit 321c211
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ test/

.yarn/
.yarnrc.yml
yarn.lock

.github/
5 changes: 4 additions & 1 deletion src/templates/npmignore.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ export default function () {
return {
path: '.npmignore',
content: `
yarn.lock
.gitignore
.github/
.yarn/
.yarnrc.yml
yarn.lock
**/*.test.js
**/test.js
test/
Expand Down

0 comments on commit 321c211

Please sign in to comment.