mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Tweak TS & add missing deps that may cause build failures in some envs
Connects-To: #765 Change-Type: patch
This commit is contained in:
parent
3d28118f3e
commit
c12360daa8
@ -22,11 +22,11 @@ const resin = ResinSdk.fromSharedOptions();
|
|||||||
|
|
||||||
export function generateBaseConfig(
|
export function generateBaseConfig(
|
||||||
application: ResinSdk.Application,
|
application: ResinSdk.Application,
|
||||||
options: {},
|
options: { appUpdatePollInterval?: number },
|
||||||
) {
|
) {
|
||||||
options = _.mapValues(options, function(value, key) {
|
options = _.mapValues(options, function(value, key) {
|
||||||
if (key === 'appUpdatePollInterval') {
|
if (key === 'appUpdatePollInterval') {
|
||||||
return value * 60 * 1000;
|
return value! * 60 * 1000;
|
||||||
} else {
|
} else {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
@ -56,8 +56,10 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/archiver": "^2.0.1",
|
"@types/archiver": "^2.0.1",
|
||||||
"@types/bluebird": "^3.5.19",
|
"@types/bluebird": "^3.5.19",
|
||||||
|
"@types/es6-promise": "0.0.32",
|
||||||
"@types/fs-extra": "^5.0.0",
|
"@types/fs-extra": "^5.0.0",
|
||||||
"@types/is-root": "^1.0.0",
|
"@types/is-root": "^1.0.0",
|
||||||
|
"@types/lodash": "^4.14.103",
|
||||||
"@types/mkdirp": "^0.5.2",
|
"@types/mkdirp": "^0.5.2",
|
||||||
"@types/prettyjson": "0.0.28",
|
"@types/prettyjson": "0.0.28",
|
||||||
"@types/raven": "^2.1.2",
|
"@types/raven": "^2.1.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user