From 8c9f70df1043c69e4e640e5980c445347465b014 Mon Sep 17 00:00:00 2001 From: Hiroyuki Date: Mon, 26 Jul 2021 12:53:25 -0400 Subject: [PATCH] refactor(tsc): potentially fix build --- .gitlab-ci.yml | 2 +- tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a592cac..0c238be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ typescript_build: script: - cp ../config.json ./src/config.json - yarn install --ignore-engines - - tsc -p ./tsconfig.json + - npx tsc -p ./tsconfig.json lint: stage: test diff --git a/tsconfig.json b/tsconfig.json index 7d691ff..3cf28e5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -47,7 +47,8 @@ "typeRoots": ["./types"], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "skipLibCheck": true, /* Skips type-checking the installed libraries in node_modules. */ // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */