Closed crfrolik closed 1 month ago
If I have a semver group like this:
{ "range": "~", "dependencyTypes": ["dev"], "dependencies": ["**"], "packages": ["**"] }
And I have a dev package like this:
"foo": "~10.0.0-beta.6"
syncpack fix-mismatches wants to change that from ~10.0.0-beta.6 to ~10.0.0. The problem is that this version (10.0.0 without the tag) does not exist.
syncpack fix-mismatches
~10.0.0-beta.6
~10.0.0
10.0.0
This isn't a huge deal; a much bigger issue is the fact that syncpack lint reports an error when I use a prerelease.
syncpack lint
Am I missing something in my config that would prevent this?
I discovered this was happening because I had a peerDependency for the package that was ^10.0.0. It was no longer an issue once I removed that.
peerDependency
^10.0.0
Description
If I have a semver group like this:
And I have a dev package like this:
syncpack fix-mismatches
wants to change that from~10.0.0-beta.6
to~10.0.0
. The problem is that this version (10.0.0
without the tag) does not exist.This isn't a huge deal; a much bigger issue is the fact that
syncpack lint
reports an error when I use a prerelease.Am I missing something in my config that would prevent this?