19.2.1 • Published 4 months ago

ngssm-schematics v19.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

ngssm-schematics

This library provides a list of useful schematics to simplify painful tasks.

ng-add

Executed when installing the package with the ng add command, this schematics will excute the following schematics:

At the end, this schematic executes ng lint --fix if @angular-eslint has been installed.

add-eslint

Used to install and configure eslint and prettier.

  • eslint:
    ng add @angular-eslint/schematics
  • eslint-plugin-deprecation

    • install packages

      npm install eslint-plugin-deprecation --save-dev
    • update .eslintrc.json file

      ...
          "plugins": [
              "deprecation"
          ],
      ...
          "rules": {
              "deprecation/deprecation": "error",
      ...
  • prettier:

    • install packages

      npm install prettier --save-dev
      npm install prettier-eslint eslint-config-prettier eslint-plugin-prettier --save-dev
    • add .prettierrc file:

      {
          "singleQuote": true,
          "trailingComma": "none",
          "endOfLine": "auto",
          "tabWidth": 2,
          "bracketSameLine": true,
          "printWidth": 140 
      }
    • update .eslintrc.json file

      ...
          "extends": [
              ...
              "plugin:prettier/recommended"
          ],
      ...

add-fontawesome

Add @fortawesome/fontawesome-free to the project.

  • install package
    npm install @fortawesome/fontawesome-free --save
  • Update styles.scss file
    ...
    @import "@fortawesome/fontawesome-free/css/fontawesome.css";
    @import "@fortawesome/fontawesome-free/css/all.css";
    ...

add-material

Add @angular/material to the project.

Schematics associated to the state management

SchematicDescription
feature-stateAllow creating a state associated to a user feature
componentCreation of a component which derives from NgSsmComponent
actionCreation of an action which implements Action
reducerCreation of a reducer which implements Reducer
effectCreation of an effect which implements Effect
featureCreate a feature folder and all the folders for actions, components, reducers...
19.0.1

6 months ago

19.0.0

7 months ago

19.2.1

4 months ago

19.2.0

4 months ago

19.1.0

5 months ago

19.1.2

5 months ago

19.1.1

5 months ago

18.2.2

9 months ago

18.2.1

9 months ago

18.2.0

11 months ago

18.1.1

11 months ago

18.1.0

12 months ago

18.0.2

1 year ago

18.0.1

1 year ago

18.0.0

1 year ago

17.4.0

1 year ago

17.3.2

1 year ago

17.3.1

1 year ago

17.3.0

1 year ago

17.2.1

1 year ago

17.2.0

1 year ago

17.1.2

1 year ago

17.1.1

1 year ago

17.1.0

1 year ago

17.0.7

2 years ago

17.0.6

2 years ago

16.2.5

2 years ago

17.0.3

2 years ago

17.0.2

2 years ago

17.0.5

2 years ago

17.0.4

2 years ago

17.0.1

2 years ago

17.0.0

2 years ago

16.2.4

2 years ago

16.2.3

2 years ago

16.2.2

2 years ago

16.2.1

2 years ago

16.1.10

2 years ago

16.1.12

2 years ago

16.1.11

2 years ago

16.1.9

2 years ago

16.1.8

2 years ago

16.1.7

2 years ago

16.1.6

2 years ago

16.1.1

2 years ago

16.1.0

2 years ago

16.1.5

2 years ago

16.1.4

2 years ago

16.1.3

2 years ago

16.1.2

2 years ago

16.2.0

2 years ago

16.0.2

2 years ago

16.0.1

2 years ago

16.0.3

2 years ago

15.3.14

2 years ago

15.3.9

2 years ago

15.3.11

2 years ago

15.3.10

2 years ago

15.3.13

2 years ago

15.3.12

2 years ago

16.0.0

2 years ago

15.2.0

2 years ago

15.1.1

2 years ago

15.2.1

2 years ago

15.1.2

2 years ago

15.3.0

2 years ago

15.1.0

2 years ago

15.3.2

2 years ago

15.2.4

2 years ago

15.3.1

2 years ago

15.2.5

2 years ago

15.3.4

2 years ago

15.2.2

2 years ago

15.3.3

2 years ago

15.2.3

2 years ago

15.3.6

2 years ago

15.2.8

2 years ago

15.3.5

2 years ago

15.2.9

2 years ago

15.3.8

2 years ago

15.2.6

2 years ago

15.3.7

2 years ago

15.2.7

2 years ago

15.2.11

2 years ago

15.2.12

2 years ago

15.2.10

2 years ago

15.0.2

3 years ago

15.0.3

3 years ago

15.0.0

3 years ago

15.0.1

3 years ago

15.0.4

2 years ago

14.2.0

3 years ago

14.2.1

3 years ago

14.2.2

3 years ago

14.2.3

3 years ago

14.1.4

3 years ago

14.1.5

3 years ago

14.1.3

3 years ago

14.1.2

3 years ago

14.1.1

3 years ago

14.1.0

3 years ago

14.0.2

3 years ago

14.0.1

3 years ago

14.0.0

3 years ago