From 7cd6479041d783046e615a282a6525f3ca4a0f2b Mon Sep 17 00:00:00 2001 From: Gleb Bashkatov Date: Wed, 12 Jun 2024 12:12:29 +0000 Subject: [PATCH 1/4] Add `ms-vscode.wasm-wasi-core` and `ms-vscode.webshell` --- extensions.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extensions.json b/extensions.json index 0b2f43d71..b2320d100 100644 --- a/extensions.json +++ b/extensions.json @@ -1050,6 +1050,14 @@ "ms-vscode.vscode-typescript-next": { "repository": "https://github.com/microsoft/vscode-typescript-next.git" }, + "ms-vscode.wasm-wasi-core": { + "repository": "https://github.com/microsoft/vscode-wasm.git", + "location": "wasm-wasi-core" + }, + "ms-vscode.webshell": { + "repository": "https://github.com/microsoft/vscode-wasm.git", + "location": "webshell" + }, "msjsdiag.debugger-for-edge": { "repository": "https://github.com/Microsoft/vscode-edge-debug2" }, From 8b9cf2253c42e99dfb8dc71ae372fc0fe45d6d90 Mon Sep 17 00:00:00 2001 From: glebbash Date: Wed, 19 Jun 2024 15:13:19 +0100 Subject: [PATCH 2/4] fix: use custom build scripts --- extensions.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/extensions.json b/extensions.json index b2320d100..854ed7ed3 100644 --- a/extensions.json +++ b/extensions.json @@ -1052,11 +1052,16 @@ }, "ms-vscode.wasm-wasi-core": { "repository": "https://github.com/microsoft/vscode-wasm.git", - "location": "wasm-wasi-core" + "location": "wasm-wasi-core", + "custom": [ + "cd wasm-wasi-core && jq '.scripts[\"update:version\"] = \"\"' package.json > tmp.json && mv tmp.json package.json", + "cd wasm-wasi-core && vsce package -o extension.vsix" + ] }, "ms-vscode.webshell": { "repository": "https://github.com/microsoft/vscode-wasm.git", - "location": "webshell" + "location": "webshell", + "custom": ["cd webshell && vsce package -o extension.vsix"] }, "msjsdiag.debugger-for-edge": { "repository": "https://github.com/Microsoft/vscode-edge-debug2" From 2cc6fe4ab84950dc29b90c9ea86fc1413df5b2e9 Mon Sep 17 00:00:00 2001 From: glebbash Date: Thu, 20 Jun 2024 21:00:57 +0100 Subject: [PATCH 3/4] ci: add `npm i` --- extensions.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions.json b/extensions.json index 854ed7ed3..30b07f766 100644 --- a/extensions.json +++ b/extensions.json @@ -1055,13 +1055,13 @@ "location": "wasm-wasi-core", "custom": [ "cd wasm-wasi-core && jq '.scripts[\"update:version\"] = \"\"' package.json > tmp.json && mv tmp.json package.json", - "cd wasm-wasi-core && vsce package -o extension.vsix" + "cd wasm-wasi-core && npm i && vsce package -o extension.vsix" ] }, "ms-vscode.webshell": { "repository": "https://github.com/microsoft/vscode-wasm.git", "location": "webshell", - "custom": ["cd webshell && vsce package -o extension.vsix"] + "custom": ["cd webshell && npm i && vsce package -o extension.vsix"] }, "msjsdiag.debugger-for-edge": { "repository": "https://github.com/Microsoft/vscode-edge-debug2" From 32ad62b68857380fcc3fc684250827e480543e92 Mon Sep 17 00:00:00 2001 From: Gleb Bashkatov Date: Thu, 20 Jun 2024 20:21:23 +0000 Subject: [PATCH 4/4] fix: npm install in root of the repo before building --- extensions.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions.json b/extensions.json index 30b07f766..fdfd1c1ca 100644 --- a/extensions.json +++ b/extensions.json @@ -1055,13 +1055,13 @@ "location": "wasm-wasi-core", "custom": [ "cd wasm-wasi-core && jq '.scripts[\"update:version\"] = \"\"' package.json > tmp.json && mv tmp.json package.json", - "cd wasm-wasi-core && npm i && vsce package -o extension.vsix" + "npm i && cd wasm-wasi-core && vsce package -o extension.vsix" ] }, "ms-vscode.webshell": { "repository": "https://github.com/microsoft/vscode-wasm.git", "location": "webshell", - "custom": ["cd webshell && npm i && vsce package -o extension.vsix"] + "custom": ["npm i && cd webshell && vsce package -o extension.vsix"] }, "msjsdiag.debugger-for-edge": { "repository": "https://github.com/Microsoft/vscode-edge-debug2"