From 00beacb85560b1fbd9630da5e94db0c07c72353d Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Sat, 1 Aug 2020 16:03:01 -0700 Subject: [PATCH] Export es2018 code --- packages/cli/tsconfig.json | 2 +- packages/core/src/spec/lib/GradleWrapperSpec.ts | 2 +- packages/core/src/spec/lib/jdk/KeyToolSpec.ts | 3 +-- packages/core/tsconfig.json | 4 ++-- packages/validator/tsconfig.json | 4 ++-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 149310da..0e370ad1 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "allowJs": true, - "target": "es5", + "target": "es2018", "module": "commonjs", "declaration": true, "outDir": "dist", diff --git a/packages/core/src/spec/lib/GradleWrapperSpec.ts b/packages/core/src/spec/lib/GradleWrapperSpec.ts index 4ad5f36d..4ad8156b 100644 --- a/packages/core/src/spec/lib/GradleWrapperSpec.ts +++ b/packages/core/src/spec/lib/GradleWrapperSpec.ts @@ -51,7 +51,7 @@ describe('GradleWrapper', () => { }); }); - describe('#assembleRelease', async () => { + describe('#assembleRelease', () => { it('Calls "gradle assembleRelease --stacktrace"', async () => { spyOn(util, 'executeFile').and.stub(); await gradleWrapper.assembleRelease(); diff --git a/packages/core/src/spec/lib/jdk/KeyToolSpec.ts b/packages/core/src/spec/lib/jdk/KeyToolSpec.ts index ab05ba4c..8225f915 100644 --- a/packages/core/src/spec/lib/jdk/KeyToolSpec.ts +++ b/packages/core/src/spec/lib/jdk/KeyToolSpec.ts @@ -101,7 +101,7 @@ describe('KeyTool', () => { }); }); - describe('#list', async () => { + describe('#list', () => { const keyOptions = { path: '/', alias: 'keyalias', @@ -141,4 +141,3 @@ describe('KeyTool', () => { }); }); }); - diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 27cd3718..0e370ad1 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -1,12 +1,12 @@ { "compilerOptions": { "allowJs": true, - "target": "es5", + "target": "es2018", "module": "commonjs", "declaration": true, "outDir": "dist", "strict": true }, - "include": ["src/**/*.ts"], + "include": ["src/**/*.ts"], "exclude": ["node_modules", "dist"] } diff --git a/packages/validator/tsconfig.json b/packages/validator/tsconfig.json index 8d4895b1..c957a329 100644 --- a/packages/validator/tsconfig.json +++ b/packages/validator/tsconfig.json @@ -1,12 +1,12 @@ { "compilerOptions": { "allowJs": true, - "target": "es5", + "target": "es2018", "module": "commonjs", "declaration": true, "outDir": "dist", "strict": true }, - "include": ["src/**/*.ts", "src/spec/**/*.ts"], + "include": ["src/**/*.ts", "src/spec/**/*.ts"], "exclude": ["node_modules", "dist"] }