This repository is a ppwcode schematic implementation that serves as a starting point to create a ppwcode compliant Angular repository.
To generate an Angular project with ppw compliant configurations
- Run
npm install -g @ppwcode/angular-schematics
. - Go to your desired directory by running:
cd ./to/your/desired/directory
- Run
ng new --collection=@ppwcode/angular-schematics
If you want to test the development code follow the following steps:
- Run
npm run build
in this project - Go to your desired directory by running:
cd ./to/your/desired/directory
- Run
ng new --collection=<path_to_this_repo>/dist/collection.json
npm run test
will run the unit tests, using Jasmine as a runner and test framework.
Publishing is performed by the GitHub workflow.
Do this by browsing to https://github.com/peopleware/angular-ppwcode-schematics/releases and click "draft a new release".