\n\nHowever, our project only considered it as a string array.\n\nhttps://github.com/antfu-collective/bumpp/blob/35fade14f1752427c1ca0de73b75a5e6a65c6887/src/normalize-options.ts#L133-L137\n\n### Suggested solution\n\nAccording to the scheme, improve the parsing process.\n\n### Alternative\n\n_No response_\n\n### Additional context\n\nThe current demand is actually because of bun.\n\nAs far as I know, the bun workspace configuration can only be set in package.json (of course, I might be wrong).\n\nSo if a complex workspace configuration is needed (for example, the configuration of the dependent catalog), it is necessary to use `objects` to configure the `workspaces`.\n\nI am willing to provide a pr for this.\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guide](https://github.com/antfu/contribute).\n- [x] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.",[3247],{"name":3172,"color":3173},90,"Improve the parsing of workspaces","2025-08-01T04:35:47Z","https://github.com/antfu-collective/bumpp/issues/90",0.81289864,{"description":3254,"labels":3255,"number":3256,"owner":3175,"repository":3176,"state":3239,"title":3257,"updated_at":3258,"url":3259,"score":3260},"### Describe the bug\n\nI have a monorepo workspace and i only want to reversion the lib package, so i have a config file like this:\n\n```ts\nimport { defineConfig } from 'bumpp'\nimport { fileURLToPath } from 'node:url'\n\nexport default defineConfig({\n cwd: fileURLToPath(new URL('./lib', import.meta.url)),\n push: false,\n})\n```\n\nthe bump.config.ts is placed at workspace root. \n\nafter running bumpp, it will create a commit and tag it correctly but leave the package.json in unstage state. \n\nhowever if i set `recursive: true` it will properly version all packages and commit them after. is it expected or i haven't set it correctly? thanks\n\n### Reproduction\n\nhttps://github.com/pot-code/bumpp-bug\n\n### System Info\n\n```Shell\nSystem:\n OS: Windows 11 10.0.26100\n CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U\n Memory: 2.85 GB / 31.64 GB\n Binaries:\n Node: 21.7.3 - C:\\Program Files\\nodejs\\node.EXE\n Yarn: 1.22.19 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\n npm: 10.5.0 - C:\\Program Files\\nodejs\\npm.CMD\n pnpm: 9.12.2 - C:\\Program Files\\nodejs\\pnpm.CMD\n Browsers:\n Edge: Chromium (134.0.3124.85)\n Internet Explorer: 11.0.26100.1882\n```\n\n### Used Package Manager\n\npnpm\n\n### Validations\n\n- [x] Follow our [Code of Conduct](https://github.com/antfu/.github/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guide](https://github.com/antfu/contribute).\n- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.\n- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.\n- [x] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.\n\n### Contributions\n\n- [ ] I am willing to submit a PR to fix this issue\n- [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)",[],87,"set cwd will not commit the nested package.json file","2025-07-29T05:36:54Z","https://github.com/antfu-collective/bumpp/issues/87",0.83818465,["Reactive",3262],{},["Set"],["ShallowReactive",3265],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f9t0uukA-Qg6EdPNRQH3prNYM6RV77RUm26MzNclC6Oo":-1},"/antfu-collective/bumpp/77"]