intuit / auto

Generate releases based on semantic version labels on pull requests.
https://intuit.github.io/auto/
MIT License
2.25k stars 203 forks source link

Turborepo support #2206

Open filoxo opened 2 years ago

filoxo commented 2 years ago

Is your feature request related to a problem? Please describe.

I had been playing with Turborepo just for my own learning because it's marketshare continuing to grow (especially after Lerna had been announced as "not actively maintained" though it has since been adopted by Nrwl). It would be great to have Turborepo supported for use with auto for publishing/changelog workflows. Turborepo links back to auto as an option to use for such workflows.

Describe the solution you'd like

Currently, lerna support is implemented within the npm plugin. Adding Turborepo support there would likely not be desirable but rather as a separate plugin. I have not delved into the specifics of what this plugin would need to do, but I imagine it'd be copying the lerna logic and finding the equivalent within Turborepo/workspace.

Alternatively, a documentation page that describes the steps to use auto with Turborepo would be great too. Today, that may consist of taking Turborepo's stance and have both Turborepo and Lerna together, with Lerna just being used to execute auto for publishing/changelog workflows. But for some projects it may be better to not mix the two tools (may lead to confusion), and frees auto of a hard dependency on Lerna.

Additional context

Disclaimer: I am probably not the right person to represent all Turborepo users as I'm new to using it and have not yet made use of all of its features. I'm opening this issue because I've searched the docs, issues, and PRs and have not yet found any reference to Turborepo.

juristr commented 2 years ago

Hey, sorry for jumping in directly. Our latest announcement might be something you're interested in 🙂

https://blog.nrwl.io/lerna-used-to-walk-now-it-can-fly-eab7a0fe7700?source=friends_link&sk=6c827ec7c9adfc1c760ff2e3f3e05cc7