@bobfrankston/npmglobalize 1.0.126 → 1.0.128
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.
- package/ignorepatterns.json5 +2 -1
- package/lib.js +4 -0
- package/package.json +1 -1
package/ignorepatterns.json5
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
gitignore: {
|
|
6
6
|
// Auto-added silently (security-sensitive — never publish these)
|
|
7
7
|
security: [
|
|
8
|
+
"node_modules/",
|
|
8
9
|
".claude/",
|
|
9
10
|
".env*",
|
|
10
11
|
"*cert*/",
|
|
@@ -18,7 +19,6 @@
|
|
|
18
19
|
],
|
|
19
20
|
// Prompted or auto-added with --conform
|
|
20
21
|
recommended: [
|
|
21
|
-
"node_modules/",
|
|
22
22
|
".globalize.json5",
|
|
23
23
|
"*.log",
|
|
24
24
|
".DS_Store",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
npmignore: {
|
|
35
35
|
// Auto-added silently (security-sensitive)
|
|
36
36
|
security: [
|
|
37
|
+
"node_modules/",
|
|
37
38
|
".claude/",
|
|
38
39
|
".env*",
|
|
39
40
|
"token*",
|
package/lib.js
CHANGED
|
@@ -797,6 +797,10 @@ export function transformDeps(pkg, baseDir, verbose = false, forcePublish = fals
|
|
|
797
797
|
unpublished.push({ name, version: targetVersion, path: targetPath });
|
|
798
798
|
console.log(colors.yellow(` ⟳ ${name}@${targetVersion} has local changes not on npm — will republish`));
|
|
799
799
|
}
|
|
800
|
+
else if (checkIgnoreFiles(targetPath, { verbose }).securityChanges.length > 0) {
|
|
801
|
+
unpublished.push({ name, version: targetVersion, path: targetPath });
|
|
802
|
+
console.log(colors.yellow(` ⟳ ${name}@${targetVersion} has missing ignore patterns — will republish`));
|
|
803
|
+
}
|
|
800
804
|
}
|
|
801
805
|
pkg[key][name] = npmVersion;
|
|
802
806
|
if (verbose) {
|