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

Modernize our usage of Lerna (our monorepo solution) #1126

Open
Skaiir opened this issue Apr 7, 2024 · 3 comments
Open

Modernize our usage of Lerna (our monorepo solution) #1126

Skaiir opened this issue Apr 7, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request in progress Currently worked on technical debt

Comments

@Skaiir
Copy link
Contributor

Skaiir commented Apr 7, 2024

What should we do?

There have been tons of changes to lerna following it being picked up, and while we've considered migrating away from it in the past, it seems that following it's change of maintainer, the library is thriving again. So we should at the very least update to introduce some features which would bring us some value.

Two features that would bring us some good value would be:

  • caching of builds / test results when nothing about a subrepo changes
  • using the lerna provided proper build pipeline configuration, instead of handling all the logic in package.json scripts

Additionally we should fix the fact that every library gets built unnecessarily whenever we run any project.

Why should we do it?

This all would allow us to overall build less, and build more parallelized, which may be a significant improvements in terms of developer experience and build times across the board.

@Skaiir Skaiir added enhancement New feature or request technical debt labels Apr 7, 2024
@Skaiir Skaiir self-assigned this Apr 7, 2024
@Skaiir Skaiir added the in progress Currently worked on label Apr 7, 2024
@nikku
Copy link
Member

nikku commented Apr 8, 2024

👍 Core modeling uses latest version of Lerna + npm workspaces and it works fine for us.

@Skaiir
Copy link
Contributor Author

Skaiir commented Apr 8, 2024

@nikku Do you also use the lerna pipelines, caching and all those good features that have been added recently? It's been super useful to reduce the amount of redundant rebuilds and retests.

@nikku
Copy link
Member

nikku commented Apr 8, 2024

We don't, and we don't see the need (yet), too. But happy to hear your feedback what works and what does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Currently worked on technical debt
Development

No branches or pull requests

2 participants