A set of extensions for the Angular CLI
MIT License
A set of extensions for the Angular CLI.
npm i @thisissoon/schematics --save-dev
yarn add @thisissoon/schematics --dev
A schematic to set up CI and testing patterns
ng g @thisissoon/schematics:testing --ci travis
string
): name of CI service to use. One of travis
| circle
| gitlab
(default: travis
)A schematic to set up angular universal with express.js
ng g @thisissoon/schematics:universal-express
A schematic that generates a DOCKERFILE
to build a docker image
ng g @thisissoon/schematics:docker
boolean
): Set to true if using a server side rendered app (default: false
)string
): Example: thisissoon.com
Required if universal
option is set to false
.A schematic to generate a MIT license file
ng g @thisissoon/schematics:license --name SOON_
string
): Name of license holder e.g. SOON_
A schematic to setup conventional commits and changelog generation
ng g @thisissoon/schematics:commits
A schematic to set up and police code formatting rules
ng g @thisissoon/schematics:linting
To test locally, install @angular-devkit/schematics
globally and use the schematics
command line tool. That tool acts the same as the generate
command of the Angular CLI, but also has a debug mode.
Check the documentation with
schematics --help
npm run test
will run the unit tests, using Jasmine as a runner and test framework.
To publish, simply do:
npm run build
npm publish
That's it!