Skip to content

Commit 92c362e

Browse files
committed
publish to npm
1 parent 430313d commit 92c362e

File tree

2 files changed

+34
-7
lines changed

2 files changed

+34
-7
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
# kubevirt-ui-components
1+
[![NPM Version](https://img.shields.io/npm/v/gm.svg?style=flat)](https://www.npmjs.org/package/@kubevirt-ui/components)
2+
[![codecov](https://codecov.io/gh/kubevirt-ui/kubevirt-ui-components/branch/main/graph/badge.svg?token=wkLwgaN6YD)](https://codecov.io/gh/kubevirt-ui/kubevirt-ui-components)
3+
[![DeepSource](https://deepsource.io/gh/kubevirt-ui/kubevirt-ui-components.svg/?label=active+issues&show_trend=true&token=eMPSTlO760qY3rcrQ7I5rK5D)](https://deepsource.io/gh/kubevirt-ui/kubevirt-ui-components/?ref=repository-badge)
4+
5+
# @kubevirt-ui/components
6+
27
React Component Library for Kubevirt UI
38

4-
https://kubevirt-ui.github.io/kubevirt-ui-components/
9+
[See the documentaion](https://kubevirt-ui.github.io/kubevirt-ui-components/)
10+
11+
## Add to your project
12+
13+
```bash
14+
yarn add @kubevirt-ui/components
15+
```
16+
17+
## Scope
18+
19+
Kubevirt UI compoents is a curated list of stable and documented components used by Kubevirt UI aplications and libraries.
20+
21+
## When should I contribute my components to this repository?
22+
23+
When a componenet used by an application is stable it can be published in this components repository so public users could:
24+
25+
- Use the components for exiting new applications
26+
- Study how the component works
27+
- Redistribute the component as they are
28+
- Modified and create better components based on the components in this repository
29+
30+
## How to document my component when contributing to this repository?
31+
32+
Before moving a component to this repo make sure the code is [documented](https://tsdoc.org/) with descriptions and
33+
examples in a [markdown](https://www.markdownguide.org/) doc as needed to help users who are not familiar with the application
34+
and context understand what is the purpose of the component and how to use it.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
{
2-
"name": "kubevirt-ui-components",
2+
"name": "@kubevirt-ui/components",
33
"version": "0.0.2",
44
"description": "React Component Library for Kubevirt UI",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/kubevirt-ui/kubevirt-ui-components.git"
88
},
9-
"private": false,
10-
"publishConfig": {
11-
"registry": "https://npm.pkg.github.com"
12-
},
9+
"author": "Yaacov Zamir <[email protected]>",
1310
"scripts": {
1411
"clean": "rm -rf dist",
1512
"build": "rollup -c",

0 commit comments

Comments
 (0)