cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature request: Make npm configuration optional

Open iiian opened this issue 5 years ago • 2 comments

Is it a core use case or an opt-in use case that semantic-release be able to publish to npm?

If not, I think it would increase the value of the setup tool to be able to produce configurations where npm publishing is only optional

iiian avatar Jan 25 '20 05:01 iiian

Yes, I don't publish all my semantically versionned repos to npm!

I would be happy to pass a flag in order to avoid being asked about my npm credentials

$ npx semantic-release-cli setup --no-npm

Anybody started working on something like this, by any chance?

adrienjoly avatar Apr 04 '20 08:04 adrienjoly

You can just add "private": true to the package.json

Is it a core use case or an opt-in use case that semantic-release be able to publish to npm?

we do plan to decompose the semantic-release module and create @semantic-release/core, exactly for use cases like this where you are not interested in npm.

gr2m avatar Jul 02 '23 17:07 gr2m