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
Support yarn v3 #1112
Support yarn v3 #1112
Conversation
🦋 Changeset detectedLatest commit: 251b8c2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
I'm not too sure on how to add tests internally for modular. But I've tested the changes to modular-scripts in https://github.com/jpmorganchase/ui-toolkit/pull/295 |
0467608
to
0beb2d1
Compare
0beb2d1
to
ad3c363
Compare
I've nothing against this - but I think if we're going to add support for multiple package managers we should also considering writing this in a way that will allow us to read There's also the question of |
Technically we can support v2 as well but with the same caveat as only with nodeLinker: node-modules. v2 and v3 formats are the same. |
If there are setup caveats so this then they need to be added to Otherwise I'm happy to go with this, but adding a check for If we add support for NPM then we'll cross that bridge when we get there. |
Cool, I'll make the changes. |
ad3c363
to
cf76e77
Compare
cf76e77
to
99e0cc3
Compare
@LukeSheard All the changes should be done now? Mind reviewing again? |
Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com>
* upgrade @babel scope * Bump resolve from 1.20.0 to 1.21.0 (#1252) * Bump resolve from 1.20.0 to 1.21.0 Bumps [resolve](https://github.com/browserify/resolve) from 1.20.0 to 1.21.0. - [Release notes](https://github.com/browserify/resolve/releases) - [Commits](browserify/resolve@v1.20.0...v1.21.0) --- updated-dependencies: - dependency-name: resolve dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Create quick-readers-boil.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump postcss from 8.4.4 to 8.4.5 (#1176) * Bump postcss from 8.4.4 to 8.4.5 Bumps [postcss](https://github.com/postcss/postcss) from 8.4.4 to 8.4.5. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.4...8.4.5) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Create tiny-jobs-grow.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump esbuild-loader from 2.16.0 to 2.17.0 (#1171) * Bump esbuild-loader from 2.16.0 to 2.17.0 Bumps [esbuild-loader](https://github.com/privatenumber/esbuild-loader) from 2.16.0 to 2.17.0. - [Release notes](https://github.com/privatenumber/esbuild-loader/releases) - [Commits](privatenumber/esbuild-loader@v2.16.0...v2.17.0) --- updated-dependencies: - dependency-name: esbuild-loader dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Create violet-geese-cheer.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump babel-preset-react-app from 10.0.0 to 10.0.1 (#1200) * Bump babel-preset-react-app from 10.0.0 to 10.0.1 Bumps [babel-preset-react-app](https://github.com/facebook/create-react-app/tree/HEAD/packages/babel-preset-react-app) from 10.0.0 to 10.0.1. - [Release notes](https://github.com/facebook/create-react-app/releases) - [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-1.x.md) - [Commits](https://github.com/facebook/create-react-app/commits/babel-preset-react-app@10.0.1/packages/babel-preset-react-app) --- updated-dependencies: - dependency-name: babel-preset-react-app dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Create wise-suits-melt.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump esbuild from 0.14.2 to 0.14.11 (#1271) * Bump esbuild from 0.14.2 to 0.14.11 Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.2 to 0.14.11. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md) - [Commits](evanw/esbuild@v0.14.2...v0.14.11) --- updated-dependencies: - dependency-name: esbuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Create rare-cycles-cry.md * fix failing tests Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> Co-authored-by: Luke Sheard <me@lukesheard.com> * Bump esbuild-loader from 2.17.0 to 2.18.0 (#1286) Bumps [esbuild-loader](https://github.com/privatenumber/esbuild-loader) from 2.17.0 to 2.18.0. - [Release notes](https://github.com/privatenumber/esbuild-loader/releases) - [Commits](privatenumber/esbuild-loader@v2.17.0...v2.18.0) --- updated-dependencies: - dependency-name: esbuild-loader dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @svgr/core from 6.1.1 to 6.1.2 (#1173) * Bump @svgr/core from 6.1.1 to 6.1.2 Bumps [@svgr/core](https://github.com/gregberge/svgr) from 6.1.1 to 6.1.2. - [Release notes](https://github.com/gregberge/svgr/releases) - [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md) - [Commits](gregberge/svgr@v6.1.1...v6.1.2) --- updated-dependencies: - dependency-name: "@svgr/core" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Create rich-eagles-bow.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump react-error-overlay from 6.0.9 to 6.0.10 (#1194) Bumps [react-error-overlay](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-error-overlay) from 6.0.9 to 6.0.10. - [Release notes](https://github.com/facebook/create-react-app/releases) - [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-1.x.md) - [Commits](https://github.com/facebook/create-react-app/commits/react-error-overlay@6.0.10/packages/react-error-overlay) --- updated-dependencies: - dependency-name: react-error-overlay dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.3 (#1262) * Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.3 Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.6 to 13.1.3. - [Release notes](https://github.com/rollup/plugins/releases) - [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.1.3/packages/node-resolve) --- updated-dependencies: - dependency-name: "@rollup/plugin-node-resolve" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Create curvy-donkeys-check.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Support yarn v3 (#1112) Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump @types/tmp from 0.2.2 to 0.2.3 (#1204) Bumps [@types/tmp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tmp) from 0.2.2 to 0.2.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tmp) --- updated-dependencies: - dependency-name: "@types/tmp" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * Bump @types/node from 16.11.11 to 17.0.8 (#1258) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 17.0.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luke Sheard <LukeSheard@users.noreply.github.com> * fix patch-package (#1289) * regenerate yarn.lock Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Wooding <12938082+joshwooding@users.noreply.github.com>
Since modular-scripts and modular-views.macro depend on yarn workspaces and the command has changed in yarn v2+ the code needs to accommodate for that.