diff --git a/.gitignore b/.gitignore index 8a2385174b..0ce0bf24e6 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,4 @@ modules/ launchSettings.json msbuild.ProjectImports.zip StyleCop.Cache -UpgradeLog.htm +UpgradeLog.htm \ No newline at end of file diff --git a/eng/targets/Npm.Common.targets b/eng/targets/Npm.Common.targets index aa7e83ac9c..c290e39756 100644 --- a/eng/targets/Npm.Common.targets +++ b/eng/targets/Npm.Common.targets @@ -13,6 +13,11 @@ <_BackupPackageJson>$(IntermediateOutputPath)$(MSBuildProjectName).package.json.bak + + + + + @@ -31,8 +36,14 @@ BuildInParallel="true" /> - - + + + + + diff --git a/src/SignalR/clients/ts/FunctionalTests/SignalR.Npm.FunctionalTests.npmproj b/src/SignalR/clients/ts/FunctionalTests/SignalR.Npm.FunctionalTests.npmproj index 3510aa1775..f75f288f9a 100644 --- a/src/SignalR/clients/ts/FunctionalTests/SignalR.Npm.FunctionalTests.npmproj +++ b/src/SignalR/clients/ts/FunctionalTests/SignalR.Npm.FunctionalTests.npmproj @@ -3,17 +3,16 @@ false - false + true sauce.local <_TestSauceArgs>--verbose --no-color --configuration $(Configuration) --sauce-user "$(SauceUser)" --sauce-key "$(SauceKey)" <_TestSauceArgs Condition="'$(BrowserTestHostName)' != ''">$(_TestSauceArgs) --use-hostname "$(BrowserTestHostName)" - run test:local --no-color --configuration $(Configuration) + run test:inner --no-color --configuration $(Configuration) - - - + + diff --git a/src/SignalR/clients/ts/FunctionalTests/package.json b/src/SignalR/clients/ts/FunctionalTests/package.json index 4ce8f978b8..84c01aacb9 100644 --- a/src/SignalR/clients/ts/FunctionalTests/package.json +++ b/src/SignalR/clients/ts/FunctionalTests/package.json @@ -39,12 +39,13 @@ "preclean": "cd .. && yarn run build", "clean": "node ../common/node_modules/rimraf/bin.js ./wwwroot/dist ./obj/js", "prebuild": "yarn run clean && yarn install --mutex network", - "build": "yarn run build:lint && yarn run build:webpack", + "build": "yarn run build:inner", + "build:inner": "yarn run build:lint && yarn run build:webpack", "build:lint": "node ../common/node_modules/tslint/bin/tslint -c ../tslint.json -p ./tsconfig.json", "build:webpack": "node ../common/node_modules/webpack-cli/bin/cli.js", "pretest": "yarn run build && dotnet build SignalR.Client.FunctionalTestApp.csproj", "test": "tsc --noEmit && yarn run test:local", - "test:inner": "yarn run build && dotnet build SignalR.Client.FunctionalTestApp.csproj && yarn run test:local", + "test:inner": "yarn run build:inner && ts-node --project ./scripts/tsconfig.json ./scripts/run-tests.ts", "test:local": "yarn run pretest && ts-node --project ./scripts/tsconfig.json ./scripts/run-tests.ts", "test:all": "yarn run pretest && ts-node --project ./scripts/tsconfig.json ./scripts/run-tests.ts --all-browsers", "test:sauce": "yarn run pretest && ts-node --project ./scripts/tsconfig.json ./scripts/run-tests.ts --sauce", diff --git a/src/SignalR/clients/ts/client-ts.npmproj b/src/SignalR/clients/ts/client-ts.npmproj index ab28018de9..f3aa6f9436 100644 --- a/src/SignalR/clients/ts/client-ts.npmproj +++ b/src/SignalR/clients/ts/client-ts.npmproj @@ -4,7 +4,7 @@ false false - false + true