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.
akita-schematics
Advanced tools
Scaffolding library for Angular applications using Akita.
akita-schematics provides CLI commands for generating files when building new features with Akita. Built on top of Schematics
, this tool integrates with the Angular CLI
.
Install akita-schematics from npm:
npm install akita-schematics --save-dev
yarn add akita-schematics --dev
To use akita-schematics
as the default collection in your Angular CLI project,
add it to your angular.json
:
ng config cli.defaultCollection akita-schematics
The collection schema also has aliases to the most common schematics used to generate files.
The akita-schematics
extend the default @schematics/angular
collection. If you want to set defaults for schematics such as generating components with scss file, you must change the schematics package name from @schematics/angular
to akita-schematics
in angular.json
:
"schematics": {
"akita-schematics:component": {
"styleext": "scss"
}
}
ng g akita-schematics:feature todos/todos
The defauls feature will output an entity feature, but you can also generate the normal:
ng g akita-schematics:feature todos/todos --plain
Note that the
akita-schematics:
prefix is only needed when the default collection isn't set toakita-schematics
ng g akita-schematics:as todos
ng g akita-schematics:aes todos // entity store
ng g akita-schematics:query todos
ng g akita-schematics:entity-query todos
Alias:
ng g akita-schematics:aq todos
ng g akita-schematics:aeq todos // entity query
ng g akita-schematics:model todo
Alias:
ng g akita-schematics:am todo
ng g akita-schematics:service todos
Alias:
ng g akita-schematics:asr todos
Add the --spec
option. For example:
ng g af products/products --spec
Add the --withModule
to generate module and akita component. (only for entity store)
FAQs
Akita Schematics for Angular
The npm package akita-schematics receives a total of 1,930 weekly downloads. As such, akita-schematics popularity was classified as popular.
We found that akita-schematics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.