Socket
Book a DemoInstallSign in
Socket

@kiali/core-ui

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kiali/core-ui

Kiali Components

npmnpm
Version
0.13.0
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Kiali Core

Kiali Core badge

Coverage Status

Coverage lines Coverage functions Coverage branches Coverage statements

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
# Install application-ui dependencies
yarn install

# Sometimes, yarn link is ignored because there is a link of same library in another place.
# In this case you have to unlink first with yarn unlink (https://github.com/yarnpkg/yarn/issues/7216)

cd work/application-ui/node_modules/react
# Create link for react
yarn link

cd work/application-ui/node_modules/react-dom
# Create link for 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
# Create link for core-ui
yarn link

# Install core-ui library dependencies
yarn install

# Link react library
yarn link react

# Link react-dom library
yarn link react-dom

Finally use core-ui link in the application.

cd work/application-ui
# Link core-ui library
yarn link @kiali/core-ui

After testing Kiali core components, you should remove the links:

cd work/application-ui
# Unlink core-ui library
yarn unlink @kiali/core-ui

# Reinstalling application-ui dependencies
yarn install

cd work/core-ui
# Unlink react library
yarn unlink react

# Unlink react-dom library
yarn unlink react-dom

# Reinstalling core-ui dependencies
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

FAQs

Package last updated on 21 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts