From e4f697c64b12f852e26a6cb3b3bf9d0a8d1ea4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9r=C3=A8?= Date: Sat, 16 Dec 2023 23:40:03 -0800 Subject: [PATCH] Fix npm publish https://github.com/octokit/webhooks.js/pull/552 broke `npm publish` in this repository by introduces `.ts`extensions to some imports (which caused `npm publish` to fail with "error TS2691: An import path cannot end with a '.ts' extension"). This fixes that. --- tsconfig.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 34727db..5165950 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,9 @@ "strict": true, "target": "es2019" }, + "ts-node": { + "esm": true + }, "include": [ "src/**/*" ]