Creates a new StubsManager instance
The application instance
Directory path where stubs should be published
Creates an instance of stub by its name. The lookup is performed inside the publishTarget and the optional source or pkg destination.
Name of the stub file to build
Optionaloptions: { source?: string; pkg?: string }Optional configuration for stub source
Promise that resolves to a Stub instance
Copy one or more stub files from a custom location to publish target.
Path to the stub file or directory to copy
Copy options including source/package and overwrite settings
Promise that resolves to an array of copied file paths
Stub Manager is used to read and copy stubs from different sources. Also allows creating resources from pre-existing stubs