Skip to content

[Bug]: Beachball tries to bump a package from a caret peerDependency #23147

@spmonahan

Description

@spmonahan

Library

React Components / v9 (@fluentui/react-components)

System Info

This happened in the Azure Pipeline release build.

Are you reporting Accessibility issue?

no

Reproduction

N/A

Bug Description

Actual Behavior

When attempting to release a package that has a caret dependency the release pipeline will "bump" to the same, already released version of a package, causing the release to fail.

Expected Behavior

A caret dependency change for a package should not cause a release to fail. Either the package should be bumped to a new release version or it should be skipped.

Notes

This happened in the react-conformance-griffel package where the peerDep was set to ^0.13.0 while the devDep was set to *.

Link to package.json for the commit

Logs

The issue first appeared in a release build but is reproducible locally.
Build: https://uifabric.visualstudio.com/UI%20Fabric/_build/results?buildId=250403&view=logs&j=8d802004-fbbb-5f17-b73e-f23de0c1dec8&t=fb65810a-a7a9-58a0-61f9-7163cb0bcc0b&l=187

Requested priority

High

Products/sites affected

@fluentui/react-components, possible @fluentui/react and northstar as well

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions