forked from nodejs/node-v0.x-archive
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include NPM, update .pkg to install it.
.msi update coming soon.
- Loading branch information
Showing
449 changed files
with
33,131 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.swp | ||
test/bin | ||
test/output.log | ||
test/packages/*/node_modules | ||
test/packages/npm-test-depends-on-spark/which-spark.log | ||
test/packages/test-package/random-data.txt | ||
test/root | ||
node_modules/ronn | ||
node_modules/.bin | ||
npm-debug.log | ||
html/api/*.html | ||
html/doc/*.html | ||
man/ | ||
doc/*/index.md | ||
./npmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[submodule "node_modules/semver"] | ||
path = node_modules/semver | ||
url = https://github.com/isaacs/node-semver.git | ||
[submodule "node_modules/abbrev"] | ||
path = node_modules/abbrev | ||
url = https://github.com/isaacs/abbrev-js.git | ||
[submodule "node_modules/nopt"] | ||
path = node_modules/nopt | ||
url = https://github.com/isaacs/nopt.git | ||
[submodule "node_modules/node-uuid"] | ||
path = node_modules/node-uuid | ||
url = https://github.com/broofa/node-uuid | ||
[submodule "node_modules/minimatch"] | ||
path = node_modules/minimatch | ||
url = https://github.com/isaacs/minimatch.git | ||
[submodule "node_modules/graceful-fs"] | ||
path = node_modules/graceful-fs | ||
url = https://github.com/isaacs/node-graceful-fs.git | ||
[submodule "node_modules/slide"] | ||
path = node_modules/slide | ||
url = https://github.com/isaacs/slide-flow-control.git | ||
[submodule "node_modules/rimraf"] | ||
path = node_modules/rimraf | ||
url = https://github.com/isaacs/rimraf.git | ||
[submodule "node_modules/proto-list"] | ||
path = node_modules/proto-list | ||
url = https://github.com/isaacs/proto-list.git | ||
[submodule "node_modules/ini"] | ||
path = node_modules/ini | ||
url = https://github.com/isaacs/ini.git | ||
[submodule "node_modules/which"] | ||
path = node_modules/which | ||
url = https://github.com/isaacs/node-which.git | ||
[submodule "node_modules/request"] | ||
path = node_modules/request | ||
url = https://github.com/isaacs/request.git | ||
[submodule "node_modules/tar"] | ||
path = node_modules/tar | ||
url = git://github.com/isaacs/node-tar.git | ||
[submodule "node_modules/fstream"] | ||
path = node_modules/fstream | ||
url = git://github.com/isaacs/fstream.git | ||
[submodule "node_modules/inherits"] | ||
path = node_modules/inherits | ||
url = git://github.com/isaacs/inherits.git | ||
[submodule "node_modules/block-stream"] | ||
path = node_modules/block-stream | ||
url = git://github.com/isaacs/block-stream.git | ||
[submodule "node_modules/mkdirp"] | ||
path = node_modules/mkdirp | ||
url = git://github.com/isaacs/node-mkdirp.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
*.swp | ||
test/bin | ||
test/output.log | ||
test/packages/*/node_modules | ||
test/packages/npm-test-depends-on-spark/which-spark.log | ||
test/packages/test-package/random-data.txt | ||
test/root | ||
node_modules/ronn | ||
node_modules/.bin | ||
npm-debug.log | ||
./npmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Authors sorted by whether or not they're me | ||
Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/) | ||
Steve Steiner <ssteinerX@gmail.com> (http://websaucesoftware.com/blog/) | ||
Mikeal Rogers <mikeal.rogers@gmail.com> (http://www.mikealrogers.com/) | ||
Aaron Blohowiak <aaron.blohowiak@gmail.com> (http://aaronblohowiak.com/) | ||
Martyn Smith <martyn@dollyfish.net.nz> (http://dollyfish.net.nz/) | ||
Mathias Pettersson <mape@mape.me> (http://mape.me/) | ||
Brian Hammond <brian@fictorial.com> (http://fictorial.com/) | ||
Charlie Robbins <charlie.robbins@gmail.com> (http://www.charlierobbins.com/) | ||
Francisco Treacy <francisco.treacy@gmail.com> (http://franciscotreacy.com/) | ||
Cliffano Subagio <cliffano@gmail.com> (http://blog.cliffano.com/) | ||
Christian Eager <christian.eager@nokia.com> (http://perpenduum.com) | ||
Dav Glass <davglass@gmail.com> (http://blog.davglass.com) | ||
Alex K. Wolfe <alexkwolfe@gmail.com> | ||
James Sanders <jimmyjazz14@gmail.com> (http://james-sanders.com/) | ||
Reid Burke <me@reidburke.com> (http://reidburke.com/) | ||
Arlo Breault <arlolra@gmail.com> (http://thoughtherder.com/) | ||
Timo Derstappen <teemow@gmail.com> (http://teemow.com) | ||
Bradley Meck <bradley.meck@gmail.com> | ||
Bart Teeuwisse <bart.teeuwisse@thecodemill.biz> (http://thecodemill.biz/) | ||
Ben Noordhuis <info@bnoordhuis.nl> (http://bnoordhuis.nl/) | ||
Tor Valamo <tor.valamo@gmail.com> (http://www.magnimedia.no/) | ||
Whyme.Lyu <5longluna@gmail.com> (http://whyme.kuantu.com/) | ||
Olivier Melcher <olivier.melcher@gmail.com> | ||
Tomaž Muraus <kami@k5-storitve.net> (http://www.tomaz-muraus.info) | ||
Evan Meagher <evan.meagher@gmail.com> (http://evanmeagher.net/) | ||
Orlando Vazquez <ovazquez@gmail.com> (http://2wycked.net/) | ||
George Miroshnykov <gmiroshnykov@lohika.com> | ||
Geoff Flarity (http://ca.linkedin.com/pub/geoff-flarity/a/536/43a) | ||
Pete Kruckenberg <pete@kruckenberg.com> | ||
Laurie Harper <laurie@holoweb.net> (http://laurie.holoweb.net/) | ||
Chris Wong <chris@chriswongstudio.com> | ||
Max Goodman <c@chromacode.com> (http://chromacode.com/) | ||
Scott Bronson <brons_github@rinspin.com> | ||
Federico Romero <federomero@gmail.com> | ||
Visnu Pitiyanuvath <visnupx@gmail.com> (http://visnup.com) | ||
Irakli Gozalishvili <rfobic@gmail.com> (http://jeditoolkit.com/) | ||
Mark Cahill <mark@tiemonster.info> (http://www.tiemonster.info/) | ||
Zearin <zearin@gonk.net> | ||
Iain Sproat <iainsproat@gmail.com> | ||
Trent Mick <trentm@gmail.com> (http://trentm.com/) | ||
Felix Geisendörfer <felix@debuggable.com> (http://www.debuggable.com/) | ||
Conny Brunnkvist <cbrunnkvist@gmail.com> (http://twitter.com/connyb) | ||
Will Elwood <w.elwood08@gmail.com> (https://github.com/welwood08) | ||
Oleg Efimov <efimovov@gmail.com> (http://sannis.ru) | ||
Martin Cooper <mfncooper@gmail.com> | ||
Jameson Little <t.jameson.little@gmail.com> | ||
cspotcode <cspotcode@gmail.com> | ||
Maciej Małecki <maciej.malecki@notimplemented.org> | ||
Stephen Sugden <glurgle@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
doc/cli/changelog.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Copyright 2009, 2010, 2011 Isaac Z. Schlueter (the "Author") | ||
All rights reserved. | ||
|
||
MIT +no-false-attribs License | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, | ||
copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the | ||
Software is furnished to do so, subject to the following | ||
conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
Distributions of all or part of the Software intended to be used | ||
by the recipients as they would use the unmodified Software, | ||
containing modifications that substantially alter, remove, or | ||
disable functionality of the Software, outside of the documented | ||
configuration mechanisms provided by the Software, shall be | ||
modified such that the Author's bug reporting email addresses and | ||
urls are either replaced with the contact information of the | ||
parties responsible for the changes, or removed entirely. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
|
||
Except where noted, this license applies to any and all software | ||
programs and associated documentation files created by the | ||
Author, when distributed with the Software. | ||
|
||
"Node.js" and "node" trademark Joyent, Inc. npm is not officially | ||
part of the Node.js project, and is neither owned by nor | ||
officially affiliated with Joyent, Inc. | ||
|
||
Packages published in the npm registry are not part of npm | ||
itself, are the sole property of their respective maintainers, | ||
and are not covered by this license. | ||
|
||
"npm Logo" created by Mathias Pettersson and Brian Hammond, | ||
used with permission. | ||
|
||
This program includes a BSDTar/LibArchive version 2.8.3-1 binary, | ||
originally distributed as part of the MinGW suite, compiled for | ||
Win32, according to the terms of the BSD license. | ||
See deps/basic-bsdtar-2.8.3-1-ming32-bin/basic-bsdtar.LICENSE. | ||
|
||
This program uses "node-uuid", Copyright (c) 2010 Robert Kieffer, | ||
according to the terms of the MIT license. | ||
|
||
This program uses "request", Copyright (c) 2011 Mikeal Rogers, | ||
according to the terms of the Apache license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
SHELL = bash | ||
|
||
markdowns = $(shell find doc -name '*.md' | grep -v 'index') README.md | ||
|
||
cli_mandocs = $(shell find doc/cli -name '*.md' \ | ||
|sed 's|.md|.1|g' \ | ||
|sed 's|doc/cli/|man/man1/|g' ) \ | ||
man/man1/README.1 \ | ||
man/man1/index.1 | ||
|
||
api_mandocs = $(shell find doc/api -name '*.md' \ | ||
|sed 's|.md|.3|g' \ | ||
|sed 's|doc/api/|man/man3/|g' ) | ||
|
||
cli_htmldocs = $(shell find doc/cli -name '*.md' \ | ||
|grep -v 'index.md' \ | ||
|sed 's|.md|.html|g' \ | ||
|sed 's|doc/cli/|html/doc/|g' ) \ | ||
html/doc/README.html \ | ||
html/doc/index.html | ||
|
||
api_htmldocs = $(shell find doc/api -name '*.md' \ | ||
|sed 's|.md|.html|g' \ | ||
|sed 's|doc/api/|html/api/|g' ) | ||
|
||
mandocs = $(api_mandocs) $(cli_mandocs) | ||
|
||
htmldocs = $(api_htmldocs) $(cli_htmldocs) | ||
|
||
all: submodules doc | ||
|
||
submodules: | ||
! [ -d .git ] || git submodule update --init --recursive | ||
|
||
latest: submodules | ||
@echo "Installing latest published npm" | ||
@echo "Use 'make install' or 'make link' to install the code" | ||
@echo "in this folder that you're looking at right now." | ||
node cli.js install -g -f npm | ||
|
||
install: all | ||
node cli.js install -g -f | ||
|
||
# backwards compat | ||
dev: install | ||
|
||
link: uninstall | ||
node cli.js link -f | ||
|
||
clean: doc-clean uninstall | ||
rm npmrc | ||
node cli.js cache clean | ||
|
||
uninstall: submodules | ||
node cli.js rm npm -g -f | ||
|
||
doc: $(mandocs) $(htmldocs) | ||
|
||
docclean: doc-clean | ||
doc-clean: | ||
rm -rf \ | ||
node_modules/ronn \ | ||
node_modules/.bin/ronn \ | ||
.building_ronn \ | ||
doc/cli/index.md \ | ||
doc/api/index.md \ | ||
$(api_mandocs) \ | ||
$(cli_mandocs) \ | ||
$(api_htmldocs) \ | ||
$(cli_htmldocs) \ | ||
&>/dev/null || true | ||
|
||
# use `npm install ronn` for this to work. | ||
man/man1/README.1: README.md scripts/doc-build.sh package.json | ||
scripts/doc-build.sh $< $@ | ||
|
||
man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json | ||
@[ -d man/man1 ] || mkdir -p man/man1 | ||
scripts/doc-build.sh $< $@ | ||
|
||
man/man3/%.3: doc/api/%.md scripts/doc-build.sh package.json | ||
@[ -d man/man3 ] || mkdir -p man/man3 | ||
scripts/doc-build.sh $< $@ | ||
|
||
html/doc/README.html: README.md html/dochead.html html/docfoot.html scripts/doc-build.sh package.json | ||
scripts/doc-build.sh $< $@ | ||
|
||
html/doc/%.html: doc/cli/%.md html/dochead.html html/docfoot.html scripts/doc-build.sh package.json | ||
scripts/doc-build.sh $< $@ | ||
|
||
html/api/%.html: doc/api/%.md html/dochead.html html/docfoot.html scripts/doc-build.sh package.json | ||
scripts/doc-build.sh $< $@ | ||
|
||
doc/cli/index.md: $(markdowns) scripts/index-build.js scripts/doc-build.sh package.json | ||
node scripts/index-build.js > $@ | ||
|
||
node_modules/ronn: | ||
node cli.js install https://github.com/isaacs/ronnjs/tarball/master | ||
|
||
doc: man | ||
|
||
man: $(cli_docs) $(api_docs) | ||
|
||
test: submodules | ||
node cli.js test | ||
|
||
version: link | ||
git add package.json &&\ | ||
git ci -m v$(shell npm -v) | ||
|
||
publish: link | ||
git tag -s -m v$(shell npm -v) v$(shell npm -v) &&\ | ||
git push origin master --tags &&\ | ||
npm publish &&\ | ||
make doc-publish | ||
|
||
docpublish: doc-publish | ||
doc-publish: doc | ||
rsync -vazu --stats --no-implied-dirs --delete html/doc/ npmjs.org:/var/www/npmjs.org/public/doc | ||
rsync -vazu --stats --no-implied-dirs --delete html/api/ npmjs.org:/var/www/npmjs.org/public/api | ||
|
||
sandwich: | ||
@[ $$(whoami) = "root" ] && (echo "ok"; echo "ham" > sandwich) || echo "make it yourself" | ||
|
||
.PHONY: all latest install dev link doc clean uninstall test man doc-publish doc-clean docclean docpublish |
Oops, something went wrong.