Skip to content

Removing publishConfig#167

Merged
ctalkington merged 1 commit into
archiverjs:masterfrom
andylamb-rlg:master
Feb 27, 2024
Merged

Removing publishConfig#167
ctalkington merged 1 commit into
archiverjs:masterfrom
andylamb-rlg:master

Conversation

@andylamb-rlg

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants