Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
ignores: always ignore package-lock.json (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed May 13, 2017
1 parent 2d189be commit da96ed5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fstream-npm.js
Expand Up @@ -151,7 +151,9 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) {
entry.match(/^\..*\.swp$/) ||
entry === '.DS_Store' ||
entry.match(/^\._/) ||
entry.match(/^.*\.orig$/)
entry.match(/^.*\.orig$/) ||
// Package locks are never allowed in tarballs -- use shrinkwrap instead
entry === 'package-lock.json'
) {
return false
}
Expand Down

0 comments on commit da96ed5

Please sign in to comment.