Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2017-07-09 01:20:33 +0300
committerRebecca Turner <me@re-becca.org>2017-07-11 03:09:54 +0300
commitfb040bee0710759c60e45bf8fa2a3b8ddcf4212a (patch)
treefbd20b9c0b119495436404b8effa5a417269e80c /Makefile
parent88aafee8b5b232b7eeb5690279a098d056575791 (diff)
npx: bundle npx with npm itself
npx is an npm package runner with a bunch of nice features. While it is also available on the npm registry as `npx`, it's the sort of thing that's better off being bundles with npm itself. Fixes: #6053 PR-URL: https://github.com/npm/npm/pull/17685 Credit: @zkat Reviewed-By: @iarna
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cb67d2d5..53ab16a29 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,8 @@ html_docdeps = html/dochead.html \
cli_mandocs = $(shell find doc/cli -name '*.md' \
|sed 's|.md|.1|g' \
|sed 's|doc/cli/|man/man1/|g' ) \
- man/man1/npm-README.1
+ man/man1/npm-README.1 \
+ man/man1/npx.1
files_mandocs = $(shell find doc/files -name '*.md' \
|sed 's|.md|.5|g' \
@@ -96,6 +97,9 @@ man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json
@[ -d man/man1 ] || mkdir -p man/man1
scripts/doc-build.sh $< $@
+man/man1/npx.1: node_modules/libnpx/libnpx.1
+ cat $< | sed s/libnpx/npx/ > $@
+
man/man5/npm-json.5: man/man5/package.json.5
cp $< $@