X Tutup
The Wayback Machine - https://web.archive.org/web/20201215113653/https://github.com/angular-extensions/schematics
Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

⚠️ IMPORTANT

THIS REPO / PACKAGE HAS BEEN DEPRECATED

Please use new @angular-extensions/modelpackage / repo which is a combination of both the model library and related schematics which renders this package uselsess.

Angular Extensions Schematics

by @tomastrajan

license Build Status Twitter Follow

Getting started

  1. enter your project which was generated with Angular CLI v6+.
  2. install dependencies with npm i -D @angular-extensions/schematics and npm i -S ngx-model
  3. generate model services with ng g @angular-extensions/schematics:model --name path/my-model
  4. or with ng g @angular-extensions/schematics:model --name path/my-model --items form model of collection of items
  5. add your own model service methods and tests

Generating model using schematics

Supported schematics

  • model
  • something else (please file an issue with the description of desired behaviour)

Development of additional schematics

If you would like to create a PR with additional useful schematics these commands may be useful...

Testing

Use npm link in the project directory and npm link @angular-extensions/schematics in target project which was generated by Angular CLI.

Then you can execute available schematics with ng g <@angular-extensions/schematics:<selected-schematics> --name <path/name> to try it out.

Unit Testing

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

About

Angular Extension Schematics - collection of useful schematics for Angular applications generated using Angular CLI, less typing, more fun!

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.
X Tutup