When using the node18-npm-toolset the following warning is logged:
Configuring npm to use Nexus (https://...) ...
npm WARN config `_auth`, `_authToken`, `username` and `_password` must be scoped to a registry. see `npm help npmrc` for more information.
Running npm help npmrc gives the following:
In order to scope these values, they must be prefixed by a URI fragment.
If the credential is meant for any request to a registry on a single host, the scope may look like //registry.npmjs.org/:.
If it must be scoped to a specific path on the host that path may also be provided, such as //my-custom-registry.org/unique/path:.
We should update the npm config to have a scoped _auth value.
When using the
node18-npm-toolset
the following warning is logged:Running
npm help npmrc
gives the following:We should update the npm config to have a scoped
_auth
value.