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
bb669abc
Commit
bb669abc
authored
Nov 21, 2019
by
Tim Rizzi
Committed by
Achilleas Pipinellis
Nov 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "NPM Publishing the same package multiple times"
parent
56dbe0f2
Changes
1
Hide 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 @
bb669abc
...
@@ -156,9 +156,10 @@ a given scope, you will receive a `403 Forbidden!` error.
...
@@ -156,9 +156,10 @@ a given scope, you will receive a `403 Forbidden!` error.
## Uploading a package with the same version twice
## Uploading a package with the same version twice
If you upload a package with a same name and version twice, GitLab will show
You cannot upload a package with the same name and version twice, unless you
both packages in the UI, but the GitLab NPM Registry will expose the most recent
delete the existing package first. This aligns with npmjs.org's behavior, with
one as it supports only one package per version for
`npm install`
.
the exception that npmjs.org does not allow users to ever publish the same version
more than once, even if it has been deleted.
## Troubleshooting
## Troubleshooting
...
...
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