Includes new prettier changes, and pin prettier to stop more appearing

This commit is contained in:
Tim Perry 2018-06-12 17:43:15 +02:00
parent 72a893be95
commit 398c34d842
2 changed files with 2 additions and 3 deletions

View File

@ -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()

View File

@ -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",