@smartsoft001/schematics

npm i @smartsoft001/schematics

Usage no npm install needed!

<script type="module">
  import smartsoft001Schematics from 'https://cdn.skypack.dev/@smartsoft001/schematics';
</script>

README

@smartsoft001/schematics

Install

npm i @smartsoft001/schematics

To add @smartsoft001/schematics to existing Angular CLI project, use:

ng add @smartsoft001/schematics

Default Schematics Collection

To use @smartsoft001/schematics as the default collection in your Angular CLI project, add it to your angular.json:

ng config cli.defaultCollection @smartsoft001/schematics

Usage

Generate shared library

ng g library [name] [type=default]

Parameters:

name Library name
type Type of library (default: default)
  • angular - angular library
  • default - nodejs library

Generate domain

ng g library [name]

Parameters:

name Domain name