You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using Auto with PNPM workspace. I use the default next branch for my prerelease(s).
Suppose I have 3 independent packages:
@pkg/foo:0.1.0
@pkg/bar:0.1.0 - Has dependency "@pkg/foo": "workspace:*"
@pkg/baz:0.1.0- Has dependency "@pkg/foo": "workspace:*"
With my next prerelease with patch bump. As part of my first commit in my PR (next), I do a change to all packages. The bump is done accordingly:
@pkg/foo:0.1.1-next.0
@pkg/bar:0.1.1-next.0
@pkg/baz:0.1.1-next.0
However, in my 2nd commit in the same PR, if I do another commit that only changes @pkg/baz. The bump only happens to that package (i.e. @pkg/baz:0.1.1-next.1), but it's dependant package @pkg/foo will revert back to its original version (i.e. @pkg/foo:0.1.0). Therefore, when I try to install pnpm add @pkg/baz:0.1.0@next, I get the following error:
ERR_PNPM_NO_MATCHING_VERSION No matching version found for @pkg/foo:0.1.0
This error happened while installing the dependencies of @pkg/baz:0.1.1-next.1
The latest release of @pkg/foo is "0.1.1-next.0".
The expected outcome should be to use the latest pre-release next version for its dependent packages as well.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using Auto with PNPM workspace. I use the default
next
branch for my prerelease(s).Suppose I have 3 independent packages:
@pkg/foo:0.1.0
@pkg/bar:0.1.0
- Has dependency"@pkg/foo": "workspace:*"
@pkg/baz:0.1.0
- Has dependency"@pkg/foo": "workspace:*"
With my
next
prerelease withpatch
bump. As part of my first commit in my PR (next
), I do a change to all packages. The bump is done accordingly:@pkg/foo:0.1.1-next.0
@pkg/bar:0.1.1-next.0
@pkg/baz:0.1.1-next.0
However, in my 2nd commit in the same PR, if I do another commit that only changes
@pkg/baz
. The bump only happens to that package (i.e.@pkg/baz:0.1.1-next.1
), but it's dependant package@pkg/foo
will revert back to its original version (i.e.@pkg/foo:0.1.0
). Therefore, when I try to installpnpm add @pkg/baz:0.1.0@next
, I get the following error:The expected outcome should be to use the latest
pre-release
next version for its dependent packages as well.The text was updated successfully, but these errors were encountered: