-
Notifications
You must be signed in to change notification settings - Fork 332
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
How do we handle experimental releases / channels? (e.g. react@experimental, react-relay@experimental?) #612
Comments
I do not believe there is a deterministic way to tell that |
My stop gap is this: The primary issue is they decided to break semver compatibility. Since it's breaking standard, introducing a new default behavior may be tricky. React release channels admits "prereleases" (e.g. next and experimental) break semver
I wonder if Aside: Semver v2 treats 0.y.z different, kindaApparently semver v2 has a connotation with
Related issues: sindresorhus/semver-regex#13, semver/semver#363 |
FWIW, it's possible to specify the tag name as version in the dependencies. That way you always get the latest version and ncu ignores it because it's not valid semver. |
Should we consider this an ncu issue though? I guess I'm the only reporter of this at the moment. If it goes out of scope of ncu, I guess there's not much we can do. While I think this is an edgecase, it seems like a practical issue - relay / react are sticking to this @experimental styling of versioning. |
I wouldn't say it's strictly out-of-scope for ncu. Since their versioning scheme uses hashes instead of numbers, experimental versions must be compared by publish time. Currently Whatever the solution, I think it will have to be opt-in, as the behavior may be counterintuitive when there is a newer |
Backstory: react and relay both have "channels" for experimental releases
react: https://reactjs.org/blog/2019/10/22/react-release-channels.html
react-relay: https://relay.dev/docs/en/experimental/step-by-step#step-4-adding-relay-to-our-project
In npm:
What I get:
What I expect: looking for the newest experimental ref or ignoring em. Not sure.
The text was updated successfully, but these errors were encountered: