From ba1b117cf7c1fc8c50869cea8afe0f7b9e7c1187 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:39:10 +0000 Subject: [PATCH 1/3] Initial plan From b777d7c08a4c1b3719961bce3fcfb30ce085c2bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:43:33 +0000 Subject: [PATCH 2/3] Fix TypeScript build error with import.meta by adding test-specific config Co-authored-by: joone <1979160+joone@users.noreply.github.com> --- package.json | 7 +++++-- tsconfig.test.json | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 tsconfig.test.json diff --git a/package.json b/package.json index f7ec595..f2a83b9 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts": { "start": "node dist/index.js", "build": "tsc", - "test": "mocha -r ts-node/register src/**/*test.ts test/**/*test.ts", + "test": "TS_NODE_PROJECT=tsconfig.test.json mocha -r ts-node/register src/**/*test.ts test/**/*test.ts", "lint": "eslint 'src/**/*.{js,ts}'", "style": "npx prettier --write ." }, @@ -41,5 +41,8 @@ }, "files": [ "dist" - ] + ], + "ts-node": { + "project": "tsconfig.test.json" + } } diff --git a/tsconfig.test.json b/tsconfig.test.json new file mode 100644 index 0000000..3382805 --- /dev/null +++ b/tsconfig.test.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "module": "node16" + }, + "include": ["src/**/*.ts", "test/**/*.ts"] +} From f4cf1433c00d15406ea47a5699f0bac8da193d3e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 21:46:24 +0000 Subject: [PATCH 3/3] Remove redundant ts-node configuration from package.json Co-authored-by: joone <1979160+joone@users.noreply.github.com> --- package.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index f2a83b9..076068c 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,5 @@ }, "files": [ "dist" - ], - "ts-node": { - "project": "tsconfig.test.json" - } + ] }