Closed johtso closed 4 months ago
Hi @johtso,
I can't see your config file but I think you might need to remove the local
dependency type from being included in your rule.
https://jamiemason.github.io/syncpack/guide/local-package-versions/#the-local-dependency-type
Possibly related
Thanks @JamieMason
I have this in my config, but I guess that's not quite right:
{
"versionGroups": [
{
"label": "Use workspace protocol when developing local packages",
"dependencies": ["$LOCAL"],
"pinVersion": "workspace:*"
}
]
}
Great, I think this fix should do it 👍
You're welcome, lots of people get caught by this one 😁
I get output like this:
I'd understand that pinned versions in dependencies pointing to other packages in your monorepo should be changed to "workspace:", but `"version": "workspace:"` for a package doesn't make sense.
Using syncpack 12.3.3
Am I doing something wrong?