fix: Remove dual publishing to GitHub Packages #349
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
.npmrc
file since it's no longer neededProblem
The v5.6.0 release failed because the workflow attempts to publish to both npmjs.org and GitHub Packages. The GitHub Packages publish step failed with an authentication error, preventing the release from completing.
Looking at the logs, the package was never actually published to npm - the failure happened before npm publish completed.
Background
Dual publishing was added in #158 (Oct 2022, 2.5 years ago) to support internal projects that pulled
@doist
packages from GitHub Packages. Since this is a public package, there's no reason internal projects can't simply pull it from npmjs.org like everyone else.Changes
.npmrc
file (was only needed for GitHub Packages registry config)Next Steps
After merging, we'll need to delete and recreate the v5.6.0 release to re-trigger the workflow.
🤖 Generated with Claude Code