You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running yarn up <pkg> on a package that has a upcoming pre-release version will upgrade to that version.
Pre-releases are by design unstable and not ready and should not be picked up automatically by yarn up
In our setup, we create pre-releases from developper PRs to test end-to-end install.
So if I have a lib @notreal/mypackage installed on version 0.1.5 and a dev opens a PR, it will create version 0.1.6-<branchname>.<build>
Then if I run yarn up @notreal/mypackage it will upgrade to version 0.1.6-<branchname>.<build>
I think I just experienced the same behaviour. In my case, I had "eslint-plugin-vitest": "0.4.1" defined in my package.json, and after yarn upgrade-interactive, I've ended up having "eslint-plugin-vitest": "0.4.2-beta.3" in there. The upgrade tool listed simply 0.4.2.
Can be reproduced with this package.json, by running first yarn install and than yarn upgrade-interactive:
I've also been experiencing this, however in my case it started around the same time as we switched to using internal package feeds, so my assumption had initially been that it was caused by the internal feeds. After testing against the live NPM feed though, I can see the same issue. It started probably early in the second half of last year.
Self-service
Describe the bug
Running
yarn up <pkg>
on a package that has a upcoming pre-release version will upgrade to that version.Pre-releases are by design unstable and not ready and should not be picked up automatically by
yarn up
In our setup, we create pre-releases from developper PRs to test end-to-end install.
So if I have a lib
@notreal/mypackage
installed on version0.1.5
and a dev opens a PR, it will create version0.1.6-<branchname>.<build>
Then if I run
yarn up @notreal/mypackage
it will upgrade to version0.1.6-<branchname>.<build>
To reproduce
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: