From 07792c227e58eb3673b879f316e3c0976f6d6c28 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 9 Oct 2018 08:34:23 +0200 Subject: [PATCH] build re-fix --- app/package.json | 2 +- app/yarn.lock | 6 +++--- terminus-terminal/src/shells/wsl.ts | 6 +++--- tsconfig.json | 3 ++- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/package.json b/app/package.json index a95964af..11dc40ce 100644 --- a/app/package.json +++ b/app/package.json @@ -29,7 +29,7 @@ "mz": "^2.6.0", "ngx-toastr": "^8.7.3", "path": "0.12.7", - "rxjs": "^6.1.0", + "rxjs": "^6.3.3", "yargs": "^12.0.1", "zone.js": "~0.8.26" }, diff --git a/app/yarn.lock b/app/yarn.lock index 6445a733..cdb09f72 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -426,9 +426,9 @@ require-main-filename@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" -rxjs@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.1.0.tgz#833447de4e4f6427b9cec3e5eb9f56415cd28315" +rxjs@^6.3.3: + version "6.3.3" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55" dependencies: tslib "^1.9.0" diff --git a/terminus-terminal/src/shells/wsl.ts b/terminus-terminal/src/shells/wsl.ts index 0514cd75..7a87f6f0 100644 --- a/terminus-terminal/src/shells/wsl.ts +++ b/terminus-terminal/src/shells/wsl.ts @@ -48,16 +48,16 @@ export class WSLShellProvider extends ShellProvider { } } for (let child of Object.values(lxss)) { - if (!child.$values) { + if (!(child as any).$values) { continue } - let name = child.$values.distributionname + let name = (child as any).$values.distributionname shells.push({ id: `wsl-${name}`, name: `WSL / ${name}`, command: wslPath, args: ['-d', name], - fsBase: child.$values.basepath, + fsBase: (child as any).$values.basepath, env: { TERM: 'xterm-color', COLORTERM: 'truecolor', diff --git a/tsconfig.json b/tsconfig.json index 66f742a9..4c4dad65 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,8 @@ "es5", "es6", "es7", - "es2015" + "es2015", + "es2017" ] } }