Skip to content

Scaffolding of lab's basic apps with Angular Schematics

Notifications You must be signed in to change notification settings

KinkyDesign/upci-app-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upci-App-Starter

Implemented with Angular Schematics

Build and Run

Make sure schematics are installed to your workspace:

> npm install -g @angular-devkit/schematics-cli
> npm i @schematics/angular	

Into schematic's project path:

> npm run build
> schematics .:upci-app-starter <new-project-name> --debug=false --force 
e.g. schematics .:upci-app-starter nanopot --debug=false --force 

If you’d rather not create a new project from inside your current project, you can also run your schematic from a different directory, but the syntax is slightly different:

> schematics ./path/to/collection.json:upci-app-starter nanopot --debug=false --force 

Navigate to the newly generated project:

> npm run update:packages
> ng serve

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.

About

Scaffolding of lab's basic apps with Angular Schematics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published