@webundsoehne/patch-package
v4.0.8
Published
A wrapper CLI for patching packages for certain applications.
Downloads
6
Readme
@webundsoehne/patch-package
Description
patch-package
is derived from the original to create git
patches and apply them. This package also consists the common patches, where you can apply with the cli
. The main difference is this has been made more monorepo capable comparing to the original as well holding the general patches.
Commands
ws-path-package apply
ws-path-package create
ws-path-package help [COMMAND]
ws-path-package list
ws-path-package ls
ws-path-package patch
ws-path-package apply
Patches or reserves given patches in a directory.
USAGE
$ ws-path-package apply [-d <value>] [-p <value>] [-e] [-r]
FLAGS
-d, --directory=<value> Directory to apply the patches from.
-e, --exitOnError Whether to exit on error if the patching process fails or not.
-p, --path=<value> [default: /builds/uPVEBfmT/0/bdsm/nx-skeleton/packages/patch-package] Directory to apply
patches to.
-r, --reverse Reverses the patches, if they were applied before.
DESCRIPTION
Patches or reserves given patches in a directory.
ALIASES
$ ws-path-package apply
EXAMPLES
Only apply certain patches with: patch-package apply graphql+15.5.0 class-validator+0.4.0
Use extended glob patterns: patch-package patch "graphql*"
ws-path-package create
Creates a new patch from scratch, just point the applications you want as package name.
USAGE
$ ws-path-package create [-d <value>] [-p <value>] [-i <value>] [-e <value>]
FLAGS
-d, --directory=<value> [default: patches] Directory for outputting the patch files.
-e, --exclude=<value>... [default: package.json] Exclude given regex patterns.
-i, --include=<value>... [default: .*] Include given regex patterns.
-p, --path=<value> [default: /builds/uPVEBfmT/0/bdsm/nx-skeleton/packages/patch-package] Directory to take root
as the application.
DESCRIPTION
Creates a new patch from scratch, just point the applications you want as package name.
EXAMPLES
Create a patch for given package: patch-package create graphql
See code: dist/commands/create.js
ws-path-package help [COMMAND]
Display help for ws-path-package.
USAGE
$ ws-path-package help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for ws-path-package.
See code: @oclif/plugin-help
ws-path-package list
Lists all the static entities that are shipped with this module.
USAGE
$ ws-path-package list
DESCRIPTION
Lists all the static entities that are shipped with this module.
ALIASES
$ ws-path-package ls
See code: dist/commands/list.js
ws-path-package ls
Lists all the static entities that are shipped with this module.
USAGE
$ ws-path-package ls
DESCRIPTION
Lists all the static entities that are shipped with this module.
ALIASES
$ ws-path-package ls
ws-path-package patch
Patches or reserves given patches in a directory.
USAGE
$ ws-path-package patch [-d <value>] [-p <value>] [-e] [-r]
FLAGS
-d, --directory=<value> Directory to apply the patches from.
-e, --exitOnError Whether to exit on error if the patching process fails or not.
-p, --path=<value> [default: /builds/uPVEBfmT/0/bdsm/nx-skeleton/packages/patch-package] Directory to apply
patches to.
-r, --reverse Reverses the patches, if they were applied before.
DESCRIPTION
Patches or reserves given patches in a directory.
ALIASES
$ ws-path-package apply
EXAMPLES
Only apply certain patches with: patch-package apply graphql+15.5.0 class-validator+0.4.0
Use extended glob patterns: patch-package patch "graphql*"
See code: dist/commands/patch.js