ca_schematics v1.4.11
What is this package about
This package includes some schematics to generate some boilerplate regarding clean architecture structure in Angular. Be aware that these schematics follow a defined pattern on naming and structure conventions.
You can create a new feature which creates everything you need to get started.
You also can create a new use case inside a feature which creates all the boiler plate for you.
The schematics support dynamic user inputs so you can configure your features and use cases while creating them. To include these schematics to your Angular CLI you need to edit your angular.json file.
After the installation of the schematics just ensure the following section is inserted into the angular.json file:
´´´"cli": { "schematicCollections": "ca_schematics" }´´´
Getting Started With CA Schematics
after installation npm i ca_schematics
you can use one of the following features.
create a new feature
to create a new feature just type schematics ca_schematics:feature
.
After entering the features name the schematic will handle the rest for you.
If you checked the usage of ngxs a new feature state will be created.
create a new use case
create a new use case inside a selected feature. If you checked the ngxs to true the schematic will also update your state, create an action and inject the new use case.
to create a new use case just type schematics ca_schematics:new_use_case
.
An interactive guide will ask you the necessary parts.
create a entity
A new entity will be created and can be used when setting up the use case creation.
Run schematics ca_schematics:entity
to trigger the schematic.
VS Code Extension
there is also a VS Code extension which makes things a lot easier. You can just call the features by a context menu and you will be guided by vscode UI. Try out and search for ca-schematics in the market place.
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago