mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 11:32:42 +00:00

* Update request to support HTTPS-over-HTTP proxy tunneling * Throw on undefined envs in config settings * Update which to 1.0.5 * Fix windows UNC busyloop in findPrefix * Bundle nested bundleDependencies properly * Alias adduser to add-user * Doc updates (Christian Howe, Henrik Hodne, Andrew Lunny) * ignore logfd/outfd streams in makeEnv() (Rod Vagg) * shrinkwrap: Behave properly with url-installed deps * install: Support --save with url install targets * Support installing naked tars or single-file modules from urls etc. * init: Don't add engines section * Don't run make clean on rebuild * Added missing unicode replacement (atomizer)
43 lines
1.1 KiB
Groff
43 lines
1.1 KiB
Groff
.\" Generated with Ronnjs/v0.1
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
.
|
|
.TH "NPM\-SUBMODULE" "1" "March 2012" "" ""
|
|
.
|
|
.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
|
|
|