-
Notifications
You must be signed in to change notification settings - Fork 28
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
ensure packageManager is correctly set for yarn #343
ensure packageManager is correctly set for yarn #343
Conversation
68d3be3
to
34668aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 🎉
I didn't realize how important it was to compare the versions as semver.VersionInfo until I saw the +sha case
cf96dfe
to
9d87887
Compare
9d87887
to
b74ff6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor comment, but otherwise LGTM
b74ff6c
to
810bf15
Compare
STONEBLD-1776 Since we will rely on corepack to download and configure the correct version of yarn for a request, ensure that packageManager is defined in package.json. Use either yarnPath from .yarnrc, packageManager, or a combination of the two to set the correct yarn version. Raise exceptions for the following cases: - packageManager is already set, but we can't parse it - neither yarnPath or packageManager is set (or parseable) - the versions specified by yarnPath and packageManager are different Signed-off-by: Taylor Madore <[email protected]>
810bf15
to
007d256
Compare
Rebased on main |
4acb288
This change depends on #338
STONEBLD-1776
Since we will rely on corepack to download and configure
the correct version of yarn for a request, ensure that
packageManager is defined in package.json.
Use either yarnPath from .yarnrc, packageManager, or a
combination of the two to set the correct yarn version.
Raise exceptions for the following cases:
are different
Maintainers will complete the following section