# @rysujana/stencil-upgrade

> Kompas.id reusable web components

Latest version **0.0.8** (published 2023-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rysujana/stencil-upgrade
pnpm add @rysujana/stencil-upgrade
yarn add @rysujana/stencil-upgrade
bun add @rysujana/stencil-upgrade
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2023-09-21 |
| First published | 2023-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rysujana |

## Links

- npm: https://www.npmjs.com/package/@rysujana/stencil-upgrade
- npm.io page: https://npm.io/package/@rysujana/stencil-upgrade

## Dependencies (3)

- [install](https://npm.io/package/install.md) ^0.13.0
- [@stencil/core](https://npm.io/package/@stencil/core.md) ^4.0.0
- [react-gtm-module](https://npm.io/package/react-gtm-module.md) ^2.0.11

## Recent versions

- 0.0.8 (latest) — 2023-09-21
- 0.0.7 — 2023-09-21
- 0.0.6 — 2023-09-20
- 0.0.5 — 2023-09-20
- 0.0.4 — 2023-09-20
- 0.0.3 — 2023-09-20
- 0.0.2 — 2023-09-20
- 0.0.1 — 2023-09-20

## README

# Kompas Web Components

Kompas Web Components is frontend reusable component for Harian Kompas project.

## Installation
To start building a new web component using Stencil, clone this repo to a new directory:

```bash
git clone https://github.com/pt-kompas-media-nusantara/kompas-web-components.git
cd kompas-web-component
```
Use 
* Node.js version 14
* NPM version 6 
* [Stencil.js](https://stenciljs.com/docs/introduction) version ^2.5.2

Then run [npm](https://github.com/ionic-team/stencil-component-starter) install to install Kompas Web Component.

```bash
npm install
```

## Usage

Run:

```bash
npm start
```

To build the component for production, run:

```bash
npm run build
```

To run the unit tests for the components, run:

```bash
npm test
```

To publish to NPM
```bash
npm run build
npm login
npm publish --access public --otp=<code>
```
For detailed explanation on how things work, check out [Stencil.js](https://stenciljs.com/docs/introduction) docs.

## Implement Component to Another Project

on kompas-web-component run:
```bash
cd kompas-web-component
npm start build
npm link
```


on your project run:

```bash
cd project-folder
npm link @kompasid/kompas-web-compoenent
```


## How to develop

* Create component that want to build on /src/components
* Use .ts format (We use TypeScript for functionality)
* Declare every components, states and props (if exist) and run npm run build before npm start to create readme in component directory automatically
* We use Tailwind CSS v2 for styling component, check out [Tailwind CSS](https://v2.tailwindcss.com/docs) docs.

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

---
_Source: https://npm.io/package/@rysujana/stencil-upgrade · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
