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

Always include npm shrinkwrap data in pack #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions fstream-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) {
// package.json files can never be ignored.
if (entry === 'package.json') return true

// npm-shrinkwrap.json files can never be ignored.
if (entry === "npm-shrinkwrap.json") return true

// readme files should never be ignored.
if (entry.match(/^readme(\.[^\.]*)$/i)) return true

Expand Down