- install lerna globally
yarn global add lerna
lerna bootstrap
# breaks as babel helpers are undefined
lerna run test
to "fix" it (not really suitable):
lerna bootstrap
rm packages/app/node_modules/es6-package
cp -r packages/es6-package packages/app/node_modules/es6-package
# now that the package is no longer linked it finds all the correct stuff
lerna run test
Following concepts don't work either:
- move all libs into a shared node_modules folder in the root of the repository