NgxIconifyStack Workspace ๐๏ธ
August 14, 2026 ยท View on GitHub
Welcome to the monorepo workspace for ngx-iconify-stack. This repository contains the core library, its schematics, and the official documentation site.
๐ Project Structure
projects/ngx-iconify-stack/- The core Angular library source code.projects/ngx-iconify-stack/src/schematics/- Angular CLI schematics to automate library setup (ng add,generate-icon-subset,skill).projects/docs/- Official documentation site โ Angular 22 SSR app with the library in action. Landing page (/) plus a/docsroute with the full library documentation (provider config, component inputs, rendering modes, schematics, and catalog tools).
๐ Quick Start for Contributors
To set up the workspace locally, follow these steps:
1. Install Dependencies
This project uses npm as its package manager:
npm install
2. Quick Development Commands
Run these commands from the root directory:
| Task | Command | Description |
|---|---|---|
| Start Docs | ng serve docs | Launches the local dev server for the documentation site. |
| Build Library | npm run build:lib | Compiles the library and its schematics into the dist/ directory. |
| Run Tests | ng test ngx-iconify-stack | Runs the library unit tests (Vitest). |
| Icon Subset | npm run ngx-iconify-stack:generate-icons | Scans templates and rebuilds the offline icon subset. |
Gotcha โ building the library: a bare
ng build ngx-iconify-stack(ng-packagr) wipesdist/and emits only library bundles โ no schematics. The schematics (ng-add,generate-icon-subset,add-icon,skill) land indist/only vianpm run build:lib, which runstsctodist/plus acopyfilespostbuild. Always usenpm run build:lib(or the library's ownnpm run build) when you need the schematics indist/, e.g. before installing the library into a scratch app for E2E.
๐ค Contribution Guidelines
We use conventional commits and structured branching to keep the history clean.
Commit Messages
Please follow the Conventional Commits specification (e.g., feat(lib): add color input or fix(schematics): resolve config paths).
Development Workflow
- Fork the repository and create your feature branch (
git checkout -b feature/my-new-feature). - Implement your changes. Make sure to run
ng test ngx-iconify-stackandnpm run build:libto verify that everything builds and passes. - Commit your changes using conventional commits, push to your fork, and open a Pull Request.
For technical details on how to use the library in your own project, please refer to the Library README.