Welcome to the XB component library. This is a playground for practicing web components development.
This project uses Lerna alongside Yarn workspaces. Lerna uses the amazing Nx tooling under the hood.
First, start by running the command that will install the dependencies for all the packages in the project and link the packages that depend on each other.
yarn installTo run the @welingtonms/xb-wc Storybook, run:
yarn pkg:wc devTo run commands only in the affected packages affected:
nx affected --target=testRun specific command for package:
nx run myapp:buildRun specific command for all packages:
nx run buildIn the example above, we are running test only for the packages affected by any change we have made. Check the command reference for more details.
yarn lerna run build --scope=@welingtonms/xb-tokens