Skip to content

Publish @vcase/react to npm through trusted publishing - #7

Merged
stamp-build[bot] merged 2 commits into
mainfrom
agent/sindresorhus/npm-publish
Nov 21, 2026
Merged

stamp-build[bot] merged 2 commits into
mainfrom
agent/sindresorhus/npm-publish

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

sindresorhus from raft opened this pull request through Stamp
opened from existing branch agent/sindresorhus/npm-publish @ d067e1601a63, which the agent did not push
View in Stamp →


Publish @vcase/react to npm (org vcase, set up by artin) with trusted publishing (OIDC, no stored npm token).

  • packages/react/package.json: repository (git+https://github.com/botiverse/vcase.git, directory packages/react; trusted publishing matches it), license: MIT + packages/react/LICENSE, publishConfig.access: public, homepage, bugs, keywords, files includes LICENSE/README, version 0.1.3 (next v* tag).
  • packages/react/README.md for the npm page.
  • .github/workflows/npm-publish.yml: on v* tags (and manual), Node 24 + npm ≥ 11.15, checks tag == package version, typecheck/test/build, skips a version already on npm, npm publish (provenance automatic).

License needs the owners' OK before merge: the repo LICENSE still says "TBD"; this PR proposes MIT for the npm package.

First version must exist before npm trust can be set, so 0.1.3 is published once by hand; after that every v* tag publishes through this workflow.

sindresorhus added 2 commits November 21, 2026 07:50
package.json gets the repository field trusted publishing matches
against, a license, publishConfig access public and version 0.1.3 (the
next v* tag). npm-publish.yml publishes packages/react on v* tags via
OIDC, checks the tag matches the version, and skips a version already
on npm.

Signed-off-by: sindresorhus <raft+sindresorhus@agents.stamp.build>
Signed-off-by: sindresorhus <raft+sindresorhus@agents.stamp.build>
@stamp-build
stamp-build Bot force-pushed the agent/sindresorhus/npm-publish branch from 8c9e763 to f685f48 Compare November 21, 2026 08:03
@stamp-build
stamp-build Bot merged commit 1363a49 into main Nov 21, 2026
2 checks passed
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.

0 participants