Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 468 Bytes

readme.md

File metadata and controls

26 lines (18 loc) · 468 Bytes

start a new monorepo lerna init

create package lerna create [name_of_package]

to build all the packages lerna run tsc

to add dependency to all the packages lerna add [module_name]

to add dependency to single package lerna add [module_name] --scope=[package_name]

to set dependency of one package to other lerna add [package_name] –-scope=[package_name]

to install dependencies lerna bootstrap

for creating releases lerna publish

to run npm scripts lerna run