Skip to content

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

Open
@Skaiir

Description

@Skaiir

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions