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

Update latest release on npm #59

Open
jochasinga opened this issue Nov 1, 2024 · 3 comments
Open

Update latest release on npm #59

jochasinga opened this issue Nov 1, 2024 · 3 comments

Comments

@jochasinga
Copy link
Contributor

The default version on npm is now still 0.0.5-alpha. It should be updated to 1.0.0-beta.1

@jochasinga
Copy link
Contributor Author

@smooth-operator is there anything that prevents npm to update to the latest version?

@jochasinga
Copy link
Contributor Author

The package.json is already set to latest version in the last release 3a8311f. My guess is someone just have to log into npm and get this published.

@rvagg
Copy link
Contributor

rvagg commented Nov 7, 2024

until you release a version with a semver that doesn't have a prerelease component then you need to do this explicitly by changing the latest npm tag to point to the version you want people to install

$ npm dist-tag ls filecoin.js
beta: 1.0.0-beta.1
latest: 0.0.5-alpha

it's just not clear to me that 1.0.0-beta.1 should be marked latest, last time I looked in there the code in npm didn't match what's in this repository, which is a bit odd.

But, this can be set with npm dist-tag add [email protected] latest if we're sure this is the right thing to do.

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

No branches or pull requests

2 participants