diff --git a/build/.cachesalt b/build/.cachesalt index a3213b850c3..d55dde3c035 100644 --- a/build/.cachesalt +++ b/build/.cachesalt @@ -1 +1 @@ -2025-06-09T07:16:15.626Z +2025-07-23T19:44:03.051Z diff --git a/build/azure-pipelines/win32/product-build-win32.yml b/build/azure-pipelines/win32/product-build-win32.yml index 92e60170ba4..97eebf40530 100644 --- a/build/azure-pipelines/win32/product-build-win32.yml +++ b/build/azure-pipelines/win32/product-build-win32.yml @@ -95,6 +95,40 @@ steps: condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), ne(variables['NPM_REGISTRY'], 'none')) displayName: Setup NPM Authentication + # Remove once https://github.com/parcel-bundler/watcher/pull/202 is merged. + - pwsh: | + $includes = @' + { + 'target_defaults': { + 'conditions': [ + ['OS=="win"', { + "msvs_settings": { + "VCCLCompilerTool": { + "AdditionalOptions": [ + "/guard:cf", + "/w34244", + "/w34267", + ] + }, + "VCLinkerTool": { + "AdditionalOptions": [ + "/guard:cf", + ] + } + } + }] + ] + } + } + '@ + + if (!(Test-Path "~/.gyp")) { + mkdir "~/.gyp" + } + echo $includes > "~/.gyp/include.gypi" + displayName: Create include.gypi + condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true')) + - powershell: | . build/azure-pipelines/win32/exec.ps1 $ErrorActionPreference = "Stop"