Replies: 1 comment
-
Can we get some guidance here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EXPLANATORY NOTE:
What is meant with using exact package versions in
.yarnrc.yml > packageExtensions
:What is meant with using asterisks (
*
) in.yarnrc.yml > packageExtensions
:My team stumbled upon an issue when upgrading a couple of dependency versions on a React project where we used
[email protected]
, for some reason the project wouldn't build after the upgrade(s). We soon realized the cause of this wasyarn
downloading incompatible packages because of the way our.yarnrc.yml
was configured - we used exact package versions inpackageExtensions
, which we forgot to update when updating our dependencies inpackage.json
.We quickly solved this issue when we switched to using asterisks (
*
) inpackageExtensions
and letyarn
handle downloading correct package versions. It is not certain this was the correct approach to handle the issue, but it was quick and made the pipeline work again, so we ran with it.So the questions we had were:
*
) and which call for using exact package versions?Beta Was this translation helpful? Give feedback.
All reactions