Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for monorepos in bump-payload #48

Open
vixalien opened this issue May 7, 2024 · 1 comment
Open

support for monorepos in bump-payload #48

vixalien opened this issue May 7, 2024 · 1 comment
Assignees

Comments

@vixalien
Copy link

vixalien commented May 7, 2024

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.

@r1tsuu
Copy link
Owner

r1tsuu commented May 7, 2024

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"
},

@r1tsuu r1tsuu self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants