chore(deps): update yarn to v3.1.0 #975
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.2->3.1.0Release Notes
yarnpkg/berry
v3.1.0Commands
yarn workspaces listandyarn workspaces foreachcommands now both support a new--sinceoption that lets you filter the workspace list by changes (only workspaces that changed since the specified commit will be iterated on). This feature is still a little experimental, especially when used with-R,--recursive.yarn workspaces foreachcommand now handles the fact that a script containing:only becomes global if it exists in exactly one workspace.yarn workspaces foreachcommand now supports--jobs 1and--jobs unlimited.yarn init -2command will now add thepackageManagerfield to your project manifest.Settings
patternmatcher fromlogFilterswill now match any part of the log entry.Installs
nodeLinker: pnpmmode will let you install packages using the pnpm install strategy, where packages are stored flat and referenced by each others through symlinks. This mode is still a little experimental, so please send our way bugs you might find.supportedArchitecturesfield to manually enforce the presence of specific architectures.nmMode: hardlinks-globalsetting will now be automatically downgraded tonmMode: hardlinks-localwhen global caches and install folders are kept on different devices, thus letting the install continue normally. A warning will still be produced explaining this behaviour.node_moduleslinker maximizes chances to end-up with only one top-level node_modules in the case of using workspacesnmSelfReferencessetting has been added to the nm linker to control whether workspaces are allowed to require themselves - results in creation of self-referencing symlinks.yarn workspaces focuswill not create self-referencing symlinks for excluded workspaces anymore.node_modulesinstalls.Miscellaneous Features
workspace:^andworkspace:~. When published, those markers will turn into the actual version (just like what used to happen withworkspace:*), except that they'll be prefixed with the relevant semver prefix (respectively^and~).npmAuditRegistrysetting will let you define which registry to use when running audits. If unset, we'll fallback to the currently configured publish registry (we'll likely change this behavior in Yarn 4 to rather use the fetch registry).Bugfixes
node_modulesinstalls will now be given priority during hoisting, preventing cases when indirect regular dependencies would block the way for direct portal dependencies.pnpifybinary can now be used from inside directories containing spaces.--versionstring.node-moduleslinker.node-moduleslinker, since they cannot be used from the code anyway.fsmodule, allowing users to patch it.require.resolve('pnpapi')will be handled correctly even when usingexports.yarn runimmediately after adding or removing dependencies inside large monorepos.@typesversion. This matches the behaviour for peer dependencies.Compatibility
pnpEnableEsmLoader.resolvewill no longer resolve missing modules to a file with the same name that would happen to be located next to the issuer.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.