open-index/open-npm huggingface dataset:
npm package: @hansevision/traveport-shared-controls
Description: Shared controls for SPFx and TraveFlow App
Latest version: 0.0.17

# Travekom Connect Construction File shared controls

This project provides controls for Travekom.Connect construction file and TraveFlow App

Step to https://medium.com/@kaljessy/publish-your-react-library-to-npm-using-vite-136dc81e368d

## Installation

```bash
npm install --save @hansevision/traveport-shared-controls
```

## Development

## Develop using Storybook

Currently the preferred way. Create a new or use the existing Story to develop with Storybook. Run `npm run storybook`
to start the development server.

## Develop traveport-shared-controls locally with 'npm link/unlink'

This might or might not work. Sometimes due to bugs in linking, it throws errors while using linked package while
serving via spfx. It might work as the last Step before publishing to npm.

### Create the link between package and your project

1. run the following PowerShell command

```bash
npm run build
npm link
```

### in git-Repositories that need to use the local traveport-shared-controls

1. run the following PowerShell command

```bash
npm link @hansevision/traveport-shared-controls --force
```

3. the flag '--force' can be omitted, if the node-version of the traveport-shared-controls is higher of equal to the
   git-Repository which needs to use it

### Reverting usage of local packaging

1. run the following PowerShell command in the git-Repository traveport-shared-controls

```bash
npm unlink
```

2. expected output

```
success: package '@hansevision/traveport-shared-controls' uninstalled
```

### in git-Repositories that need to use the local traveport-shared-controls

1. run the following PowerShell command

```bash
npm unlink @hansevision/traveport-shared-controls
```