From f9cc436e071f67edace7fe4f87ba199d0cf76c2f Mon Sep 17 00:00:00 2001 From: arnold Date: Tue, 7 Nov 2023 11:51:20 +0100 Subject: [PATCH] Still trying to fix travis build --- .travis.yml | 2 ++ tsconfig.cjs.json | 1 - tsconfig.esm.json | 3 ++- tsconfig.json | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fbde0d7..4b7fc8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,6 +58,8 @@ jobs: if: tag IS present before_install: - yarn version --new-version $TRAVIS_TAG --no-git-tag-version + before_script: + - npx tsc --version script: - yarn compile deploy: diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index ac414cf..795de2f 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -2,6 +2,5 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "lib/cjs", - "module": "node16", } } diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 0b9ecd6..0da1520 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -2,6 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "lib/esm", - "module": "ESNext" + "module": "ESNext", + "moduleResolution": "bundler" } } diff --git a/tsconfig.json b/tsconfig.json index 2f3d3eb..78c5da7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ "target": "es2020", "rootDir": "src", "esModuleInterop": true, + "module": "node16", "moduleResolution": "node16" }, "include": ["src"],