diff options
author | Gar <gar+gh@danger.computer> | 2021-05-06 20:18:32 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-05-06 20:18:32 +0300 |
commit | 99ff40dff5e5e55a5d5f045ba90e76c08174ca38 (patch) | |
tree | 98f1dae919fe4bc4842baf751a1d2542d1f14f39 /node_modules | |
parent | 87c2303eaa6edfa5309da0a30f5ad291b6d57640 (diff) |
npm-packlist@2.2.0
* feat(npmignore): Do not force include history, changelogs, notice
* fix(package.json): add missing bin/index.js to files
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/npm-packlist/index.js | 3 | ||||
-rw-r--r-- | node_modules/npm-packlist/package.json | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/node_modules/npm-packlist/index.js b/node_modules/npm-packlist/index.js index 8f62983e6..12b51316c 100644 --- a/node_modules/npm-packlist/index.js +++ b/node_modules/npm-packlist/index.js @@ -26,8 +26,7 @@ const normalizePackageBin = require('npm-normalize-package-bin') // localized documentation and other use cases. Adding a `/` to // these rules, while tempting and arguably more "correct", is a // significant change that will break existing use cases. -const packageMustHaveFileNames = - 'readme|copying|license|licence|notice|changes|changelog|history' +const packageMustHaveFileNames = 'readme|copying|license|licence' const packageMustHaves = `@(${packageMustHaveFileNames}){,.*[^~$]}` const packageMustHavesRE = new RegExp(`^(${packageMustHaveFileNames})(\\..*[^~\$])?$`, 'i') diff --git a/node_modules/npm-packlist/package.json b/node_modules/npm-packlist/package.json index 1276b4841..e909559bd 100644 --- a/node_modules/npm-packlist/package.json +++ b/node_modules/npm-packlist/package.json @@ -1,6 +1,6 @@ { "name": "npm-packlist", - "version": "2.1.5", + "version": "2.2.0", "description": "Get a list of the files to add from a folder into an npm package", "directories": { "test": "test" @@ -15,12 +15,12 @@ "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", "license": "ISC", "files": [ + "bin/index.js", "index.js" ], "devDependencies": { "mutate-fs": "^2.1.1", - "require-inject": "^1.4.4", - "tap": "^14.10.8" + "tap": "^15.0.6" }, "scripts": { "test": "tap", |