Angular component and utility library developed by Quix Srl.
This repository consists of two main parts:
-
Quang Library (
/projects/quang
): A comprehensive Angular library containing various components, services, and utilities for building Angular applications:- Authentication services and directives
- UI components (autocomplete, checkboxes, date pickers, etc.)
- Form utilities
- Loading indicators
- Overlay components (modals, popovers, toasts, tooltips)
- Translation services
- And more
For detailed documentation on Quang components and modules, see the Quang README.
-
Playground (
/projects/playground
): A testing application for demonstrating and testing the Quang library components and features.
- Node.js 20 (compatible with Angular v19)
- npm
# Clone the repository
git clone https://github.com/quix-it/quix-quang.git
cd quix-quang
# Install dependencies
npm install
To start the playground application for testing and development:
npm run start:playground
This will serve the playground application locally at http://localhost:4400/
.
To build the Quang library:
npm run build:quang
The built library will be available in the dist/quang
directory.
Several npm scripts are available for publishing the library:
# Publish a prerelease version
npm run publish:prerelease
# Publish a patch version
npm run publish:patch
# Publish a minor version update
npm run publish:minor
# Publish a major version update
npm run publish:major
To deploy the playground application:
npm run deploy:git
This will deploy the playground to GitHub Pages with the base href /quix-quang/
.
# Run linting
npm run lint
# Fix linting issues
npm run lint:fix
# Format code
npm run format
# Lint and format in one command
npm run lint-and-format
The project uses npm versioning with automatic synchronization between the root package.json and the library's package.json:
# The sync-version script is automatically run during versioning
npm version [patch|minor|major]
Quang may be freely distributed under the MIT license.