diff --git a/.changeset/empty-islands-hide.md b/.changeset/empty-islands-hide.md new file mode 100644 index 0000000..94a03f6 --- /dev/null +++ b/.changeset/empty-islands-hide.md @@ -0,0 +1,5 @@ +--- +"hydra-validator-e2e": patch +--- + +Set package type as ES Modules diff --git a/validator-analyse/tsconfig.json b/validator-analyse/tsconfig.json index 458ee33..4e08225 100644 --- a/validator-analyse/tsconfig.json +++ b/validator-analyse/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "target": "es2018", - "module": "commonjs", "lib": [ "es2015", "dom" diff --git a/validator-cli/tsconfig.json b/validator-cli/tsconfig.json index 458ee33..4e08225 100644 --- a/validator-cli/tsconfig.json +++ b/validator-cli/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "target": "es2018", - "module": "commonjs", "lib": [ "es2015", "dom" diff --git a/validator-core/tsconfig.json b/validator-core/tsconfig.json index ab6927c..090f131 100644 --- a/validator-core/tsconfig.json +++ b/validator-core/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "target": "es2018", - "module": "commonjs", "lib": [ "es2015", "dom" diff --git a/validator-e2e/package.json b/validator-e2e/package.json index b384ae5..8a882d1 100644 --- a/validator-e2e/package.json +++ b/validator-e2e/package.json @@ -3,6 +3,7 @@ "version": "0.11.1", "description": "A set of tools to execute E2E tests on a Hydra API", "main": "index.js", + "type": "module", "scripts": { "prepack": "tsc", "example:compile": "hypertest-compiler example" diff --git a/validator-e2e/tsconfig.json b/validator-e2e/tsconfig.json index 6fc6bf7..b16f2de 100644 --- a/validator-e2e/tsconfig.json +++ b/validator-e2e/tsconfig.json @@ -1,8 +1,6 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "module": "esnext", - "target": "esnext", "moduleResolution": "node", "esModuleInterop": true, "skipLibCheck": true,