Skip to content

Commit aa5614a

Browse files
committed
Add MIT License, update project metadata, and enhance test dependencies
1 parent 8d775c7 commit aa5614a

6 files changed

Lines changed: 61 additions & 22 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,6 @@ MigrationBackup/
362362
# Fody - auto-generated XML schema
363363
FodyWeavers.xsd
364364
/scripts/nuget-publish.ps1
365+
366+
# Local
367+
.serena/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 iyulab
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

src/Directory.Build.props

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
<Project>
22
<PropertyGroup>
3+
<!-- Build Settings -->
34
<LangVersion>preview</LangVersion>
4-
<ImplicitUsings>disable</ImplicitUsings>
5+
<ImplicitUsings>enable</ImplicitUsings>
56
<Nullable>enable</Nullable>
6-
<Version>1.0.6</Version>
7+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
8+
9+
<!-- Package Metadata -->
10+
<Version>1.1.0</Version>
711
<Authors>iyulab</Authors>
812
<Company>Iyulab Corporation</Company>
9-
<Owners>iyulab-rnd</Owners>
10-
<Copyright>Copyright (c) Iyulab Corporation 2024.</Copyright>
11-
<PackageProjectUrl>https://github.com/iyulab-rnd/ObjectPath</PackageProjectUrl>
12-
<RepositoryUrl>https://github.com/iyulab-rnd/ObjectPath.git</RepositoryUrl>
13+
<Owners>iyulab</Owners>
14+
<Copyright>Copyright (c) Iyulab Corporation 2024-2025.</Copyright>
15+
<PackageProjectUrl>https://github.com/iyulab/ObjectPath</PackageProjectUrl>
16+
<RepositoryUrl>https://github.com/iyulab/ObjectPath.git</RepositoryUrl>
1317
<RepositoryType>git</RepositoryType>
14-
<PackageIconUrl>https://raw.githubusercontent.com/iyulab-rnd/public/main/images/iyulab_128.png</PackageIconUrl>
1518
<PackageTags>ObjectPath</PackageTags>
1619
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1720
<PackageReadmeFile>README.md</PackageReadmeFile>

src/Directory.Packages.props

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<!-- Test Dependencies -->
7+
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
8+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
9+
<PackageVersion Include="xunit" Version="2.9.3" />
10+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
11+
</ItemGroup>
12+
</Project>

src/ObjectPath.Tests/ObjectPath.Tests.csproj

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
4+
<TargetFramework>net10.0</TargetFramework>
85
<IsPackable>false</IsPackable>
96
<IsTestProject>true</IsTestProject>
107
</PropertyGroup>
118

129
<ItemGroup>
13-
<PackageReference Include="coverlet.collector" Version="6.0.0" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
15-
<PackageReference Include="xunit" Version="2.5.3" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
10+
<PackageReference Include="coverlet.collector">
11+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
12+
<PrivateAssets>all</PrivateAssets>
13+
</PackageReference>
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
15+
<PackageReference Include="xunit" />
16+
<PackageReference Include="xunit.runner.visualstudio">
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
<PrivateAssets>all</PrivateAssets>
19+
</PackageReference>
1720
</ItemGroup>
1821

1922
<ItemGroup>

src/ObjectPath/ObjectPath.csproj

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Nullable>enable</Nullable>
5-
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
8-
<Title>ObjectPath</Title>
9-
<Description>A simple and intuitive library for accessing object values using string path expressions in .NET.</Description>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
5+
<Title>ObjectPath</Title>
6+
<Description>A simple and intuitive library for accessing object values using string path expressions in .NET.</Description>
107
<RootNamespace>ObjectPathLibrary</RootNamespace>
118
</PropertyGroup>
129

0 commit comments

Comments
 (0)