-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update to yarn 4 #3887
Update to yarn 4 #3887
Conversation
e03ea7e
to
9ce84a7
Compare
bump: (patch) [email protected], [email protected] bump: (patch) @terascope/[email protected], @terascope/[email protected] bump: (patch) @terascope/[email protected], @terascope/[email protected] bump: (patch) @terascope/[email protected], @terascope/[email protected] bump: (patch) [email protected], @terascope/[email protected]
bump: (minor) [email protected]
LGTM i was able to pull & get yarn 4 instead of 1 with the yarn path fix, maybe @jsnoble could review too though since more familiar w/teraslice then me |
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.
There are some recommendations in here, but probably not worth pushing a new commit for. I think these changes aren't really all that bad, and mostly the cost of switching to a new version of yarn. I don't think they'd set us back much if we went to something else either.
@@ -46,6 +45,7 @@ | |||
"resolutions": { | |||
"@types/lodash": "~4.17.13", | |||
"debug": "~4.4.0", | |||
"jest-config": "patch:jest-config@npm%3A29.7.0#~/.yarn/patches/jest-config-npm-29.7.0-97d8544d74.patch", |
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.
There should be a comment explaining why this patch is here ... or that should be documented somewhere.
This PR makes the following changes: ## Changes - Updates `teraslice` repo from yarn `v1.22.19` to yarn `v4.6.0` - Updates `website` repo form yarn `v1.22.19` to yarn `v4.6.0` - Updates `teraslice-cli` test assets fixture repo to be compliant with yarn 4 - Updates all `package.json` test scripts in the packages directory to be compliant with yarn 4's explicit dependency scope restrictions - In this case, `@teraslice/scripts` was only a dependency at the top-level, which is caused all `workspaces` that doesn't have `@teraslice/scripts` to not find the scripts binary within it's directory. - Yarn 1 had a loose dependency resolution algorithm where yarn 4 enforces explicit dependencies. - https://yarnpkg.com/blog/release/4.0#javascript-constraints ## Bumped Packages - release: (**minor**) **[email protected]** - bump: (**minor**) **[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **[email protected]** - bump: (patch) **[email protected]** - bump: (patch) **[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **@terascope/[email protected]** - bump: (patch) **[email protected]** - bump: (patch) **@terascope/[email protected]**
This PR makes the following changes:
Changes
teraslice
repo from yarnv1.22.19
to yarnv4.6.0
website
repo form yarnv1.22.19
to yarnv4.6.0
teraslice-cli
test assets fixture repo to be compliant with yarn 4package.json
test scripts in the packages directory to be compliant with yarn 4's explicit dependency scope restrictions@teraslice/scripts
was only a dependency at the top-level, which is caused allworkspaces
that doesn't have@teraslice/scripts
to not find the scripts binary within it's directory.Bumped Packages