Skip to content

chore(npm): default publish access to public#5

Merged
isingh merged 1 commit into
mainfrom
chore/publish-public-default
Jun 5, 2026
Merged

chore(npm): default publish access to public#5
isingh merged 1 commit into
mainfrom
chore/publish-public-default

Conversation

@isingh

@isingh isingh commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Bakes publishConfig.access: "public" into package.json so a plain npm publish ships the scoped package publicly — no --access public flag to forget.

Context: scoped packages (@wastedcode/…) default to private, which is what produced the E402 - You must sign up for private packages during the 0.2.0 publish when the flag was dropped. This removes that footgun for the next release.

No code change; CI is just the gate.

🤖 Generated with Claude Code

Scoped packages publish as private by default — which is what produced the
E402 ("must sign up for private packages") when `--access public` was omitted.
`publishConfig.access: "public"` bakes it in, so a plain `npm publish` ships the
package publicly with no flag to forget.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@isingh isingh merged commit ba3c4a6 into main Jun 5, 2026
7 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.

1 participant