Created
August 19, 2019 15:08
-
-
Save kaminskypavel/4df396d98a592a32c022d06e2e1ef16a to your computer and use it in GitHub Desktop.
lerna add multiple packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// they say that laziness is the mother of all inventions | |
// lerna is currently not supporting multiple packages add (as mentioned here https://github.com/lerna/lerna/issues/1608) | |
// run this script and copy its output | |
'dotenv express cors ...put more of your packages here..' | |
.split(' ') | |
.map(e => `lerna add ${e} --scope=my-package --no-bootstrap`) | |
.join('\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment