@spg-energy/npm-login
v1.0.7
Published
## Requirements
Downloads
6
Readme
SPG npm login
Requirements
- AWS CLI
- aws-vault
- NodeJS (node and npm commands)
Usage
To login to SPG private registry, please consider using one of the following methods listed below.
npx (preferred)
In this method, no installation is required. It's suitable for CI environments and developers who don't want to install global packages.
aws-vault exec spg-energy-tools -- npx @spg-energy/npm-login
npm install (globally)
This method requires an extra step (first time and whenever the package is updated) and
# step 1) install @spg/npm-login globally (once)
npm i -g @spg-energy/npm-login
# step 2) login to SPG private repo
aws-vault exec spg-energy-tools -- npx spg-npm-login