Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix(bin): pin the npx bin's dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jul 9, 2017
1 parent 4fbb599 commit ae62f7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/package.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"author": "Kat Marchán <kzm@sykosomatic.org>",
"license": "CC0-1.0",
"dependencies": {
"npm": "^5.1.0",
"npm": "5.1.0",
"libnpx": ""
},
"bundleDependencies": [
Expand Down

0 comments on commit ae62f7a

Please sign in to comment.