FinlexCommonServices (@finlexlabs/common-services)
Library Name: finlex-common-services
Package Name: @finlexlabs/common-services
Repo Name: fx-ng-components
Steps to Build & Publish Library
Package Renaming
Go to src/finlex-common-services/package.json
Rename package name from finlex-common-services
to @finlexlabs/common-services
Build
npm run build:common-services
It will build finlex-confirm-dialog using ng-packagr.
The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with npm run build:common-services
, go to the dist folder cd dist/finlex-common-services
and run npm publish
.
Services in this package
Services
- AuthCommonService
- OfficeSharedService
- OfficeMetadataService
- HttpService
- LocalStorageService
- TextFormaterService
- FinlexConfigService
- FinlexMatchMediaService
- FinlexSplashScreenService
Guard
- AuthGuard
Interceptors
- HttpErrorResponseInterceptor
- TokenInterceptor
Classes
- CurrentUser
- Settings
- Styling
enum
- LOCAL_STORAGE_NAMES
- AUTH_TOKEN_NAMES
- AUTH_TOKEN_KEYS
Scripts
- env-metadata: a script that injects environment metadata to the environment files of the web apps.