<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
    <TargetFramework>net8.0</TargetFramework>
    <EnableDefaultContentItems>false</EnableDefaultContentItems>
    <PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
    <WarningsAsErrors>FS0025</WarningsAsErrors>
    <UserSecretsId>a9a81c4f-d2ce-4dca-bd5a-bcb0e395d3ab</UserSecretsId>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="HashsetDatabase.fs">
      <Visible>False</Visible>
    </Compile>
    <Compile Include="Types.fs"/>
    <Compile Include="Utils.fs"/>
    <Content Include="sqlhydra-npgsql.toml"/>
    <Compile Include="Queries.fs"/>
    <None Include="Properties\postcss.config.js" CopyToOutputDirectory="Never"/>
    <None Include="Properties\tailwind.config.js" CopyToOutputDirectory="Never"/>
    <None Include="Properties\tailwind.input.css" CopyToOutputDirectory="Never"/>
  </ItemGroup>
  <PropertyGroup Label="Tailwind Properties">
    <TailwindOutputFile>$(MSBuildProjectDirectory)/WebRoot/css/tailwind.css</TailwindOutputFile>
    <TailwindMinify>true</TailwindMinify>
  </PropertyGroup>
  <ItemGroup>
    <EmbeddedResource Include="Migrations/up/*.sql" CopyToOutputDirectory="PreserveNewest"/>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="FileStorage.fs"/>
    <Compile Include="Articles.fs"/>
    <Compile Include="Views\Svg.fs"/>
    <Compile Include="Views\Header.fs"/>
    <Compile Include="Views\Footer.fs"/>
    <Compile Include="Views\Layout.fs"/>
    <Compile Include="Views\Partials\TagInput.fs"/>
    <Compile Include="Views\Partials\AvailableImageList.fs"/>
    <Compile Include="Views\Components\Button.fs"/>
    <Compile Include="Views\Components\TagList.fs"/>
    <Compile Include="Views\Components\Card.fs"/>
    <Compile Include="Views\Pages\Article.fs"/>
    <Compile Include="Views\Pages\ArticleList.fs"/>
    <Compile Include="Views\Pages\About.fs"/>
    <Compile Include="Views\Pages\Login.fs"/>
    <Compile Include="Views\Pages\Upsert.fs"/>
    <Compile Include="Syndication.fs"/>
    <Compile Include="CustomAuthStateProvider.fs"/>
    <Compile Include="AuthService.fs"/>
    <Compile Include="Program.fs"/>
    <Content Include="WebRoot/**/*">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="appsettings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="FSlugify" Version="1.2.1"/>
    <PackageReference Include="Fun.Blazor.Server" Version="3.2.8"/>
    <PackageReference Include="Fun.Htmx" Version="3.2.9"/>
    <PackageReference Include="Markdown.ColorCode" Version="2.1.0"/>
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0"/>
    <PackageReference Update="FSharp.Core" Version="8.0.100"/>
    <PackageReference Include="Npgsql.DependencyInjection" Version="8.0.1"/>
    <PackageReference Include="Npgsql" Version="8.0.1"/>
    <PackageReference Include="SqlHydra.Query" Version="2.2.1"/>
    <PackageReference Include="supabase-csharp" Version="0.13.7"/>
    <PackageReference Include="Tailwind.MSBuild" Version="1.1.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>
</Project>
