-
Hey all, I've upgraded to the new While this may be a bug with yarn 3, I was still curious about which version I should be using. In my experience, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @sdnts, we do indeed use the Typically we will "promote" a
Additionally, we may increment versions to maintain consistency with our other libraries. |
Beta Was this translation helpful? Give feedback.
-
Thanks for confirming @rektdeckard! I suppose this is a bug(?) or at least some sort of incompatibility in To answer your question: what I've generally seen/done is that the Some examples: I hope I'm being clear! |
Beta Was this translation helpful? Give feedback.
Thanks for confirming @rektdeckard! I suppose this is a bug(?) or at least some sort of incompatibility in
yarn 3
. It's a tiny annoyance at best, really.To answer your question: what I've generally seen/done is that the
latest
tag always points to the latest version like you do (so like v2.1.3), but the way people handle "canaries" is the next planned version number, appended with some kind of linearly increasing version (so like v2.2.0-alpha.1, v2.2.0-alpha.2, v2.2.0-alpha.342). Then you can promote this version when you feel like it (to v2.2.0). Thenext
tag points to the latest of these "alpha" versions.Some examples:
https://www.npmjs.com/package/prisma?activeTab=versions (they use
<…