ACPaaS UI Schematics
Custom schematics for the ACPaaS UI project.
Table of Contents
Installation
Install the schematics in your angular-cli app:
npm install @acpaas-ui/schematics --save-dev
or
yarn add @acpaas-ui/schematics --save-dev
Usage
The custom package
and example
schematics will be available for use with the cli:
ng g @acpaas-ui/schematics:package --name=<name here>
ng g @acpaas-ui/schematics:example --name=<name here>
Development
- Install all dependencies
npm install
or
yarn
- Build with
npm run build
To enable watching for changes run
npm run build -- --watch
- To install the schematic in your app, link this repo with
npm link
and run
ng generate @acpaas-ui/schematics:<schematic> --name=<name>
in your app.
- To test locally, install
@angular-devkit/schematics
globally and use theschematics
command line tool. That tool acts the same as thegenerate
command of the Angular CLI, but also has a debug mode.
Check the documentation with
schematics --help
- Unit Testing
npm run test
will run the unit tests, using Jasmine as a runner and test framework.
Documentation
See the angular schematics and this blogpost for more info.
Contribution
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who already contributed to ACPaaS UI!
License
Copyright (c) 2016-present, Digipolis