v10.13.0
📦 pnpmView on GitHub →
✨ 2 features🐛 5 fixes🔧 10 symbols
Summary
This release adds support for multiple pnpmfiles and automatic loading of pnpmfile.cjs from config dependencies, while fixing several configuration conflicts, sorting behavior, rebuild handling, and command quoting.
Migration Steps
- If you previously set pnpmfile as a single string, update pnpm-workspace.yaml to use an array of paths for multiple pnpmfiles.
- If a specific initialization order for config dependencies is required, explicitly list the pnpmfile.cjs paths in the pnpmfile setting to override the default alphabetical order.
✨ New Features
- pnpmfile setting now accepts a list of pnpmfile locations, allowing multiple pnpmfiles to be loaded.
- pnpm automatically loads pnpmfile.cjs from any config dependency named @pnpm/plugin-* or pnpm-plugin-*, initializing them in alphabetical order.
🐛 Bug Fixes
- Dependencies installed via pkg.pr.new are now treated as Git tarball URLs when patching.
- Conflicts between local project config and global config for dangerouslyAllowAllBuilds, onlyBuiltDependencies, onlyBuiltDependenciesFile, and neverBuiltDependencies are prevented.
- Keys in pnpm-workspace.yaml are now sorted recursively (deep sort).
- pnpm rebuild no longer adds packages listed in ignoredBuiltDependencies to ignoredBuilds in node_modules/.modules.yaml.
- Replaced shell-quote with shlex for quoting command arguments.
🔧 Affected Symbols
pnpmfilepnpm-workspace.yamldangerouslyAllowAllBuildsonlyBuiltDependenciesonlyBuiltDependenciesFileneverBuiltDependenciesignoredBuiltDependenciespnpm rebuildshell-quoteshlex