@ppwcode/ng-sdk
v21.5.0
Published
Developers can install the `ppwcode-angular-sdk` skill from this repository with:
Keywords
Readme
@ppwcode/ng-sdk
Install the AI Skill
Developers can install the ppwcode-angular-sdk skill from this repository with:
npx skills add https://github.com/peopleware/angular-sdkThis project contains the ppwcode Angular schematics to add our Angular SDK to a project.
ng-add
ng add @ppwcode/ng-sdk
Adds the Angular SDK to a project:
- Add dependencies
- Add Angular ESLint
- Add Angular Material
- Configure Angular Vitest runner
- Modify package.json scripts
Development
Development of this schematic is straightforward. Use the following steps to verify changes made to the schematics:
- In a terminal, make sure you are in the root of the project (not the workspace!)
- Run
npm run build- This will build the project and place the artifacts in thedist/ppwcode/ng-sdkdirectory - In a second terminal, generate a new Angular project using the following command:
ng new [name] --skip-install --ssr=false --style=scss --ai-config=none - cd into the new project
- Execute the schematic:
ng add [relative-path-to-dist]/dist/ppwcode/ng-sdk
Repeat these steps every time you make changes to the schematics.
