Skip to content

Commit

Permalink
Allow using an enterprise artifactory.
Browse files Browse the repository at this point in the history
Use a global binary_host_mirror variable in .npmrc to fetch binary requisites at install time.  This requires a small change to node-pre-gyp in lib/util/versioning.js.

Revert to using a deep path so that the local artifactory can host gyp binaries of different packages.
  • Loading branch information
ilatypov committed Aug 31, 2018
1 parent d32a1a6 commit db7afd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -11,7 +11,7 @@
"crypto"
],
"main": "./bcrypt",
"version": "3.0.0",
"version": "3.0.1",
"author": "Nick Campbell (https://github.com/ncb000gt)",
"engines": {
"node": ">= 6.0.0"
Expand All @@ -30,7 +30,7 @@
},
"dependencies": {
"nan": "2.10.0",
"node-pre-gyp": "0.11.0"
"node-pre-gyp": "0.11.1"
},
"devDependencies": {
"nodeunit": "^0.11.2"
Expand Down Expand Up @@ -60,7 +60,7 @@
"module_name": "bcrypt_lib",
"module_path": "./lib/binding/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
"host": "https://github.com/kelektiv/node.bcrypt.js/releases/download/",
"remote_path": "v{version}"
"host": "https://github.com",
"remote_path": "kelektiv/node.bcrypt.js/releases/download/v{version}"
}
}

0 comments on commit db7afd0

Please sign in to comment.