You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace `<TOKEN>` with the token you received from [sales@tuxcare.com](mailto:sales@tuxcare.com).
29
29
:::
30
30
31
-
2. Install a SecureChain package
31
+
2. Install your dependencies
32
32
33
-
SecureChain packages are published under the `@securechain-js` scope. Install them with their fully qualified name and version:
33
+
Run this command from the project root directory, where the package.json file containing your dependencies is located:
34
34
35
35
```text
36
-
npm install @securechain-js/<package>@<version>
36
+
npm install
37
37
```
38
38
39
+
You can keep the package names and versions in `package.json` as they are.
40
+
41
+
`npm` is now pointed at SecureChain from the previous step, so the packages are pulled automatically from the TuxCare Nexus.
42
+
39
43
For the list of available packages and versions, visit TuxCare [Nexus](https://nexus.repo.tuxcare.com/#browse/browse:securechain-js).
40
44
41
45
</ELSSteps>
@@ -50,7 +54,7 @@ If `npm install` resolves to the public registry instead of SecureChain, use the
50
54
npm config get registry
51
55
```
52
56
53
-
The output must be `https://nexus.repo.tuxcare.com/repository/securechain-js/`. If it returns `https://registry.npmjs.org/`, npm is not reading your project `.npmrc` - check that you are running npm from the project root and that no user-level `~/.npmrc` is overriding it.
57
+
The output must be `https://nexus.repo.tuxcare.com/repository/securechain-js/@securechain-js/`. If it returns `https://registry.npmjs.org/`, npm is not reading your project `.npmrc` - check that you are running npm from the project root and that no user-level `~/.npmrc` is overriding it.
0 commit comments