Skip to content

Micro Frontends

LeoTM edited this page Jul 20, 2023 · 28 revisions

NPM (Jan10)

the package manager for JavaScript

later: https://docs.npmjs.com/cli/v7/using-npm/workspaces

Lerna (Jan16)

...managing JS projects with multiple packages

https://github.com/lerna/lerna

pnpm (Aug16)

Fast, disk space efficient package manager

Yarn workspaces (Mar19)

doesn't compete with Lerna. Lerna will use Yarn's workspaces if pos. Lerna's like a high-level layer on top of the low-level Yarn implementation

Old docs:

the low-level primitives that tools like Lerna can (and do!) use. They will never try to support the high-level feature that Lerna offers, but by implementing the core logic of the resolution and linking steps inside Yarn itself we hope to enable new usages and improve performance

Webpack - Module Federation (Mar20)

Motivation

Lage (May20)

Task runner in JS monorepos

https://github.com/microsoft/lage

Nx (Nov20)

Smart, Fast and Extensible Build System

https://github.com/nrwl/nx/tree/master/packages/react-native

Re.Pack (Mar21)

A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem

https://github.com/callstack/repack

Turborepo (Apr21)

monorepos that make ship happen... high-perf JS/TS build system... reimagines Facebook/Google build system techniques to remove maintenance burden / overhead... abstract complex config (plumbing)...

https://github.com/callstack/repack

Re.Pack + Module Federation (Jul22)

https://github.com/callstack/repack-examples/tree/main/module-federation

https://github.com/zamotany/module-federation-repack (Sep21)