@acpaas-ui/schematics

A blank schematics

Usage no npm install needed!

<script type="module">
  import acpaasUiSchematics from 'https://cdn.skypack.dev/@acpaas-ui/schematics';
</script>

README

ACPaaS UI Schematics

Custom schematics for the ACPaaS UI project.

Table of Contents

  1. Installation
  2. Usage
  3. Documentation
  4. Contribution
  5. License

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

  1. Install all dependencies
npm install

or

yarn
  1. Build with
npm run build

To enable watching for changes run

npm run build -- --watch
  1. 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.

  1. 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
  1. 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

MIT

Copyright (c) 2016-present, Digipolis