Skip to content

Commit

Permalink
Restructured Fusion Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Mar 14, 2024
1 parent 552d24d commit 455feaf
Show file tree
Hide file tree
Showing 27 changed files with 24 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
</PropertyGroup>

<PropertyGroup>
<PackageId>HotChocolate.Fusion.Composition.Analyzers</PackageId>
<AssemblyName>HotChocolate.Fusion.Composition.Analyzers</AssemblyName>
<RootNamespace>HotChocolate.Fusion.Composition.Analyzers</RootNamespace>
<PackageId>HotChocolate.Fusion.Aspire.Analyzers</PackageId>
<AssemblyName>HotChocolate.Fusion.Aspire.Analyzers</AssemblyName>
<RootNamespace>HotChocolate.Fusion.Aspire.Analyzers</RootNamespace>
<Description>This package provides source generators for HotChocolate Fusion.</Description>
</PropertyGroup>

Expand All @@ -25,7 +25,7 @@
<ItemGroup>
<!-- Package the generator in the analyzer directory of the nuget package -->
<None Include="$(OutputPath)\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)HotChocolate.Fusion.Composition.Analyzers.targets" Pack="true" PackagePath="build/HotChocolate.Fusion.Composition.Analyzers.targets" Visible="false" />
<None Include="$(MSBuildThisFileDirectory)HotChocolate.Fusion.Aspire.Analyzers.targets" Pack="true" PackagePath="build/HotChocolate.Fusion.Aspire.Analyzers.targets" Visible="false" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<RootNamespace>HotChocolate.Fusion</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<IsPackable>true</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

<ItemGroup>
<ProjectReference Include="..\..\src\Aspire\HotChocolate.Fusion.Aspire.csproj" />
<ProjectReference Include="..\..\src\Composition.Analyzers\HotChocolate.Fusion.Composition.Analyzers.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="..\..\src\Composition\HotChocolate.Fusion.Composition.csproj" />
<ProjectReference Include="..\..\src\Aspire.Analyzers\HotChocolate.Fusion.Aspire.Analyzers.Tests.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions templates/StarWars/content/StarWars.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="HotChocolate.AspNetCore" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore.Authorization" Version="11.1.0" />
<PackageReference Include="HotChocolate.Data" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.AspNetCore.Authorization" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Data" Version="14.0.0-preview.build.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.6.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.12" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.3.0" />
<PackageReference Include="HotChocolate.AzureFunctions.IsolatedProcess" Version="11.1.0" />
<PackageReference Include="HotChocolate.Types.Analyzers" Version="11.1.0">
<PackageReference Include="HotChocolate.AzureFunctions.IsolatedProcess" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Types.Analyzers" Version="14.0.0-preview.build.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.0.1" />
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="HotChocolate.AzureFunctions" Version="11.1.0" />
<PackageReference Include="HotChocolate.Types.Analyzers" Version="11.1.0">
<PackageReference Include="HotChocolate.AzureFunctions" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Types.Analyzers" Version="14.0.0-preview.build.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.HeaderPropagation" Version="7.0.9" />
<PackageReference Include="BananaCakePop.Services" Version="1.2.0-preview.9" />
<PackageReference Include="HotChocolate.AspNetCore" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore.CommandLine" Version="11.1.0" />
<PackageReference Include="HotChocolate.Diagnostics" Version="11.1.0" />
<PackageReference Include="HotChocolate.Fusion" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.AspNetCore.CommandLine" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Diagnostics" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Fusion" Version="14.0.0-preview.build.0" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions templates/v12/gateway/HotChocolate.Template.Gateway.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

<ItemGroup>
<PackageReference Include="BananaCakePop.Services" Version="1.0.0" />
<PackageReference Include="HotChocolate.AspNetCore" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore.CommandLine" Version="11.1.0" />
<PackageReference Include="HotChocolate.Fusion" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.AspNetCore.CommandLine" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Fusion" Version="14.0.0-preview.build.0" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions templates/v12/server/HotChocolate.Template.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="HotChocolate.AspNetCore" Version="11.1.0" />
<PackageReference Include="HotChocolate.AspNetCore.CommandLine" Version="11.1.0" />
<PackageReference Include="HotChocolate.Types.Analyzers" Version="11.1.0">
<PackageReference Include="HotChocolate.AspNetCore" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.AspNetCore.CommandLine" Version="14.0.0-preview.build.0" />
<PackageReference Include="HotChocolate.Types.Analyzers" Version="14.0.0-preview.build.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit 455feaf

Please sign in to comment.