Closed gz65555 closed 1 month ago
I specified recursive: true in my bump.config.ts, but it did not take effect when I ran the bumpp command.
recursive: true
bump.config.ts
bumpp
I believe the following code(src/cli/parse-args.ts) is causing the issue:
src/cli/parse-args.ts
const parsedArgs: ParsedArgs = { ... options: await loadBumpConfig({ ... recursive: !!args.recursive, }), };
If I don't specify recursive options when running bumpp, recursive: false will overwrite the option in bump.config.ts.
recursive
recursive: false
This is not the expected outcome.
https://github.com/gz65555/monorepo-project
System: OS: macOS 14.4.1 CPU: (12) arm64 Apple M2 Pro Memory: 88.97 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.6.0 - ~/.nvs/default/bin/node Yarn: 1.22.21 - ~/Library/pnpm/yarn npm: 10.8.2 - ~/.nvs/default/bin/npm pnpm: 9.3.0 - ~/Library/pnpm/pnpm Browsers: Chrome: 127.0.6533.122 Safari: 17.4.1
pnpm
Would you like to send a quick PR to fix it? Thanks
Describe the bug
I specified
recursive: true
in mybump.config.ts
, but it did not take effect when I ran thebumpp
command.I believe the following code(
src/cli/parse-args.ts
) is causing the issue:If I don't specify
recursive
options when runningbumpp
,recursive: false
will overwrite the option inbump.config.ts
.This is not the expected outcome.
Reproduction
https://github.com/gz65555/monorepo-project
System Info
Used Package Manager
pnpm
Validations
Contributions