| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9c247c5 commit 3f2ea53
635 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,6 +32,7 @@ Jake Verbaten <raynos2@gmail.com> | |||
| 32 | 32 | James Sanders <jimmyjazz14@gmail.com> | |
| 33 | 33 | James Treworgy <jamietre@gmail.com> | |
| 34 | 34 | Jason Smith <jhs@iriscouch.com> | |
| 35 | + Joshua Bennett <legodudejb@gmail.com> | ||
| 35 | 36 | Jonas Weber <github@jonasw.de> | |
| 36 | 37 | Julien Meddah <julien.meddah@deveryware.com> | |
| 37 | 38 | Kevin Lorenz <mail@kevinlorenz.com> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,9 +25,6 @@ matrix: | |||
| 25 | 25 | script: | |
| 26 | 26 | - "standard" | |
| 27 | 27 | - "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\"" | |
| 28 | - before_install: | ||
| 29 | - # required by test/tap/registry.js | ||
| 30 | - - "mkdir -p /var/run/couchdb" | ||
| 31 | 28 | notifications: | |
| 32 | 29 | slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8 | |
| 33 | 30 | cache: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -424,7 +424,7 @@ Daniel Paz-Soldan <daniel.pazsoldan@gmail.com> | |||
| 424 | 424 | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | |
| 425 | 425 | Zach Renner <zarenner@microsoft.com> | |
| 426 | 426 | Christopher Hiller <boneskull@boneskull.com> | |
| 427 | - legodude17 <legodudejb@gmail.com> | ||
| 427 | + Joshua Bennett <legodudejb@gmail.com> | ||
| 428 | 428 | Andrew Meyer <andrewm.bpi@gmail.com> | |
| 429 | 429 | Michael Jasper <mdjasper@gmail.com> | |
| 430 | 430 | Max <contact@mstoiber.com> | |
@@ -503,3 +503,26 @@ Sanketh Katta <sankethkatta@gmail.com> | |||
| 503 | 503 | Tim Needham <tim.needham@wmfs.net> | |
| 504 | 504 | leonardo rojas <leonardo.rojas@shopify.com> | |
| 505 | 505 | Mark Peter Fejes <fejes.mark@gmail.com> | |
| 506 | + Ryan Florence <rpflorence@gmail.com> | ||
| 507 | + MichaelQQ <mingsian.tu@vpon.com> | ||
| 508 | + Anders D. Johnson <anders.d.johnson.developer@gmail.com> | ||
| 509 | + Benjamin Fernandes <lotharsee@gmail.com> | ||
| 510 | + Simon Kurtz <simonkurtz@gmail.com> | ||
| 511 | + David Goss <david@davidgoss.co.uk> | ||
| 512 | + Luis Gustavo Pereira <lgp1985@yahoo.com.br> | ||
| 513 | + Amos Wenger <fasterthanlime@users.noreply.github.com> | ||
| 514 | + Samuel Marks <samuelmarks@gmail.com> | ||
| 515 | + Victor Travieso <victor@grabcad.com> | ||
| 516 | + legodude17 <legodude17@users.noreply.github.com> | ||
| 517 | + Joshua Chaitin-Pollak <jbcpollak@users.noreply.github.com> | ||
| 518 | + Brendan Warkentin <faazshift@gmail.com> | ||
| 519 | + Scott Santucci <ScottFreeCode@users.noreply.github.com> | ||
| 520 | + Xavier Cambar <xcambar@gmail.com> | ||
| 521 | + Vikram <nrvikram19@gmail.com> | ||
| 522 | + Igor Nadj <igor.nadj@shinesolutions.com> | ||
| 523 | + Tong Li <supertong@users.noreply.github.com> | ||
| 524 | + tripu <t@tripu.info> | ||
| 525 | + Carsten Brandt <mail@cebe.cc> | ||
| 526 | + Marcin Szczepanski <marcin@imagichine.com.au> | ||
| 527 | + Josh Clow <josh@textio.com> | ||
| 528 | + Jakub Holy <jakubholy@jakubholy.net> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,12 +88,16 @@ doc-clean: | |||
| 88 | 88 | html/doc \ | |
| 89 | 89 | man | |
| 90 | 90 | ||
| 91 | + ## build-time tools for the documentation | ||
| 92 | + build-doc-tools := node_modules/.bin/marked \ | ||
| 93 | + node_modules/.bin/marked-man | ||
| 94 | + | ||
| 91 | 95 | # use `npm install marked-man` for this to work. | |
| 92 | - man/man1/npm-README.1: README.md scripts/doc-build.sh package.json | ||
| 96 | + man/man1/npm-README.1: README.md scripts/doc-build.sh package.json $(build-doc-tools) | ||
| 93 | 97 | @[ -d man/man1 ] || mkdir -p man/man1 | |
| 94 | 98 | scripts/doc-build.sh $< $@ | |
| 95 | 99 | ||
| 96 | - man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json | ||
| 100 | + man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json $(build-doc-tools) | ||
| 97 | 101 | @[ -d man/man1 ] || mkdir -p man/man1 | |
| 98 | 102 | scripts/doc-build.sh $< $@ | |
| 99 | 103 | ||
@@ -106,26 +110,26 @@ man/man5/npm-json.5: man/man5/package.json.5 | |||
| 106 | 110 | man/man5/npm-global.5: man/man5/npm-folders.5 | |
| 107 | 111 | cp $< $@ | |
| 108 | 112 | ||
| 109 | - man/man5/%.5: doc/files/%.md scripts/doc-build.sh package.json | ||
| 113 | + man/man5/%.5: doc/files/%.md scripts/doc-build.sh package.json $(build-doc-tools) | ||
| 110 | 114 | @[ -d man/man5 ] || mkdir -p man/man5 | |
| 111 | 115 | scripts/doc-build.sh $< $@ | |
| 112 | 116 | ||
| 113 | - doc/misc/npm-index.md: scripts/index-build.js package.json | ||
| 117 | + doc/misc/npm-index.md: scripts/index-build.js package.json $(build-doc-tools) | ||
| 114 | 118 | node scripts/index-build.js > $@ | |
| 115 | 119 | ||
| 116 | - html/doc/index.html: doc/misc/npm-index.md $(html_docdeps) | ||
| 120 | + html/doc/index.html: doc/misc/npm-index.md $(html_docdeps) $(build-doc-tools) | ||
| 117 | 121 | @[ -d html/doc ] || mkdir -p html/doc | |
| 118 | 122 | scripts/doc-build.sh $< $@ | |
| 119 | 123 | ||
| 120 | - man/man7/%.7: doc/misc/%.md scripts/doc-build.sh package.json | ||
| 124 | + man/man7/%.7: doc/misc/%.md scripts/doc-build.sh package.json $(build-doc-tools) | ||
| 121 | 125 | @[ -d man/man7 ] || mkdir -p man/man7 | |
| 122 | 126 | scripts/doc-build.sh $< $@ | |
| 123 | 127 | ||
| 124 | - html/doc/README.html: README.md $(html_docdeps) | ||
| 128 | + html/doc/README.html: README.md $(html_docdeps) $(build-doc-tools) | ||
| 125 | 129 | @[ -d html/doc ] || mkdir -p html/doc | |
| 126 | 130 | scripts/doc-build.sh $< $@ | |
| 127 | 131 | ||
| 128 | - html/doc/cli/%.html: doc/cli/%.md $(html_docdeps) | ||
| 132 | + html/doc/cli/%.html: doc/cli/%.md $(html_docdeps) $(build-doc-tools) | ||
| 129 | 133 | @[ -d html/doc/cli ] || mkdir -p html/doc/cli | |
| 130 | 134 | scripts/doc-build.sh $< $@ | |
| 131 | 135 | ||
@@ -135,11 +139,11 @@ html/doc/files/npm-json.html: html/doc/files/package.json.html | |||
| 135 | 139 | html/doc/files/npm-global.html: html/doc/files/npm-folders.html | |
| 136 | 140 | cp $< $@ | |
| 137 | 141 | ||
| 138 | - html/doc/files/%.html: doc/files/%.md $(html_docdeps) | ||
| 142 | + html/doc/files/%.html: doc/files/%.md $(html_docdeps) $(build-doc-tools) | ||
| 139 | 143 | @[ -d html/doc/files ] || mkdir -p html/doc/files | |
| 140 | 144 | scripts/doc-build.sh $< $@ | |
| 141 | 145 | ||
| 142 | - html/doc/misc/%.html: doc/misc/%.md $(html_docdeps) | ||
| 146 | + html/doc/misc/%.html: doc/misc/%.md $(html_docdeps) $(build-doc-tools) | ||
| 143 | 147 | @[ -d html/doc/misc ] || mkdir -p html/doc/misc | |
| 144 | 148 | scripts/doc-build.sh $< $@ | |
| 145 | 149 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,12 +141,12 @@ you have chosen. | |||
| 141 | 141 | ||
| 142 | 142 | ## More Docs | |
| 143 | 143 | ||
| 144 | - Check out the [docs](https://docs.npmjs.com/), | ||
| 144 | + Check out the [docs](https://docs.npmjs.com/). | ||
| 145 | 145 | ||
| 146 | 146 | You can use the `npm help` command to read any of them. | |
| 147 | 147 | ||
| 148 | 148 | If you're a developer, and you want to use npm to publish your program, | |
| 149 | - you should [read this](https://docs.npmjs.com/misc/developers) | ||
| 149 | + you should [read this](https://docs.npmjs.com/misc/developers). | ||
| 150 | 150 | ||
| 151 | 151 | ## BUGS | |
| 152 | 152 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,7 @@ npm-config(1) -- Manage the npm configuration files | |||
| 6 | 6 | npm config set <key> <value> [-g|--global] | |
| 7 | 7 | npm config get <key> | |
| 8 | 8 | npm config delete <key> | |
| 9 | - npm config list [-l] | ||
| 9 | + npm config list [-l] [--json] | ||
| 10 | 10 | npm config edit | |
| 11 | 11 | npm get <key> | |
| 12 | 12 | npm set <key> <value> [-g|--global] | |
@@ -48,7 +48,8 @@ Echo the config value to stdout. | |||
| 48 | 48 | ||
| 49 | 49 | npm config list | |
| 50 | 50 | ||
| 51 | - Show all the config settings. Use `-l` to also show defaults. | ||
| 51 | + Show all the config settings. Use `-l` to also show defaults. Use `--json` | ||
| 52 | + to show the settings in json format. | ||
| 52 | 53 | ||
| 53 | 54 | ### delete | |
| 54 | 55 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,14 @@ npm-ping(1) -- Ping npm registry | |||
| 8 | 8 | ## DESCRIPTION | |
| 9 | 9 | ||
| 10 | 10 | Ping the configured or given npm registry and verify authentication. | |
| 11 | + If it works it will output something like: | ||
| 12 | + ``` | ||
| 13 | + Ping success: {*Details about registry*} | ||
| 14 | + ``` | ||
| 15 | + otherwise you will get: | ||
| 16 | + ``` | ||
| 17 | + Ping error: {*Detail about error} | ||
| 18 | + ``` | ||
| 11 | 19 | ||
| 12 | 20 | ## SEE ALSO | |
| 13 | 21 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ and not to any pre or post script. | |||
| 27 | 27 | ||
| 28 | 28 | The `env` script is a special built-in command that can be used to list | |
| 29 | 29 | environment variables that will be available to the script at runtime. If an | |
| 30 | - "env" command is defined in your package it will take precedence over the | ||
| 30 | + "env" command is defined in your package, it will take precedence over the | ||
| 31 | 31 | built-in. | |
| 32 | 32 | ||
| 33 | 33 | In addition to the shell's pre-existing `PATH`, `npm run` adds | |
@@ -38,7 +38,17 @@ you should write: | |||
| 38 | 38 | ||
| 39 | 39 | "scripts": {"test": "tap test/\*.js"} | |
| 40 | 40 | ||
| 41 | - instead of `"scripts": {"test": "node_modules/.bin/tap test/\*.js"}` to run your tests. | ||
| 41 | + instead of | ||
| 42 | + | ||
| 43 | + "scripts": {"test": "node_modules/.bin/tap test/\*.js"} | ||
| 44 | + | ||
| 45 | + to run your tests. | ||
| 46 | + | ||
| 47 | + Scripts are run from the root of the module, regardless of what your current | ||
| 48 | + working directory is when you call `npm run`. If you want your script to | ||
| 49 | + use different behavior based on what subdirectory you're in, you can use the | ||
| 50 | + `INIT_CWD` environment variable, which holds the full path you were in when | ||
| 51 | + you ran `npm run`. | ||
| 42 | 52 | ||
| 43 | 53 | `npm run` sets the `NODE` environment variable to the `node` executable with | |
| 44 | 54 | which `npm` is executed. Also, if the `--scripts-prepend-node-path` is passed, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments