Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fcf2ff47
Commit
fcf2ff47
authored
Oct 02, 2020
by
Tim Rizzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add placeholder token in example snippet
parent
aff15d1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/user/packages/npm_registry/index.md
doc/user/packages/npm_registry/index.md
+2
-2
No files found.
doc/user/packages/npm_registry/index.md
View file @
fcf2ff47
...
...
@@ -294,11 +294,11 @@ To do this, add lines to your `.npmrc` file, replacing `my-org` with the namespa
```
shell
@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>"
@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>"
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment