Update dependency @yarnpkg/pnpify to v3#23
Merged
Conversation
KovacZan
approved these changes
Aug 12, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^2.4.0->^3.0.0Release Notes
yarnpkg/berry
v3.0.1readdirwithnullas second parameter (instead ofundefined).v3.0.0Breaking Changes
yupanymore (we migrated to Typanion as part of Clipanion v3).workspace-tools, remove it from your.yarnrc.yml, upgrade, then import it back.enableImmutableInstallswill now default totrueon CI (we still recommend to explicitly use--immutableon the CLI).YARN_ENABLE_IMMUTABLE_INSTALLS=falsein your environment variables.initVersionandinitLicenseconfiguration options have been removed.initFieldsshould be used instead..pnp.cjsfiles (instead of.pnp.js) when using PnP, regardless of what thetypefield inside the manifest is set to.$$virtualinto__virtual__.-aalias flag ofyarn workspaces foreachgot removed; use-A,--allinstead, which is strictly the same..vscode/pnpify) won't be cleaned up anymore.--skip-buildsflag fromyarn installgot renamed into--mode=skip-build.bstatePathconfiguration option has been removed. The build state (.yarn/build-state.yml) has been moved into the install state (.yarn/install-state.gz)@yarnpkg/pnpifyhas been refactored into 3 packages:@yarnpkg/sdksnow contains the Editor SDKs@yarnpkg/pnpifynow contains the PnPify CLI compatibility tool that creates in-memorynode_modules@yarnpkg/nmnow contains thenode_modulestree builder and hoister@yarnpkg/plugin-node-moduleshas been renamed to@yarnpkg/plugin-nm--clipanion=definitionscommands supported by our CLIs will now expose the definitions on the entry point (rather than on.command)API
structUtils.requirableIdentgot removed; usestructUtils.stringifyIdentinstead, which is strictly the same.configuration.formatgot removed; useformatUtils.prettyinstead, which is strictly the same, but type-safe.httpUtils.Options['json']got removed; usehttpUtils.Options['jsonResponse']instead, which is strictly the same.PackageExtension['description']got removed, useformatUtils.json(packageExtension, formatUtils.Type.PACKAGE_EXTENSION)instead, which is strictly the same.Project.generateBuildStateFilehas been removed, the build state is now inProject.storedBuildState.Project.tryWorkspaceByDescriptorandProject.getWorkspaceByDescriptornow match on virtual descriptors.Installs
Workspaces now get self-references even when under the
node-moduleslinker (just like how it already worked with thepnplinker). This means that a workspace calledfoocan now safely assume that calls torequire('foo/package.json')will always work, removing the need for absolute aliases in the majority of cases.The node-modules linker now does its best to support the
portal:protocol. This support comes with two important limitations:--preserve-symlinksNode option if they wish to access their dependencies.portal:must be hoisted outside of the portal. Failing that (for example if the portal package depends on something incompatible with the version hoisted via another package), the linker will produce an error and abandon the install.The node-modules linker can now utilize hardlinks. The new setting
nmMode: classic | hardlinks-local | hardlinks-globalspecifies whichnode_modulesstrategy should be used:classic- standardnode_moduleslayout, without hardlinkshardlinks-local- standardnode_moduleslayout with hardlinks inside the project onlyhardlinks-global- standardnode_moduleslayout with hardlinks pointing to global content storage across all the projects using this optionBugfixes
node-moduleslinker will now ensure that the generated install layouts are terminal, by doing several rounds when needed.node-moduleslinker will no longer print warnings about postinstall scripts when a workspace depends on another workspace listing install scripts.${ENV_VAR}syntax.preinstall,install,postinstallfail, the remaining scripts will be skipped.git:protocol will now default to fetchingHEAD(rather than the hardcodedmaster).SIGTERMsignal will now be propagated to child processes.yarn config unsetwill now correctly unset non-nested propertiesSettings
initFieldsedge cases have been fixed.preferAggregateCacheInfoflag will now also aggregate cleanup reports.enableMessageNamesflag can be set tofalseto exclude theYNxxxxfrom the output.Commands
yarn initcan now be run even from within existing projects (will create missing files).yarn initandyarn set versionwill set thepackageManagerfield.yarn set versionnow downloads binaries from the official Yarn website (rather than GitHub).yarn set version from sourceswill now upgrade the builtin plugins as well unless--skip-pluginsis set.yarn version applynow supports a new--prereleaseflag which replaces how prereleases were previously handled.yarn runshould be significantly faster to boot on large projects.yarn workspaces foreach --verbosewill now print when processes start and end, even if they don't have an output.yarn workspaces foreachnow supports a--from <glob>flag, which when combined with-Rwill target workspaces reachable from the 'from' glob.yarn patch-commitcan now be used as many times as you want on the same patch folder.yarn patch-commitnow supports a new-s,--saveflag which will save the patch instead of just printing it.yarn upnow supports a new-R,--recursiveflag which will upgrade the specified package, regardless where it is.yarn config unsetis a new command that will remove a setting from the local configuration (or home if-His set).yarn execgot support for running shell scripts using Yarn's portable shell.yarn plugin importcan now install specific versions of the official plugins.yarn plugin importwill now download plugins compatible with the current CLI by default.yarn unlinkhas been added which removes resolutions previously set byyarn link.Builtin Shell
Compatibility
yarn installinside a Yarn v1 project will now automatically enable thenode-moduleslinker. This should solve most of the problems people have had in their migrations. We still recommend to keep the default PnP for new projects, but the choice is yours.bigint, andfstat.@yarnpkg/esbuild-plugin-pnp. We use it to bundle Yarn itself!exportsfield - regardless of the Node version.node:protocol (new in Node 16)pluginsconfiguration property.Miscellaneous
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.