Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@angular-devkit/schematics-cli
Advanced tools
@angular-devkit/schematics-cli is a command-line interface tool that allows developers to create and manage schematics in Angular projects. Schematics are templates for code generation and modification, which can be used to automate repetitive tasks, enforce coding standards, and streamline project setup.
Generate a new schematic
This command generates a new blank schematic with the specified name. Schematics can be used to automate code generation and modifications in Angular projects.
schematics blank --name=my-schematic
Run a schematic
This command runs a schematic from the current directory. The schematic will perform the code generation or modification tasks defined in its implementation.
schematics .:my-schematic
Debug a schematic
This command runs a schematic in debug mode, allowing developers to see detailed logs and diagnose issues with their schematics.
schematics .:my-schematic --debug=false
Yeoman Generator is a scaffolding tool that allows developers to create custom generators for project setup and code generation. It is more general-purpose compared to @angular-devkit/schematics-cli, which is specifically designed for Angular projects.
Plop is a micro-generator framework that allows developers to create custom generators for code scaffolding. It is lightweight and flexible, making it suitable for a wide range of projects, not just Angular.
Hygen is a fast and lightweight code generator that allows developers to create and run custom templates. It focuses on simplicity and speed, making it a good alternative for those who need quick and easy code generation without the complexity of Angular-specific tools.
This package contains the executable for running a Schematic.
$ schematics [CollectionName:]SchematicName [options, ...]
By default, if the collection name is not specified, use the internal collection provided
by the Schematics CLI.
Options:
--debug Debug mode. This is true by default if the collection is a relative
path (in that case, turn off with --debug=false).
--allow-private Allow private schematics to be run from the command line. Default to
false.
--dry-run Do not output anything, but instead just show what actions would be
performed. Default to true if debug is also true.
--force Force overwriting files that would otherwise be an error.
--list-schematics List all schematics from the collection, by name. A collection name
should be suffixed by a colon. Example: '@angular-devkit/schematics-cli:'.
--no-interactive Disables interactive input prompts.
--verbose Show more information.
--help Show this message.
Any additional option is passed to the Schematics depending on its schema.
$ schematics blank <name>
$ schematics schematic --name <name>
19.0.5 (2024-12-12)
| Commit | Type | Description | | --------------------------------------------------------------------------------------------------- | ---- | -------------------------------------- | | 6c319e44c | fix | fix webpack config transform for karma |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------- |
| 251bd9f22 | fix | Fixing auto-csp edge cases where |
| 1047b8635 | fix | handle external @angular/
packages during SSR (#29094) |
| 376ee9966 | fix | provide component HMR update modules to dev-server SSR |
| 5ea9ce376 | fix | use consistent path separators for template HMR identifiers |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------- |
| b3c6c7eb2 | fix | include Content-Language
header when locale is set |
| 4203efb90 | fix | disable component bootstrapping during route extraction |
<a name="19.0.4"></a>
FAQs
Angular Schematics - CLI
We found that @angular-devkit/schematics-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.