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 22.x at time of writing.
npm i -g yarnyarn 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 generateoryarn g
Jest and react test library
yarn testyarn test --watchyarn test --coverage
- (Optional)
npm adduser yarn buildto build the componentscd dist/a-ui/react && yarn publishgit 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.