-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving program code to startup project, #1781
- Loading branch information
Showing
17 changed files
with
165 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using CommandLine; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
EmbyStat.Web/ApplicationModes.cs → EmbyStat.Hosts.Cmd/ApplicationModes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace EmbyStat.Web; | ||
namespace EmbyStat.Hosts.Cmd; | ||
|
||
public enum ApplicationModes | ||
{ | ||
|
5 changes: 2 additions & 3 deletions
5
EmbyStat.Web/DefaultConfig.cs → EmbyStat.Hosts.Cmd/DefaultConfig.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<IsPackable>false</IsPackable> | ||
<ApplicationIcon>..\branding\NSIS\install.ico</ApplicationIcon> | ||
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> | ||
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Version>1.2.3.4</Version> | ||
<AssemblyVersion>1.2.3.4</AssemblyVersion> | ||
<FileVersion>1.2.3.4</FileVersion> | ||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> | ||
<AssemblyName>EmbyStat</AssemblyName> | ||
<ProjectGuid>{1D5D997D-34AE-45BE-9935-14E0D63EAC02}</ProjectGuid> | ||
<ServerGarbageCollection>false</ServerGarbageCollection> | ||
|
||
<SpaRoot>..\EmbyStat.Web\ClientApp\</SpaRoot> | ||
<DefaultItemExcludes>$(DefaultItemExcludes);$(SpaRoot)node_modules\**</DefaultItemExcludes> | ||
<BuildServerSideRenderer>false</BuildServerSideRenderer> | ||
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> | ||
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="AutoMapper" Version="11.0.1" /> | ||
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="11.0.0" /> | ||
<PackageReference Include="CommandLineParser" Version="2.9.1" /> | ||
<PackageReference Include="FluentMigrator.Runner" Version="3.3.2" /> | ||
<PackageReference Include="Hangfire.AspNetCore" Version="1.7.29" /> | ||
<PackageReference Include="Hangfire.MemoryStorage.Core" Version="1.4.0" /> | ||
<PackageReference Include="Hangfire.RecurringJobExtensions" Version="1.1.6" /> | ||
<PackageReference Include="Microsoft.AspNetCore.ApiAuthorization.IdentityServer" Version="6.0.5" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.5" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="6.0.5" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.5"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.5" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="6.0.0" /> | ||
<PackageReference Include="Microsoft.OpenApi" Version="1.3.1" /> | ||
<PackageReference Include="Refit.HttpClientFactory" Version="6.3.2" /> | ||
<PackageReference Include="Rollbar.NetCore.AspNet" Version="5.2.0" /> | ||
<PackageReference Include="Rollbar.PlugIns.NLog" Version="5.2.0" /> | ||
<PackageReference Include="Serilog.AspNetCore" Version="5.0.0" /> | ||
<PackageReference Include="Serilog.Exceptions" Version="8.2.0" /> | ||
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" /> | ||
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" /> | ||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\EmbyStat.Controllers\EmbyStat.Controllers.csproj" /> | ||
<ProjectReference Include="..\EmbyStat.DI\EmbyStat.DI.csproj" /> | ||
<ProjectReference Include="..\EmbyStat.Migrations\EmbyStat.Migrations.csproj" /> | ||
<ProjectReference Include="..\EmbyStat.Migrator\EmbyStat.Migrator.csproj" /> | ||
<ProjectReference Include="..\EmbyStat.Repositories\EmbyStat.Repositories.csproj" /> | ||
<ProjectReference Include="..\EmbyStat.Jobs\EmbyStat.Jobs.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<SonarQubeSetting Include="sonar.eslint.reportPaths"> | ||
<Value>../EmbyStat.Web/ClientApp/report.json</Value> | ||
</SonarQubeSetting> | ||
<SonarQubeSetting Include="sonar.ts.excludetypedefinitionfiles"> | ||
<Value>true</Value> | ||
</SonarQubeSetting> | ||
<SonarQubeSetting Include="sonar.javascript.lcov.reportPaths"> | ||
<Value>../EmbyStat.Web/ClientApp/coverage/lcov.info</Value> | ||
</SonarQubeSetting> | ||
<SonarQubeSetting Include="sonar.typescript.tsconfigPath"> | ||
<Value>../EmbyStat.Web/ClientApp/tsconfig.json</Value> | ||
</SonarQubeSetting> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Update="..\EmbyStat.Web\ClientApp\**\*" CopyToPublishDirectory="Never" /> | ||
</ItemGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"> | ||
<TypeScriptTarget>ES2019</TypeScriptTarget> | ||
<TypeScriptJSXEmit>React</TypeScriptJSXEmit> | ||
<TypeScriptModuleKind>AMD</TypeScriptModuleKind> | ||
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled> | ||
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny> | ||
<TypeScriptRemoveComments>True</TypeScriptRemoveComments> | ||
<TypeScriptOutFile /> | ||
<TypeScriptOutDir /> | ||
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations> | ||
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError> | ||
<TypeScriptSourceMap>True</TypeScriptSourceMap> | ||
<TypeScriptMapRoot /> | ||
<TypeScriptSourceRoot /> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.