# Lerna
# Setup
yarn global add lerna
lerna init
lerna.json
{
"lerna": "2.11.0",
"packages": ["packages/*"],
"version": "0.0.0",
"npmClient": "yarn",
"useWorkspaces": true
}
package.json
{
"private": true,
"workspaces": ["packages/*"]
}
yarn
lerna bootstrap
# command
# run command for each packages
lerna exec yarn test # with console
lerna run test # with NO console
# γγγγ«ιη΄γγ¦γει‘γͺγγγγͺγγγ±γΌγΈγ‘γ’
babel-core
babel-jest
babel-preset-env
eslint
ι’δΏjest
regenerator-runtime
(babel-jest γδ½Ώη¨)