16.12.30 • Published 5 months ago
kms-ngx-ui v16.12.30
@kms-ngx-ui/presentational
Platform for car subscription, rental and car sharing.
Prerequisites:
- NVM (use the .nvmrc file version of npm)
Getting started
- Start storybook
npm start
- Build project
npm run build
- Build Storybook
npm run build-storybook
- Generate the icons sprite
npm run generate:icons
Testing
Scripts:
- Run all unit tests
npm run tests
- Run unit tests for a library or project
npm run test:{lib name}
- Run unit tests on watch mode for a library or project
npm run test:{lib name}:watch
Versioning
Automatic
Go the
npm publish - ui presentational
pipeline page.Click on
Run pipeline
set the variable
VERSION_BUMP_TYPE
tomajor
|minor
|patch
run the pipeline
Manual
make sure that the version is increased in the
projects/kms-ngx-ui-presentational/package.json
In the console:
npm run build
npm login
cd dist/@kms-ngx-ui/presentational
npm publish --access=public
Npm link command example
From your project folder run:
npm link ../kms-ngx-ui-presentational/dist/@kms-ngx-ui/presentational
Storybook
Url to the public storybook: https://oneosstorybook.im-abo.com
Npm URL
Url to the NPM package: https://www.npmjs.com/package/@kms-ngx-ui/presentational