I am using yarn for my project. My project has a dependency which happened to be a subpackage of larger monorepo maintained by lerna. The subpackage was updated but not published yet and I need that unpublished code. Is there any way to install lerna...
When packages in a monorepo have peer dependencies, how should these dependencies be made available to them during development?  For example a package at /packages/namespace/alpha/ might have a devDependency of styled-components in its package.json....
I have a project with multiple modules (using Lerna) and I want to use Jest to run tests. However, when I test code that uses a shared module (npm linked module via Lerna) it seems that Babel is not correctly applied and I get the following error:  S...
I am structuring a monorepo that will contain all the single components of a UI kit built with React.  I am using lerna because I have no experience with monorepo/multi packages configuration, now I have this structure:  index.js packages/   pack1/...
In lerna, one can initialize git at the root level of the lerna project and inside the packages folder, we keep our small individual projects. Now suppose, you want to keep the git histories and commits of those packages isolated from each other. Bec...
I've encountered problem building typescript packages with rollup inside lerna managed monorepo.  Error:  lerna ERR! rollup --config ../../rollup.config.js stderr: loaded ../../rollup.config.js with warnings (!) Unused external imports terser imp...
I have a lerna project which contains two identical packages (named p1 and p2)  Both p1 and p2 include a 3rd party package – for this test I’ve used [email protected], which is about 50KB  If I then create an example react project and include P1, the pa...
I have two modules inside the same directory, managed both by lerna js. One of them is a library that others module includes. Both of them packed by webpack following webpack library authoring.   But, when I launch webpack in the app dir, the process...
I have not dealt a lot with writing modules and am using lerna for the first time, and could use a lift from somebody more familiar with these subjects.   I am converting our existing babel hooked common component directory into a lerna module. The s...
I´m building my first monorepo using Lerna.  My lerna.json:  {   "lerna": "2.9.0",   "npmClient": "yarn",   "useWorkspaces": true,   "packages": [     "packages/*"   ] }   The lerna package.jso...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.