mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-20 00:09:51 +03:00
lerna: add page (#7742)
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
This commit is contained in:
parent
ec75a9a749
commit
b58b87ff74
24
pages/common/lerna.md
Normal file
24
pages/common/lerna.md
Normal file
@ -0,0 +1,24 @@
|
||||
# lerna
|
||||
|
||||
> A tool for managing JavaScript projects with multiple packages.
|
||||
> More information: <https://lerna.js.org>.
|
||||
|
||||
- Initialize project files (`lerna.json`, `package.json`, `.git`, etc.):
|
||||
|
||||
`lerna init`
|
||||
|
||||
- Install all external dependencies of each package and symlink together local dependencies:
|
||||
|
||||
`lerna bootstrap`
|
||||
|
||||
- Run a specific script for every package that contains it in its `package.json`:
|
||||
|
||||
`lerna run {{script}}`
|
||||
|
||||
- Execute an arbitrary shell command in every package:
|
||||
|
||||
`lerna exec -- {{ls}}`
|
||||
|
||||
- Publish all packages that have changed since the last release:
|
||||
|
||||
`lerna publish`
|
Loading…
Reference in New Issue
Block a user