From: Jérôme Benoit Date: Tue, 29 Aug 2023 00:20:08 +0000 (+0200) Subject: build(examples): fix TS configuration for 5.2.x X-Git-Tag: v2.6.38~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=af1055b05f5f679b37dcaf517d07a8de7c263b00;p=poolifier.git build(examples): fix TS configuration for 5.2.x Signed-off-by: Jérôme Benoit --- diff --git a/examples/typescript/http-client-pool/tsconfig.json b/examples/typescript/http-client-pool/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-client-pool/tsconfig.json +++ b/examples/typescript/http-client-pool/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/express-cluster/tsconfig.json b/examples/typescript/http-server-pool/express-cluster/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/express-cluster/tsconfig.json +++ b/examples/typescript/http-server-pool/express-cluster/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/express-hybrid/tsconfig.json b/examples/typescript/http-server-pool/express-hybrid/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/express-hybrid/tsconfig.json +++ b/examples/typescript/http-server-pool/express-hybrid/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json b/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json +++ b/examples/typescript/http-server-pool/express-worker_threads/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json b/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json +++ b/examples/typescript/http-server-pool/fastify-cluster/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json b/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json index 963a067f..d688c5ce 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json +++ b/examples/typescript/http-server-pool/fastify-hybrid/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json b/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json index 963a067f..d688c5ce 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json +++ b/examples/typescript/http-server-pool/fastify-worker_threads/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/smtp-client-pool/tsconfig.json b/examples/typescript/smtp-client-pool/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/smtp-client-pool/tsconfig.json +++ b/examples/typescript/smtp-client-pool/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json b/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json +++ b/examples/typescript/websocket-server-pool/ws-cluster/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json b/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json +++ b/examples/typescript/websocket-server-pool/ws-hybrid/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src", diff --git a/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json b/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json index 57e49a1c..19c730cb 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/tsconfig.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", + "module": "Node16", "moduleResolution": "Node16", "verbatimModuleSyntax": true, "rootDir": "./src",