This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.

NPM Registry

Authentication

We use the default NPM Registry to upload the packages. All developers use the same user on npm (user “tocconpm” with email admin@tocco.ch). To setup the authentication execute following command:

npm adduser

The password/OTP can be found on in the ansible vault.

Auth Token

To be able to publish a package locally/remote you need to add an Automation NPM Auth Token.

Set the generated token as environment variable NPMJS_AUTH_TOKEN. The .yarnrc.yml file is referencing this variable.