Skip to content

Commit bf752bb

Browse files
committed
Updated to Blazor 0.6.0 and SignalR 1.0.4
1 parent ee79c28 commit bf752bb

File tree

7 files changed

+166
-180
lines changed

7 files changed

+166
-180
lines changed

.vsts-release.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
queue: 'Hosted VS2017'
2-
3-
variables:
4-
buildConfiguration: 'Release'
5-
6-
steps:
7-
8-
- task: DotNetCoreCLI@2
9-
inputs:
10-
command: 'restore'
11-
projects: '**/*.csproj'
12-
13-
- task: DotNetCoreCLI@2
14-
inputs:
15-
command: 'build'
16-
projects: '**/*.csproj'
17-
arguments: '--configuration $(buildConfiguration)'
18-
19-
- task: DotNetCoreCLI@2
20-
inputs:
21-
command: pack
22-
packagesToPack: 'src/Blazor.Extensions.SignalR/*.csproj'
23-
packDirectory: '$(build.artifactStagingDirectory)'
24-
configuration: '$(buildConfiguration)'
25-
versioningScheme: byEnvVar
26-
versionEnvVar: Version
27-
28-
- task: NuGetCommand@2
29-
inputs:
30-
command: push
31-
packagesToPush: '$(build.artifactStagingDirectory)/*.nupkg'
32-
publishFeedCredentials: 'BlazorExtensions'
33-
nuGetFeedType: external
34-
versioningScheme: byEnvVar
1+
queue: 'Hosted VS2017'
2+
3+
variables:
4+
buildConfiguration: 'Release'
5+
6+
steps:
7+
8+
- task: DotNetCoreCLI@2
9+
inputs:
10+
command: 'restore'
11+
projects: '**/*.csproj'
12+
13+
- task: DotNetCoreCLI@2
14+
inputs:
15+
command: 'build'
16+
projects: '**/*.csproj'
17+
arguments: '--configuration $(buildConfiguration)'
18+
19+
- task: DotNetCoreCLI@2
20+
inputs:
21+
command: pack
22+
packagesToPack: 'src/Blazor.Extensions.SignalR/*.csproj'
23+
packDirectory: '$(build.artifactStagingDirectory)'
24+
configuration: '$(buildConfiguration)'
25+
versioningScheme: byEnvVar
26+
versionEnvVar: Version
27+
28+
- task: NuGetCommand@2
29+
inputs:
30+
command: push
31+
packagesToPush: '$(build.ArtifactStagingDirectory)/**/*.nupkg;!$(build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
32+
publishFeedCredentials: 'BlazorExtensions'
33+
nuGetFeedType: external
34+
versioningScheme: byEnvVar
3535
versionEnvVar: Version
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<OutputType>Library</OutputType>
5-
<IsPackable>false</IsPackable>
6-
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
7-
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
8-
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
9-
<DefaultItemExcludes>${DefaultItemExcludes};dist\**;node_modules\**</DefaultItemExcludes>
10-
<NoWarn>CS2008</NoWarn>
11-
12-
<!-- VS's FastUpToDateCheck doesn't consider .ts file changes, so it's necessary to disable it to get incremental builds to work correctly (albeit not as fast as if FastUpToDateCheck did work for them) -->
13-
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
14-
</PropertyGroup>
15-
16-
<ItemGroup>
17-
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.5.1" />
18-
<WebpackInputs Include="**\*.ts" Exclude="dist\**;node_modules\**" />
19-
</ItemGroup>
20-
21-
<Target Name="EnsureNpmRestored" Condition="!Exists('node_modules')">
22-
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
23-
<Exec Command="npm install" />
24-
</Target>
25-
26-
<Target Name="RunWebpack" AfterTargets="ResolveReferences" Inputs="@(WebpackInputs)" Outputs="dist\blazor.extensions.signalr.js" DependsOnTargets="EnsureNpmRestored">
27-
<RemoveDir Directories="dist" />
28-
<Exec Command="npm run build" />
29-
<ItemGroup>
30-
<EmbeddedResource Include="dist\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
31-
</ItemGroup>
32-
</Target>
33-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Library</OutputType>
5+
<IsPackable>false</IsPackable>
6+
<BlazorLinkOnBuild>false</BlazorLinkOnBuild>
7+
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
8+
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
9+
<DefaultItemExcludes>${DefaultItemExcludes};dist\**;node_modules\**</DefaultItemExcludes>
10+
<NoWarn>CS2008</NoWarn>
11+
12+
<!-- VS's FastUpToDateCheck doesn't consider .ts file changes, so it's necessary to disable it to get incremental builds to work correctly (albeit not as fast as if FastUpToDateCheck did work for them) -->
13+
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
14+
</PropertyGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="0.6.0" />
18+
<WebpackInputs Include="**\*.ts" Exclude="dist\**;node_modules\**" />
19+
</ItemGroup>
20+
21+
<Target Name="EnsureNpmRestored" Condition="!Exists('node_modules')">
22+
<Message Importance="high" Text="Restoring dependencies using 'npm'. This may take several minutes..." />
23+
<Exec Command="npm install" />
24+
</Target>
25+
26+
<Target Name="RunWebpack" AfterTargets="ResolveReferences" Inputs="@(WebpackInputs)" Outputs="dist\blazor.extensions.signalr.js" DependsOnTargets="EnsureNpmRestored">
27+
<RemoveDir Directories="dist" />
28+
<Exec Command="npm run build" />
29+
<ItemGroup>
30+
<EmbeddedResource Include="dist\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
31+
</ItemGroup>
32+
</Target>
33+
</Project>

src/Blazor.Extensions.SignalR.JS/package-lock.json

Lines changed: 20 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
{
2-
"name": "blazor.extensions.signalr",
3-
"version": "0.0.1",
4-
"description": "",
5-
"main": "index.js",
6-
"scripts": {
7-
"build": "webpack-cli",
8-
"test": "echo \"Error: no test specified\" && exit 1"
9-
},
10-
"devDependencies": {
11-
"@types/emscripten": "0.0.31",
12-
"ts-loader": "^4.4.2",
13-
"typescript": "^2.9.2",
14-
"webpack": "^4.16.3",
15-
"webpack-cli": "^3.1.0"
16-
},
17-
"dependencies": {
18-
"@aspnet/signalr": "^1.0.2",
19-
"@aspnet/signalr-protocol-msgpack": "^1.0.2"
20-
}
21-
}
1+
{
2+
"name": "blazor.extensions.signalr",
3+
"version": "0.0.1",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"build": "webpack-cli",
8+
"test": "echo \"Error: no test specified\" && exit 1"
9+
},
10+
"devDependencies": {
11+
"@types/emscripten": "0.0.31",
12+
"ts-loader": "^4.4.2",
13+
"typescript": "^2.9.2",
14+
"webpack": "^4.16.3",
15+
"webpack-cli": "^3.1.0"
16+
},
17+
"dependencies": {
18+
"@aspnet/signalr": "^1.0.4",
19+
"@aspnet/signalr-protocol-msgpack": "^1.0.4"
20+
}
21+
}

0 commit comments

Comments
 (0)