This module contains commonly used components that are shared between it-automation services.
Available components
Common navbar shared between services. Contains links which are managed through ./assets/*.json
.
Also includes authentication info. Authentication methods must be provided through props.
Available Scripts
In the project directory, you can run:
yarn install
Installs dev dependencies for local testing and development of this module
yarn build
Convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments. Run after updating components in this module.
Not necessary to run on publishing as that is automated.
yarn test
Run tests on module. Needs implementing still.
Adding to this module
All changes should be made to files in ./src
.
When adding new content, upgrade versioning following these guidelines.
npm version major
- When adding new components
npm version minor
- Changing behaviour of existing components or adding/changing assets
npm version patch
- Fixing issues of existing components
Once changes are finalised and version updated, run npm publish