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
Copy file name to clipboardExpand all lines: docs/lib/content/commands/npm-publish.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ A `package` is interpreted the same way as other commands (like `npm install`) a
52
52
* f) a `<name>` that has a "latest" tag satisfying (e)
53
53
* g) a `<git remote url>` that resolves to (a)
54
54
55
+
If either (a) or (b) is specified as a relative path, it should begin with an explicit `./` prefix.
56
+
55
57
The publish will fail if the package name and version combination already exists in the specified registry.
56
58
57
59
Once a package is published with a given name and version, that specific name and version combination can never be used again, even if it is removed with [`npm unpublish`](/commands/npm-unpublish).
0 commit comments