Skip to content

interactive-solutions/interactive-solutions-mono

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@interactive-solutions

lerna

Packages

Usage

Recommended node version is defined in .nvmrc.

Publish - yarn lerna:publish
Publish packages in the current project.

Build packages - yarn lerna:run:build
Build all packages.

Prettier report - yarn prettier:report
Report any Prettier issues.

Prettier fix - yarn prettier:fix
Fix any Prettier issues.

ESLint report - yarn eslint:report
Report any ESLint issues.

ESLint fix - yarn eslint:fix
Fix any ESLint issues.

Publish workflow

  1. $ yarn lerna:run:build.
  2. Add and commit your changes. Don't manually adjust version numbers.
  3. $ yarn lerna:publish. You will be prompt with some questions, answer them.
  4. Congratulations, you're done.

Lerna

Using Lerna to manage scoped packages. Lerna is a tool for managing JavaScript projects with multiple packages.