@small_god/schematics v1.0.1
@small_god/schematics
@small_god/schematics is a custom Angular schematic that simplifies and standardizes the generation of Angular components with ChangeDetectionStrategy.OnPush
by default.
It is also expected to provide optional support for Angular signals, making it ideal for zoneless and performance-focused Angular projects.
Features
✅ Generates components with
ChangeDetectionStrategy.OnPush
automatically⚡ Supports optional
signal
import for reactive patterns (coming soon)🧩 Supports Angular standalone components
🛠️ Works seamlessly with Angular CLI via
ng generate
📦 Installation
Install the schematics package via npm:
npm install @small_god/schematics
Or link it locally during development (see Development)
🚀 Usage
To generate a new component using the schematic:
ng g @small_god/schematics:component
or
ng g @small_god/schematics:c
You will be prompted to provide:
The component name
Whether to include signals support (coming soon)
📝 Development
To contribute to this project, follow these steps:
Clone the repository:
git clone https://github.com/ellaboevans/schematics.git cd schematics
Install dependencies:
npm install
Build the schematics:
npm run build
Link the schematics locally:
npm link
In your Angular project, link the schematics:
npm link @small_god/schematics
Use the schematics in your Angular project:
ng g @small_god/schematics:component
📄 License
MIT © 2025 Evan Elabo
Feedback
If you have any feedback or suggestions, please open an issue or submit a pull request on the GitHub repository.