Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Publish new NPM version 3.0.0 #85

Open
ComFreek opened this issue Jul 6, 2019 · 4 comments
Open

Publish new NPM version 3.0.0 #85

ComFreek opened this issue Jul 6, 2019 · 4 comments

Comments

@ComFreek
Copy link
Collaborator

ComFreek commented Jul 6, 2019

The latest NPM version is 2.1.0 (published 3 years ago), the version specified in package.json in latest commits is 1.x.y (for some values of x, y I forgot). That version mismatch is particularly confusing.

What do you think about bumping the version in package.json to 3.0.0 and releasing a new NPM package version?

@jpaulm
Copy link
Owner

jpaulm commented Jul 6, 2019 via email

@jpaulm
Copy link
Owner

jpaulm commented Jul 7, 2019

I assume you are talking about the version no. in package.json line 2? I am not sure how this ties in with the version no. of NPM - everything in that file has a different version no.! Also do I just create a new npm package, or update the old one? Thanks

@ComFreek
Copy link
Collaborator Author

ComFreek commented Jul 8, 2019

Yes, exactly, that line 2.

everything in that file has a different version no.!

Precisely! That's why it's confusing 😄 I think the procedure would be

  1. Bump that version number in package.json, line 2 to, say, 3.0.0.
  2. Run npm install (to update package-lock.json as well)
  3. Follow the usual publishing procedure for NPM packages. I don't know that by heart, sorry, would need to look it up as well.

@jpaulm
Copy link
Owner

jpaulm commented Jul 11, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants