@yarnpkg/plugin-link
Advanced tools
Changelog
2.2.0
yarn set version 2.2.0
publishConfig.executableFiles
field in their manifests to indicate which files should keep the executable flag once packed in the archive. This is important as for portability reasons Yarn strips the executable flag from all files during packing (otherwise yarn pack
would yield different outputs when run on Posix vs Windows). Files listed in the bin
field are assumed executable by default, so you don't need to explicitly list them in executableFiles
.yarn pack
will properly include main/module/bin files, even when not explicitly referenced through the files
field.git+file:
protocol.workspace
field will now be processed correctly.workspace:
protocol to start with ./
yarn add
and yarn up
cd
and exit
without arguments|&
pipelineyarn add
and yarn up
will now respect the preferInteractive
configuration option.yarn config set
now supports the -H,--home
flag, which causes it to update the home configuration instead of the project configuration.immutablePaths
setting allow you to specify paths that must not change when running Yarn with the --immutable
flag set. You can use it to detect unforeseen changes to your install artifacts, be it .pnp.js
or node_modules
files.$RANDOM
variable as well as simple calculations using +
, -
, *
, /
and ()
inside $(())
{echo foo}
) to execute a command in the context of the current shell (without creating a subshell like in the case of (echo foo)
).pnpIgnorePatterns
fs
module from within a Webpack browser bundle).