@bobfrankston/npmglobalize 1.0.177 → 1.0.178

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 +3 -2
  2. package/package.json +1 -1
package/lib.js CHANGED
@@ -4209,9 +4209,10 @@ export async function globalize(cwd, options = {}, configOptions = {}) {
4209
4209
  if (depsToPublish.length > 0) {
4210
4210
  const action = forcePublish ? 'Publishing/updating' : 'Publishing';
4211
4211
  console.log(`${action} file: dependencies first...`);
4212
- for (const { name, version, path } of depsToPublish) {
4212
+ for (const { name, version, path: depPath } of depsToPublish) {
4213
4213
  console.log('');
4214
4214
  console.log(colors.yellow(`━━━ Publishing ${name}@${version} ━━━`));
4215
+ console.log(colors.dim(` ${depPath}`));
4215
4216
  if (!dryRun) {
4216
4217
  // Check if package has EVER been published to npm (any version)
4217
4218
  const hasBeenPublished = checkPackageExists(name);
@@ -4220,7 +4221,7 @@ export async function globalize(cwd, options = {}, configOptions = {}) {
4220
4221
  // before) — already-published deps keep their own visibility setting.
4221
4222
  // -public-deps overrides this: propagate npmVisibility regardless so a
4222
4223
  // public consumer's transitive deps all get promoted to public.
4223
- const depSuccess = await globalize(path, {
4224
+ const depSuccess = await globalize(depPath, {
4224
4225
  bump: 'patch', // Use existing version, don't bump
4225
4226
  verbose,
4226
4227
  quiet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/npmglobalize",
3
- "version": "1.0.177",
3
+ "version": "1.0.178",
4
4
  "description": "Transform file: dependencies to npm versions for publishing",
5
5
  "main": "index.js",
6
6
  "type": "module",