1.4.11 • Published 8 months ago

ca_schematics v1.4.11

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

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.

1.4.6

9 months ago

1.4.5

9 months ago

1.4.4

9 months ago

1.4.1

9 months ago

1.4.0

9 months ago

1.4.9

9 months ago

1.4.11

8 months ago

1.4.8

9 months ago

1.4.10

8 months ago

1.4.7

9 months ago

1.3.5

9 months ago

1.3.4

9 months ago

1.3.3

9 months ago

1.3.1

9 months ago

1.3.0

9 months ago

1.2.0

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago