Skip to content

Commit b27e135

Browse files
authored
4.5.2 (#206)
* Bump version * Ignore node_modules * New docs version
1 parent adbe807 commit b27e135

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npm-package-json-lint",
3-
"version": "4.5.1",
3+
"version": "4.5.2",
44
"description": "Configurable linter for package.json files.",
55
"keywords": [
66
"lint",

src/utils/getFileList.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ const getFileList = (patterns, cwd) => {
2424
return pattern.endsWith(`/package.json`) ? pattern : `${pattern}/**/package.json`;
2525
});
2626

27+
globPatterns.push('!node_modules');
28+
2729
debug('globPatterns');
2830
debug(globPatterns);
2931

website/versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
2+
"4.5.2",
23
"4.5.1",
34
"4.5.0",
45
"4.4.0",

0 commit comments

Comments
 (0)