# CostimizeUiLib

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 19.2.2.

This library contains reusable UI components for Nevexis Costimize project.
The main reason for the existence of this library is for it to contain the backbone components (containing the general logic and vision of
these components) and to restrict the developers from touching the code. Any additional functionalities that need to be added
will be passed from the consumers of this library.

## Code scaffolding

Run `ng generate component component-name --project costimize-ui-lib` to generate a new component.
You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project costimize-ui-lib`.

> Note: Don't forget to add `--project costimize-ui-lib` or else it will be added to the default project in your `angular.json` file.

## Build

Don't forget to increment the version in package.json. If you dont there will be an error when you try to publish the package.
Run `ng build costimize-ui-lib` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

For now the library is published on Vankos local npm regestry. IP: 192.168.100.130:4873
After building the library with `ng build costimize-ui-lib`, go to the dist folder `cd dist/costimize-ui-lib` and run
`npm publish --registry http://192.168.100.130:4873/`.

## Running unit tests

Run `ng test costimize-ui-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
