open-index/open-npm huggingface dataset:
npm package: @ovrture/react-tenant-lib
Description: We will configure Github Action to publish to npmjs packages use them as dependencies in an npm project.
Latest version: 0.0.136

# Publish Packages

We will configure Github Action to publish to npmjs packages use them as dependencies in an npm project.

## Registry

Developer will create there own accounts with organization based email and password, these will used in local to give access to this repo package.

- url: https://www.npmjs.com
- username: xxxx
- email: xxxx
- password: **\*\*\*\***

## Publishing a package

We are going to use multiple private packages based on environment branches.

1. Compile `npm run build:development`.
2. Authenticating by logging in to npm in local terminal `npm login`.
3. Publish `npm publish`.
4. Show package `npm show @ovrture/react-tenant-lib`.

## Environment Rules

We will follow below concept

| Enviroment Name | Branch Name | Version Pattern |
| --------------- | ----------- | --------------- |
| Sandbox         | sand        |                 |
| Developement    | dev         |                 |
| Testing         | test        |                 |
| Staging         | stag        |                 |
| Production      | prod        |                 |