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

RefuseToSnapLocal

When this happens

  • Local Instance is in a Snapped To version group
  • ✘ An Instance of this dependency was found in the snapped to package
  • ✘ Misconfiguration: Syncpack refuses to change the version specifier of a Local Instance

Severity

Configurable via severity on a Snapped To 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 match the snap target. Not the default. Set only on groups where you want the local package itself to follow the target.