Kiali Core

Coverage Status

Development Setup
In order to work and test locally with Kiali core components you have to link the library with a UI application through yarn link
.
Assuming your working directory tree is:
-- work
|- application-ui
|- core-ui
Before linking core-ui library, react and react-dom dependencies from application ui need to be linked to use same version in both places.
cd work/application-ui
yarn install
cd work/application-ui/node_modules/react
yarn link
cd work/application-ui/node_modules/react-dom
yarn link
Then core-ui library link is created and use react and react-dom links in the library.
cd work/core-ui
yarn link
yarn install
yarn link react
yarn link react-dom
Finally use core-ui link in the application.
cd work/application-ui
yarn link @kiali/core-ui
After testing Kiali core components, you should remove the links:
cd work/application-ui
yarn unlink @kiali/core-ui
yarn install
cd work/core-ui
yarn unlink react
yarn unlink react-dom
yarn install
Semantic Commit Messages
We should set commit message with this format:
Format: <type>(<scope>): <subject>
<scope>
is optional
Example
feat: add hat wobble
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.
More Examples:
major
: A new version with breaking changes
feat
: (new feature for the user, not a new feature for build script)
fix
: (bug fix for the user, not a fix to a build script)
Follow these instruction