yieldprotocol / ui-monorepo

0 stars 0 forks source link

Yield Protocol UI Monorepo

Included Packages

Included Examples

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)