Skip to content

Commit b0b0e6d

Browse files
AndersDJohnsongaearon
authored andcommitted
fix: add yarn gitignores (#1507)
* fix: add yarn gitignores to template * fix: add yarn gitignores to root * fix: add wildcard to npm-debug.log ignore
1 parent 7556997 commit b0b0e6d

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,5 +5,7 @@ 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

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)