@bobfrankston/npmglobalize 1.0.127 → 1.0.129

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.js +6 -2
  2. package/package.json +1 -1
package/lib.js CHANGED
@@ -781,7 +781,7 @@ export function transformDeps(pkg, baseDir, verbose = false, forcePublish = fals
781
781
  console.log(colors.yellow(` ⟳ ${name}@${targetVersion} will be republished (--force-publish)`));
782
782
  }
783
783
  else {
784
- console.log(colors.red(` ${name}@${targetVersion} not found on npm (local: ${value})`));
784
+ console.log(colors.yellow(` ${name}@${targetVersion} not yet on npm will publish`));
785
785
  }
786
786
  }
787
787
  else {
@@ -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) {
@@ -2985,7 +2989,7 @@ export async function globalize(cwd, options = {}, configOptions = {}) {
2985
2989
  // Check if target packages need to be published
2986
2990
  if (transformResult.unpublished.length > 0 && !noPublish) {
2987
2991
  console.log('');
2988
- console.log(colors.red(' WARNING: Some file: dependencies are not published on npm:'));
2992
+ console.log(colors.yellow('Dependencies to publish:'));
2989
2993
  for (const { name, version, path } of transformResult.unpublished) {
2990
2994
  console.log(colors.yellow(` ${name}@${version} (${path})`));
2991
2995
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/npmglobalize",
3
- "version": "1.0.127",
3
+ "version": "1.0.129",
4
4
  "description": "Transform file: dependencies to npm versions for publishing",
5
5
  "main": "index.js",
6
6
  "type": "module",