0.0.1-test • Published 7 months ago

cnio-drep-ui v0.0.1-test

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

DREP UI COMPONENTS

Requirements

  • node v18
  • yarn 4

Usage

Just fork this repo and start implementing your User Interface components, test, build then start publishing the packages.

Configure NPM registry settings in .npmrc file (ask team for the password)

@nio:registry=https://asia-southeast1-npm.pkg.dev/teko-development/teko-npm/
//asia-southeast1-npm.pkg.dev/teko-development/teko-npm/:always-auth=true
//asia-southeast1-npm.pkg.dev/teko-development/teko-npm/:_password="TEKO_NPM_PASSWORD"
//asia-southeast1-npm.pkg.dev/teko-development/teko-npm/:username=_json_key_base64

Instruction below:

Install

yarn install

Run storybook

yarn storybook

Build package

yarn build

Package version convention

Branches

In this repo, we will have 3 kind of branches to publish packages:

  1. main (publish dev version. Example: 1.0.57-dev-imgTag)
  2. releases/<release_version>-stage (publish staging version. Example: 1.0.57-stag-imgTag)
  3. releases/<release_version>-prod> (publish product version. Example: 1.0.57-prod-imgTag)

Please remember to use the correct version tag on each branch with the corresponding environment(dev, stag and prod and corresponding kotlin version by environment)

Publish pipeline will automatically generate with each branch pattern, so remember to checkout to correct branch pattern by environment.

Installing on tempi

https://confluence.teko.vn/display/HN4/Tempi+3rd+party+components#Tempi3rdpartycomponents-C%C3%A1cht%E1%BA%A1o3rdcomponentt%E1%BB%ABcomponentm%E1%BA%ABu