Updating devDependencies
in monorepo triggers release
#1045
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
Steps to reproduce
Here's a live example: eslint/rewrite#124
Since the last release, we had a releasable change in the
@eslint/core
package only.In the same monorepo,
@eslint/plugin-kit
and@eslint/compat
packages have@eslint/core
indevDependencies
(notdependencies
).The behavior I'd expect is that the release PR updates
devDependencies
in these two packages, but does not update theversion
field, because updatingdevDependencies
should not be a reason to bump the version and release the package.The actual behavior is that the release PR updates
devDependencies
in these two packages, and updates theversion
field. Merging the PR will likely release these two packages too, which is unnecessary as there were no releasable changes in them.The text was updated successfully, but these errors were encountered: