From b0b707cb6e48fd0393c24c80c9fe490855d24f84 Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 17 Jun 2012 12:04:35 -0700 Subject: [PATCH] npm: Upgrade to 1.1.27 - severely enhanced 'npm init' - upgraded node-gyp --- deps/npm/README.md | 6 - deps/npm/doc/cli/config.md | 10 + deps/npm/doc/cli/init.md | 1 + deps/npm/html/api/bin.html | 2 +- deps/npm/html/api/bugs.html | 2 +- deps/npm/html/api/commands.html | 2 +- deps/npm/html/api/config.html | 2 +- deps/npm/html/api/deprecate.html | 2 +- deps/npm/html/api/docs.html | 2 +- deps/npm/html/api/edit.html | 2 +- deps/npm/html/api/explore.html | 2 +- deps/npm/html/api/help-search.html | 2 +- deps/npm/html/api/init.html | 2 +- deps/npm/html/api/install.html | 2 +- deps/npm/html/api/link.html | 2 +- deps/npm/html/api/load.html | 2 +- deps/npm/html/api/ls.html | 2 +- deps/npm/html/api/npm.html | 4 +- deps/npm/html/api/outdated.html | 2 +- deps/npm/html/api/owner.html | 2 +- deps/npm/html/api/pack.html | 2 +- deps/npm/html/api/prefix.html | 2 +- deps/npm/html/api/prune.html | 2 +- deps/npm/html/api/publish.html | 2 +- deps/npm/html/api/rebuild.html | 2 +- deps/npm/html/api/restart.html | 2 +- deps/npm/html/api/root.html | 2 +- deps/npm/html/api/run-script.html | 2 +- deps/npm/html/api/search.html | 2 +- deps/npm/html/api/shrinkwrap.html | 2 +- deps/npm/html/api/start.html | 2 +- deps/npm/html/api/stop.html | 2 +- deps/npm/html/api/submodule.html | 2 +- deps/npm/html/api/tag.html | 2 +- deps/npm/html/api/test.html | 2 +- deps/npm/html/api/uninstall.html | 2 +- deps/npm/html/api/unpublish.html | 2 +- deps/npm/html/api/update.html | 2 +- deps/npm/html/api/version.html | 2 +- deps/npm/html/api/view.html | 2 +- deps/npm/html/api/whoami.html | 2 +- deps/npm/html/doc/README.html | 10 +- deps/npm/html/doc/adduser.html | 2 +- deps/npm/html/doc/bin.html | 2 +- deps/npm/html/doc/bugs.html | 2 +- deps/npm/html/doc/build.html | 2 +- deps/npm/html/doc/bundle.html | 2 +- deps/npm/html/doc/cache.html | 2 +- deps/npm/html/doc/changelog.html | 2 +- deps/npm/html/doc/coding-style.html | 2 +- deps/npm/html/doc/completion.html | 2 +- deps/npm/html/doc/config.html | 11 +- deps/npm/html/doc/deprecate.html | 2 +- deps/npm/html/doc/developers.html | 2 +- deps/npm/html/doc/disputes.html | 2 +- deps/npm/html/doc/docs.html | 2 +- deps/npm/html/doc/edit.html | 2 +- deps/npm/html/doc/explore.html | 2 +- deps/npm/html/doc/faq.html | 2 +- deps/npm/html/doc/folders.html | 2 +- deps/npm/html/doc/help-search.html | 2 +- deps/npm/html/doc/help.html | 2 +- deps/npm/html/doc/index.html | 2 +- deps/npm/html/doc/init.html | 4 +- deps/npm/html/doc/install.html | 2 +- deps/npm/html/doc/json.html | 2 +- deps/npm/html/doc/link.html | 2 +- deps/npm/html/doc/list.html | 2 +- deps/npm/html/doc/npm.html | 4 +- deps/npm/html/doc/outdated.html | 2 +- deps/npm/html/doc/owner.html | 2 +- deps/npm/html/doc/pack.html | 2 +- deps/npm/html/doc/prefix.html | 2 +- deps/npm/html/doc/prune.html | 2 +- deps/npm/html/doc/publish.html | 2 +- deps/npm/html/doc/rebuild.html | 2 +- deps/npm/html/doc/registry.html | 2 +- deps/npm/html/doc/removing-npm.html | 2 +- deps/npm/html/doc/restart.html | 2 +- deps/npm/html/doc/root.html | 2 +- deps/npm/html/doc/run-script.html | 2 +- deps/npm/html/doc/scripts.html | 2 +- deps/npm/html/doc/search.html | 2 +- deps/npm/html/doc/semver.html | 2 +- deps/npm/html/doc/shrinkwrap.html | 2 +- deps/npm/html/doc/star.html | 2 +- deps/npm/html/doc/start.html | 2 +- deps/npm/html/doc/stop.html | 2 +- deps/npm/html/doc/submodule.html | 2 +- deps/npm/html/doc/tag.html | 2 +- deps/npm/html/doc/test.html | 2 +- deps/npm/html/doc/uninstall.html | 2 +- deps/npm/html/doc/unpublish.html | 2 +- deps/npm/html/doc/update.html | 2 +- deps/npm/html/doc/version.html | 2 +- deps/npm/html/doc/view.html | 2 +- deps/npm/html/doc/whoami.html | 2 +- deps/npm/lib/adduser.js | 86 ++++-- deps/npm/lib/init.js | 247 +----------------- deps/npm/lib/outdated.js | 7 +- deps/npm/lib/utils/config-defs.js | 2 + deps/npm/lib/utils/promise-chain.js | 39 --- deps/npm/man/man1/README.1 | 7 - deps/npm/man/man1/config.1 | 15 ++ deps/npm/man/man1/init.1 | 3 + deps/npm/man/man1/npm.1 | 2 +- deps/npm/man/man3/npm.3 | 2 +- .../node_modules/init-package-json/README.md | 43 +++ .../init-package-json/default-input.js | 175 +++++++++++++ .../init-package-json/init-package-json.js | 104 ++++++++ .../node_modules/promzard/.npmignore | 1 + .../node_modules/promzard/README.md | 130 +++++++++ .../node_modules/promzard/example/index.js | 11 + .../promzard/example/npm-init/README.md | 8 + .../promzard/example/npm-init/init-input.js | 191 ++++++++++++++ .../promzard/example/npm-init/init.js | 37 +++ .../promzard/example/npm-init/package.json | 10 + .../promzard/example/substack-input.js | 61 +++++ .../node_modules/promzard/package.json | 26 ++ .../node_modules/promzard/promzard.js | 216 +++++++++++++++ .../node_modules/promzard/test/basic.js | 83 ++++++ .../node_modules/promzard/test/exports.input | 5 + .../node_modules/promzard/test/exports.js | 30 +++ .../node_modules/promzard/test/fn.input | 18 ++ .../node_modules/promzard/test/fn.js | 39 +++ .../node_modules/promzard/test/simple.input | 8 + .../node_modules/promzard/test/simple.js | 30 +++ .../init-package-json/package.json | 42 +++ .../node_modules/node-gyp/lib/configure.js | 28 +- deps/npm/node_modules/node-gyp/lib/list.js | 2 +- .../npm/node_modules/node-gyp/lib/node-gyp.js | 1 + deps/npm/node_modules/node-gyp/package.json | 10 +- .../npm-registry-client/lib/adduser.js | 7 +- .../npm-registry-client/lib/request.js | 6 + .../npm-registry-client/package.json | 6 +- .../read-package-json/package.json | 10 +- .../read-package-json/read-json.js | 32 +++ deps/npm/node_modules/read/README.md | 7 +- deps/npm/node_modules/read/lib/read.js | 59 +++-- deps/npm/node_modules/read/package.json | 17 +- deps/npm/package.json | 14 +- 141 files changed, 1620 insertions(+), 485 deletions(-) delete mode 100644 deps/npm/lib/utils/promise-chain.js create mode 100644 deps/npm/node_modules/init-package-json/README.md create mode 100644 deps/npm/node_modules/init-package-json/default-input.js create mode 100644 deps/npm/node_modules/init-package-json/init-package-json.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/.npmignore create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/README.md create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/example/index.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/package.json create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/promzard.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/basic.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/exports.input create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/exports.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/fn.input create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/fn.js create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/simple.input create mode 100644 deps/npm/node_modules/init-package-json/node_modules/promzard/test/simple.js create mode 100644 deps/npm/node_modules/init-package-json/package.json diff --git a/deps/npm/README.md b/deps/npm/README.md index d5e285ab0e..1257f14716 100644 --- a/deps/npm/README.md +++ b/deps/npm/README.md @@ -89,21 +89,15 @@ To install the latest **unstable** development version from git: git clone https://github.com/isaacs/npm.git cd npm - git submodule update --init --recursive sudo make install # (or: `node cli.js install -gf`) If you're sitting in the code folder reading this document in your terminal, then you've already got the code. Just do: - git submodule update --init --recursive sudo make install and npm will install itself. -Note that github tarballs **do not contain submodules**, so -those won't work. You'll have to also fetch the appropriate submodules -listed in the .gitmodules file. - ## Permissions when Using npm to Install Other Stuff **tl;dr** diff --git a/deps/npm/doc/cli/config.md b/deps/npm/doc/cli/config.md index 659895eaf9..38ef36783a 100644 --- a/deps/npm/doc/cli/config.md +++ b/deps/npm/doc/cli/config.md @@ -375,6 +375,16 @@ Sets a User-Agent to the request header A white-space separated list of glob patterns of files to always exclude from packages when building tarballs. +### init-module + +* Default: ~/.npm-init.js +* Type: path + +A module that will be loaded by the `npm init` command. See the +documentation for the +[init-package-json](https://github.com/isaacs/init-package-json) module +for more information, or npm-init(1). + ### init.version * Default: "0.0.0" diff --git a/deps/npm/doc/cli/init.md b/deps/npm/doc/cli/init.md index 39297b4c4d..d036f924db 100644 --- a/deps/npm/doc/cli/init.md +++ b/deps/npm/doc/cli/init.md @@ -20,5 +20,6 @@ without a really good reason to do so. ## SEE ALSO +* * npm-json(1) * npm-version(1) diff --git a/deps/npm/html/api/bin.html b/deps/npm/html/api/bin.html index fe25d03561..34c4fa2dc3 100644 --- a/deps/npm/html/api/bin.html +++ b/deps/npm/html/api/bin.html @@ -19,7 +19,7 @@

This function should not be used programmatically. Instead, just refer to the npm.bin member.

- +