Panda - Treelab Panda Web Components
Panda is a Treelab Component Library.
Development
Setup
- Clone repository.
- Run
yarn install
to install all dependencies. - Run
yarn storybook
to start local storybook server and start working on components.
treelab-panda-v3
directly from treelab-client
Linking First build panda
cd path/to/treelab-panda-v3
yarn build
Then link panda into treelab-client
cd path/to/treelab-panda-v3
yarn link
cd path/to/treelab-client
yarn link @treelab/panda
Restart treelab-client
in order for the linked panda package to be properly included in the build.
Testing
Currently we don't do any automated/unit testing.
Publishing
All published versions can be found on npmjs.com
Latest code can be built and published as an npm package using the Create new release and publish to npm GitHub action. Please carefully choose a semantic version when executing Run workflow
such that it is higher than the previous version published.