@changesets/cli
Advanced tools
Comparing version 2.22.0 to 2.23.0
@@ -17,2 +17,3 @@ 'use strict'; | ||
var externalEditor = require('external-editor'); | ||
var ansiColors = require('ansi-colors'); | ||
var git = require('@changesets/git'); | ||
@@ -171,3 +172,12 @@ var writeChangeset = require('@changesets/write'); | ||
limit, | ||
onCancel: cancelFlow | ||
onCancel: cancelFlow, | ||
symbols: { | ||
indicator: ansiColors.symbols.radioOff, | ||
checked: ansiColors.symbols.radioOn | ||
}, | ||
indicator(state, choice) { | ||
return choice.enabled ? state.symbols.checked : state.symbols.indicator; | ||
} | ||
}).then(responses => responses[name]).catch(err => { | ||
@@ -174,0 +184,0 @@ logger.error(err); |
"use strict"; | ||
var meow = require("meow"), errors = require("@changesets/errors"), logger = require("@changesets/logger"), util = require("util"), fs = require("fs-extra"), path = require("path"), getPackages = require("@manypkg/get-packages"), getDependentsGraph = require("@changesets/get-dependents-graph"), config = require("@changesets/config"), chalk = require("chalk"), child_process = require("child_process"), termSize = require("term-size"), enquirer = require("enquirer"), externalEditor = require("external-editor"), git = require("@changesets/git"), writeChangeset = require("@changesets/write"), resolveFrom = require("resolve-from"), semver = require("semver"), outdent = require("outdent"), applyReleasePlan = require("@changesets/apply-release-plan"), readChangesets = require("@changesets/read"), assembleReleasePlan = require("@changesets/assemble-release-plan"), pre$1 = require("@changesets/pre"), pLimit = require("p-limit"), preferredPM = require("preferred-pm"), spawn = require("spawndamnit"), isCI = require("is-ci"), table = require("tty-table"), getReleasePlan = require("@changesets/get-release-plan"); | ||
var meow = require("meow"), errors = require("@changesets/errors"), logger = require("@changesets/logger"), util = require("util"), fs = require("fs-extra"), path = require("path"), getPackages = require("@manypkg/get-packages"), getDependentsGraph = require("@changesets/get-dependents-graph"), config = require("@changesets/config"), chalk = require("chalk"), child_process = require("child_process"), termSize = require("term-size"), enquirer = require("enquirer"), externalEditor = require("external-editor"), ansiColors = require("ansi-colors"), git = require("@changesets/git"), writeChangeset = require("@changesets/write"), resolveFrom = require("resolve-from"), semver = require("semver"), outdent = require("outdent"), applyReleasePlan = require("@changesets/apply-release-plan"), readChangesets = require("@changesets/read"), assembleReleasePlan = require("@changesets/assemble-release-plan"), pre$1 = require("@changesets/pre"), pLimit = require("p-limit"), preferredPM = require("preferred-pm"), spawn = require("spawndamnit"), isCI = require("is-ci"), table = require("tty-table"), getReleasePlan = require("@changesets/get-release-plan"); | ||
@@ -84,3 +84,8 @@ function _interopDefault(e) { | ||
limit: limit, | ||
onCancel: cancelFlow | ||
onCancel: cancelFlow, | ||
symbols: { | ||
indicator: ansiColors.symbols.radioOff, | ||
checked: ansiColors.symbols.radioOn | ||
}, | ||
indicator: (state, choice) => choice.enabled ? state.symbols.checked : state.symbols.indicator | ||
}).then((responses => responses[name])).catch((err => { | ||
@@ -87,0 +92,0 @@ logger.error(err); |
@@ -15,2 +15,3 @@ import meow from 'meow'; | ||
import { edit, ExternalEditor } from 'external-editor'; | ||
import { symbols } from 'ansi-colors'; | ||
import { getChangedPackagesSinceRef, add as add$1, commit, tag, getAllTags } from '@changesets/git'; | ||
@@ -148,3 +149,12 @@ import writeChangeset from '@changesets/write'; | ||
limit, | ||
onCancel: cancelFlow | ||
onCancel: cancelFlow, | ||
symbols: { | ||
indicator: symbols.radioOff, | ||
checked: symbols.radioOn | ||
}, | ||
indicator(state, choice) { | ||
return choice.enabled ? state.symbols.checked : state.symbols.indicator; | ||
} | ||
}).then(responses => responses[name]).catch(err => { | ||
@@ -151,0 +161,0 @@ error(err); |
{ | ||
"name": "@changesets/cli", | ||
"version": "2.22.0", | ||
"version": "2.23.0", | ||
"description": "Organise your package versioning and publishing to make both contributors and maintainers happy", | ||
@@ -35,3 +35,3 @@ "bin": { | ||
"@changesets/apply-release-plan": "^6.0.0", | ||
"@changesets/assemble-release-plan": "^5.1.2", | ||
"@changesets/assemble-release-plan": "^5.1.3", | ||
"@changesets/changelog-git": "^0.1.11", | ||
@@ -41,3 +41,3 @@ "@changesets/config": "^2.0.0", | ||
"@changesets/get-dependents-graph": "^1.3.2", | ||
"@changesets/get-release-plan": "^3.0.8", | ||
"@changesets/get-release-plan": "^3.0.9", | ||
"@changesets/git": "^1.3.2", | ||
@@ -52,2 +52,3 @@ "@changesets/logger": "^0.0.5", | ||
"@types/semver": "^6.0.0", | ||
"ansi-colors": "^4.1.3", | ||
"chalk": "^2.1.0", | ||
@@ -67,3 +68,3 @@ "enquirer": "^2.3.0", | ||
"term-size": "^2.1.0", | ||
"tty-table": "^2.8.10" | ||
"tty-table": "^4.1.5" | ||
}, | ||
@@ -70,0 +71,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242819
3577
33
+ Addedansi-colors@^4.1.3
+ Addedarray-buffer-byte-length@1.0.1(transitive)
+ Addedarray.prototype.flat@1.3.2(transitive)
+ Addedarraybuffer.prototype.slice@1.0.3(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcliui@8.0.1(transitive)
+ Addeddata-view-buffer@1.0.1(transitive)
+ Addeddata-view-byte-length@1.0.1(transitive)
+ Addeddata-view-byte-offset@1.0.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-abstract@1.23.5(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedes-set-tostringtag@2.0.3(transitive)
+ Addedes-shim-unscopables@1.0.2(transitive)
+ Addedes-to-primitive@1.2.1(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction.prototype.name@1.1.6(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedget-symbol-description@1.0.2(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-bigints@1.0.2(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedinternal-slot@1.0.7(transitive)
+ Addedis-array-buffer@3.0.4(transitive)
+ Addedis-bigint@1.0.4(transitive)
+ Addedis-boolean-object@1.1.2(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-data-view@1.0.1(transitive)
+ Addedis-date-object@1.0.5(transitive)
+ Addedis-negative-zero@2.0.3(transitive)
+ Addedis-number-object@1.0.7(transitive)
+ Addedis-regex@1.1.4(transitive)
+ Addedis-shared-array-buffer@1.0.3(transitive)
+ Addedis-string@1.0.7(transitive)
+ Addedis-symbol@1.0.4(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedis-weakref@1.0.2(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedkleur@4.1.5(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.5(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedregexp.prototype.flags@1.5.3(transitive)
+ Addedsafe-array-concat@1.1.2(transitive)
+ Addedsafe-regex-test@1.0.3(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedsmartwrap@2.0.2(transitive)
+ Addedstring.prototype.trim@1.2.9(transitive)
+ Addedstring.prototype.trimend@1.0.8(transitive)
+ Addedstring.prototype.trimstart@1.0.8(transitive)
+ Addedtty-table@4.2.3(transitive)
+ Addedtyped-array-buffer@1.0.2(transitive)
+ Addedtyped-array-byte-length@1.0.1(transitive)
+ Addedtyped-array-byte-offset@1.0.2(transitive)
+ Addedtyped-array-length@1.0.6(transitive)
+ Addedunbox-primitive@1.0.2(transitive)
+ Addedwhich-boxed-primitive@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedy18n@5.0.8(transitive)
+ Addedyargs@17.7.2(transitive)
+ Addedyargs-parser@21.1.1(transitive)
- Removedchalk@3.0.0(transitive)
- Removedsmartwrap@1.2.5(transitive)
- Removedtty-table@2.8.13(transitive)
Updatedtty-table@^4.1.5