Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
304 changed files
with
25,715 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
*.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 |
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,33 @@ | ||
[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 |
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,43 @@ | ||
# 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) |
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/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,35 @@ | ||
Copyright 2009, 2010, 2011 Isaac Z. Schlueter. | ||
All rights reserved. | ||
|
||
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. | ||
|
||
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. | ||
|
||
|
||
"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, and are the sole property of their respective | ||
maintainers. | ||
|
||
"npm Logo" created by Mathias Pettersson and Brian Hammond, | ||
used with permission. |
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,64 @@ | ||
SHELL = bash | ||
|
||
docs = $(shell find doc -name '*.md' \ | ||
|sed 's|.md|.1|g' \ | ||
|sed 's|doc/|man1/|g' ) | ||
|
||
doc_subfolders = $(shell find doc -type d \ | ||
|sed 's|doc/|man1/|g' ) | ||
|
||
# This is the default make target. | ||
# Since 'make' typically does non-installation build stuff, | ||
# it seems appropriate. | ||
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: submodules | ||
node cli.js install -g -f | ||
|
||
# backwards compat | ||
dev: install | ||
|
||
link: uninstall | ||
node cli.js link -f | ||
|
||
clean: uninstall | ||
node cli.js cache clean | ||
|
||
uninstall: submodules | ||
node cli.js rm npm -g -f | ||
|
||
man: man1 | ||
|
||
man1: $(doc_subfolders) | ||
[ -d man1 ] || mkdir -p man1 | ||
|
||
doc: man1 $(docs) | ||
|
||
# use `npm install ronn` for this to work. | ||
man1/%.1: doc/%.md | ||
@[ -x ./node_modules/.bin/ronn ] || node cli.js install ronn | ||
./node_modules/.bin/ronn --roff $< > $@ | ||
|
||
man1/%/: doc/%/ | ||
@[ -d $@ ] || mkdir -p $@ | ||
|
||
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 &&\ | ||
npm publish | ||
|
||
.PHONY: latest install dev link doc clean uninstall test man |
Oops, something went wrong.