A JavaScript bundler for Node.js monorepo applications. Version 0.2.6 (alpha). It bundles a single main.js entrypoint along with monorepo sources, produces a minimal package.json/yarn.lock with only used third-party dependencies, and installs node_modules. Designed for deterministic builds in CI/CD pipelines. Requires Node >= 6.14.4, Yarn >= 1.3.2 for deterministic dependency collection. Not as mature as alternatives like Nx or Turborepo, but focuses on lightweight, one-file output.
npm install monopack-repo-builderVerified import paths — ran on the pinned version, not inferred.
Builds a monorepo application from main.js, outputting to ./dist with watch mode enabled.
Install Yarn globally, or use --no-packages-installation flag and run npm install manually.
Pin to exact version and test thoroughly before upgrading.
Use --with-extra-module flag to include them explicitly.
Run npm install or yarn add webpack in your project.
Install globally: yarn global add monopack or npm install -g monopack; or use npx monopack.