Set up access to a private registry

Spindle packages are hosted on private registries to have them available only internally. Packet managers for Node are already equipped with the tools to integrate with private registries, so you only need to configure the credentials to access them. If you are already familiar with setting up access to private registries you probably don’t need this guide, you only need to make sure that you set the endpoint for the registry and a valid access token for the scope @moviri. The recommended way to authenticate is to create a file called .npmrc in the root of your project (right next to the package.json file) and add the following lines to it:
@moviri:registry=https://REGISTRY_ENDPOINT
//REGISTRY_ENDPOINT:_authToken=YOUR_TOKEN
Where you only need to swap REGISTRY_ENDPOINT and YOUR_TOKEN with the URL of the registry and a valid access token for the registry respectively. As an example, this is a valid configuration:
@moviri:registry=https://intapps.moviri.com/gitlab/api/v4/projects/469/packages/npm/
//intapps.moviri.com/gitlab/api/v4/projects/469/packages/npm/:_authToken=itsasecrettoeverybody
Once that’s done, the next time you run the command to install the dependencies from package.json, all the packages related to Spindle will be automatically resolved.