Skip to content

znikola/schematics-testing

Repository files navigation

SchematicsTesting

This project was generated with Angular CLI version 13.3.3.

This is a showcase repository on how to test or debug schematics.

It was created to follow this blog post: TODO:link

Build

Run yarn build:schematics to build the projects/schematics. The build artifacts will be stored in the dist/ directory.

Publishing

To locally publish the projects/schematics to verdaccio, run ./node_modules/ts-node/dist/bin.js ./scripts/publish.js. The script will build and publish projects/schematics to verdaccio.

Consuming published schematics

To consume the published schematics, run ng add @test/schematics@latest --skip-confirmation. After running it, you should see a log message in your terminal, and a new file created in your repo.

Running unit tests

Run yarn test to execute the unit tests via Jest.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published