Conversation
…package This adds support for the 'additional-paths' configuration option that allows a package to declare dependencies on file paths outside its main package directory. When commits modify files in these additional paths, they will be included in the release for the dependent package. This is useful for monorepos where multiple packages may depend on shared code that lives outside their package directories. Inspired by googleapis#2534 Co-Authored-By: Leo Galindo-Frias <leogalindofrias@gmail.com>
…package This adds support for the 'additional-paths' configuration option that allows a package to declare dependencies on file paths outside its main package directory. When commits modify files in these additional paths, they will be included in the release for the dependent package. This is useful for monorepos where multiple packages may depend on shared code that lives outside their package directories. Inspired by googleapis#2534 Co-Authored-By: Leo Galindo-Frias <leogalindofrias@gmail.com>
… googleapis The build-action job was referencing googleapis/release-please which caused CI failures for PRs in this fork. Updated to use nominal-io/release-please with the PR head SHA for proper testing. Co-Authored-By: Leo Galindo-Frias <leogalindofrias@gmail.com>
…er.devin.ai/proxy/github.com/nominal-io/release-please into devin/1765847530-additional-paths
| "exclude-paths": true, | ||
| "component-no-space": false | ||
| "component-no-space": false, | ||
| "additional-paths": true |
Author
There was a problem hiding this comment.
This is more of a whitelist to control what properties can be used at the json "root" level.
Its used in conjunction with:
https://json-schema.org/understanding-json-schema/reference/object#additionalproperties
Author
There was a problem hiding this comment.
I.e if this was false, we would only be able to use additional-paths in the "packages" directory. Its sometimes useful if a repo wants to apply a trigger on ALL packages. (fern docs is an example of this)
scout not so much
helenyugithub
approved these changes
Dec 16, 2025
Leundai
pushed a commit
that referenced
this pull request
Dec 16, 2025
🤖 I have created a release *beep* *boop* --- ## [18.1.0](v18.0.2...v18.1.0) (2025-12-16) ### Features * Add additional-paths config to specify dependencies outside of package ([#5](#5)) ([760afee](760afee)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for the 'additional-paths' configuration option that allows a package to declare dependencies on file paths outside its main package directory. When commits modify files in these additional paths, they will be included in the release for the dependent package.
This is useful for monorepos where multiple packages may depend on shared code that lives outside their package directories.
Inspired by googleapis#2534
Summary of Changes
Core Implementation
additional-pathsschema definition (array of strings, manifest-only)additionalPathstoReleaserConfiginterface and updatedCommitSplitinstantiation to passRecord<string, string[]>formatpackagePathstype fromstring[]toRecord<string, string[]>and implemented two-pass commit assignment:additional-pathsnormalizePathfunction for single path normalizationTests
test/fixtures/manifest/config/additional-paths.jsonadditional-pathsfrom manifest configadditionalPathstriggering releasesCommitSplittests to use newRecord<string, string[]>formatCI Fix
.github/workflows/ci.yamlto referencenominal-io/release-pleaseinstead ofgoogleapis/release-pleasefor the build-action jobHuman Review Checklist
commit-split.ts:98-140correctly assigns commits to both primary and additional packagesRecord<string, string[]>format change doesn't break any other usagesLink to Devin run: https://app.devin.ai/sessions/60f42b0519ac4cd2bdd8ab1de108eddf
Requested by: Leo Galindo-Frias (@Leundai)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕