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

Feature request: Make npm configuration optional #318

Open
iiian opened this issue Jan 25, 2020 · 2 comments · May be fixed by #386
Open

Feature request: Make npm configuration optional #318

iiian opened this issue Jan 25, 2020 · 2 comments · May be fixed by #386

Comments

@iiian
Copy link

iiian commented Jan 25, 2020

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

@adrienjoly
Copy link

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?

LBF38 added a commit to LBF38/semantic-release-cli that referenced this issue Jun 24, 2023
This makes the npm setup optional when using the --no-npm option on setup.
Fixes Feature request: Make npm configuration optional semantic-release#318
@LBF38 LBF38 linked a pull request Jun 24, 2023 that will close this issue
@gr2m
Copy link
Member

gr2m commented Jul 2, 2023

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.

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 a pull request may close this issue.

3 participants