From b4bf3d78390ef345b026b62cebfb64033a61dcca Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 May 2026 05:12:12 +0000 Subject: [PATCH 01/10] Update dependency tsx to v4.22.3 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e2d0a8d..f196d570 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "textlint-rule-preset-ja-technical-writing": "12.0.2", "textlint-rule-terminology": "5.2.16", "tsc": "2.0.4", - "tsx": "4.22.1", + "tsx": "4.22.3", "typescript": "6.0.3" }, "engines": { @@ -8126,9 +8126,9 @@ } }, "node_modules/tsx": { - "version": "4.22.1", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.22.1.tgz", - "integrity": "sha512-TvncJykhxAzFCk0VQZKBTClall4Pm7qXDSodb6uxi8QFa8X8mT6ABjxxsQ2opDRYxG7AzcRWXaFtruz5HJKuWg==", + "version": "4.22.3", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.22.3.tgz", + "integrity": "sha512-mdoNxBC/cSQObGGVQ5Bpn5i+yv7j68gk3Nfm3wFjcJg3Z0Mix9jzAFfP12prmm5eVGmDKtp0yyArrs0Q+8gZHg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f5b9f11e..a60ee9df 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "textlint-rule-preset-ja-technical-writing": "12.0.2", "textlint-rule-terminology": "5.2.16", "tsc": "2.0.4", - "tsx": "4.22.1", + "tsx": "4.22.3", "typescript": "6.0.3" }, "engines": { From 45a01f43b7ea960ea819d8b2488fc8448ab8d468 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:09:57 +0900 Subject: [PATCH 02/10] Change js-yaml import to use createRequire Refactor import of js-yaml to use createRequire. --- scripts/update_readme/update_readme/get_inputs_markdown.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/update_readme/update_readme/get_inputs_markdown.ts b/scripts/update_readme/update_readme/get_inputs_markdown.ts index 4d177fe6..5f058fed 100644 --- a/scripts/update_readme/update_readme/get_inputs_markdown.ts +++ b/scripts/update_readme/update_readme/get_inputs_markdown.ts @@ -1,5 +1,8 @@ +import { createRequire } from "module"; import { readFileSync } from "fs"; -import * as yaml from "js-yaml"; + +const require = createRequire(import.meta.url); +const yaml = require("js-yaml") as typeof import("js-yaml"); export function script(): string { const ymlFile = yaml.load(readFileSync("action.yml", "utf8")) as { From e0e8d48e8db197a68d87f091e673646f8b007728 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:14:49 +0900 Subject: [PATCH 03/10] Add module option to TypeScript config --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 27cc9388..d543d7f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "target": "es2018", + "module": "commonjs", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, From 340f5f5a6ff68a1e28ca848938b227e1ee3b450a Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:16:37 +0900 Subject: [PATCH 04/10] Add rootDir and outDir to tsconfig.json --- tsconfig.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index d543d7f8..837f790a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,12 +2,14 @@ "compilerOptions": { "target": "es2018", "module": "commonjs", + "rootDir": "./src", + "outDir": "./dist/", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "moduleResolution": "bundler", - "types": ["node"], - "isolatedModules": true - } + "types": ["node"] + }, + "include": ["src/*.ts"] } From 2014c496168822831e3cbf89804f8daa6ff8ddc1 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:19:27 +0900 Subject: [PATCH 05/10] Remove include property from tsconfig.json --- tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 837f790a..30e03bf7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,5 @@ "skipLibCheck": true, "moduleResolution": "bundler", "types": ["node"] - }, - "include": ["src/*.ts"] + } } From 7e1f7b7773c75ef89f10b54632178bffec891ffd Mon Sep 17 00:00:00 2001 From: "masaya.suzuki" Date: Sun, 31 May 2026 19:20:46 +0900 Subject: [PATCH 06/10] Revert "Remove include property from tsconfig.json" This reverts commit 2014c496168822831e3cbf89804f8daa6ff8ddc1. --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 30e03bf7..837f790a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,5 +10,6 @@ "skipLibCheck": true, "moduleResolution": "bundler", "types": ["node"] - } + }, + "include": ["src/*.ts"] } From ff8374125f4077e35755bba7fc823b7db2c02fd4 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:21:33 +0900 Subject: [PATCH 07/10] Remove outDir option from tsconfig.json --- tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 837f790a..8f97659c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ "target": "es2018", "module": "commonjs", "rootDir": "./src", - "outDir": "./dist/", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, From 7b45e33a10dcaf2b67d5e7acca4b9c080c94b859 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:23:40 +0900 Subject: [PATCH 08/10] Remove rootDir option from tsconfig.json --- tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 8f97659c..23e0e22c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "target": "es2018", "module": "commonjs", - "rootDir": "./src", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, From fb19a825a251a8d4e10fd1a57c0ae3f58ea28353 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:25:01 +0900 Subject: [PATCH 09/10] Remove module option from tsconfig.json --- tsconfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 23e0e22c..116f2280 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,6 @@ { "compilerOptions": { "target": "es2018", - "module": "commonjs", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, From f4aa8b33dce4c9c2de96debe56a2ef5fec96b246 Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Sun, 31 May 2026 19:27:07 +0900 Subject: [PATCH 10/10] Add isolatedModules option to tsconfig.json --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 116f2280..093797f9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "strict": true, "skipLibCheck": true, "moduleResolution": "bundler", - "types": ["node"] + "types": ["node"], + "isolatedModules": true }, "include": ["src/*.ts"] }