Skip to main content

Lerna driver

Provides Lerna support by dynamically generating a lerna.json config file.


  • Lerna ^3.0.0 || ^4.0.0


In your configuration module, install the driver and Lerna.

yarn add @beemo/driver-lerna lerna

Create a file at configs/lerna.ts (or js) in which to house your Lerna configuration.

import { LernaConfig } from '@beemo/driver-lerna';
const config: LernaConfig = {
version: 'independent',
npmClient: 'yarn',
useWorkspaces: true,
// ...
export default config;


In your consuming project, enable the driver by adding lerna to your drivers config.

import { BeemoConfig } from '@beemo/core';
const config: BeemoConfig = {
module: '<config-module>',
drivers: ['lerna'],
export default config;