{"id":18580,"library":"monopack-repo-builder","title":"Monopack","description":"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.","status":"active","version":"0.2.6","language":"javascript","source_language":"en","source_url":"https://github.com/flegall/monopack","tags":["javascript"],"install":[{"cmd":"npm install monopack-repo-builder","lang":"bash","label":"npm"},{"cmd":"yarn add monopack-repo-builder","lang":"bash","label":"yarn"},{"cmd":"pnpm add monopack-repo-builder","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Underlying bundler used to produce the output","package":"webpack","optional":false}],"imports":[{"note":"Typical usage is CLI-based; library usage via programmatic API is not yet documented.","symbol":"monopack","correct":"import monopack from 'monopack-repo-builder'"}],"quickstart":{"code":"monopack build main.js --out-dir ./dist --watch","lang":"javascript","description":"Builds a monorepo application from main.js, outputting to ./dist with watch mode enabled."},"warnings":[{"fix":"Install Yarn globally, or use --no-packages-installation flag and run npm install manually.","message":"Requires Yarn installed even if project uses npm, for deterministic dependency resolution.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Pin to exact version and test thoroughly before upgrading.","message":"Alpha quality: API and behavior may change without notice.","severity":"breaking","affected_versions":"<1.0.0"},{"fix":"Use --with-extra-module flag to include them explicitly.","message":"Dynamically required modules (e.g., SQL drivers) are not automatically detected.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run npm install or yarn add webpack in your project.","cause":"Monopack depends on webpack but may not install its own peer dependencies.","error":"Error: Cannot find module 'webpack'"},{"fix":"Install globally: yarn global add monopack or npm install -g monopack; or use npx monopack.","cause":"Monopack not installed or not in PATH.","error":"monopack: command not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}