I have an Angular 19 project and would like to add some schematics to it. Since these will depend on project components, such as src/shared/*
, I don't see a reason to create a separate project as an independent library.
Therefore, I would like to create the schematics inside the project's schematics folder, at the same level as src.
However, after some testing (via schematics cli and manually), I realized that I need to generate the build to be able to use the schemas from ng generate my-feature feature-test.
Is it possible to do this build automatically when needed (including when sharing commits with the team)?
Even when creating a project with the schematics cli, I can't use it in the rest of the project without building each time a schema is changed.
Am I trying to use schematics in a way they weren't designed for?