Skip to content

Commit

Permalink
[templates] Add yarn-error.log to .npmignore (expo#6024)
Browse files Browse the repository at this point in the history
It turns out expo-template-blank and expo-template-blank-typescript
got published to the npm registry with yarn-error.log included.
This can be confusing, when trying to debug issues, since it looks
like Yarn produced an error log, when in fact it was just extracted
from the template by `expo init`.

Adding yarn-error.log to .npmignore should prevent the file from being
included in future releases.
  • Loading branch information
fson authored and brentvatne committed Oct 18, 2019
1 parent 0e32331 commit 33cff56
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/expo-template-bare-minimum/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.jks
*.key
*.mobileprovision
*.p12
*.p8
.expo
.npmignore
.vscode
package-lock.json
yarn.lock
yarn-error.log
11 changes: 11 additions & 0 deletions templates/expo-template-bare-typescript/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.jks
*.key
*.mobileprovision
*.p12
*.p8
.expo
.npmignore
.vscode
package-lock.json
yarn.lock
yarn-error.log
1 change: 1 addition & 0 deletions templates/expo-template-blank-typescript/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
.vscode
package-lock.json
yarn.lock
yarn-error.log
1 change: 1 addition & 0 deletions templates/expo-template-blank/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
.vscode
package-lock.json
yarn.lock
yarn-error.log

0 comments on commit 33cff56

Please sign in to comment.