16.12.30 • Published 10 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:iconsTesting
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}:watchVersioning
Automatic
Go the
npm publish - ui presentationalpipeline page.Click on
Run pipelineset the variable
VERSION_BUMP_TYPEtomajor|minor|patchrun the pipeline
Manual
make sure that the version is increased in the
projects/kms-ngx-ui-presentational/package.jsonIn the console:
npm run buildnpm logincd dist/@kms-ngx-ui/presentationalnpm 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