@ovrture/react-tenant-lib
v0.0.76
Published
We will configure Github Action to publish to npmjs packages use them as dependencies in an npm project.
Downloads
2,451
Keywords
Readme
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.
- Compile
npm run build:development
. - Authenticating by logging in to npm in local terminal
npm login
. - Publish
npm publish
. - 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 | |