
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@alcalzone/monopack
Advanced tools
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.
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.
1.4.0 (2025-06-26)
Parallelize packing and modifying workspaces
FAQs
Like `npm pack` or `yarn pack`, but for entire monorepos.
We found that @alcalzone/monopack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.