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
dea8179e
Commit
dea8179e
authored
Jun 04, 2021
by
Raimund Hook
Committed by
Nick Gaskill
Jun 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed link to internal anchor in npm registry docs page
parent
e3bab78c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
doc/user/packages/npm_registry/index.md
doc/user/packages/npm_registry/index.md
+4
-3
No files found.
doc/user/packages/npm_registry/index.md
View file @
dea8179e
...
@@ -110,7 +110,8 @@ To authenticate, use one of the following:
...
@@ -110,7 +110,8 @@ To authenticate, use one of the following:
-
It's not recommended, but you can use
[
OAuth tokens
](
../../../api/oauth2.md#resource-owner-password-credentials-flow
)
.
-
It's not recommended, but you can use
[
OAuth tokens
](
../../../api/oauth2.md#resource-owner-password-credentials-flow
)
.
Standard OAuth tokens cannot authenticate to the GitLab npm Registry. You must use a personal access token with OAuth headers.
Standard OAuth tokens cannot authenticate to the GitLab npm Registry. You must use a personal access token with OAuth headers.
-
A
[
CI job token
](
#authenticate-with-a-ci-job-token
)
.
-
A
[
CI job token
](
#authenticate-with-a-ci-job-token
)
.
-
Your npm package name must be in the format of
[
@scope/package-name
](
#package-naming-convention
)
. It must match exactly, including the case.
-
Your npm package name must be in the format of
[
`@scope/package-name`
](
#package-naming-convention
)
.
It must match exactly, including the case.
### Authenticate with a personal access token or deploy token
### Authenticate with a personal access token or deploy token
...
@@ -282,7 +283,7 @@ Prerequisites:
...
@@ -282,7 +283,7 @@ Prerequisites:
-
[
Authenticate
](
#authenticate-to-the-package-registry
)
to the Package Registry.
-
[
Authenticate
](
#authenticate-to-the-package-registry
)
to the Package Registry.
-
Set a
[
project-level npm endpoint
](
#use-the-gitlab-endpoint-for-npm-packages
)
.
-
Set a
[
project-level npm endpoint
](
#use-the-gitlab-endpoint-for-npm-packages
)
.
-
Your npm package name must be in the format of
[
@scope/package-name
](
#package-naming-convention
)
.
-
Your npm package name must be in the format of
[
`@scope/package-name`
](
#package-naming-convention
)
.
It must match exactly, including the case. This is different than the
It must match exactly, including the case. This is different than the
npm naming convention, but it is required to work with the GitLab Package Registry.
npm naming convention, but it is required to work with the GitLab Package Registry.
...
@@ -532,7 +533,7 @@ If you get this error, ensure that:
...
@@ -532,7 +533,7 @@ If you get this error, ensure that:
### `npm publish` returns `npm ERR! 400 Bad Request`
### `npm publish` returns `npm ERR! 400 Bad Request`
If you get this error, your package name may not meet the
If you get this error, your package name may not meet the
[
@scope/package-name
package naming convention
](
#package-naming-convention
)
.
[
`@scope/package-name`
package naming convention
](
#package-naming-convention
)
.
Ensure the name meets the convention exactly, including the case.
Ensure the name meets the convention exactly, including the case.
Then try to publish again.
Then try to publish again.
...
...
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