Skip to content

ci(node): publish scoped npm packages with public access#13

Merged
upsetbit merged 1 commit into
masterfrom
ci/npm-public-access
Jul 4, 2026
Merged

ci(node): publish scoped npm packages with public access#13
upsetbit merged 1 commit into
masterfrom
ci/npm-public-access

Conversation

@upsetbit

@upsetbit upsetbit commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

napi pre-publish runs npm publish in each npm/* platform dir without an
--access flag, so the scoped @c3-oss/codexcw-* packages were treated as
restricted (private) and failed with 402 Payment Required. The main package
already passed --access public on the CLI, but the platform packages did not.

Adds publishConfig.access = public to every platform manifest and the main
package. Nothing was published before the failure (E402 hit the first platform
package and aborted), so npm 0.1.0 is still clean.

🤖 Generated with Claude Code

`napi pre-publish` publishes the per-platform packages with `npm publish`
and no `--access` flag, so the scoped `@c3-oss/*` packages defaulted to
restricted and hit `402 Payment Required`. Set publishConfig.access=public
on every platform manifest (and the main package) so they publish publicly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@upsetbit upsetbit merged commit 24730f3 into master Jul 4, 2026
@upsetbit upsetbit deleted the ci/npm-public-access branch July 4, 2026 00:32
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