Event
|
- |
2 |
created successfully
|
- |
|
allows to set context
|
- |
|
Npm
|
- |
4 |
gets created successfully
|
- |
|
findPackage
|
- |
2 |
finds a package.json successfully
|
- |
|
returns null if package not found
|
- |
|
executeShell
|
- |
1 |
executes ls command successfully
|
- |
|
getModules
|
- |
generateConfig
|
- |
PluginManager
|
- |
15 |
gets created successfully
|
- |
|
has logger
|
- |
|
init
|
- |
4 |
with local event handlers
|
- |
|
removes handler on exit
|
- |
|
local event handler overrides external
|
- |
|
local event handler adds to external
|
- |
|
hasHandlers
|
- |
3 |
returns true if it has at least one handler for an event
|
- |
|
returns false if it does not have any handlers for an event
|
- |
|
throw error if hasHandlers() not passed an event name
|
- |
|
dispatch
|
- |
2 |
throws error if event name is not provided
|
- |
|
dispatch event without context object should work
|
- |
|
addHandler
|
- |
2 |
accepts a new function handler for event
|
- |
|
throws error when too many handlers are added for event
|
- |
|
removeAllHandlers
|
- |
1 |
removes all handlers for an event
|
- |
|
_getCallback
|
- |
1 |
loads plugin functions
|
- |
|
ValidationError
|
- |
2 |
created successfully
|
- |
|
allows setting custom message
|
- |
|
schemaValidator
|
- |
4 |
has Ajv instance as a property
|
- |
|
has all available schemas
|
- |
|
successfully validates correct schema
|
- |
|
successfully validates invalid schema
|
- |
|