npm-packlist 2.1.5 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -26,8 +26,7 @@ const normalizePackageBin = require('npm-normalize-package-bin')
26
26
  // localized documentation and other use cases. Adding a `/` to
27
27
  // these rules, while tempting and arguably more "correct", is a
28
28
  // significant change that will break existing use cases.
29
- const packageMustHaveFileNames =
30
- 'readme|copying|license|licence|notice|changes|changelog|history'
29
+ const packageMustHaveFileNames = 'readme|copying|license|licence'
31
30
 
32
31
  const packageMustHaves = `@(${packageMustHaveFileNames}){,.*[^~$]}`
33
32
  const packageMustHavesRE = new RegExp(`^(${packageMustHaveFileNames})(\\..*[^~\$])?$`, 'i')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-packlist",
3
- "version": "2.1.5",
3
+ "version": "2.2.0",
4
4
  "description": "Get a list of the files to add from a folder into an npm package",
5
5
  "directories": {
6
6
  "test": "test"
@@ -15,12 +15,12 @@
15
15
  "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
16
16
  "license": "ISC",
17
17
  "files": [
18
+ "bin/index.js",
18
19
  "index.js"
19
20
  ],
20
21
  "devDependencies": {
21
22
  "mutate-fs": "^2.1.1",
22
- "require-inject": "^1.4.4",
23
- "tap": "^14.10.8"
23
+ "tap": "^15.0.6"
24
24
  },
25
25
  "scripts": {
26
26
  "test": "tap",