@nx-devkit/prepare-for-release 0.1.1 → 0.1.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/README.md CHANGED
@@ -60,7 +60,7 @@ For each package under `packages/*` (or your `scope` filter):
60
60
  3. Publishes it with `npm publish --tag placeholder`.
61
61
  4. Optionally runs `npm trust github` to bind OIDC trusted publishing to your repo.
62
62
 
63
- Already-published packages are skipped on every run.
63
+ Already-published packages are skipped on every run. Packages marked `private: true` are ignored entirely — no `npm view`, no publish.
64
64
 
65
65
  ## Options
66
66
 
@@ -226,7 +226,7 @@ async function processPackage(pkgJsonPath, resolved, acc) {
226
226
  const parsed = readPackageJsonSafe(pkgJsonPath);
227
227
  if (!parsed) return "ignored";
228
228
  const name = typeof parsed.name === "string" ? parsed.name : null;
229
- if (!name) return "ignored";
229
+ if (!name || parsed.private === true) return "ignored";
230
230
  if (!matchesScope(name, resolved.scope)) return "ignored";
231
231
  if (isPublished(name, resolved.registry)) {
232
232
  acc.skipped.push(name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx-devkit/prepare-for-release",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",