d2l-npm-login
v2.1.2
Published
Authenticates to D2L's private npm registry
Downloads
51
Maintainers
Readme
d2l-npm-login
Authenticates to D2L's private npm registry
Prerequisites
You must have BMX and the AWS CLI installed, as well as ReadOnly
access to the Dev-CodeArtifact
account in ACE
Install and Use
npx d2l-npm-login [options]
Options
-p, --profile <name> AWS profile (default: "code-artifact")
-e, --expiry-minutes <minutes> The time after which the token will expire (default: 540)
-o, --offset-seconds <seconds> A value greater than your install time will prevent token expiry mid-install (default: 30)
-h, --help display help for command
Troubleshooting
Make sure you have the latest version:
npx d2l-npm-login@latest
npx
While not officially supported, you may be able to use older versions of npm
that do not ship with npx
by installing it manually:
npm i -g npx