Skip to content

Commit 447d351

Browse files
authored
Revert "chore: update [email protected] (#262877)"
This reverts commit ad0b5d2.
1 parent 8ee3a00 commit 447d351

File tree

14 files changed

+125
-117
lines changed

14 files changed

+125
-117
lines changed

.github/workflows/pr-win32-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
run: |
122122
for ($i = 1; $i -le 3; $i++) {
123123
try {
124-
npm exec -- npm-run-all -lp "electron ${{ env.VSCODE_ARCH }}" "playwright-install"
124+
npm exec -- -- npm-run-all -lp "electron ${{ env.VSCODE_ARCH }}" "playwright-install"
125125
break
126126
}
127127
catch {
@@ -230,19 +230,19 @@ jobs:
230230
if: ${{ inputs.electron_tests }}
231231
timeout-minutes: 20
232232
shell: pwsh
233-
run: npm run smoketest-no-compile -- --tracing
233+
run: npm run smoketest-no-compile -- -- --tracing
234234

235235
- name: 🧪 Run smoke tests (Browser, Chromium)
236236
if: ${{ inputs.browser_tests }}
237237
timeout-minutes: 20
238238
shell: pwsh
239-
run: npm run smoketest-no-compile -- --web --tracing --headless
239+
run: npm run smoketest-no-compile -- -- --web --tracing --headless
240240

241241
- name: 🧪 Run smoke tests (Remote)
242242
if: ${{ inputs.remote_tests }}
243243
timeout-minutes: 20
244244
shell: pwsh
245-
run: npm run smoketest-no-compile -- --remote --tracing
245+
run: npm run smoketest-no-compile -- -- --remote --tracing
246246

247247
- name: Diagnostics after smoke test run
248248
shell: pwsh

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
disturl="https://electronjs.org/headers"
2-
target="37.3.1"
3-
ms_build_id="12259562"
2+
target="37.2.3"
3+
ms_build_id="12035395"
44
runtime="electron"
55
build_from_source="true"
66
legacy-peer-deps="true"

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.18.0
1+
22.17.0

build/azure-pipelines/linux/setup-env.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fi
2525

2626
if [ "$npm_config_arch" == "x64" ]; then
2727
# Download clang based on chromium revision used by vscode
28-
curl -s https://raw.githubusercontent.com/chromium/chromium/138.0.7204.235/tools/clang/scripts/update.py | python - --output-dir=$PWD/.build/CR_Clang --host-os=linux
28+
curl -s https://raw.githubusercontent.com/chromium/chromium/138.0.7204.100/tools/clang/scripts/update.py | python - --output-dir=$PWD/.build/CR_Clang --host-os=linux
2929

3030
# Download libcxx headers and objects from upstream electron releases
3131
DEBUG=libcxx-fetcher \
@@ -37,9 +37,9 @@ if [ "$npm_config_arch" == "x64" ]; then
3737

3838
# Set compiler toolchain
3939
# Flags for the client build are based on
40-
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/138.0.7204.235:build/config/arm.gni
41-
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/138.0.7204.235:build/config/compiler/BUILD.gn
42-
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/138.0.7204.235:build/config/c++/BUILD.gn
40+
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/138.0.7204.100:build/config/arm.gni
41+
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/138.0.7204.100:build/config/compiler/BUILD.gn
42+
# https://source.chromium.org/chromium/chromium/src/+/refs/tags/138.0.7204.100:build/config/c++/BUILD.gn
4343
export CC="$PWD/.build/CR_Clang/bin/clang --gcc-toolchain=$VSCODE_CLIENT_SYSROOT_DIR/x86_64-linux-gnu"
4444
export CXX="$PWD/.build/CR_Clang/bin/clang++ --gcc-toolchain=$VSCODE_CLIENT_SYSROOT_DIR/x86_64-linux-gnu"
4545
export CXXFLAGS="-nostdinc++ -D__NO_INLINE__ -DSPDLOG_USE_STD_FORMAT -I$PWD/.build/libcxx_headers -isystem$PWD/.build/libcxx_headers/include -isystem$PWD/.build/libcxxabi_headers/include -fPIC -flto=thin -fsplit-lto-unit -D_LIBCPP_ABI_NAMESPACE=Cr -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE --sysroot=$VSCODE_CLIENT_SYSROOT_DIR/x86_64-linux-gnu/x86_64-linux-gnu/sysroot"

build/azure-pipelines/win32/product-build-win32-test.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ parameters:
1111
type: string
1212

1313
steps:
14-
- powershell: npm exec -- npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install"
14+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
15+
- powershell: npm exec -- -- npm-run-all -lp "electron $(VSCODE_ARCH)" "playwright-install"
1516
env:
1617
GITHUB_TOKEN: "$(github-distro-mixin-password)"
1718
displayName: Download Electron and Playwright
@@ -21,12 +22,14 @@ steps:
2122
- powershell: .\scripts\test.bat --build --tfs "Unit Tests"
2223
displayName: 🧪 Run unit tests (Electron)
2324
timeoutInMinutes: 15
24-
- powershell: npm run test-node -- --build
25+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
26+
- powershell: npm run test-node -- -- --build
2527
displayName: 🧪 Run unit tests (node.js)
2628
timeoutInMinutes: 15
2729

2830
- ${{ if eq(parameters.VSCODE_RUN_BROWSER_TESTS, true) }}:
29-
- powershell: npm run test-browser-no-install -- --build --browser chromium --tfs "Browser Unit Tests"
31+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
32+
- powershell: npm run test-browser-no-install -- -- --build --browser chromium --tfs "Browser Unit Tests"
3033
displayName: 🧪 Run unit tests (Browser, Chromium)
3134
timeoutInMinutes: 20
3235

@@ -119,19 +122,22 @@ steps:
119122
condition: succeededOrFailed()
120123

121124
- ${{ if eq(parameters.VSCODE_RUN_ELECTRON_TESTS, true) }}:
122-
- powershell: npm run smoketest-no-compile -- --tracing --build "$(agent.builddirectory)\test\VSCode-win32-$(VSCODE_ARCH)"
125+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
126+
- powershell: npm run smoketest-no-compile -- -- --tracing --build "$(agent.builddirectory)\test\VSCode-win32-$(VSCODE_ARCH)"
123127
displayName: 🧪 Run smoke tests (Electron)
124128
timeoutInMinutes: 20
125129

126130
- ${{ if eq(parameters.VSCODE_RUN_BROWSER_TESTS, true) }}:
127-
- powershell: npm run smoketest-no-compile -- --web --tracing --headless
131+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
132+
- powershell: npm run smoketest-no-compile -- -- --web --tracing --headless
128133
env:
129134
VSCODE_REMOTE_SERVER_PATH: $(agent.builddirectory)\test\vscode-server-win32-$(VSCODE_ARCH)-web
130135
displayName: 🧪 Run smoke tests (Browser, Chromium)
131136
timeoutInMinutes: 20
132137

133138
- ${{ if eq(parameters.VSCODE_RUN_REMOTE_TESTS, true) }}:
134-
- powershell: npm run smoketest-no-compile -- --tracing --remote --build "$(agent.builddirectory)\test\VSCode-win32-$(VSCODE_ARCH)"
139+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
140+
- powershell: npm run smoketest-no-compile -- -- --tracing --remote --build "$(agent.builddirectory)\test\VSCode-win32-$(VSCODE_ARCH)"
135141
env:
136142
VSCODE_REMOTE_SERVER_PATH: $(agent.builddirectory)\test\vscode-server-win32-$(VSCODE_ARCH)
137143
displayName: 🧪 Run smoke tests (Remote)

build/azure-pipelines/win32/product-build-win32.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,12 @@ steps:
256256
echo "##vso[task.setvariable variable=EsrpCliDllPath]$Version\net6.0\esrpcli.dll"
257257
displayName: Find ESRP CLI
258258
259+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
259260
- powershell: |
260261
. build/azure-pipelines/win32/exec.ps1
261262
$ErrorActionPreference = "Stop"
262263
mkdir -Force .build/node-cpuprofile
263-
exec { npx deemon --detach --wait -- npx zx build/azure-pipelines/win32/codesign.js }
264+
exec { npx deemon --detach --wait -- -- npx zx build/azure-pipelines/win32/codesign.js }
264265
env:
265266
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
266267
NODE_DEBUG: "net,child_process"
@@ -277,10 +278,11 @@ steps:
277278
VSCODE_TEST_ARTIFACT_NAME: ${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}
278279

279280
- ${{ if ne(parameters.VSCODE_CIBUILD, true) }}:
281+
# Additional "--" needed to workaround https://github.com/npm/cli/issues/7375
280282
- powershell: |
281283
. build/azure-pipelines/win32/exec.ps1
282284
$ErrorActionPreference = "Stop"
283-
exec { npx deemon --attach -- npx zx build/azure-pipelines/win32/codesign.js }
285+
exec { npx deemon --attach -- -- npx zx build/azure-pipelines/win32/codesign.js }
284286
condition: succeededOrFailed()
285287
env:
286288
NODE_DEBUG: "net,child_process"

0 commit comments

Comments
 (0)