React Components using Core Branding 6.3.0. Npm repo: https://www.npmjs.com/package/@a-ui/react.
✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
- Node version 18, v.
18.14.2
at time of writing. npm i -g yarn
yarn install
(installs node_modules for global project and for storybook)- Run example app:
yarn run playground
(and go tolocalhost:4200
) vs - Run storybook:
yarn run storybook
Create a new component:
yarn generate
oryarn g
Jest and react test library
yarn test
yarn test --watch
yarn test --coverage
- (Optional)
npm adduser
yarn build
to build the componentscd dist/a-ui/react && yarn publish
git tag v<VERSION>
git push origin --tags
- Build storybook:
yarn run storybook:build
- Static build can be found in
documentation/storybook/storybook-static
- (There is a github workflow that builds and deploys Storybook on Github pages)
.github/workflows/deploy-storybook.yml
- URL: https://a-ui.github.io/core_components_react/
Default NX project: @a-ui/react
.
Commands:
yarn nx migrate latest
- Update to the latest Nx version
See CONTRIBUTING.md.