Restomax WV8 Ng Core
- Export all enums conversion functions and pipes (auto generated from ssot).
/src/enums-pipes is auto generated by codegen ! do not touch. And are reexported in r8-models-pipes
- Export all shared directives, pipes, ...
always use angular cli to generate library,app,...
read fknop
NG Generate
ng g module src/r8-directives --flat --dry-run
ng g module src/r8-pipes --flat --dry-run
ng g directive src/directives/nav-back -m r8-directives --skipTests --dry-run
ng g directive src/directives/shell-render -m r8-directives --skipTests --dry-run
ng g directive src/directives/shell-no-render -m r8-directives --skipTests --dry-run
ng g directive src/directives/highlight -m r8-directives --skipTests --dry-run
ng g pipe src/pipes/camel-case -m r8-pipes --skipTests --dry-run
ng g pipe src/pipes/pascal-case -m r8-pipes --skipTests --dry-run
ng g pipe src/pipes/article-price -m r8-pipes --skipTests --dry-run
and then
- add to public-api
- verify module imports / exports
Build, Publish to npm.js
npm run codegen
ng build ng-weborder --prod
cd ../../dist/ng-core
npm publish --access=public
or just
npm run make
test npmjs user with npm whoami