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.
Files changed (2) hide show
  1. package/dist/cli.js +2 -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pubz",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Interactive CLI for publishing npm packages (single or monorepo)",
5
5
  "type": "module",
6
6
  "bin": {