Skip to content

Commit 97d428b

Browse files
authored
feat: disable git merging shrinkwrap files (#43)
1 parent 8337fb3 commit 97d428b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Disable shrinkwrap merging as results may be invalid.
2+
npm-shrinkwrap.json merge=binary
3+
shrinkwrap.yaml merge=binary
4+
yarn.lock merge=binary
5+
16
# Source: https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
27
#
38
## GITATTRIBUTES FOR WEB PROJECTS

templates/1-base/.gitattributes.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Disable shrinkwrap merging as results may be invalid.
2+
npm-shrinkwrap.json merge=binary
3+
shrinkwrap.yaml merge=binary
4+
yarn.lock merge=binary
5+
16
# Source: https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
27
#
38
## GITATTRIBUTES FOR WEB PROJECTS

0 commit comments

Comments
 (0)