Moving from multiple repositories to a #lerna-js mono-repo
▻https://hackernoon.com/moving-from-multiple-repositories-to-a-lerna-js-mono-repo-d0fff3538c7e?s
At mitter.io, we have a couple of public-facing npm packages that we need to publish, and we recently moved to a mono-repo structure managed by Lerna from having separate repositories for each one of them. Today, I’d like to share our experience of this migration and our setup with the new monorepo structure. All of our packages are either SDK targets or are dependencies for our SDK targets:@mitter-io/core - The core functionality of the mitter.io SDKs@mitter-io/models - The typescript models (classes, type aliases, interfaces etc.) for the SDKs@mitter-io/web - The web SDK@mitter-io/react-native - The React Native SDK@mitter-io/node - The node.js SDK (used for node.js backends)@mitter-io/react-scl - The standard component library for ReactJS applicationsAll of our packages are written in (...)
#lerna-js-mono-repo #javascript #multiple-repositories #moving-repositories