1.0.0 • Published 11 months ago
sopra-fms v1.0.0
Flow Management System
Using Node-Red for Sopra-Steria
Developer Notes
To be able to use InnerSource private registry, I have to configure your .npmrc file inside the project folder or globally in your home.
First step: PAT
You need to generate a personal access token in Innersource. Go to your account settings and select "Access Token". Create a new one with scope API and read_registry checked. Save the generated token: it will be the only one time you'll see it.
Second step: Set up .npmrc file
Use the template below to set up you .npmrc file
@${GROUP}/:registry=https://${GITLAB}/api/v4/packages/npm/
//${GITLAB}/api/v4/packages/npm/:_authToken=<TOKEN>
//${GITLAB}/api/v4/projects/${MODULE_ID}/packages/npm/:_authToken=<TOKEN>
Replace \ by the token provided by Innersource.
1.0.0
11 months ago