From 05bbcd9955fd38be5fa3e9deb412a440478a32c6 Mon Sep 17 00:00:00 2001 From: ShubhamRoy123 Date: Mon, 26 Jan 2026 21:56:24 +0530 Subject: [PATCH 1/3] Fix: Ensure preLaunchTask triggers compilation on Windows #1159 --- helloworld-sample/.vscode/launch.json | 2 +- helloworld-sample/.vscode/tasks.json | 5 +++++ helloworld-sample/package-lock.json | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/helloworld-sample/.vscode/launch.json b/helloworld-sample/.vscode/launch.json index a875ceadf2..4db005e490 100644 --- a/helloworld-sample/.vscode/launch.json +++ b/helloworld-sample/.vscode/launch.json @@ -15,7 +15,7 @@ "outFiles": [ "${workspaceFolder}/out/**/*.js" ], - "preLaunchTask": "npm: watch" + "preLaunchTask": "npm: compile" } ] } diff --git a/helloworld-sample/.vscode/tasks.json b/helloworld-sample/.vscode/tasks.json index 241aa6d996..adb3ab5f5a 100644 --- a/helloworld-sample/.vscode/tasks.json +++ b/helloworld-sample/.vscode/tasks.json @@ -3,6 +3,11 @@ { "version": "2.0.0", "tasks": [ + { + "type": "npm", + "script": "compile", + "problemMatcher": "$tsc" + }, { "type": "npm", "script": "watch", diff --git a/helloworld-sample/package-lock.json b/helloworld-sample/package-lock.json index 59299d1515..067f38c2fc 100644 --- a/helloworld-sample/package-lock.json +++ b/helloworld-sample/package-lock.json @@ -369,6 +369,7 @@ "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.39.0", "@typescript-eslint/types": "8.39.0", @@ -587,6 +588,7 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -779,6 +781,7 @@ "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", @@ -1561,6 +1564,7 @@ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" From 145dedb55b868e8b44d4e390684cb2040f746488 Mon Sep 17 00:00:00 2001 From: ShubhamRoy123 Date: Sat, 7 Feb 2026 22:03:26 +0530 Subject: [PATCH 2/3] Update fix to match latest main branch --- 1265.patch.txt | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 1265.patch.txt diff --git a/1265.patch.txt b/1265.patch.txt new file mode 100644 index 0000000000..82406d2d9f --- /dev/null +++ b/1265.patch.txt @@ -0,0 +1,77 @@ +From 05bbcd9955fd38be5fa3e9deb412a440478a32c6 Mon Sep 17 00:00:00 2001 +From: ShubhamRoy123 +Date: Mon, 26 Jan 2026 21:56:24 +0530 +Subject: [PATCH] Fix: Ensure preLaunchTask triggers compilation on Windows + #1159 + +--- + helloworld-sample/.vscode/launch.json | 2 +- + helloworld-sample/.vscode/tasks.json | 5 +++++ + helloworld-sample/package-lock.json | 4 ++++ + 3 files changed, 10 insertions(+), 1 deletion(-) + +diff --git a/helloworld-sample/.vscode/launch.json b/helloworld-sample/.vscode/launch.json +index a875ceadf2..4db005e490 100644 +--- a/helloworld-sample/.vscode/launch.json ++++ b/helloworld-sample/.vscode/launch.json +@@ -15,7 +15,7 @@ + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], +- "preLaunchTask": "npm: watch" ++ "preLaunchTask": "npm: compile" + } + ] + } +diff --git a/helloworld-sample/.vscode/tasks.json b/helloworld-sample/.vscode/tasks.json +index 241aa6d996..adb3ab5f5a 100644 +--- a/helloworld-sample/.vscode/tasks.json ++++ b/helloworld-sample/.vscode/tasks.json +@@ -3,6 +3,11 @@ + { + "version": "2.0.0", + "tasks": [ ++ { ++ "type": "npm", ++ "script": "compile", ++ "problemMatcher": "$tsc" ++ }, + { + "type": "npm", + "script": "watch", +diff --git a/helloworld-sample/package-lock.json b/helloworld-sample/package-lock.json +index 59299d1515..067f38c2fc 100644 +--- a/helloworld-sample/package-lock.json ++++ b/helloworld-sample/package-lock.json +@@ -369,6 +369,7 @@ + "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", + "dev": true, + "license": "MIT", ++ "peer": true, + "dependencies": { + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/types": "8.39.0", +@@ -587,6 +588,7 @@ + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", ++ "peer": true, + "bin": { + "acorn": "bin/acorn" + }, +@@ -779,6 +781,7 @@ + "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==", + "dev": true, + "license": "MIT", ++ "peer": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", +@@ -1561,6 +1564,7 @@ + "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", + "dev": true, + "license": "Apache-2.0", ++ "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" From 4e282344a538b1e766dc94229d7adc5cd1b4b23e Mon Sep 17 00:00:00 2001 From: ShubhamRoy123 Date: Sat, 7 Feb 2026 22:15:20 +0530 Subject: [PATCH 3/3] Update fix to match latest main branch --- 1265.patch.txt | 77 --------------------------- helloworld-sample/.vscode/launch.json | 4 +- helloworld-sample/.vscode/tasks.json | 44 +++++++-------- helloworld-sample/package-lock.json | 6 +-- 4 files changed, 26 insertions(+), 105 deletions(-) delete mode 100644 1265.patch.txt diff --git a/1265.patch.txt b/1265.patch.txt deleted file mode 100644 index 82406d2d9f..0000000000 --- a/1265.patch.txt +++ /dev/null @@ -1,77 +0,0 @@ -From 05bbcd9955fd38be5fa3e9deb412a440478a32c6 Mon Sep 17 00:00:00 2001 -From: ShubhamRoy123 -Date: Mon, 26 Jan 2026 21:56:24 +0530 -Subject: [PATCH] Fix: Ensure preLaunchTask triggers compilation on Windows - #1159 - ---- - helloworld-sample/.vscode/launch.json | 2 +- - helloworld-sample/.vscode/tasks.json | 5 +++++ - helloworld-sample/package-lock.json | 4 ++++ - 3 files changed, 10 insertions(+), 1 deletion(-) - -diff --git a/helloworld-sample/.vscode/launch.json b/helloworld-sample/.vscode/launch.json -index a875ceadf2..4db005e490 100644 ---- a/helloworld-sample/.vscode/launch.json -+++ b/helloworld-sample/.vscode/launch.json -@@ -15,7 +15,7 @@ - "outFiles": [ - "${workspaceFolder}/out/**/*.js" - ], -- "preLaunchTask": "npm: watch" -+ "preLaunchTask": "npm: compile" - } - ] - } -diff --git a/helloworld-sample/.vscode/tasks.json b/helloworld-sample/.vscode/tasks.json -index 241aa6d996..adb3ab5f5a 100644 ---- a/helloworld-sample/.vscode/tasks.json -+++ b/helloworld-sample/.vscode/tasks.json -@@ -3,6 +3,11 @@ - { - "version": "2.0.0", - "tasks": [ -+ { -+ "type": "npm", -+ "script": "compile", -+ "problemMatcher": "$tsc" -+ }, - { - "type": "npm", - "script": "watch", -diff --git a/helloworld-sample/package-lock.json b/helloworld-sample/package-lock.json -index 59299d1515..067f38c2fc 100644 ---- a/helloworld-sample/package-lock.json -+++ b/helloworld-sample/package-lock.json -@@ -369,6 +369,7 @@ - "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", - "dev": true, - "license": "MIT", -+ "peer": true, - "dependencies": { - "@typescript-eslint/scope-manager": "8.39.0", - "@typescript-eslint/types": "8.39.0", -@@ -587,6 +588,7 @@ - "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", - "dev": true, - "license": "MIT", -+ "peer": true, - "bin": { - "acorn": "bin/acorn" - }, -@@ -779,6 +781,7 @@ - "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==", - "dev": true, - "license": "MIT", -+ "peer": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.12.1", -@@ -1561,6 +1564,7 @@ - "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", - "dev": true, - "license": "Apache-2.0", -+ "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" diff --git a/helloworld-sample/.vscode/launch.json b/helloworld-sample/.vscode/launch.json index 4db005e490..07770de06e 100644 --- a/helloworld-sample/.vscode/launch.json +++ b/helloworld-sample/.vscode/launch.json @@ -15,7 +15,7 @@ "outFiles": [ "${workspaceFolder}/out/**/*.js" ], - "preLaunchTask": "npm: compile" + "preLaunchTask": "npm: watch" } ] -} +} \ No newline at end of file diff --git a/helloworld-sample/.vscode/tasks.json b/helloworld-sample/.vscode/tasks.json index adb3ab5f5a..36f5dbfe3e 100644 --- a/helloworld-sample/.vscode/tasks.json +++ b/helloworld-sample/.vscode/tasks.json @@ -1,25 +1,27 @@ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format { - "version": "2.0.0", - "tasks": [ - { - "type": "npm", - "script": "compile", - "problemMatcher": "$tsc" - }, - { - "type": "npm", - "script": "watch", - "problemMatcher": "$tsc-watch", - "isBackground": true, - "presentation": { - "reveal": "never" - }, - "group": { - "kind": "build", - "isDefault": true - } - } - ] + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "watch", + "isBackground": true, + "problemMatcher": { + "base": "$tsc-watch", + "background": { + "activeOnStart": true, + "beginsPattern": "^\\s*\\[.*\\]\\s*Starting compilation in watch mode.*$", + "endsPattern": "^\\s*\\[.*\\]\\s*Found 0 errors\\. Watching for file changes\\.$" + } + }, + "presentation": { + "reveal": "never" + }, + "group": { + "kind": "build", + "isDefault": true + } + } + ] } \ No newline at end of file diff --git a/helloworld-sample/package-lock.json b/helloworld-sample/package-lock.json index d938e2fcb5..241e30e50d 100644 --- a/helloworld-sample/package-lock.json +++ b/helloworld-sample/package-lock.json @@ -369,7 +369,6 @@ "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "8.39.0", "@typescript-eslint/types": "8.39.0", @@ -588,7 +587,6 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -781,7 +779,6 @@ "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", @@ -1564,7 +1561,6 @@ "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -1651,4 +1647,4 @@ } } } -} +} \ No newline at end of file