Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-09-04 22:29:19 +0400
committerisaacs <i@izs.me>2011-09-04 22:29:19 +0400
commit91e17f831e69f12ba370ed90dfc73ad783fb7073 (patch)
tree3c52d456433659255f20d10a631f1a523c9c9404 /html
parent13fdcbe8e35de0fe7338969216a5508214eb4274 (diff)
Move up the unpublish warning
Diffstat (limited to 'html')
-rw-r--r--html/doc/unpublish.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/html/doc/unpublish.html b/html/doc/unpublish.html
index 1adf7ef9c..4aec5b82a 100644
--- a/html/doc/unpublish.html
+++ b/html/doc/unpublish.html
@@ -343,6 +343,16 @@ input.submit, input#submit, input.button, button, input[type=submit] {
<pre><code>npm unpublish &lt;name&gt;[@&lt;version&gt;]</code></pre>
+<h2 id="WARNING">WARNING</h2>
+
+<p><strong>It is generally considered bad behavior to remove versions of a library
+that others are depending on!</strong></p>
+
+<p>Consider using the <code>deprecate</code> command
+instead, if your intent is to encourage users to upgrade.</p>
+
+<p>There is plenty of room on the registry.</p>
+
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>This removes a package version from the registry, deleting its
@@ -351,12 +361,6 @@ entry and removing the tarball.</p>
<p>If no version is specified, or if all versions are removed then
the root package entry is removed from the registry entirely.</p>
-<h2 id="NOTE">NOTE</h2>
-
-<p>It is generally considered bad behavior to remove versions of a library
-that others are depending on! Consider using the <code>deprecate</code> command
-instead, if your intent is to encourage users to upgrade.</p>
-
<h2 id="SEE-ALSO">SEE ALSO</h2>
<ul><li><a href="deprecate.html">npm deprecate</a></li><li><a href="publish.html">npm publish</a></li><li><a href="registry.html">npm registry</a></li><li><a href="adduser.html">npm adduser</a></li><li><a href="owner.html">npm owner</a></li></ul>