mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 06:33:28 +00:00
Includes new prettier changes, and pin prettier to stop more appearing
This commit is contained in:
parent
72a893be95
commit
398c34d842
@ -34,8 +34,7 @@ const resin = ResinSdk.fromSharedOptions();
|
|||||||
export function getGroupDefaults(group: {
|
export function getGroupDefaults(group: {
|
||||||
options: { name: string; default?: string }[];
|
options: { name: string; default?: string }[];
|
||||||
}): { [name: string]: string | undefined } {
|
}): { [name: string]: string | undefined } {
|
||||||
return _
|
return _.chain(group)
|
||||||
.chain(group)
|
|
||||||
.get('options')
|
.get('options')
|
||||||
.map(question => [question.name, question.default])
|
.map(question => [question.name, question.default])
|
||||||
.fromPairs()
|
.fromPairs()
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
"gulp-shell": "^0.5.2",
|
"gulp-shell": "^0.5.2",
|
||||||
"mochainon": "^2.0.0",
|
"mochainon": "^2.0.0",
|
||||||
"pkg": "^4.3.0-beta.1",
|
"pkg": "^4.3.0-beta.1",
|
||||||
"prettier": "^1.9.2",
|
"prettier": "1.13.5",
|
||||||
"publish-release": "^1.3.3",
|
"publish-release": "^1.3.3",
|
||||||
"require-npm4-to-publish": "^1.0.0",
|
"require-npm4-to-publish": "^1.0.0",
|
||||||
"resin-lint": "^1.5.0",
|
"resin-lint": "^1.5.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user