Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing publishConfig #167

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

andylamb-rlg
Copy link
Contributor

The publishConfig in package.json tied the package to the public npm registry. npmjs.org is the default registry and is also specified in the npmpublish.yml github action, so publishConfig within the package is not necessary. Additionally, publishConfig overrides the target registry specified in any other way (.npmrc, cli, github action), making it impossible to publish to test or private registries without manually modifying the package.

The publishConfig specified the public npm registry. This is the default registry and is also specified in the npm publish github action, so publishConfig within the package is not necessary. Additionally, publishConfig overrides the target registry specified in any other way (.npmrc, cli, github action), making it impossible to publish to test or private registries, without manually modifying the package.
@ctalkington
Copy link
Member

back from the days when I used custom registries most likely.

@ctalkington ctalkington merged commit 7295bc9 into archiverjs:master Feb 27, 2024
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.

None yet

2 participants