@bobfrankston/npmglobalize 1.0.103 → 1.0.104
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/.claude/settings.local.json +2 -1
- package/lib.js +4 -4
- package/package.json +1 -1
package/lib.js
CHANGED
|
@@ -3159,8 +3159,8 @@ export async function globalize(cwd, options = {}, configOptions = {}) {
|
|
|
3159
3159
|
return false;
|
|
3160
3160
|
}
|
|
3161
3161
|
// Determine what was published
|
|
3162
|
-
const finalAccess = currentAccess || (isScoped ? 'restricted' : 'public');
|
|
3163
|
-
const accessLabel = finalAccess === 'restricted' ? 'PRIVATE' : 'PUBLIC';
|
|
3162
|
+
const finalAccess = effectiveNpmVisibility || currentAccess || (isScoped ? 'restricted' : 'public');
|
|
3163
|
+
const accessLabel = (finalAccess === 'restricted' || finalAccess === 'private') ? 'PRIVATE' : 'PUBLIC';
|
|
3164
3164
|
console.log(colors.green(`✓ Published to npm as ${accessLabel}`));
|
|
3165
3165
|
}
|
|
3166
3166
|
else {
|
|
@@ -3273,8 +3273,8 @@ export async function globalize(cwd, options = {}, configOptions = {}) {
|
|
|
3273
3273
|
console.log(colors.green('✓ Release Summary'));
|
|
3274
3274
|
console.log(colors.green('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'));
|
|
3275
3275
|
const finalPkg = readPackageJson(cwd);
|
|
3276
|
-
const finalAccess = currentAccess || (isScoped ? 'restricted' : 'public');
|
|
3277
|
-
const accessLabel = finalAccess === 'restricted' ? 'PRIVATE' : 'PUBLIC';
|
|
3276
|
+
const finalAccess = effectiveNpmVisibility || currentAccess || (isScoped ? 'restricted' : 'public');
|
|
3277
|
+
const accessLabel = (finalAccess === 'restricted' || finalAccess === 'private') ? 'PRIVATE' : 'PUBLIC';
|
|
3278
3278
|
console.log(` Package: ${colors.green(finalPkg.name)}`);
|
|
3279
3279
|
console.log(` Version: ${colors.green('v' + finalPkg.version)}`);
|
|
3280
3280
|
console.log(` Published: ${colors.green('✓')} (${accessLabel})`);
|