Skip to content

Commit

Permalink
Migrate from Kysect.Editorconfig to Kysect.SolutionDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
FrediKats committed May 12, 2024
1 parent eb7e564 commit 657acb8
Show file tree
Hide file tree
Showing 80 changed files with 26 additions and 155 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: CI/CD

on:
push:
Expand Down
17 changes: 8 additions & 9 deletions Sources/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<Project>
<PropertyGroup>
<Authors>Kysect</Authors>
<Company>Kysect</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/Kysect/PowerShellRunner</RepositoryUrl>
<PackageProjectUrl>https://github.com/Kysect/PowerShellRunner</PackageProjectUrl>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>

<UseArtifactsOutput>true</UseArtifactsOutput>
<DebugType>portable</DebugType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Kysect.Editorconfig">
<None Include="$(MSBuildThisFileDirectory)../Readme.md" Pack="true" PackagePath="/Readme.md" Visible="false" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Kysect.SolutionDefaults">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions Sources/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<ItemGroup>
<PackageVersion Include="IsExternalInit" Version="1.0.3" />
<PackageVersion Include="Kysect.CommonLib" Version="0.1.14" />
<PackageVersion Include="Kysect.Editorconfig" Version="1.1.6" />
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Kysect.CommonLib.DependencyInjection" Version="0.1.14" />
Expand All @@ -19,5 +18,6 @@
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
<PackageVersion Include="PowerShellStandard.Library" Version="5.1.1" />
<PackageVersion Include="MinVer" Version="5.0.0" />
</ItemGroup>
<PackageVersion Include="Kysect.SolutionDefaults" Version="0.1.2" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.PowerShellRunner.Abstractions.Accessors.Results;
using Kysect.PowerShellRunner.Abstractions.Queries;
using System;

namespace Kysect.PowerShellRunner.Abstractions.Accessors;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.Abstractions.Accessors.Results;
namespace Kysect.PowerShellRunner.Abstractions.Accessors.Results;

public class PowerShellFailedExecutionResult : IPowerShellExecutionResult
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kysect.PowerShellRunner.Abstractions.Objects;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.Abstractions.Accessors.Results;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.Abstractions.Objects;
namespace Kysect.PowerShellRunner.Abstractions.Objects;

public interface IPowerShellObject
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kysect.PowerShellRunner.Abstractions.Parameters;
using System;

namespace Kysect.PowerShellRunner.Abstractions.Variables;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Kysect.PowerShellRunner.Abstractions.Parameters;
using System;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.Abstractions.Variables;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kysect.PowerShellRunner.Abstractions.Objects;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.Abstractions.Variables;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.Abstractions.Variables;
namespace Kysect.PowerShellRunner.Abstractions.Variables;

public static class PowerShellVariableFilteredExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Linq;

namespace Kysect.PowerShellRunner.Abstractions.Variables;
namespace Kysect.PowerShellRunner.Abstractions.Variables;

public class PowerShellVariableWithIndex<T> : IPowerShellReferenceable<T>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace Kysect.PowerShellRunner.CodeGeneration.Common;
namespace Kysect.PowerShellRunner.CodeGeneration.Common;

public class RoslynAnalyzingException : Exception
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Common;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Common;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Common;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace Kysect.PowerShellRunner.CodeGeneration.Common.Semantic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.CodeAnalysis;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.Common;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using System.IO;
using System.Reflection;

namespace Kysect.PowerShellRunner.CodeGeneration.Compilation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Microsoft.CodeAnalysis.CSharp;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.Compilation;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Compilation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using Kysect.CommonLib.BaseTypes.Extensions;
using Kysect.PowerShellRunner.CodeGeneration.Common;
using Microsoft.CodeAnalysis;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Compilation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.Parsing.Enums;
namespace Kysect.PowerShellRunner.CodeGeneration.Parsing.Enums;

public class EnumDeclarationSyntaxParseResult
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Parsing.Enums;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.Parsing.Models;
namespace Kysect.PowerShellRunner.CodeGeneration.Parsing.Models;

public record ModelDeclarationParseResult(string Name, string? BaseTypeName, IReadOnlyCollection<ModelDeclarationPropertyParseResult> Properties);
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.Parsing.Models;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.PowerShellRunner.CodeGeneration.Common.Semantic;
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaComparing;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaComparing;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using Kysect.PowerShellRunner.CodeGeneration.Common.Semantic;
using Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaComparing;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaComparing;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaComparing;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
using Kysect.PowerShellRunner.CodeGeneration.SchemaSerializing;
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaComparing;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;
namespace Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;

public static class CollectionExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;
using Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SchemaSerializing;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SdkGenerating;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SdkGenerating;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Linq;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;

namespace Kysect.PowerShellRunner.CodeGeneration.SdkGenerating;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Kysect.PowerShellRunner.Abstractions.Parameters;
using Kysect.PowerShellRunner.CodeGeneration.SchemaGenerating;
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using System;

namespace Kysect.PowerShellRunner.CodeGeneration.SdkGenerating;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.IO;

namespace Kysect.PowerShellRunner.CodeGeneration.SdkGenerating;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Kysect.PowerShellRunner.CodeGeneration.UsedModelSearching;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SdkGenerating;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Kysect.PowerShellRunner.CodeGeneration.Common.Semantic;
using Kysect.PowerShellRunner.CodeGeneration.Compilation;
using System.Collections.Generic;

namespace Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Linq;

namespace Kysect.PowerShellRunner.CodeGeneration.SemanticParsing;

Expand Down
Loading

0 comments on commit 657acb8

Please sign in to comment.