Skip to content

fix(release): preflight npm packages before publish#148

Merged
i-afaqrashid merged 1 commit into
mainfrom
fix/release-preflight
May 31, 2026
Merged

fix(release): preflight npm packages before publish#148
i-afaqrashid merged 1 commit into
mainfrom
fix/release-preflight

Conversation

@i-afaqrashid
Copy link
Copy Markdown
Owner

Summary

  • preflight npm package root access before publishing any tarball
  • skip already-published package versions when a tag workflow is rerun
  • document the required npm setup for new publishable packages

Validation

  • pnpm verify
  • rm -rf /tmp/cms-lab-pack-preflight && mkdir -p /tmp/cms-lab-pack-preflight && pnpm -r --filter "./packages/*" pack --pack-destination /tmp/cms-lab-pack-preflight >/tmp/cms-lab-pack-preflight.log && node scripts/publish-packages.mjs /tmp/cms-lab-pack-preflight --dry-run

Context

The v1.3.0 tag partially published existing packages, then npm rejected the first publish of @cms-lab/payload because the package name is not created/configured on npm yet. This patch prevents future partial publishes.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cms-lab-site Ready Ready Preview, Comment May 31, 2026 6:01am

@i-afaqrashid i-afaqrashid merged commit 1c9c60d into main May 31, 2026
12 checks passed
@i-afaqrashid i-afaqrashid deleted the fix/release-preflight branch May 31, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant