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...
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 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...
I am trying to use lerna (https://github.com/lerna/lerna) to manage my projects.  But one issue I am trying to find out is how to setup my test pipeline.  If I only touch two projects, I would like only test cases from that two project will be execut...
We have a Node.js open-source repository and uses Travis for Unit tests, code-coverage (using CodeCov) etc. We just adopted a monorepo approach for our application with Lernajs and tried to modify the travis.yml file as:  language: node_js node_js:...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.