Monopack is a JavaScript bundler for Node.js monorepo applications that produces a single deterministic deliverable bundle including main.js, package.json, yarn.lock, and node_modules. Version 0.2.6 (last release) is in alpha stage with no recent updates. It distinguishes itself from generic bundlers by focusing on monorepo workflows and generating a deployable artifact with only used third-party dependencies. Requires Node.js >= 6.14.4 and Yarn >= 1.3.2.
npm install monopack-dependency-collectorVerified import paths — ran on the pinned version, not inferred.
Installs Monopack globally, creates a simple app, builds a deterministic bundle with extra modules.
Install Yarn via 'npm install -g yarn' before using Monopack.
Migrate to a modern monorepo tool like Nx (nx.dev) or Turborepo (turbo.build).
Upgrade Node.js to a supported version (>= 6.14.4).
Run 'npm install -g yarn' before using Monopack.
Initialize a monorepo with Lerna (lerna init) or Yarn workspaces (add "workspaces" to package.json).
Ensure the current directory contains a valid package.json.
No dependency data recorded yet.