1.0.1 • Published 6 years ago

@ten-group/schematics v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

ten-group schematics

This repository contains schematics for generating boilerplate code needed by ten-group.

Currently it only has a schematic for generating ngrx code (actions, reducer and effects files along with spec files).

Usage:

ng generate ngrx --collection=@ten-group/schematics <name> <module> <options ...>

Required

  • name (string). Name of the state model (without "State" suffix).

  • module (string). Path to an Angular module.

Options

  • useEntityAdapter. Use an entity adapter inside reducer created. (e.g. --useEntityAdapter)
  • root (boolean). Add StoreModule.forRoot and EffectsModule.forRoot instead of forFeature (e.g., --root).
  • onlyEmptyRoot (boolean). Do not generate any files. Only generate StoreModule.forRoot and EffectsModule.forRoot (e.g., --onlyEmptyRoot).
  • onlyAddFiles (boolean). Only add new NgRx files, without changing the module file (e.g., --onlyAddFiles).

Unit Testing

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

1.0.1

6 years ago

1.0.0

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago