Skip to content

install NgRx dependencies if using --init #33

Open
@jessesanders

Description

@jessesanders

Describe the bug
When using the init flag, the schematic should check for NgRx libraries in the package.json, add missing libraries, and run npm install.

To Reproduce
Steps to reproduce the behavior:

  1. ng new my-project
  2. ng add @briebug/ngrx-entity-schematic customer --path=src/app/state --init
  3. ng build

Expected behavior
schematic should check for NgRx libraries in the package.json, add missing libraries, and run npm install so that no additional steps are needed.

Desktop (please complete the following information):

  • OS: Mac OS
  • Angular CLI Version 7.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions