<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Library</OutputType>
    <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
    <SignAssembly>False</SignAssembly>
    <Title>SoloDB</Title>
    <Description>SoloDB is a document database built on top of SQLite using the JSONB data type. It leverages the robustness and simplicity of SQLite to provide an efficient and lightweight database solution for handling JSON documents.</Description>
    <Copyright>Radu Sologub</Copyright>
    <Authors>Radu Sologub</Authors>
    <RootNamespace>SoloDatabase</RootNamespace>
    <PackageProjectUrl>https://github.com/Unconcurrent/SoloDB</PackageProjectUrl>
    <PackageReadmeFile>README.md</PackageReadmeFile>
    <RepositoryUrl>https://github.com/Unconcurrent/SoloDB</RepositoryUrl>
    <RepositoryType>git</RepositoryType>
    <PackageTags>database</PackageTags>
    <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
    <PackageIcon>icon.png</PackageIcon>
    <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
    <IncludeSymbols>True</IncludeSymbols>
    <PackageOutputPath>$(OutputPath)</PackageOutputPath>
    <VersionPrefix>0.0.20</VersionPrefix>
    <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="Types.fs" />
    <Compile Include="Utils.fs" />
    <Compile Include="Extensions.fs" />
    <Compile Include="JsonSerializator.fs" />
    <Compile Include="JsonFunctions.fs" />
    <Compile Include="SQLiteTools.fs" />
    <Compile Include="QueryTranslator.fs" />
    <Compile Include="Connections.fs" />
    <Compile Include="FileStorage.fs" />
    <Compile Include="SoloDB.fs" />
    <Compile Include="SoloDBOperators.fs" />
  </ItemGroup>

  <ItemGroup>
    <None Include="..\icon.png">
      <Pack>True</Pack>
      <PackagePath>\</PackagePath>
    </None>
    <None Include="..\LICENSE.txt">
      <Pack>True</Pack>
      <PackagePath>\</PackagePath>
    </None>
    <None Include="..\README.md">
      <Pack>True</Pack>
      <PackagePath>\</PackagePath>
    </None>
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="FSharp.Interop.Dynamic" Version="5.0.1.268" />
    <PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.6" />
    <PackageReference Include="Portable.System.DateTimeOnly" Version="8.0.1" />
    <PackageReference Include="Snappier" Version="1.1.6" />
    <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.8" />
    <PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
  </ItemGroup>

</Project>
