From 52a67c7f9218a9351a90f9fec263337c57df3095 Mon Sep 17 00:00:00 2001 From: jos Date: Thu, 14 Mar 2019 20:39:04 +0100 Subject: [PATCH] Publish v3.1.2 --- HISTORY.md | 3 ++- README.md | 13 +++++++++++++ package-lock.json | 43 +++++++++++++++++++++++++++++++------------ package.json | 2 +- 4 files changed, 47 insertions(+), 14 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index cffa6c02..9a0b5cf0 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,7 +2,7 @@ https://github.com/josdejong/workerpool -## not yet published, version 3.1.2 +## 2019-03-12, version 3.1.2 - Improved error message when a node.js worker unexpectedly exits (see #58). Thanks @stefanpenner. @@ -10,6 +10,7 @@ https://github.com/josdejong/workerpool - Allocate debug ports safely, this fixes an issue cause workers to exit unexpectedly if more then one worker pool is active, and the process is started with a debugger (`node debug` or `node --inspect`). + Thanks @stefanpenner. ## 2019-02-25, version 3.1.1 diff --git a/README.md b/README.md index 131c10f5..b7812c77 100644 --- a/README.md +++ b/README.md @@ -408,6 +408,19 @@ To see the coverage results, open the generated report in your browser: ./coverage/lcov-report/index.html +## Publish + +- Describe changes in HISTORY.md +- Update version in package.json, run `npm install` to update it in `package-lock.json` too. +- Push to github +- Deploy to npm via `npm publish` +- Add a git tag with the version number like: + ``` + git tag v1.2.3 + git push --tags + ``` + + ## License Copyright (C) 2014-2019 Jos de Jong diff --git a/package-lock.json b/package-lock.json index 4b219b42..f9b97421 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "workerpool", - "version": "3.1.1", + "version": "3.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1460,7 +1460,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -1481,12 +1482,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -1501,17 +1504,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -1628,7 +1634,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -1640,6 +1647,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -1654,6 +1662,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -1661,12 +1670,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -1685,6 +1696,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -1765,7 +1777,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -1777,6 +1790,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -1862,7 +1876,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -1898,6 +1913,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -1917,6 +1933,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -1960,12 +1977,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/package.json b/package.json index dacc72cd..003a27db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "workerpool", "license": "Apache-2.0", - "version": "3.1.1", + "version": "3.1.2", "description": "Offload tasks to a pool of workers on node.js and in the browser", "homepage": "https://github.com/josdejong/workerpool", "author": "Jos de Jong (https://github.com/josdejong)",