Skip to content

Commit

Permalink
Merge pull request #431 from LayTec-AG/bump/nuget-packages
Browse files Browse the repository at this point in the history
Bump/nuget packages
  • Loading branch information
sean-mcl authored Jun 17, 2024
2 parents 2b836d1 + 4821d86 commit 0e91405
Show file tree
Hide file tree
Showing 1,387 changed files with 86,741 additions and 54 deletions.
30 changes: 15 additions & 15 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
<ItemGroup>
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components" Version="6.0.28" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.Web" Version="6.0.28" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.28" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.28" PrivateAssets="all" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components" Version="7.0.17" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.Web" Version="7.0.17" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.17" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.17" PrivateAssets="all" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components" Version="8.0.3" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components.Web" Version="8.0.3" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.3" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.3" PrivateAssets="all" />
<PackageVersion Include="MudBlazor" Version="6.19.1" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components" Version="6.0.31" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.Web" Version="6.0.31" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.31" />
<PackageVersion Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.31" PrivateAssets="all" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components" Version="7.0.20" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.Web" Version="7.0.20" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.20" />
<PackageVersion Condition="'$(TargetFramework)' == 'net7.0'" Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.20" PrivateAssets="all" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components" Version="8.0.6" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components.Web" Version="8.0.6" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.6" />
<PackageVersion Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.6" PrivateAssets="all" />
<PackageVersion Include="MudBlazor" Version="6.20.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="PublishSPAforGitHubPages.Build" Version="2.1.1" />
<PackageVersion Include="PublishSPAforGitHubPages.Build" Version="2.2.0" />
<PackageVersion Include="Stubble.Core" Version="1.10.8" />
<PackageVersion Include="WeCantSpell.Hunspell" Version="5.0.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="nunit" Version="3.14.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
</ItemGroup>
</Project>
8 changes: 7 additions & 1 deletion Plotly.Blazor.Generator/CustomDic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,10 @@ autorangeoptions=autoRangeOptions
includesrc=includeSrc
hovercolorsrc=hoverColorSrc
autotickangles=autoTickAngles
barcornerradius=barCornerRadius
barcornerradius=barCornerRadius
linepositionsrc=linePositionSrc
shadowsrc=shadowSrc
stylesrc=styleSrc
textcasesrc=textCaseSrc
variantsrc=variantSrc
weightsrc=weightSrc
4 changes: 2 additions & 2 deletions Plotly.Blazor.Generator/Plotly.Blazor.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<None Remove="English %28American%29.dic" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Stubble.Core"/>
<PackageReference Include="Stubble.Core" />
<PackageReference Include="WeCantSpell.Hunspell" />
</ItemGroup>
<ItemGroup>
Expand All @@ -33,7 +33,7 @@
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="src\wwwroot\plotly-interop.js">
<None Update="src\wwwroot\plotly-interop-2.33.0.js">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
12 changes: 9 additions & 3 deletions Plotly.Blazor.Generator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Net.Http;
Expand All @@ -28,7 +29,9 @@ namespace Plotly.Blazor.Generator
internal class Program
{
private const string NAMESPACE = "Plotly.Blazor";
private const string PLOTLY_JS_URL = "https://cdn.plot.ly/plotly-2.30.1.min.js";
private const string VERSION = "2.33.0";
private static string PLOTLY_FILE_NAME => $"plotly-{VERSION}.min.js";
private static string PLOTLY_JS_URL => "https://cdn.plot.ly/" + PLOTLY_FILE_NAME;

private static SchemaRoot _schema;
private static StubbleVisitorRenderer _stubble;
Expand Down Expand Up @@ -79,16 +82,19 @@ private static async Task<SchemaRoot> GetPlotlySchemaAsync()
"https://raw.githubusercontent.com/plotly/plotly.js/master/dist/plot-schema.json");

// Write latest .js-File
var outputDir = @".\src\wwwroot";
const string outputDir = @".\src\wwwroot";

Directory.CreateDirectory(outputDir);
await File.WriteAllTextAsync($"{outputDir}\\plotly-latest.min.js",

await File.WriteAllTextAsync($"{outputDir}\\{PLOTLY_FILE_NAME}",
await httpClient.GetStringAsync(PLOTLY_JS_URL));

var serializerOptions = new JsonSerializerOptions
{
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
PropertyNameCaseInsensitive = true
};

return JsonSerializer.Deserialize<SchemaRoot>(schemaJson, serializerOptions);
}

Expand Down
Loading

0 comments on commit 0e91405

Please sign in to comment.