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
feat(version): add user-defined build metadata to bumped packages #2880
feat(version): add user-defined build metadata to bumped packages #2880
Conversation
Any feedback on this PR would be fully appreciated - this is my first contribution to Lerna. Travis CI check failed, but it appears it has failed recently on all branches - including main. |
Hello @evocateur, you're the most recently active member of the Lerna team I've found reviewing PRs. May you advise me who would be best to review this? |
b48d6c3
to
72ea3b3
Compare
Hello @evocateur, may I be granted approval to run the repo workflows, please? Any feedback on this PR would be appreciated. |
Hey @gigabo, @hzoo, @xtuc, and @ndelangen, sorry to ping you all out the blue. I see you also belong to the Lerna org. This PR's been lingering for a while now - any feedback would be appreciated, please. |
Hi Lerna org members (@evocateur, @gigabo, @hzoo, @xtuc, and @ndelangen), anyone available to review this PR, please? Or alternatively is there anyone else I should request reviews this? |
@evocateur, @gigabo, @hzoo, @xtuc, and @ndelangen - also interested if we could get eyes on this please. If not, steps forward to add this functionality. Thank you! |
74961fd
to
de3c002
Compare
Hi @jeffbcross, this PR was opened a while ago, before a change of ownership for the Lerna project. I've resolved recent conflicts against the |
Hi @rrhodes thanks so much for your patience, I'm sorry it sat in limbo for so long. Please could we do the following:
|
Please let me know if you have any questions regarding the e2e stuff once you have read those instructions |
Hi @JamesHenry, no trouble, thanks for reviewing this. I may struggle to look into this in the coming weeks - currently in the process of moving house as well as all the usual Christmas fun at this time of year - but I can let you know when I've had an opportunity to review further. |
f805042
to
89781bd
Compare
Hi @JamesHenry, new E2E tests for the build metadata functionality added now. |
@rrhodes Thank you, this is a great (re)starting point now! Initial issue in CI:
Broader refactoring point: Please could you not create a new package - the lerna codebase (we inherited) already has so, so many small packages, and we are looking to dramatically reduce that over the coming months, so we don't we to add more debt to that work. I think Many thanks again! |
650d4fa
to
361d221
Compare
Hey @JamesHenry, I agree, there are a lot of packages and I think it's great there's plans to reduce these. I've revised my PR now with your recommendation in mind to use |
361d221
to
2d3d9fc
Compare
2d3d9fc
to
7e86eee
Compare
Thanks again @rrhodes - sorry, we needed to get the major codebase refactor over the line before addressing this one. To save you having to try and figure it all out I have gone ahead and applied the rebase for you. Once this is green we can get this merged! |
Awesome, thanks @JamesHenry for your review and help toward this, great to see it release. 🚀 |
Description
Adding support for SemVer build metadata to Lerna version and publish commands.
--build-metadata
string option added to Lerna version and publish commands.core/conventional-commits
--build-metadata
is not permitted is when--canary
is also used in publish command.Motivation and Context
This resolves issue #2545, which myself and others have expressed an interest in.
How Has This Been Tested?
Unit and integration testing provided in this PR. Tests should cover all new and altered logic. If that's not the case, let me know and I will be happy to fix that.
Types of changes
Checklist: