Socket
Book a DemoInstallSign in
Socket

@alcalzone/monopack

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alcalzone/monopack

Like `npm pack` or `yarn pack`, but for entire monorepos.

1.4.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

monopack

Like npm pack or yarn pack, but for entire monorepos. This works by editing the package.json files in the resulting tarballs so that they reference each other.

Usage

Run this inside the root of your monorepo:

npx @alcalzone/monopack [--target <target-dir>] [--no-version] [--absolute]

To specify a target directory, use the --target flag. By default, the tarballs will be created in the .monopack directory.

By default, the package version will be included in the tarball name. To disable this, use the --no-version flag.

To reference the dependency tarballs using absolute paths (file:/path/to/dependency.tgz) instead of relative paths (file:../dependency.tgz), use the --absolute flag. This may be necessary for some yarn versions that don't resolve the referenced tarballs correctly. Note that the tarballs CANNOT be moved when doing this.

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.