Manages patched packages (patch-package style).
Tracks patches applied to node_modules packages and verifies they are still applied after install.
Summary
Functions
Returns the count of patches.
Extracts the package name from a patch filename.
Generates a patch filename for a package.
Lists all patch files in the patches directory.
Checks if a package has patches.
Returns all patched package names.
Functions
@spec count(String.t()) :: non_neg_integer()
Returns the count of patches.
Extracts the package name from a patch filename.
Supports formats like lodash+4.17.21.patch and @scope+pkg+1.0.0.patch.
Generates a patch filename for a package.
Lists all patch files in the patches directory.
Checks if a package has patches.
Returns all patched package names.