# Api

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

## Dependencies

(Construction, Project, etc.) => Shared => Tokens => Contants

**@cuby-ui/core** => **@cuby-ui/api** => **@cuby-ui/cdk** => **@cuby-ui/icons**

1. **Tokens** or **Contants** can't take services(models) from **Project(others)**
1. **Construction(others)** can't take services(models) from **Project(others)** in this case it's **SHARED** model(service)
1. **SHARED** can't take services(models) from **Project(others)** in this case it's **SHARED** model(service)
1. **@cuby-ui/core** can use **@cuby-ui/api** but **@cuby-ui/api** can't use **@cuby-ui/core**
1. **@cbuy-ui/cdk** can't use **@cuby-ui/api** as there are only features wihtout busines logic
1. **@cbuy-ui/icons** can't use **@cuby-ui/api** as there are only styles and images

## Code scaffolding

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

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

## Build

Run `ng build api` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build api`, go to the dist folder `cd dist/api` and run `npm publish`.

## Running unit tests

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

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
