Registry / devops / monopack-repo-builder

monopack-repo-builder

JSON →
library0.2.6jsnpmunverified

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-builder
INSTALL
IMPORT
SIG · MONOPACK-REPO-BUIL
M
monopack-repo-builder
devopsjavascriptv0.2.6
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

monopack
import monopack from 'monopack-repo-builder'
Typical usage is CLI-based; library usage via programmatic API is not yet documented.

Builds a monorepo application from main.js, outputting to ./dist with watch mode enabled.

monopack build main.js --out-dir ./dist --watch
monopack --version
Debug
Known issues
gotchaRequires Yarn installed even if project uses npm, for deterministic dependency resolution.
fix
Install Yarn globally, or use --no-packages-installation flag and run npm install manually.
affects: >=0.1.0
breakingAlpha quality: API and behavior may change without notice.
fix
Pin to exact version and test thoroughly before upgrading.
affects: <1.0.0
gotchaDynamically required modules (e.g., SQL drivers) are not automatically detected.
fix
Use --with-extra-module flag to include them explicitly.
affects: >=0.1.0
Errors
Common errors & fixes
Error: Cannot find module 'webpack'
Monopack depends on webpack but may not install its own peer dependencies.
fix
Run npm install or yarn add webpack in your project.
monopack: command not found
Monopack not installed or not in PATH.
fix
Install globally: yarn global add monopack or npm install -g monopack; or use npx monopack.
Upgrade
Version history
0.2.6latest on npm
Audit
Dependencies
webpackrequiredUnderlying bundler used to produce the output
Agent activity
2 hits · last 30 days
node
2
Resources
monopack-repo-builder — npm install monopack-repo-builder · libregistry