diff --git a/.csharpierignore b/.csharpierignore deleted file mode 100644 index 9db3faa..0000000 --- a/.csharpierignore +++ /dev/null @@ -1,13 +0,0 @@ -# CSharpier 1.3.0 (latest) cannot parse the C# 15 `union` keyword, so files containing native -# union declarations are excluded from formatting. Revisit once CSharpier supports C# 15 unions. -src/src/ZodSharp/Unions/NativeUnion.cs -src/tests/Extensions.Validation.UnitTests/Fixtures/Unions.cs -src/tests/Extensions.Validation.UnitTests/Fixtures/GeneratedUnionModels.cs -src/tests/Blazor.UnitTests/Fixtures/GeneratedModels.cs -src/tests/AspNetCore.UnitTests/Fixtures/AsyncUnionBody.cs -src/tests/AspNetCore.OpenApi.UnitTests/Fixtures/PetUnion.cs -src/tests/AspNetCore.UnitTests/Fixtures/OrderOrReference.cs -src/tests/TrimSafety.Verification/Models.cs - -# Agent worktrees and local tooling state are not part of the repository. -.claude/ diff --git a/.editorconfig b/.editorconfig index a9b39cb..229c475 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# Purview.BuildSdk 2.0.0 - managed file, do not edit +# Purview.BuildSdk 2.0.1 - managed file, do not edit # # This file is written by Purview.BuildSdk and is replaced whenever the SDK version changes. The version # on the first line is how the SDK recognises a file it owns: a .editorconfig without that marker is diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 781a38a..01283a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,9 +28,6 @@ jobs: # file name the policy is registered against. - uses: purview-dev/build/actions/purview-release@main with: - # Pinned to the version in .config/dotnet-tools.json, so the release runs exactly what the - # pull request validated instead of whichever Purview.Build was latest when the job started. - build-version: "0.9.0" release-mode: NuGet trusted-publishing: true # The nuget.org profile name, not the sign-in email. diff --git a/commitlint.config.mts b/commitlint.config.mts index 69d7867..e15ae5e 100644 --- a/commitlint.config.mts +++ b/commitlint.config.mts @@ -24,7 +24,7 @@ export default { 'type-enum': [ 2, 'always', - ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test'], + ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test', 'qol'], ], }, }; diff --git a/global.json b/global.json index ab72dd7..3a1f265 100644 --- a/global.json +++ b/global.json @@ -4,7 +4,7 @@ "rollForward": "latestFeature" }, "msbuild-sdks": { - "Purview.BuildSdk": "2.0.0" + "Purview.BuildSdk": "2.0.1" }, "test": { "runner": "Microsoft.Testing.Platform" diff --git a/package.json b/package.json index 8240e94..c44c5c2 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "zod": "^4.6.7" }, "engines": { - "bun": ">=1.4.2" + "bun": ">=1.4.4" }, "packageManager": "bun@1.4.4" -} +} \ No newline at end of file diff --git a/src/tests/TrimSafety.Verification/Models.cs b/src/tests/TrimSafety.Verification/Models.cs index f535bb5..dc44dcf 100644 --- a/src/tests/TrimSafety.Verification/Models.cs +++ b/src/tests/TrimSafety.Verification/Models.cs @@ -45,9 +45,7 @@ sealed class Order : IValidatableObject public string? Notes { get; set; } - public IEnumerable Validate( - ValidationContext validationContext - ) + public IEnumerable Validate(ValidationContext validationContext) { if (string.Equals(Notes, "forbidden", StringComparison.Ordinal)) yield return new("Notes may not be 'forbidden'.", [nameof(Notes)]);