Skip to content

espressotutorials/et-schematics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Espresso Tutorials custom schematics

This repository contains custom schematics for generating Angular components and services for Espresso Tutorials angular projects.

Testing

To test locally, install @angular-devkit/schematics-cli 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

Unit Testing

npm run test will run the unit tests, using Jasmine as a runner and test framework.

Publishing

To publish, simply do:

npm run build
npm run release

Usage

Installation

npm install @espressotutorialsgmbh/et-schematics

Generate a page

ng g @espressotutorialsgmbh/et-schematics:add-page --name={NAME} --path={PATH}

Attributes

name - The name of the page to generate.
path - The path at which to create the page. If not specified, the page will be created at the default path "pages" of the project.

About

Some custom angular schematics for Espresso Tutorials Projects

Resources

Stars

Watchers

Forks

Packages

No packages published