-
Notifications
You must be signed in to change notification settings - Fork 1
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 yarn monorepo #162
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/yarn-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update yarn monorepo #162
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
October 18, 2022 20:17
2a6afe9
to
9c2e527
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
October 28, 2022 21:42
9c2e527
to
c287e28
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
3 times, most recently
from
November 16, 2022 17:33
c0cd285
to
fcad391
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
November 22, 2022 14:26
a0f64e6
to
5044b8f
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
November 30, 2022 23:02
5044b8f
to
2f658ca
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
March 16, 2023 22:10
2f658ca
to
90bf5e0
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
March 30, 2023 08:04
1774fb7
to
9e0facb
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
June 2, 2023 00:38
fd5e2ca
to
dc205ac
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
June 22, 2023 09:05
dc205ac
to
1250bcf
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
3 times, most recently
from
July 2, 2023 16:47
abf2ed9
to
a9856f0
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
3 times, most recently
from
August 23, 2023 23:16
94bd491
to
248bee4
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
September 17, 2023 15:48
248bee4
to
b8d5f59
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
October 4, 2023 00:12
6f7cf24
to
bcc360f
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
October 22, 2023 18:07
bcc360f
to
141438c
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
November 14, 2023 19:39
c760727
to
60942e8
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
February 1, 2024 23:31
60942e8
to
a7d5fb3
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
March 5, 2024 00:50
a7d5fb3
to
3dfaba0
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
May 2, 2024 18:14
3d1d915
to
5931538
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
June 10, 2024 19:29
5931538
to
dca228b
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
June 21, 2024 17:05
dca228b
to
02c04de
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
2 times, most recently
from
August 5, 2024 17:36
0831cff
to
0906268
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
August 24, 2024 15:27
0906268
to
552afdf
Compare
renovate
bot
force-pushed
the
renovate/yarn-monorepo
branch
from
October 18, 2024 23:46
552afdf
to
ebf7744
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.0-rc.22
->^3.2.0
3.2.3
->3.8.6
Release Notes
yarnpkg/berry (@yarnpkg/sdks)
v3.2.0
Compare Source
Various improvements have been made in the core to improve performance. Additionally:
Commands
yarn workspaces foreach run
command is now able to run binaries.yarn npm info
command now supports displaying information about a tagged version of a package (e.g.yarn npm info vue@next
).yarn explain
command has been added. It can be used to explain an error code, or list all available error codes.yarn explain YN0002
.yarn npm publish
command now accepts a new--otp
option, to set the One-Time Password from the CLI.yarn upgrade-interactive
now has improved paging:Installs
node_modules
is a symbolic link, and doesn't recreate it.cpu
andarch
fields, Yarn now support a newlibc
field which can be used in tandem withoptionalDependencies
to avoid downloading packages that have been linked against incompatible standard libraries (we currently support two values:glibc
andmusl
).node_modules/.store
andnode_modules
folders if they are empty.node_modules/@​yarnpkg
) if they are empty or after removing a scoped dependency..pnp.cjs
files with inlined data will now store the data in a JSON string literal instead of an object literal to improve startup performance.Compatibility
${FOO:+}
.read
andreadSync
using options.path
property on streams created bycreateReadStream()
and obtained from zip archives.ERR_REQUIRE_ESM
error when attempting to require an ES Module, matching the default Node.js behaviour.Bugfixes
@yarnpkg/pnpify
now escapes paths correctly.node
field inside thenpm_config_user_agent
Yarn sets will now include a leadingv
.platform
isn't set to Node.YARN_IGNORE_NODE
environment variable will now be parsed using the same mechanism as env variable configuration settings (i.e. both1
/0
andtrue
/false
will be accepted)ZipFS Extension
Miscellaneous Features
wrapNetworkRequest
hook now lets you wrap network requests (for example to log them).v3.1.3
Compare Source
v3.1.2
Compare Source
v3.1.1
Compare Source
v3.1.0
Compare Source
Commands
yarn workspaces list
andyarn workspaces foreach
commands now both support a new--since
option 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 foreach
command now handles the fact that a script containing:
only becomes global if it exists in exactly one workspace.yarn workspaces foreach
command now supports--jobs 1
and--jobs unlimited
.yarn init -2
command will now add thepackageManager
field to your project manifest.Settings
pattern
matcher fromlogFilters
will now match any part of the log entry.Installs
nodeLinker: pnpm
mode 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.supportedArchitectures
field to manually enforce the presence of specific architectures.nmMode: hardlinks-global
setting will now be automatically downgraded tonmMode: hardlinks-local
when 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_modules
linker maximizes chances to end-up with only one top-level node_modules in the case of using workspacesnmSelfReferences
setting 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 focus
will not create self-referencing symlinks for excluded workspaces anymore.node_modules
installs.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~
).npmAuditRegistry
setting 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_modules
installs will now be given priority during hoisting, preventing cases when indirect regular dependencies would block the way for direct portal dependencies.pnpify
binary can now be used from inside directories containing spaces.--version
string.node-modules
linker.node-modules
linker, since they cannot be used from the code anyway.fs
module, allowing users to patch it.require.resolve('pnpapi')
will be handled correctly even when usingexports
.yarn run
immediately after adding or removing dependencies inside large monorepos.@types
version. This matches the behaviour for peer dependencies.Compatibility
pnpEnableEsmLoader
.resolve
will no longer resolve missing modules to a file with the same name that would happen to be located next to the issuer.v3.0.0
Compare Source
Breaking Changes
yup
anymore (we migrated to Typanion as part of Clipanion v3).workspace-tools
, remove it from your.yarnrc.yml
, upgrade, then import it back.enableImmutableInstalls
will now default totrue
on CI (we still recommend to explicitly use--immutable
on the CLI).YARN_ENABLE_IMMUTABLE_INSTALLS=false
in your environment variables.initVersion
andinitLicense
configuration options have been removed.initFields
should be used instead..pnp.cjs
files (instead of.pnp.js
) when using PnP, regardless of what thetype
field inside the manifest is set to.$$virtual
into__virtual__
.-a
alias flag ofyarn workspaces foreach
got removed; use-A,--all
instead, which is strictly the same..vscode/pnpify
) won't be cleaned up anymore.--skip-builds
flag fromyarn install
got renamed into--mode=skip-build
.bstatePath
configuration option has been removed. The build state (.yarn/build-state.yml
) has been moved into the install state (.yarn/install-state.gz
)@yarnpkg/pnpify
has been refactored into 3 packages:@yarnpkg/sdks
now contains the Editor SDKs@yarnpkg/pnpify
now contains the PnPify CLI compatibility tool that creates in-memorynode_modules
@yarnpkg/nm
now contains thenode_modules
tree builder and hoister@yarnpkg/plugin-node-modules
has been renamed to@yarnpkg/plugin-nm
--clipanion=definitions
commands supported by our CLIs will now expose the definitions on the entry point (rather than on.command
)API
structUtils.requirableIdent
got removed; usestructUtils.stringifyIdent
instead, which is strictly the same.configuration.format
got removed; useformatUtils.pretty
instead, 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.generateBuildStateFile
has been removed, the build state is now inProject.storedBuildState
.Project.tryWorkspaceByDescriptor
andProject.getWorkspaceByDescriptor
now match on virtual descriptors.Installs
Workspaces now get self-references even when under the
node-modules
linker (just like how it already worked with thepnp
linker). This means that a workspace calledfoo
can 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-symlinks
Node 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-global
specifies whichnode_modules
strategy should be used:classic
- standardnode_modules
layout, without hardlinkshardlinks-local
- standardnode_modules
layout with hardlinks inside the project onlyhardlinks-global
- standardnode_modules
layout with hardlinks pointing to global content storage across all the projects using this optionBugfixes
node-modules
linker will now ensure that the generated install layouts are terminal, by doing several rounds when needed.node-modules
linker will no longer print warnings about postinstall scripts when a workspace depends on another workspace listing install scripts.${ENV_VAR}
syntax.preinstall
,install
,postinstall
fail, the remaining scripts will be skipped.git:
protocol will now default to fetchingHEAD
(rather than the hardcodedmaster
).SIGTERM
signal will now be propagated to child processes.yarn config unset
will now correctly unset non-nested propertiesSettings
initFields
edge cases have been fixed.preferAggregateCacheInfo
flag will now also aggregate cleanup reports.enableMessageNames
flag can be set tofalse
to exclude theYNxxxx
from the output.Commands
yarn init
can now be run even from within existing projects (will create missing files).yarn init
andyarn set version
will set thepackageManager
field.yarn set version
now downloads binaries from the official Yarn website (rather than GitHub).yarn set version from sources
will now upgrade the builtin plugins as well unless--skip-plugins
is set.yarn version apply
now supports a new--prerelease
flag which replaces how prereleases were previously handled.yarn run
should be significantly faster to boot on large projects.yarn workspaces foreach --verbose
will now print when processes start and end, even if they don't have an output.yarn workspaces foreach
now supports a--from <glob>
flag, which when combined with-R
will target workspaces reachable from the 'from' glob.yarn patch-commit
can now be used as many times as you want on the same patch folder.yarn patch-commit
now supports a new-s,--save
flag which will save the patch instead of just printing it.yarn up
now supports a new-R,--recursive
flag which will upgrade the specified package, regardless where it is.yarn config unset
is a new command that will remove a setting from the local configuration (or home if-H
is set).yarn exec
got support for running shell scripts using Yarn's portable shell.yarn plugin import
can now install specific versions of the official plugins.yarn plugin import
will now download plugins compatible with the current CLI by default.yarn unlink
has been added which removes resolutions previously set byyarn link
.Builtin Shell
Compatibility
yarn install
inside a Yarn v1 project will now automatically enable thenode-modules
linker. 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!exports
field - regardless of the Node version.node:
protocol (new in Node 16)plugins
configuration property.Miscellaneous
v3.0.0-rc.53
Compare Source
v3.0.0-rc.52
Compare Source
v3.0.0-rc.51
Compare Source
v3.0.0-rc.50
Compare Source
v3.0.0-rc.49
Compare Source
v3.0.0-rc.48
Compare Source
v3.0.0-rc.47
Compare Source
v3.0.0-rc.46
Compare Source
v3.0.0-rc.45
Compare Source
v3.0.0-rc.44
Compare Source
v3.0.0-rc.43
Compare Source
v3.0.0-rc.42
Compare Source
v3.0.0-rc.41
Compare Source
v3.0.0-rc.40
Compare Source
v3.0.0-rc.39
Compare Source
v3.0.0-rc.38
Compare Source
v3.0.0-rc.37
Compare Source
v3.0.0-rc.36
Compare Source
v3.0.0-rc.35
Compare Source
v3.0.0-rc.34
Compare Source
v3.0.0-rc.33
Compare Source
v3.0.0-rc.32
Compare Source
v3.0.0-rc.31
Compare Source
v3.0.0-rc.30
Compare Source
v3.0.0-rc.29
Compare Source
v3.0.0-rc.28
Compare Source
v3.0.0-rc.27
Compare Source
v3.0.0-rc.26
Compare Source
v3.0.0-rc.25
Compare Source
v3.0.0-rc.24
Compare Source
v3.0.0-rc.23
Compare Source
yarnpkg/berry (yarn)
v3.8.6
Compare Source
v3.8.5
Compare Source
v3.8.4
Compare Source
v3.8.3
Compare Source
v3.8.2
Compare Source
v3.8.1
Compare Source
v3.8.0
Compare Source
v3.7.0
Compare Source
v3.6.4
Compare Source
v3.6.3
Compare Source
v3.6.2
Compare Source
v3.6.1
Compare Source
v3.6.0
Compare Source
v3.5.1
Compare Source
v3.5.0
Compare Source
v3.4.1
Compare Source
yarn init
.v3.4.0
Compare Source
Node.js parity
--conditions
flag.--watch
flag on Node 18 (it previously only supported it on Node 19).Bugfixes
pnpapi
) can now be imported from ESM modules.ZipFS.prototype.getBufferAndClose
will not error on empty archives resulting from an unlink after write.YN0000
) fromyarn workspaces foreach
.Compatibility
v3.3.1
Compare Source
v3.3.0
Compare Source
Installs
hardlinks-global
node-modules
linker mode by 1.5xCompatibility
v3.2.4
Compare Source
Compatibility
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.