npm-packlist 10.0.2 → 10.0.4

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/lib/index.js +1 -1
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -170,7 +170,7 @@ class PackWalker extends IgnoreWalker {
170
170
  } else if (this.ignoreRules['.npmignore']) {
171
171
  // .npmignore means no .gitignore
172
172
  this.ignoreRules['.gitignore'] = null
173
- } else if (this.ignoreRules['.gitignore'] && !this.ignoreRules['.npmignore']) {
173
+ } else if (this.ignoreRules['.gitignore'] && !this.ignoreRules['.npmignore'] && !this.parent) {
174
174
  log.warn(
175
175
  'gitignore-fallback',
176
176
  'No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files.'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-packlist",
3
- "version": "10.0.2",
3
+ "version": "10.0.4",
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"
@@ -8,7 +8,7 @@
8
8
  "main": "lib/index.js",
9
9
  "dependencies": {
10
10
  "ignore-walk": "^8.0.0",
11
- "proc-log": "^5.0.0"
11
+ "proc-log": "^6.0.0"
12
12
  },
13
13
  "author": "GitHub Inc.",
14
14
  "license": "ISC",
@@ -18,8 +18,8 @@
18
18
  ],
19
19
  "devDependencies": {
20
20
  "@npmcli/arborist": "^9.0.0",
21
- "@npmcli/eslint-config": "^5.0.1",
22
- "@npmcli/template-oss": "4.25.1",
21
+ "@npmcli/eslint-config": "^6.0.0",
22
+ "@npmcli/template-oss": "4.29.0",
23
23
  "mutate-fs": "^2.1.1",
24
24
  "tap": "^16.0.1"
25
25
  },
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "templateOSS": {
58
58
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
59
- "version": "4.25.1",
59
+ "version": "4.29.0",
60
60
  "publish": true
61
61
  }
62
62
  }