Skip to content

Commit

Permalink
maint/dev ~ configure git for storage of package lock files within '.…
Browse files Browse the repository at this point in the history
…deps-lock'
  • Loading branch information
rivy committed Aug 1, 2022
1 parent 5e63c14 commit 5febc49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v2022.06.23 [rivy]
# v2022.07.30 [rivy]

# default; use LF EOLs for text files
* text=auto eol=lf
Expand All @@ -7,3 +7,7 @@
*.[bB][aA][tT] text eol=crlf
*.[cC][mM][dD] text eol=crlf
*.[sS][lL][nN] text eol=crlf

# assert '.deps-lock' lock files as 'binary' (avoids useless diffs)
.deps-lock/*.lock binary
.deps-lock/*-lock.json binary
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v2022-07-18 [rivy]
# v2022-07-23 [rivy]

# NOTE: Git GLOBSTAR syntax [see `git help gitignore`]
# * ref: [.gitignore] http://git-scm.com/docs/gitignore @@ http://archive.is/Rk6rO
Expand All @@ -18,3 +18,6 @@ coverage
node_modules
package-lock.json
yarn.lock
# * allow packaging of lock files into '.deps-lock'
!.deps-lock/package-lock.json
!.deps-lock/yarn.lock

0 comments on commit 5febc49

Please sign in to comment.