se-schematic
v0.0.3
Published
A blank schematics
Downloads
475
Readme
start install dep npm install -g @angular-devkit/schematics-cli
create sechmetic schematics blank http-resource
npm run build npm pack
run feature schematics .:feature --dry-run=false run service schematics .:service --dry-run=false ng g se-schematic:ses levelType --skiploop --skiptest --skipsearch
tip dasherize => html classify => ts,js
· classify — change the text to the class convention (my-comp calculate to MyComp)
· dasherize — change the text to “-“ convention (MyComp calculate to my-comp)
· camelize — change the text to ‘camelCase’ convention (my-comp calculate to myComp)
· underscore — change the text to ‘_’convention (my-comp calculate to my_comp)
deploy npm version patch npm pack npm publish
npm run build -- -w //TODO make schemtic easy to call https://github.com/angular/angular-cli/tree/main/packages/schematics/angular/component https://github.com/sonusathyadas/angular-schematics