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

add npm versioning badge #262

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pedro-nonfree
Copy link

related to discuss in #259

for me it was no easy to see versioning (github releases are empty) and in the readme I could not find a clear part linking that github repo with the npm one

but in the other side npm points go github clearly https://www.npmjs.com/package/@internetarchive/dweb-mirror

@mitra42
Copy link
Collaborator

mitra42 commented Oct 2, 2019

Good point ... the assumption has been that noone needs this info, i.e. README.md points to the installation docs, those installation docs run a script, and that script happens to use the yarn tool to access npm. At no point does the user interact directly with NPM.

@pedro-nonfree
Copy link
Author

I wanted to know that information and I usually get it in git tag or github/gitlab releases. So I spend some extra time figuring out where to find that info. Not all software uses npm. In my opinion getting very quick what version runs the software is useful for everyone (users that ping their sysadmins to upgrade, sysadmins, developers). So is not that redundant. Not all people that come to the github repo run the installation scripts, or know that they can already have here that info

@mitra42
Copy link
Collaborator

mitra42 commented Oct 8, 2019

But if I understand you correctly (and I'm not sure I do).

There is a difference between development and customer releases, for a lot of Javascript, I see development on github and then releases on npm, which is similar to developing on github and releasing on deb except that npm releases seem to be usually more fluid, using semver locking to allow frequent bug fixes without breaking things.

It looks like you can get the published version number with

npm view @internetarchive/dweb-mirror
OR
yarn info @internetarchive/dweb-mirror | grep version

Though yours is the first request I've had for this - I've never used these commands before as for javascript package.json manages when to upgrade what packages so all I need to do is

yarn upgrade

To get them all.

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