no notes
no notes
The pnpm.*
settings from package.json
can now be specified in the pnpm-workspace.yaml
file instead #9121.
package.json
:
{
"pnpm": {
"onlyBuiltDependencies": ["esbuild", "fuse-native"]
}
}
pnpm-workspace.yaml
:
onlyBuiltDependencies:
- esbuild
- fuse-native
Added support for automatically syncing files of injected workspace packages after pnpm run
#9081. Use the sync-injected-deps-after-scripts
setting to specify which scripts build the workspace package. This tells pnpm when syncing is needed. The setting should be defined in a .npmrc
file at the root of the workspace. Example:
sync-injected-deps-after-scripts[]=compile
The packages
field in pnpm-workspace.yaml
became optional.
pnpm link
with no parameters should work as if --global
is specified #9151.--config.
prefix such as --@scope:registry=https://scope.example.com/npm
#9089.pnpm link <path>
should calculate relative path from the root of the workspace directory #9132.pnpm-lock.yaml
file when using --fix-lockfile
and --filter
. #8639