r1tsuu/payload-enchants

support for monorepos in `bump-payload`

vixalien opened this issue · 1 comments

First of all, I'd like to thank you for making this package. It's a huge timesaver.

bump-payload currently only looks for the root package.json.

It would be nice to also check other recursive package.json files in a monorepo, possibly using something like list-monorepo-packages.

Will do it, for now i believe you can just:

"scripts": {
  "bump-payload:web": "cd apps/web && pnpm bump-payload",
  "bump-payload:cms": "cd apps/cms && pnpm bump-payload",
  "bump-payload:all": "bump-payload:web && bump-payload:cms"
},