Skip to content

Commit a2f4557

Browse files
panesofglassclaude
andcommitted
refactor: centralize version in Directory.Build.props
Remove VersionPrefix from individual .fsproj files to inherit from src/Directory.Build.props, ensuring consistent versioning across all packages. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 0c2d130 commit a2f4557

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/FSharp.Data.JsonSchema.Core/FSharp.Data.JsonSchema.Core.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net8.0;net9.0;net10.0</TargetFrameworks>
5-
<VersionPrefix>3.0.0</VersionPrefix>
65
<PackageId Condition="$(GITHUB_REPOSITORY_OWNER) != 'fsprojects' and $(GITHUB_REPOSITORY_OWNER) != ''">$(GITHUB_REPOSITORY_OWNER).FSharp.Data.JsonSchema.Core</PackageId>
76
<Description>Target-agnostic JSON Schema IR and type analyzer for F# types. Use this package to analyze F# types into a schema document and translate to any target format.</Description>
87
</PropertyGroup>

src/FSharp.Data.JsonSchema.NJsonSchema/FSharp.Data.JsonSchema.NJsonSchema.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net8.0;net9.0;net10.0</TargetFrameworks>
5-
<VersionPrefix>3.0.0</VersionPrefix>
65
<PackageId Condition="$(GITHUB_REPOSITORY_OWNER) != 'fsprojects' and $(GITHUB_REPOSITORY_OWNER) != ''">$(GITHUB_REPOSITORY_OWNER).FSharp.Data.JsonSchema.NJsonSchema</PackageId>
76
<Description>NJsonSchema-based JSON Schema generation for F# types. This package provides Generator.Create/CreateMemoized for generating NJsonSchema.JsonSchema from F# types, with support for records, discriminated unions, and validation.</Description>
87
</PropertyGroup>

src/FSharp.Data.JsonSchema.OpenApi/FSharp.Data.JsonSchema.OpenApi.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
5-
<VersionPrefix>3.0.0</VersionPrefix>
65
<PackageId Condition="$(GITHUB_REPOSITORY_OWNER) != 'fsprojects' and $(GITHUB_REPOSITORY_OWNER) != ''">$(GITHUB_REPOSITORY_OWNER).FSharp.Data.JsonSchema.OpenApi</PackageId>
76
<Description>OpenAPI schema translator for F# types. Provides IOpenApiSchemaTransformer for ASP.NET Core OpenAPI integration using FSharp.Data.JsonSchema.Core.</Description>
87
</PropertyGroup>

src/FSharp.Data.JsonSchema/FSharp.Data.JsonSchema.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net8.0;net9.0;net10.0</TargetFrameworks>
5-
<VersionPrefix>3.0.0</VersionPrefix>
65
<PackageId Condition="$(GITHUB_REPOSITORY_OWNER) != 'fsprojects' and $(GITHUB_REPOSITORY_OWNER) != ''">$(GITHUB_REPOSITORY_OWNER).FSharp.Data.JsonSchema</PackageId>
76
<Description>[DEPRECATED] This package has been renamed to FSharp.Data.JsonSchema.NJsonSchema. Please upgrade to the new package name. This package will not receive updates beyond 3.0.0.</Description>
87
</PropertyGroup>

0 commit comments

Comments
 (0)