Called when a dependency range is removed from a workspace. Note that
this hook is only called by the CLI commands like yarn remove - manually
removing the dependencies from the manifest and running yarn install
won't trigger it.
Called when a dependency range is replaced inside a workspace. Note that
this hook is only called by the CLI commands like yarn add - manually
updating the dependencies from the manifest and running yarn install
won't trigger it.
Called by yarn info. The extra field is the set of parameters passed
to the -X,--extra flag. Calling registerData will add a new set of
data that will be added to the package information.
For instance, an "audit" plugin could check in extra whether the user
requested audit information (via -X audit), and call registerData
with those information (retrieved dynamically) if they did.
For instance, an "audit" plugin could check in extra whether the user
requested audit information (via -X audit), and call registerData
with those information (retrieved dynamically) if they did.
Generated using TypeDoc
Called when a new dependency is added to a workspace. Note that this hook is only called by the CLI commands like
yarn add- manually adding the dependencies into the manifest and runningyarn installwon't trigger it.