Skip to content

Commit 189afb3

Browse files
AndersDJohnsonDaniel Figueiredo
authored and
Daniel Figueiredo
committed
fix: add yarn gitignores (facebook#1507)
* fix: add yarn gitignores to template * fix: add yarn gitignores to root * fix: add wildcard to npm-debug.log ignore
1 parent 062580f commit 189afb3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ build
55
my-app*
66
template/src/__tests__/__snapshots__/
77
lerna-debug.log
8-
npm-debug.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
911
/.changelog
1012
.idea/

packages/react-scripts/template/gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
# misc
1313
.DS_Store
1414
.env
15-
npm-debug.log
15+
npm-debug.log*
16+
yarn-debug.log*
17+
yarn-error.log*
18+

0 commit comments

Comments
 (0)