googleapis / googleapis/release-please

How to make node release type update every workspace package with same version?

Open
#2,073 0 comments 3 reactions 1 assignee Claimed by @chingor13 View on GitHub
priority: p3 type: question
Dominant language
TypeScript
Stars
7.5k
Forks
588
Avg merge
12h 16m
Merged PRs (30d)
7

Description

I have been using `release-please` with a Rust workspace. Without utilizing the `cargo-workspace` plugin, the `rust` release type updates the same version number for both the root and each crate in the workspace.

However, when employing a similar configuration with the `node` release type, without the `node-workspace` plugin, in a yarn workspace, `release-please` only updates the version in the root package.json. Is this the intended behavior, and if so, why does it differ from the `rust` release type?

If this behavior is expected, how can I ensure that all packages within a workspace have the same version number? The `node-workspace` plugin only increments the version for packages that have changed. I also attempted to use the `linked-versions` plugin, but it still generates a release for each package with a component prefix.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.