From 5a705e5548f41008d05b91429e6aedcb993b0526 Mon Sep 17 00:00:00 2001 From: Jan-Thurner <107639007+Jan-Thurner@users.noreply.github.com> Date: Mon, 13 May 2024 08:05:38 +0200 Subject: [PATCH] npm install --save-def @types/node modify tsconfig.json --- .../analysis-of-endpoint-connections.yml | 1 + .../tsconfig.analysisOfEndpointConnections.json | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis-of-endpoint-connections.yml b/.github/workflows/analysis-of-endpoint-connections.yml index 73f725a0bcf8..ea9b7a7535b9 100644 --- a/.github/workflows/analysis-of-endpoint-connections.yml +++ b/.github/workflows/analysis-of-endpoint-connections.yml @@ -33,6 +33,7 @@ jobs: run: | cd supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/ npm install + npm install --save-dev @types/node - name: Install and compile TypeScript run: | diff --git a/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json b/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json index b211467150d5..377e78ad9f49 100644 --- a/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json +++ b/supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/tsconfig.analysisOfEndpointConnections.json @@ -1,7 +1,17 @@ +//{ +// "compilerOptions": { +// "lib": ["es2016", "dom"], +// }, +// "sourceMap": true, +// "files": "supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java", +//} + { "compilerOptions": { - "lib": ["es2016", "dom"], + "module": "commonjs", + "target": "es6", + "lib": ["es6"], + "types": ["node"] }, - "sourceMap": true, - "files": "supporting_scripts/analysis-of-endpoint-connections/src/main/java/analysisOfEndpointConnections/AnalysisOfEndpointConnections.java", + "include": ["supporting_scripts/analysis-of-endpoint-connections/src/main/typeScript/AnalysisOfEndpointConnectionsClient.ts"] }