upgrade to npm-registry-client 8.6.0
This commit is contained in:
parent
c25b8965ed
commit
595ce6a0db
|
|
@ -59,7 +59,7 @@ export NPM_USER=alice.doe
|
||||||
export NPM_PASS=password
|
export NPM_PASS=password
|
||||||
export NPM_EMAIL=alice.doe@example.com
|
export NPM_EMAIL=alice.doe@example.com
|
||||||
export NPM_REGISTRY=https://$nexus_domain/repository/npm-hosted/
|
export NPM_REGISTRY=https://$nexus_domain/repository/npm-hosted/
|
||||||
npm install npm-registry-client@8.5.0
|
npm install npm-registry-client@8.6.0
|
||||||
npm_auth_token=$(NODE_PATH=$PWD/node_modules node --use-openssl-ca /vagrant/provision/npm-login.js 2>/dev/null)
|
npm_auth_token=$(NODE_PATH=$PWD/node_modules node --use-openssl-ca /vagrant/provision/npm-login.js 2>/dev/null)
|
||||||
npm set //$nexus_domain/repository/npm-hosted/:_authToken $npm_auth_token
|
npm set //$nexus_domain/repository/npm-hosted/:_authToken $npm_auth_token
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ $env:NPM_USER='alice.doe'
|
||||||
$env:NPM_PASS='password'
|
$env:NPM_PASS='password'
|
||||||
$env:NPM_EMAIL='alice.doe@example.com'
|
$env:NPM_EMAIL='alice.doe@example.com'
|
||||||
$env:NPM_REGISTRY="https://$nexusDomain/repository/npm-hosted/"
|
$env:NPM_REGISTRY="https://$nexusDomain/repository/npm-hosted/"
|
||||||
npm install npm-registry-client@8.5.0
|
npm install npm-registry-client@8.6.0
|
||||||
$env:NODE_PATH="$PWD/node_modules"
|
$env:NODE_PATH="$PWD/node_modules"
|
||||||
$env:NODE_EXTRA_CA_CERTS='C:\ProgramData\ca-certificates.crt'
|
$env:NODE_EXTRA_CA_CERTS='C:\ProgramData\ca-certificates.crt'
|
||||||
$npmAuthToken = node --use-openssl-ca /vagrant/provision/npm-login.js 2>$null
|
$npmAuthToken = node --use-openssl-ca /vagrant/provision/npm-login.js 2>$null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue