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/man1
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-06-30 22:50:18 +0400
committerisaacs <i@izs.me>2011-06-30 22:50:18 +0400
commit0ab385b8d5db34d9cd486490f9f54ef49c94719d (patch)
tree6f0a09826ae9ebc653d0d53edbc3155a0aab5267 /man1
parent732d4d0394fcb6e15d388937acae7b2512729b3f (diff)
npm submodule command
This is experimental.
Diffstat (limited to 'man1')
-rw-r--r--man1/submodule.142
1 files changed, 42 insertions, 0 deletions
diff --git a/man1/submodule.1 b/man1/submodule.1
new file mode 100644
index 000000000..ce10f0194
--- /dev/null
+++ b/man1/submodule.1
@@ -0,0 +1,42 @@
+.\" Generated with Ronnjs/v0.1
+.\" http://github.com/kapouer/ronnjs/
+.
+.TH "NPM\-SUBMODULE" "1" "June 2011" "" ""
+.
+.SH "NAME"
+\fBnpm-submodule\fR \-\- Add a package as a git submodule
+.
+.SH "SYNOPSIS"
+.
+.nf
+npm submodule <pkg>
+.
+.fi
+.
+.SH "DESCRIPTION"
+If the specified package has a git repository url in its package\.json
+description, then this command will add it as a git submodule at \fBnode_modules/<pkg name>\fR\|\.
+.
+.P
+This is a convenience only\. From then on, it\'s up to you to manage
+updates by using the appropriate git commands\. npm will stubbornly
+refuse to update, modify, or remove anything with a \fB\|\.git\fR subfolder
+in it\.
+.
+.P
+This command also does not install missing dependencies, if the package
+does not include them in its git repository\. If \fBnpm ls\fR reports that
+things are missing, you can either install, link, or submodule them yourself,
+or you can do \fBnpm explore <pkgname> \-\- npm install\fR to install the
+dependencies into the submodule folder\.
+.
+.SH "SEE ALSO"
+.
+.IP "\(bu" 4
+npm help json
+.
+.IP "\(bu" 4
+git help submodule
+.
+.IP "" 0
+