Replies: 5 comments 22 replies
-
I'm not against having a monorepo for JS (I hadn't thought of doing it for other languages). I did consider using a monorepo when I did the last honeybadger.js rewrite and moved from the old
There are probably tradeoffs; I prefer to keep things simple unless there is an obvious benefit from the added complexity. Feel free to explore! |
Beta Was this translation helpful? Give feedback.
-
My thoughts:
|
Beta Was this translation helpful? Give feedback.
-
Here's a Lerna alternative that I had recommend to me recently. I'm not sure if it's better for a project like ours, but some of the testimonials mention Lerna. cc @subzero10 |
Beta Was this translation helpful? Give feedback.
-
Hello! Here's how I think we can move all js libraries into a monorepo. The plan I suggest below allows us to execute it incrementally while not having to spend all efforts on this project. Milestone 1 - Setup the monorepo and do minimal changes necessary to have two packages
Milestone 2 -
Milestone 3 - Use Lerna versioning
Milestone 4 and forward - Migrate vue, react, webpack, etc. into the monorepo
Note: We can also integrate both turborepo and lerna. The case for this is to use the benefits of both of these tools: speed of turborepo & versioning of lerna. However, our codebase is not large enough to be slow with Lerna. In any case, it's good to know that we have the option. |
Beta Was this translation helpful? Give feedback.
-
Another thing I think I'd like to see @subzero10 if we go the Monorepo way is less transpiled code, especially for the server build. We're transpiling all the way down to ES2015, which makes the code more different from what we've written, and harder to follow and debug. On the server side, that level of transpiling isn't necessary. |
Beta Was this translation helpful? Give feedback.
-
I would like to know your thoughts on moving to a monorepo solution.
We could have a monorepo per language, starting with the Javascript packages.
I think it will be an improvement for contributors to the packages, but it may be confusing for our users (for those unfamiliar on what is a monorepo). Another major side-effect is that all issues will be under one repository.
If you have no major reason against it, we could explore pros and cons.
Beta Was this translation helpful? Give feedback.
All reactions