Registry / devops / monopack-config

monopack-config

JSON →
library0.2.6jsnpmunverified

Version 0.2.6 (alpha). Monopack is a JavaScript bundler specifically for Node.js monorepo applications. It produces a static deterministic deliverable: a single main.js bundle of monorepo sources, a trimmed package.json and yarn.lock containing only used third-party dependencies, and a node_modules directory. It requires Node >= 6.14.4 and Yarn >= 1.3.2. Differentiators: focuses on monorepo workflows and CI/CD deterministic builds, bundles source but not third-party dependencies (copies them), and supports --with-extra-module for dynamic requires. Currently alpha quality, not under active development.

npm install monopack-config
INSTALL
IMPORT
SIG · MONOPACK-CONFIG
M
monopack-config
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
npx monopack build main.js
monopack build main.js without npx if not installed globally
CLI tool intended to be used globally or via npx; also usable as dependency with yarn monopack build main.js.

Shows global installation, build, run, and debug commands with common options.

npm install -g monopack # or locally: npm install --save-dev monopack # Build an application monopack build src/main.js --out-dir ./dist # Run the built application monopack run src/main.js # Debug with Node inspector (Node >= v8) monopack debug src/main.js --debug-host-port 0.0.0.0:9229
monopack --version
Debug
Known issues
deprecatedProject is in alpha and unmaintained since 2019. No npm updates after v0.2.6.
fix
Consider alternatives like esbuild, webpack, or rollup with monorepo plugins.
affects: >=0.0.0
gotchaRequires Yarn to be installed even if project uses npm; without Yarn, dependency collection may not be deterministic.
fix
Install Yarn globally (npm install -g yarn) or the tool may produce non-deterministic output.
affects: >=0.0.0
gotchaThe build command creates a temporary output directory by default unless --out-dir is specified, which can cause confusion.
fix
Always specify --out-dir to have a predictable output location.
affects: >=0.0.0
gotcha--with-extra-module only accepts package name without version; using version string (e.g., mysql@2.16.0) will fail silently.
fix
Use package name only: -m mysql, not -m mysql@2.16.0.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'fs-extra'
fs-extra is a peer dependency not installed automatically.
fix
npm install fs-extra (or yarn add fs-extra) in your project.
Error: command not found: monopack
Monopack not installed globally or locally.
fix
Install globally: npm install -g monopack, or use npx monopack.
Yarn is required for deterministic dependencies collection
Monopack relies on yarn.lock and yarn CLI; without Yarn it issues a warning and may produce non-deterministic node_modules.
fix
Install Yarn: npm install -g yarn.
Upgrade
Version history
0.2.6latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
monopack-config — npm install monopack-config · libregistry