From ac82f855e5a107ae8535fac9270236a9d06754ae Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Sun, 24 Apr 2016 23:59:37 -0400 Subject: [PATCH] Start bundling node-pre-gyp per #753 --- README.md | 2 +- changelog.md | 4 ++++ package.json | 11 +++++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 560e502..4758acb 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ For support you can open a [github issue](https://github.com/voodootikigod/node- *** -You're reading the latest README for `serialport@2.1.1` the latest `2.x` release. +You're reading the latest README for `serialport@2.1.2` the latest `2.x` release. - [`serialport@1.7.4` docs are here](https://github.com/voodootikigod/node-serialport/blob/v1.7.4/README.md) it was the last `1.x` release diff --git a/changelog.md b/changelog.md index a251220..978fd3c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +Version 2.1.2 +------------- +- Start bundling node-pre-gyp but upgrade it to the latest as the previous version doesn't install + Version 2.1.1 ------------- - `.list` errors are consistent across platforms and no longer has blocking `statSync` calls diff --git a/package.json b/package.json index 8d82e48..a9d401a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serialport", - "version": "2.1.1", + "version": "2.1.2", "description": "Node.js package to access serial ports. Welcome your robotic javascript overlords. Better yet, program them!", "author": { "name": "Chris Williams", @@ -10,7 +10,7 @@ "binary": { "module_name": "serialport", "module_path": "build/{configuration}/", - "host": "https://github.com/voodootikigod/node-serialport/releases/download/2.1.1" + "host": "https://github.com/voodootikigod/node-serialport/releases/download/2.1.2" }, "main": "./lib/serialport", "repository": { @@ -53,7 +53,7 @@ "bluebird": "^3.3.5", "debug": "^2.1.1", "nan": "~2.2.1", - "node-pre-gyp": "0.6.x", + "node-pre-gyp": "^0.6.26", "node-pre-gyp-github": "^1.1.0", "object.assign": "^4.0.3", "optimist": "~0.6.1", @@ -74,6 +74,10 @@ "sinon": "^1.17.3", "sinon-chai": "^2.8.0" }, + "bundledDependencies": [ + "node-pre-gyp", + "node-pre-gyp-github" + ], "engines": { "node": ">= 0.10.0" }, @@ -83,7 +87,6 @@ }, "license": "MIT", "scripts": { - "preinstall": "npm install node-pre-gyp node-pre-gyp-github", "install": "node-pre-gyp install --fallback-to-build", "rebuild": "npm rebuild && node-pre-gyp rebuild", "stress": "mocha --no-timeouts test/arduinoTest/stress.js",