pubz 0.7.2 → 0.7.3
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/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1149,13 +1149,13 @@ async function main() {
|
|
|
1149
1149
|
process.exit(1);
|
|
1150
1150
|
}
|
|
1151
1151
|
let packages = await discoverPackages(cwd);
|
|
1152
|
-
const publishablePackages = packages.filter((p) => !p.isPrivate);
|
|
1152
|
+
const publishablePackages = packages.filter((p) => !p.isPrivate || options.skipPublish);
|
|
1153
1153
|
if (publishablePackages.length === 0) {
|
|
1154
1154
|
console.log(yellow("No publishable packages found."));
|
|
1155
1155
|
console.log("");
|
|
1156
1156
|
console.log(muted("Make sure your packages:"));
|
|
1157
1157
|
console.log(muted(' - Have a package.json with a "name" field'));
|
|
1158
|
-
console.log(muted(' - Do not have "private": true'));
|
|
1158
|
+
console.log(muted(' - Do not have "private": true (or use --skip-publish for private packages)'));
|
|
1159
1159
|
console.log("");
|
|
1160
1160
|
process.exit(1);
|
|
1161
1161
|
}
|