@lerna/global-options
Advanced tools
Comparing version 3.13.0 to 4.0.0
@@ -6,2 +6,27 @@ # Change Log | ||
# [4.0.0](https://github.com/lerna/lerna/compare/v3.22.1...v4.0.0) (2021-02-10) | ||
### Features | ||
* Drop support for Node v6.x & v8.x ([ff4bb4d](https://github.com/lerna/lerna/commit/ff4bb4da215555e3bb136f5af09b5cbc631e57bb)) | ||
* Expose named export ([c1303f1](https://github.com/lerna/lerna/commit/c1303f13adc4cf15f96ff25889b52149f8224c0e)) | ||
* Remove default export ([e2f1ec3](https://github.com/lerna/lerna/commit/e2f1ec3dd049d2a89880029908a2aa7c66f15082)) | ||
### BREAKING CHANGES | ||
* The default export has been removed, please use a named export instead. | ||
* Node v6.x & v8.x are no longer supported. Please upgrade to the latest LTS release. | ||
Here's the gnarly one-liner I used to make these changes: | ||
``` | ||
npx lerna exec --concurrency 1 --stream -- 'json -I -f package.json -e '"'"'this.engines=this.engines||{};this.engines.node=">= 10.18.0"'"'" | ||
``` | ||
(requires `npm i -g json` beforehand) | ||
# [3.13.0](https://github.com/lerna/lerna/compare/v3.12.1...v3.13.0) (2019-02-15) | ||
@@ -8,0 +33,0 @@ |
13
index.js
@@ -5,3 +5,3 @@ "use strict"; | ||
module.exports = globalOptions; | ||
module.exports.globalOptions = globalOptions; | ||
@@ -54,9 +54,6 @@ function globalOptions(yargs) { | ||
return yargs | ||
.options(opts) | ||
.group(globalKeys, "Global Options:") | ||
.option("ci", { | ||
hidden: true, | ||
type: "boolean", | ||
}); | ||
return yargs.options(opts).group(globalKeys, "Global Options:").option("ci", { | ||
hidden: true, | ||
type: "boolean", | ||
}); | ||
} |
{ | ||
"name": "@lerna/global-options", | ||
"version": "3.13.0", | ||
"version": "4.0.0", | ||
"description": "Global options applicable to _every_ lerna sub-command", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">= 6.9.0" | ||
"node": ">= 10.18.0" | ||
}, | ||
@@ -34,3 +34,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "9a47201f3fdd1df09cfb1922f26329d1dc4c8cc5" | ||
"gitHead": "4582c476e07dddddd6b2e3ab6e7f52c1f9eed59a" | ||
} |
9172
52