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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip npm #33

Open
Eomm opened this issue Feb 18, 2020 · 2 comments
Open

skip npm #33

Eomm opened this issue Feb 18, 2020 · 2 comments
Labels
good first issue Good for newcomers

Comments

@Eomm
Copy link
Member

Eomm commented Feb 18, 2020

馃殌 Feature Proposal

A parameter to skip npm phase.
The bump of the version will be skipped as well

Motivation

if i have a published module, I need to skip npm but i need to create the GH release

Example

releasify publish --skip-npm --from-commit xxx --to-commit yyy
@Eomm Eomm changed the title skip skip npm Feb 18, 2020
@Eomm Eomm added the good first issue Good for newcomers label Jul 17, 2020
@piemme
Copy link
Contributor

piemme commented Oct 30, 2020

I would like to work on this issue.
Any hint on how to start?

Release Process with --skip-npm

  • It checks that your local repo is aligned with your git remote
  • It creates a GitHub release with a CHANGELOG description also creating a tag with the same version as per your package.json

Which files I have to edit?
A unit test is required?

Thanks!

@Eomm
Copy link
Member Author

Eomm commented Nov 8, 2020

Which files I have to edit?

Here is where the npm publish is done and that one we would like to avoid:

https://github.com/fastify/releasify/blob/master/lib/commands/publish.js#L122

A unit test is required?

Yes, we need it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants