Commit 0495af6e authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'trizzi-master-patch-74361' into 'master'

Add placeholder token in example snippet

Closes #259641

See merge request gitlab-org/gitlab!44210
parents 900b25a3 fcf2ff47
...@@ -294,11 +294,11 @@ To do this, add lines to your `.npmrc` file, replacing `my-org` with the namespa ...@@ -294,11 +294,11 @@ To do this, add lines to your `.npmrc` file, replacing `my-org` with the namespa
```shell ```shell
@foo:registry=https://gitlab.example.com/api/v4/packages/npm/ @foo:registry=https://gitlab.example.com/api/v4/packages/npm/
//gitlab.com/api/v4/packages/npm/:_authToken= //gitlab.com/api/v4/packages/npm/:_authToken= "<your_token>"
//gitlab.com/api/v4/projects/<your_project_id>/packages/npm/:_authToken= "<your_token>" //gitlab.com/api/v4/projects/<your_project_id>/packages/npm/:_authToken= "<your_token>"
@my-other-org:registry=https://gitlab.example.com/api/v4/packages/npm/ @my-other-org:registry=https://gitlab.example.com/api/v4/packages/npm/
//gitlab.com/api/v4/packages/npm/:_authToken= //gitlab.com/api/v4/packages/npm/:_authToken= "<your_token>"
//gitlab.com/api/v4/projects/<your_project_id>/packages/npm/:_authToken= "<your_token>" //gitlab.com/api/v4/projects/<your_project_id>/packages/npm/:_authToken= "<your_token>"
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment