Stay lazy!
Use Lerna
By Barak Drechsler
Is screen recording on?
Barak Drechsler
Front end tech lead at Venn
Enthusiast about the web
since sixth grade
Proud citizen of the Israeli JS
community
@BarakDrechsler
venn
a new way of neighboring
Humans are lazy
But is it a bad thing to be
lazy?
Sometimes
being lazy
is a good
thing!
Laziness: The quality that
makes you go to great effort to
reduce overall energy
expenditure.
Larry Wall
So being a lazy developer is
a good thing...
Story time!
Maintaining and creating
packages is HARD!
Why creating new package is hard?
1. Tracking Changes
2. Package Versioning
3. Publish cycles.
4. New repo and CICD pipeline.
We can solve the problem
once and for all!
Lerna,
A tool for managing
JavaScript projects with
multiple packages
Lerna toolset
1. Keep track of changes
2. Version packages together or separately.
3. Install all packages & link them
4. Execute a command on all packages or on
changed packages only.
Let’s give it a try
What did we solve so far?
1. We need to be able to track changes and
maintain a changelog.
2. We need to manage package versioning
3. We need to maintain publish cycles.
4. We need to create a new repo and connect
it to our CICD pipeline.
Magic time!
Conventional Commits
<type>[optional scope]: <description>
[optional body] [optional footer]
docs: correct spelling of CHANGELOG
feat(log): add color option for logging
fix: fixed bug in the code
BREAKING CHANGE: ….
Conventional Commits
+
Lerna
=
Let’s give it a try
The lazy developer CICD dream
Stay lazy, use lerna

Stay lazy, use lerna