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 install
To run the @welingtonms/xb-wc
Storybook, run:
yarn pkg:wc dev
To run commands only in the affected packages affected:
nx affected --target=test
Run specific command for package:
nx run myapp:build
Run specific command for all packages:
nx run build
In 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