From 8863ebfda17bae674cc19b3e7a9f227a154292e3 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Thu, 2 May 2019 17:45:55 -0700 Subject: [PATCH] Add --mutex option to yarn commands (#9919) Attempt to improve reliability of running yarn commands. Our project structure might cause yarn to be launched multiple times. According to yarn docs, this option should avoid conflicts between multiple instances of yarn https://yarnpkg.com/en/docs/cli/#toc-concurrency-and-mutex --- eng/targets/Npm.Common.targets | 2 +- .../CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj | 5 ----- .../src/Microsoft.AspNetCore.NodeServices.csproj | 2 +- .../SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj | 2 +- src/Shared/E2ETesting/E2ETesting.targets | 2 +- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/eng/targets/Npm.Common.targets b/eng/targets/Npm.Common.targets index fde4fece5c..b8dadce6c5 100644 --- a/eng/targets/Npm.Common.targets +++ b/eng/targets/Npm.Common.targets @@ -18,7 +18,7 @@ - + diff --git a/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj b/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj index 5f99a4e561..87da25f520 100644 --- a/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj +++ b/src/Middleware/CORS/test/FunctionalTests/CORS.FunctionalTests.npmproj @@ -12,10 +12,5 @@ false - - - - - diff --git a/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj b/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj index e7ba91bc8e..17b6bea51b 100644 --- a/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj +++ b/src/Middleware/NodeServices/src/Microsoft.AspNetCore.NodeServices.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj b/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj index 8987a271df..1541835389 100644 --- a/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj +++ b/src/Middleware/SpaServices/src/Microsoft.AspNetCore.SpaServices.csproj @@ -25,7 +25,7 @@ - + diff --git a/src/Shared/E2ETesting/E2ETesting.targets b/src/Shared/E2ETesting/E2ETesting.targets index 88d77ebf73..628880eb53 100644 --- a/src/Shared/E2ETesting/E2ETesting.targets +++ b/src/Shared/E2ETesting/E2ETesting.targets @@ -11,7 +11,7 @@ Importance="High" Text="Prerequisites were not enforced at build time. Running Yarn or the E2E tests might fail as a result. Check /src/Shared/E2ETesting/Readme.md for instructions." /> - +