Contributing to ngx-tailwind-ui
March 24, 2026 ยท View on GitHub
Thank you for your interest in contributing to ngx-tailwind-ui! This project is a workspace that contains 3 Angular libraries and a demo application.
๐ ๏ธ Prerequisites
Before you begin, ensure you have the following installed:
๐ Getting Started
-
Clone the repository:
git clone https://github.com/quedicesebas/ngx-tailwind-ui.git cd ngx-tailwind-ui -
Install dependencies:
npm install
๐ Project Structure
The repository is organized as an Angular workspace:
projects/bottom-sheet-modal: Responsive bottom sheet component.projects/toast: Flexible toast notification system.projects/phonenumbers: Phone number handling and validation.projects/demo: Demo application to test and showcase the libraries.
๐ป Development Workflow
1. Running the Demo Application
The easiest way to develop is by running the demo application, which uses the libraries in real-time:
npm start
The application will be available at http://localhost:4200/.
2. Building the Libraries
To build all libraries at once:
npm run build:all
To build a specific library (e.g., toast):
ng build toast
4. Versioning and Releases
The project uses independent versioning for each library. To increment versions:
- All libraries:
npm run release:all <patch|minor|major> - Specific library:
npm run release:<library-name> <patch|minor|major>- Example:
npm run release:toast patch
- Example:
These commands update the package.json files without creating git tags. Once you push the changes to main, the CI/CD pipeline will automatically publish the updated libraries to npm and create GitHub Releases.
๐ค How to Contribute
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name # or git checkout -b fix/your-fix-name - Make your changes.
- Commit your changes:
git commit -m "feat: descriptive message about your change" - Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request against the
mainbranch.
โจ Code Style
- Follow the Angular Style Guide.
- Use Tailwind CSS for all styling.
- Ensure your code is properly documented and tested.
Thank you for helping make ngx-tailwind-ui better!