a monorepo example with react and typescript
# install dependencies
yarn
# build
yarn build
# publish
yarn pub
include
and outDir
cannot be hoisted in the root config, because they are reserved relatively to the config they are in.
see microsoft/TypeScript#29172 (comment)
setup lerna.json
"publishConfig": {
"access": "public"
}