Change8

v10.5.0

📦 pnpmView on GitHub →
6 features🐛 2 fixes🔧 5 symbols

Summary

This release adds support for defining `pnpm.*` settings in `pnpm-workspace.yaml`, introduces automatic syncing of injected workspace packages after scripts, makes the `packages` field optional, and includes several command enhancements and bug fixes.

✨ New Features

  • `pnpm.*` settings can now be defined in `pnpm-workspace.yaml` as an alternative to `package.json`.
  • Added automatic syncing of injected workspace package files after `pnpm run` via the `sync-injected-deps-after-scripts` setting in a root `.npmrc`.
  • `packages` field in `pnpm-workspace.yaml` is now optional.
  • `pnpm link` without arguments defaults to global linking behavior.
  • Scope registry CLI option can be used without the `--config.` prefix (e.g., `--@scope:registry=...`).
  • `pnpm link <path>` now resolves the relative path from the workspace root.

🐛 Bug Fixes

  • Fixed catalog snapshots being removed from `pnpm-lock.yaml` when using `--fix-lockfile` with `--filter`.
  • Fixed catalog protocol dependencies not re-resolving on a filtered install.

🔧 Affected Symbols

pnpm.linkpnpm.runpnpm-workspace.yamlsync-injected-deps-after-scriptspnpm-lock.yaml