@sentinel-one/mgmt-schematics

    2.0.10 • Public • Published

    Management Schematics

    This repo will help us generate boilerplate code in our console.

    Generating Code

    Generate ui-table feature module

    ng g @sentinel-one/mgmt-schematics:mgmt-ui-table YOUR-FEATURE-NAME

    Generate ui-table feature module with API settings

    ng g @sentinel-one/mgmt-schematics:mgmt-ui-table YOUR-FEATURE-NAME --useApi

    Generate ui-table feature module with a main service

    ng g @sentinel-one/mgmt-schematics:mgmt-ui-table YOUR-FEATURE-NAME --mainService

    Generate ui-table feature module with row expand component

    ng g @sentinel-one/mgmt-schematics:mgmt-ui-table YOUR-FEATURE-NAME --rowExpandComponent

    Generate ui-table feature module with Actions drop-down on the upper left

    ng g @sentinel-one/mgmt-schematics:mgmt-ui-table YOUR-FEATURE-NAME --upperLeftActions

    Developing

    Testing

    To test locally, install @angular-devkit/schematics-cli globally and use the schematics command line tool. That tool acts the same as the generate command of the Angular CLI, but also has a debug mode.

    Check the documentation with

    schematics --help

    Unit Testing

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

    Publishing

    To publish, simply do:

    npm run build
    npm version minor
    npm publish  --access public

    That's it!

    Keywords

    Install

    npm i @sentinel-one/mgmt-schematics

    DownloadsWeekly Downloads

    1

    Version

    2.0.10

    License

    MIT

    Unpacked Size

    62.2 kB

    Total Files

    54

    Last publish

    Collaborators

    • janhora
    • npm_service_s1
    • sivanisentinel
    • sentinelone
    • assafa
    • ofir.fridman
    • ozgonen
    • lironhazan
    • irenav
    • yoni12ab
    • koralbenami
    • liorl3009
    • gal.falah
    • amir_barak
    • matans
    • jp-s1
    • vovadev
    • yamarbel
    • shlomim-s1
    • yoavsc
    • frontend-npm-group
    • maayanb