2.15.1 • Published 5 months ago

rg-amity-social-ui v2.15.1

Weekly downloads
-
License
LGPL-2.1-only
Repository
-
Last release
5 months ago

rg-amity-social-uikit: Amity UI Social Kit - Fork

Getting started

Installation

  1. git clone https://github.com/R-G-Social-UIKit/social.git
  2. cd ./rg-amity-social-uikit
  3. make sure you are in prod branch
  4. npm ci or npm ci ---legacy-peer-deps if you get an error
  5. update .env with api key and region, users can be mocked/fake names

Develop locally in parallel with a product
  1. install yalc globall if you don't have it npm i yalc -g
  2. build the ui kit: npm run build
  3. yalc publish in rg-amity-social-uikit directory
  4. yalc add rg-amity-social-ui in adminsite repo
  5. npm install in FE repo if this is the first time you've added it (use --legacy-peer-deps if error)
  6. Please branch from prod, and work in your own branch.
  7. When you are done, yalc remove --all (from the adminsite folder) (PLEASE ENSURE YOU DON'T COMMIT TO FE WITH THE YALC REFERENCE PRESENT) YALC documentation: https://github.com/wclr/yalc

Develop with Storybook

  1. npm run storybook
  2. http://localhost:6006/ to view sotrybook and update UI
  3. Please branch from prod, and work in your own branch.

Publish changes to NPM

  1. Update the version number in package.json (check npm or prod branch to ensure correct version)
  2. stage and commit all changes.
  3. merge changes into prod branch
  4. open prod brach
  5. npm run build
  6. npm publish (only itops@realm-global.com team members currently have npm credentials) Once published, rebuild product FE enviroment, and UI kit changes should be pulled in.

Documentation

Please refer to our online documentation at https://docs.amity.co or contact a Ui-Kit representative at developers@amity.co for support.

Contributing

See our contributing guide