Skip to content

Commit

Permalink
readme and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Zettersten committed Dec 1, 2024
1 parent e14c07e commit fe221e0
Show file tree
Hide file tree
Showing 29 changed files with 202 additions and 29 deletions.
1 change: 1 addition & 0 deletions SocialCounter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{B34D9181-5
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
icon.png = icon.png
LICENSE = LICENSE
.github\workflows\nuget-publish.yml = .github\workflows\nuget-publish.yml
readme.md = readme.md
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Text.RegularExpressions;
using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions;

namespace SocialCounter.Facebook;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using static SocialCounter.ServiceCollectionExtensions;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.Facebook;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Net;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.Facebook;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>Erik Zettersten</Authors>
<Copyright>Copyright © 2024 Erik Zettersten</Copyright>
<Company>SocialCounter</Company>
<Product>SocialCounter SDK</Product>
<PackageId>SocialCounter.Facebook</PackageId>
<Version>$(GITHUB_REF_NAME.TrimStart('v'))</Version>
<Description></Description>
<PackageProjectUrl>https://github.com/Zettersten/SocialCounter</PackageProjectUrl>
<RepositoryUrl>https://github.com/Zettersten/SocialCounter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes></PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<NoWarn>CS1591;CS0618;CS1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\icon.png" Pack="true" PackagePath="\" />
<None Include="..\..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SocialCounter\SocialCounter.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Text.RegularExpressions;
using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions;

namespace SocialCounter.Instagram;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using static SocialCounter.ServiceCollectionExtensions;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.Instagram;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Net;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.Instagram;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>Erik Zettersten</Authors>
<Copyright>Copyright © 2024 Erik Zettersten</Copyright>
<Company>SocialCounter - Instagram</Company>
<Product>SocialCounter SDK - Instagram</Product>
<PackageId>SocialCounter.Instagram</PackageId>
<Version>$(GITHUB_REF_NAME.TrimStart('v'))</Version>
<Description></Description>
<PackageProjectUrl>https://github.com/Zettersten/SocialCounter</PackageProjectUrl>
<RepositoryUrl>https://github.com/Zettersten/SocialCounter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes></PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<NoWarn>CS1591;CS0618;CS1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\icon.png" Pack="true" PackagePath="\" />
<None Include="..\..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SocialCounter\SocialCounter.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Text.RegularExpressions;
using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions;

namespace SocialCounter.LinkedIn;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using static SocialCounter.ServiceCollectionExtensions;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.LinkedIn;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Net;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.LinkedIn;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>Erik Zettersten</Authors>
<Copyright>Copyright © 2024 Erik Zettersten</Copyright>
<Company>SocialCounter</Company>
<Product>SocialCounter SDK</Product>
<PackageId>SocialCounter.LinkedIn</PackageId>
<Version>$(GITHUB_REF_NAME.TrimStart('v'))</Version>
<Description></Description>
<PackageProjectUrl>https://github.com/Zettersten/SocialCounter</PackageProjectUrl>
<RepositoryUrl>https://github.com/Zettersten/SocialCounter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes></PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<NoWarn>CS1591;CS0618;CS1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\icon.png" Pack="true" PackagePath="\" />
<None Include="..\..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SocialCounter\SocialCounter.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter.Tests/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Hosting;
using SocialCounter.Facebook;
using SocialCounter.Instagram;
using SocialCounter.LinkedIn;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Net;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.TikTok;
Expand Down
36 changes: 32 additions & 4 deletions SocialCounter/SocialCounter.TikTok/SocialCounter.TikTok.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,41 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>Erik Zettersten</Authors>
<Copyright>Copyright © 2024 Erik Zettersten</Copyright>
<Company>SocialCounter</Company>
<Product>SocialCounter SDK</Product>
<PackageId>SocialCounter.TikTok</PackageId>
<Version>$(GITHUB_REF_NAME.TrimStart('v'))</Version>
<Description></Description>
<PackageProjectUrl>https://github.com/Zettersten/SocialCounter</PackageProjectUrl>
<RepositoryUrl>https://github.com/Zettersten/SocialCounter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes></PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<NoWarn>CS1591;CS0618;CS1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\SocialCounter\SocialCounter.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\icon.png" Pack="true" PackagePath="\" />
<None Include="..\..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SocialCounter\SocialCounter.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter.TikTok/TikTokCounterClient.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging;

namespace SocialCounter.TikTok;

Expand Down
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter.TikTok/TikTokCounterOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using static SocialCounter.ServiceCollectionExtensions;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.TikTok;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Net;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.Net;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.X;
Expand Down
30 changes: 29 additions & 1 deletion SocialCounter/SocialCounter.X/SocialCounter.X.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>Erik Zettersten</Authors>
<Copyright>Copyright © 2024 Erik Zettersten</Copyright>
<Company>SocialCounter</Company>
<Product>SocialCounter SDK</Product>
<PackageId>SocialCounter.X</PackageId>
<Version>$(GITHUB_REF_NAME.TrimStart('v'))</Version>
<Description></Description>
<PackageProjectUrl>https://github.com/Zettersten/SocialCounter</PackageProjectUrl>
<RepositoryUrl>https://github.com/Zettersten/SocialCounter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes></PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<NoWarn>CS1591;CS0618;CS1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\icon.png" Pack="true" PackagePath="\" />
<None Include="..\..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SocialCounter\SocialCounter.csproj" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter.X/XCounterClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Text.RegularExpressions;
using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions;

namespace SocialCounter.X;

Expand Down
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter.X/XCounterOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using static SocialCounter.ServiceCollectionExtensions;
using static SocialCounter.ServiceCollectionExtensions;

namespace SocialCounter.X;

Expand Down
3 changes: 2 additions & 1 deletion SocialCounter/SocialCounter/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using static SocialCounter.ServiceCollectionExtensions;
Expand All @@ -23,6 +23,7 @@ public class SocialCounterOptions
public int MaxRetryAttempts { get; set; } = 3;
public TimeSpan InitialRetryDelay { get; set; } = TimeSpan.FromSeconds(1);
public virtual string BaseAddress { get; set; } = string.Empty;

public IDictionary<string, string> DefaultHeaders { get; set; } =
new Dictionary<string, string>();
}
Expand Down
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter/SocialCountResult.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SocialCounter;
namespace SocialCounter;

public sealed record SocialCountResult(string Platform, string Handle, int Count)
{
Expand Down
30 changes: 29 additions & 1 deletion SocialCounter/SocialCounter/SocialCounter.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Authors>Erik Zettersten</Authors>
<Copyright>Copyright © 2024 Erik Zettersten</Copyright>
<Company>SocialCounter</Company>
<Product>SocialCounter SDK</Product>
<PackageId>SocialCounter</PackageId>
<Version>$(GITHUB_REF_NAME.TrimStart('v'))</Version>
<Description></Description>
<PackageProjectUrl>https://github.com/Zettersten/SocialCounter</PackageProjectUrl>
<RepositoryUrl>https://github.com/Zettersten/SocialCounter</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>readme.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes></PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<NoWarn>CS1591;CS0618;CS1573</NoWarn>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\icon.png" Pack="true" PackagePath="\" />
<None Include="..\..\readme.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="9.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion SocialCounter/SocialCounter/SocialCounters.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging;

namespace SocialCounter;

Expand Down
Loading

0 comments on commit fe221e0

Please sign in to comment.