Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
/ lerna-tools Public archive

Set of tools to manage a Lerna repository ๐Ÿ‰๐Ÿฒ

License

Notifications You must be signed in to change notification settings

smooth-code/lerna-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

lerna-tools

Set of tools to manage a Lerna repository ๐Ÿ‰

Build Status version MIT License

npm install lerna-tools

Usage

This set of tools gives you command to build (using Babel) and watch all your packages. It is opinionated and not yet configurable:

  • Packages must be located in <rootDir>/packages
  • Source files must be located in <rootDir>/packages/<package>/src
  • Build files must be located in <rootDir>/packages/<package>/lib
  • Babel config must be located in <rootDir>/.babelrc
  • You must run lerna-watch and lerna-build in the root of your project

Watch All packages

$ lerna-watch

-> Watching for changes...

-> change: a.js
  โ€ข a/src/a.js โ‡’ a/lib/a.js

Build all packages

$ lerna-build

Building packages
h2x-core..................................................... DONE
h2x-jsx...................................................... DONE

Inspiration

Inspired from Jest scripts.

License

MIT

About

Set of tools to manage a Lerna repository ๐Ÿ‰๐Ÿฒ

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published