Skip to content
This documentation is for v14 and up, the docs for v13 are archived.

RefuseToPinLocal

When this happens

  • ✓ Instance is in a Pinned version group
  • Local Instance mismatches its pinned version group
  • ✘ Misconfiguration: Syncpack refuses to change the version specifier of a Local Instance

Severity

Configurable via severity on a Pinned version group.

ValueEffect
"warn"Default when strict: false. Show as warning; does not affect exit code.
"error"Default when strict: true. Show as error; exits 1.
"fix"Opt in to rewriting the local package's `version` field to the pinned value. Not the default. Set only on groups where you want the local package itself to follow the pin.