Managing JavaScript projects in a MonoRepo - using Lerna

A presentation at Kul Kode in in Drammen, Norway by Ronny Siikaluoma

A walkthrough of the main differences between a multirepo vs monorepo approach when managing large JavaScript codebases. You’ll also learn how to use a tool called Lerna to help you manage your MonoRepo.

Resources

The following resources were mentioned during the presentation or are useful additional information.

  • Demo repo

  • Lerna

    A tool for managing JavaScript projects with multiple packages.

  • Semantic Versioning

  • Conventional Commits

    A specification for adding human and machine readable meaning to commit messages.

  • Commitizen CLI

    When you commit with Commitizen, you’ll be prompted to fill out any required commit fields at commit time. No more waiting until later for a git commit hook to run and reject your commit

  • Commitizen Conventional Changelog

    Part of the commitizen family. Prompts for conventional changelog standard.

  • Husky

    Husky improves your commits and more 🐶woof!

  • Commitlint

    Helps your team adhering to a commit convention. By supporting npm-installed configurations it makes sharing of commit conventions easy

  • Release Management in Angular with Lerna

    Automate component library releases through commit conventions