From 81a1fd94252df7dedd497a3ad218e6b909456f03 Mon Sep 17 00:00:00 2001 From: yCodeTech Date: Tue, 25 Aug 2026 08:44:24 +0100 Subject: [PATCH 1/3] style: auto formatting --- tsconfig.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 27594a4..786deeb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,13 +3,20 @@ "module": "commonjs", "target": "es2022", "outDir": "out", - "lib": ["es2022"], + "lib": [ + "es2022" + ], "sourceMap": true, "rootDir": ".", - "typeRoots": ["./node_modules/@types"] + "typeRoots": [ + "./node_modules/@types" + ] }, "typeAcquisition": { - "enable": true, + "enable": true }, - "exclude": ["node_modules", ".vscode-test"] + "exclude": [ + "node_modules", + ".vscode-test" + ] } From 0bafade6f82cda36a4016e6623e2d0307bd28204 Mon Sep 17 00:00:00 2001 From: yCodeTech Date: Tue, 25 Aug 2026 08:47:55 +0100 Subject: [PATCH 2/3] build: version bump typescript v7. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 604c9b6..1dd83ec 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "@types/vscode": "^1.130", "prettier": "^3.9.6", "prettier-plugin-multiline-arrays": "^4.1.11", - "typescript": "^5.7" + "typescript": "^7.0.0" }, "dependencies": { "is-wsl": "^3.1.0", From 617d3299eefda8e40534926954d0c9ebd6e197ff Mon Sep 17 00:00:00 2001 From: yCodeTech Date: Tue, 25 Aug 2026 09:08:54 +0100 Subject: [PATCH 3/3] build: add `types` to tsconfig to explicitly include type modules. From Node v6, you have to explicitly include type modules, otherwise they will not be added globally to the project like `process` for Node, and module imports will error like `Cannot find name 'node:fs'`. - Added `types` array to tsconfig and included the `node` and `vscode` modules to fix import and usage errors. Ref: http://typescriptlang.org/tsconfig/#types --- tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 786deeb..cf48f0b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,10 @@ "rootDir": ".", "typeRoots": [ "./node_modules/@types" + ], + "types": [ + "node", + "vscode" ] }, "typeAcquisition": {