From ae62f7ada8a06ce3d0ed9f7ab5f43e3587658e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sun, 9 Jul 2017 01:15:24 -0700 Subject: [PATCH] fix(bin): pin the npx bin's dependencies --- Makefile | 2 +- bin/package.template.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fbe6b0e..7116824 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ libnpx.1: README.md bin/package.json: package.json bin/package.template.json cat bin/package.template.json | json -e "this.version = '$$(cat package.json | json version)'" > $@ - json -I -f $@ -e "this.dependencies.libnpx = '^$$(cat $@ | json version)'" + json -I -f $@ -e "this.dependencies.libnpx = '$$(cat $@ | json version)'" bin/node_modules: bin/package.json cd bin && npm i diff --git a/bin/package.template.json b/bin/package.template.json index 9f5ae25..182a081 100644 --- a/bin/package.template.json +++ b/bin/package.template.json @@ -19,7 +19,7 @@ "author": "Kat Marchán ", "license": "CC0-1.0", "dependencies": { - "npm": "^5.1.0", + "npm": "5.1.0", "libnpx": "" }, "bundleDependencies": [