Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1010 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 1010 Bytes

Yield Protocol UI Monorepo

Included Packages

  • core | Documentation
  • react adaptor
  • math
  • redux adaptor
  • (cli)
  • (history)
  • (utils)
  • (contracts)

Included Examples

  • basic react app
  • ( cli )

How to use:

1. Clean and build ALL packages in the monorepo ( in root dir ):

yarn && yarn clean yarn bootstrap yarn compile

2. Propogate any changes made to ANY of the packages ( in root dir ):

yarn compile

3. Start the examples on localhost ( in examples/* dir ):

yarn start

4. Publish global changes ( in root dir ):

lerna publish

4. Publish indivdual packages changes (in packages/* dir ):

yarn version --patch yarn publish

5. Link packages use individual package locally in other repo

yarn compile (in packages/* dir ) yarn link (in packages/* dir )

yarn link [package name] ( in other repo dir) yarn install --force ( in other repo dir)