Skip to content
Advertisement

Tag: lerna

How to upgrade node module of the lerna’s subpackage

I started using lerna to be able to install all node modules for all sub packages using a single command. At the moment I do not use any other lerna features except lerna bootstrap. My lerna.json: my root package.json: my package-a’s package.json: my package-b’s package.json: i want to upgrade moment in the package-b. if i run yarn upgrade moment –latest

Webpack resolve alias and compile file under that alias

I have project which uses lerna ( monorepo, multiple packages ). Few of the packages are standalone apps. What I want to achieve is having aliases on few of the packages to have something like dependency injection. So for example I have alias @package1/backendProvider/useCheckout and in webpack in my standalone app I resolve it as ../../API/REST/useCheckout . So when I

Advertisement