bumpp
bumpp copied to clipboard
`--recursive` only finds sub packages in `/packages/**`
Describe the bug
The bumpp package in the latest version does not find recursive package.json files if they are anywhere else but the /packages/** folder structure.
This is despite those other folders being present in the pnpm-workspace.yaml file.
In the reproduction:
- running
pnpm install - and then running
pnpm releasein the root directory - result: the upgrade shows that the versions in
package.json, package/app/package.jsonwill be updated - however, it does not update the version in the
app/package.json - the
pnpm-workspace.yamldoes have theappdirectory listed as a workspace directory but not thepackagesfolder!
Folder Structure
Output of `pnpm release` => `pnpm bumpp -r`
Reproduction
https://codesandbox.io/p/sandbox/reproduction-bumpp-no-recursive-grl7gm
System Info
System:
OS: macOS 14.1
CPU: (10) arm64 Apple M1 Max
Memory: 21.90 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.18.2 - ~/Library/pnpm/node
npm: 10.2.0 - ~/Library/pnpm/npm
pnpm: 8.9.2 - ~/Library/pnpm/pnpm
Browsers:
Brave Browser: 118.1.59.117
Chrome: 118.0.5993.70
Edge: 118.0.2088.46
Safari: 17.1
Used Package Manager
pnpm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.