googleapis / googleapis/release-please
An NPM package depends on a Rust crate - can I express this in a single config?
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 588
- Avg merge
- 12h 16m
- Merged PRs (30d)
- 7
Description
I have a project that has both a Rust workspace and an NPM workspace. One of my NPM packages has a dependency on one of the Rust crates, so I would like that dependency relationship to be taken into consideration by `release-please` when it considers how to update the version of the NPM package. Ideally, I would be able to review the changes to all Rust and NPM packages in a single, unified release PR.
The best solution I could come up with is to have two different `release-please` configs, and then commit a change to the NPM package's source tree with either `fix`, `feat` or `feat!` when the Rust crate it depends on gets a new release. Then, I would perform NPM releases with a separate release PR.
Is there a way to do this with a single `release-please` config? And, a single, unified release PR?
Thank you for your consideration and whatever advice you can give!
Contributor guide
Assessment
This issue has not been assessed yet.