Skip to content

VShirokov/megafon-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

megafon-ui

React UI components library.

codecov Build Status lerna

Includes:

  • ui-core npm (scoped)

  • ui-shared npm (scoped)


Development notes

Getting Started

npm install -g lerna

Install all packages

yarn

Build all packages

yarn run build

Update package versions

yarn run bump-version

Will make next steps:

  • ask for a new version of each changed package
  • update all cross-dependencies

If you don't want to update all the packages, you can choose "custom version" and type current version.

Release process

  1. Update package versions.

  2. Commit changes.

  3. Make git tag on commit with updated version.

    Tag format
    • For one updated package: <package-name>@<new-version>, for ex. ui-shared@1.0.1
    • For a few updated packages: <package-name1>@<new-version1>/<package-name2>@<new-version2>, for ex. ui-core@2.0.0/ui-shared@1.0.1
  4. Push commit and tags to the remote.

TravisCI will publish packages to NPM after successful build.

Packages

No packages published

Languages

  • TypeScript 68.1%
  • CSS 24.9%
  • JavaScript 7.0%