-
-
Notifications
You must be signed in to change notification settings - Fork 949
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
Alpha versions should not be published as latest on npm #225
Comments
You are right, but
that is somewhat theoretically the state. You may want to subscribe to #169 and #217 We also have a nice kind of Roadmap Board: https://github.com/orgs/faker-js/projects/2 |
Alright, thanks for the quick reply! I'll let you close the ticket or leave it open for others to see. |
I think the confusion comes when you run a new install. Testing the Alpha should be opt in, and probably not the default. |
I wasn't arguing constraints. Constraints come into play when I already have a dependency in the But when I run |
Personally, I can understand the situation right now, because the current v5 is tied to the old However, I hope future releases will indeed respect the |
As per the above, won't fix. Going forward things will be normal and latest will be a non-alpha, non-beta version. |
Describe the bug
Currently, v6.0.0-alpha.3 is published on npm under the
latest
tag. I think doingnpm i @faker-js/faker
should install the latest stable, not the latest alpha. Therefore, I'd suggest publishingv6.0.0-alpha.3
under thealpha
tag (npm publish --tag alpha
), and publishing av5.5.4
(exact content of v5.5.3) under thelatest
tag.Reproduction
Run
npm i @faker-js/faker
, it installs the latest alpha instead of the latest stable.Additional Info
Note that maybe there's a valid reason to do so, I might be missing context here, since the library situation was/is quite complicated. 😉
The text was updated successfully, but these errors were encountered: