NG6-starter icon indicating copy to clipboard operation
NG6-starter copied to clipboard

Added service generator for plop, code and unit test examples

Open thematho opened this issue 7 years ago • 2 comments

Change log:

  • Refactor plop templates folders and config to be more flexible.
  • Added sinon to npm dependencies (spy, mock and stub library).
  • Service Generator:
    • Added Service Template with $http calls and test.
    • Added Services folder and module declaration to group common services.
    • Added Service code example.
    • Added Component using a the Service which uses $http code example.
    • Added Unit Test, mocks and stubs examples for handling service injection and $httpbackend.

Update 1

  • Added Filter generator with Unit Tests
    • Added Filter module and Filter example

Update 2

  • Added Factory Generator
  • Refactor plop configuration

Update 3

  • Added Directive Generator

TODO:

  • ~~Update README.md file~~
  • ~~Filters generator~~
  • ~~Factory generator~~
  • ~~Directive generator~~

thematho avatar Apr 22 '17 01:04 thematho

Why wasn't this merged??

cooervo avatar Jul 01 '17 13:07 cooervo

@cooervo I hope i will find some time before weekend to review and merge this PR.

@thematho looks good so far.

fesor avatar Jul 04 '17 21:07 fesor