Skip to content

chore: switch to npm staged publishing#221

Open
chenjiahan wants to merge 1 commit into
mainfrom
codex/npm-staged-publishing
Open

chore: switch to npm staged publishing#221
chenjiahan wants to merge 1 commit into
mainfrom
codex/npm-staged-publishing

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

This PR switches the release workflow to npm staged publishing with pnpm stage publish and aligns the repository package manager metadata on pnpm@11.3.0.

Related Links:

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aaefb3947c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

uses: JS-DevTools/npm-publish@0fd2f4369c5d6bcfcde6091a7c527d810b9b5c3f # v4
with:
token: empty
run: pnpm stage publish --no-git-checks
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the build before staging the package

When this release job runs from a fresh checkout, dist/ and client/ are ignored and have no tracked files, but package.json publishes only those generated directories and points exports/types at dist. With the build step removed, the pnpm stage publish step stages the package before those artifacts exist; I verified the resulting dry-run pack contains only LICENSE, README.md, and package.json, so approving the staged release would ship missing entrypoints to npm.

Useful? React with 👍 / 👎.

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