Retrieves user's email from Git in the global scope or the project scope (it'll take what Git will use in the current context)
configured git email or undefined
Retrieves user's name from Git in the global scope or the project scope (it'll take what Git will use in the current context)
configured git name or undefined
Retrieves GitHub's username from the GitHub API
Resolved with the GitHub username or rejected if unable to get the information
Common message for required files
Common message for special characters
Shared options for all the generators
Add properties to the config. The properties will be saved in the .yo-rc file
Get all the shared options
Get a shared option
Set a shared option
Validate a field is not null or empty
Validate special characters
Receives a list of components and an options object to install through bower.
The installation will automatically run during the run loop install phase.
Components to install
Options to pass to dargs as arguments
Options to pass child_process.spawn.
Resolved if install successful, rejected otherwise
Runs npm and bower, in sequence, in the generated directory and prints a
message to let the user know.
Resolved if install successful, rejected otherwise
Receives a list of packages and an options object to install through npm.
The installation will automatically run during the run loop install phase.
Packages to install
Options to pass to dargs as arguments
Options to pass child_process.spawn.
Resolved if install successful, rejected otherwise
Combine package manager cmd line arguments and run the install command.
During the install step, every command will be scheduled to run once, on the
run loop. This means you can use Promise.then to log information, but don't
return it or mix it with this.async as it'll dead lock the process.
Which package manager to use
Packages to install. Use an empty string for npm install
Options to pass to dargs as arguments
Options to pass child_process.spawn. ref
https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
Resolved if install successful, rejected otherwise
Receives a list of packages and an options object to install through npm.
The installation will automatically run during the run loop install phase.
Packages to install
Options to pass to dargs as arguments
Options to pass child_process.spawn.
Resolved if install successful, rejected otherwise
Generated using TypeDoc
Base class for the generators