# Shared

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

## Code scaffolding

Run `ng generate component component-name --project shared` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project shared`.
> Note: Don't forget to add `--project shared` or else it will be added to the default project in your `angular.json` file. 

## Build

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

## Publishing

Note: Before you publish make sure
1. You have required access to the npm repository for your account.
2. Login to npm and grant access through the terminal [reference for 1 & 2](https://docs.npmjs.com/creating-a-new-npm-user-account). 

1. Update the package version `projects/shared/package.json`
2. After building your library with `yarn build:platform-shared-components`.
3. Go to the dist folder `cd dist/platform-shared-components` and run `yarn publish` OR run this command `yarn publish:platform-shared-components` from root location.

## Running unit tests

Run `ng test shared` 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.
