prebuild-install
Advanced tools
Comparing version 7.0.0 to 7.0.1
# Changelog | ||
## [7.0.1] - 2022-01-28 | ||
### Changed | ||
- Upgrade to the latest version of `detect-libc` ([#166](https://github.com/prebuild/prebuild-install/issues/166)) ([`f71c6b9`](https://github.com/prebuild/prebuild-install/commit/f71c6b9)) (Lovell Fuller). | ||
## [7.0.0] - 2021-11-12 | ||
@@ -7,3 +13,3 @@ | ||
- **Breaking:** bump `node-abi` so that Electron 14+ gets correct ABI ([#161](https://github.com/prebuild/prebuild-install/issues/161)) ([`477f347`](https://github.com/prebuild/prebuild-install/commit/477f347)) (csett86). Drops support of Node.js < 10. | ||
- **Breaking:** bump `node-abi` so that Electron 14+ gets correct ABI ([#161](https://github.com/prebuild/prebuild-install/issues/161)) ([`477f347`](https://github.com/prebuild/prebuild-install/commit/477f347)) (csett86). Drops support of Node.js < 10. | ||
- Bump `simple-get` ([`7468c14`](https://github.com/prebuild/prebuild-install/commit/7468c14)) (Vincent Weevers). | ||
@@ -75,2 +81,4 @@ | ||
[7.0.1]: https://github.com/prebuild/prebuild-install/releases/tag/v7.0.1 | ||
[7.0.0]: https://github.com/prebuild/prebuild-install/releases/tag/v7.0.0 | ||
@@ -77,0 +85,0 @@ |
{ | ||
"name": "prebuild-install", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "A command line tool to easily install prebuilt binaries for multiple version of node/iojs on a specific platform", | ||
@@ -22,3 +22,3 @@ "scripts": { | ||
"dependencies": { | ||
"detect-libc": "^1.0.3", | ||
"detect-libc": "^2.0.0", | ||
"expand-template": "^2.0.3", | ||
@@ -39,3 +39,3 @@ "github-from-package": "0.0.0", | ||
"a-native-module": "^1.0.0", | ||
"hallmark": "^3.0.0", | ||
"hallmark": "^4.0.0", | ||
"nock": "^10.0.6", | ||
@@ -42,0 +42,0 @@ "rimraf": "^2.5.2", |
@@ -8,3 +8,3 @@ const path = require('path') | ||
const env = process.env | ||
const libc = env.LIBC || (detectLibc.isNonGlibcLinux && detectLibc.family) || '' | ||
const libc = env.LIBC || (detectLibc.isNonGlibcLinuxSync() && detectLibc.familySync()) || '' | ||
@@ -11,0 +11,0 @@ // Get the configuration |
@@ -9,3 +9,3 @@ # prebuild-install | ||
[![Test](https://img.shields.io/github/workflow/status/prebuild/prebuild-install/Test?label=test)](https://github.com/prebuild/prebuild-install/actions/workflows/test.yml) | ||
[![Standard](https://img.shields.io/badge/standard-informational?logo=javascript&logoColor=fff)](https://standardjs.com) | ||
[![Standard](https://img.shields.io/badge/standard-informational?logo=javascript\&logoColor=fff)](https://standardjs.com) | ||
[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org) | ||
@@ -44,2 +44,14 @@ | ||
When a consumer then installs your package with npm thus triggering the above install script, `prebuild-install` will download a suitable prebuilt binary, or exit with a non-zero exit code if there is none, which triggers `node-gyp rebuild` in order to build from source. | ||
Options (see below) can be passed to `prebuild-install` like so: | ||
```json | ||
{ | ||
"scripts": { | ||
"install": "prebuild-install -r napi || node-gyp rebuild" | ||
} | ||
} | ||
``` | ||
### Help | ||
@@ -139,4 +151,12 @@ | ||
## Install | ||
With [npm](https://npmjs.org) do: | ||
``` | ||
npm install prebuild-install | ||
``` | ||
## License | ||
[MIT](./LICENSE) |
32335
160
+ Addeddetect-libc@2.0.3(transitive)
- Removeddetect-libc@1.0.3(transitive)
Updateddetect-libc@^2.0.0