Skip to content

aube patch

  • Usage: aube patch [--edit-dir <DIR>] [--ignore-existing] <PACKAGE>

Extract a package into an edit directory so it can be patched

Arguments

<PACKAGE>

Package spec, <name>@<version>. The package must already be installed in node_modules (we copy from the linked virtual store, not from the registry, so the layout matches what install would later patch)

Flags

--edit-dir <DIR>

Directory to extract the writable copy into. When omitted, aube picks a fresh temp dir under the system tmpdir

--ignore-existing

Ignore any existing patch entry for this package — extract a pristine copy from node_modules rather than re-applying the existing patch first. Accepted for pnpm parity; aube already extracts from the linked (post-patch) tree, so this flag is effectively informational here

Released under the MIT License.