Skip to content

Commit de73f7f

Browse files
ANcpLuaclaude
andcommitted
chore: update solution, docs, build script, and versions
- Update ANcpLua.NET.Sdk.slnx solution structure - Update CLAUDE.md documentation - Update build.ps1 script - Update Version.props - Update SchemaGeneratorTool Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 835525e commit de73f7f

5 files changed

Lines changed: 97 additions & 101 deletions

File tree

ANcpLua.NET.Sdk.slnx

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,67 @@
11
<Solution>
22
<Folder Name="/Solution Items/">
3-
<File Path=".editorconfig" />
4-
<File Path="Directory.Build.props" />
5-
<File Path="Directory.Packages.props" />
6-
<File Path="global.json" />
7-
<File Path="README.md" />
8-
<File Path="LICENSE.txt" />
9-
<File Path="build.ps1" />
3+
<File Path=".editorconfig"/>
4+
<File Path="Directory.Build.props"/>
5+
<File Path="Directory.Packages.props"/>
6+
<File Path="global.json"/>
7+
<File Path="README.md"/>
8+
<File Path="LICENSE.txt"/>
9+
<File Path="build.ps1"/>
1010
</Folder>
1111
<Folder Name="/src/">
12-
<Project Path="src/ANcpLua.NET.Sdk.csproj" />
13-
<Project Path="src/ANcpLua.NET.Sdk.Web.csproj" />
14-
<Project Path="src/ANcpLua.NET.Sdk.Test.csproj" />
12+
<Project Path="src/ANcpLua.NET.Sdk.csproj"/>
13+
<Project Path="src/ANcpLua.NET.Sdk.Web.csproj"/>
14+
<Project Path="src/ANcpLua.NET.Sdk.Test.csproj"/>
1515
</Folder>
1616
<Folder Name="/eng/">
17-
<File Path="eng/CLAUDE.md" />
18-
<File Path="eng/Directory.Build.props" />
19-
<Project Path="eng/ANcpSdk.AspNetCore.ServiceDefaults/ANcpSdk.AspNetCore.ServiceDefaults.csproj" />
20-
<Project Path="eng/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister.csproj" />
17+
<File Path="eng/CLAUDE.md"/>
18+
<File Path="eng/Directory.Build.props"/>
19+
<Project Path="eng/ANcpSdk.AspNetCore.ServiceDefaults/ANcpSdk.AspNetCore.ServiceDefaults.csproj"/>
20+
<Project
21+
Path="eng/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister.csproj"/>
2122
</Folder>
2223
<Folder Name="/eng/Extensions/">
23-
<File Path="eng/Extensions/Comparers/StringOrdinalComparer.cs" />
24-
<File Path="eng/Extensions/FakeLogger/FakeLoggerExtensions.cs" />
25-
<File Path="eng/Extensions/SourceGen/DiagnosticsExtensions.cs" />
26-
<File Path="eng/Extensions/SourceGen/SyntaxValueProvider.cs" />
24+
<File Path="eng/Extensions/Comparers/StringOrdinalComparer.cs"/>
25+
<File Path="eng/Extensions/FakeLogger/FakeLoggerExtensions.cs"/>
26+
<File Path="eng/Extensions/SourceGen/DiagnosticsExtensions.cs"/>
27+
<File Path="eng/Extensions/SourceGen/SyntaxValueProvider.cs"/>
2728
</Folder>
2829
<Folder Name="/eng/LegacySupport/">
29-
<File Path="eng/LegacySupport/DiagnosticAttributes/NullableAttributes.cs" />
30-
<File Path="eng/LegacySupport/Diagnostics/StackTraceHiddenAttribute.cs" />
31-
<File Path="eng/LegacySupport/Exceptions/UnreachableException.cs" />
32-
<File Path="eng/LegacySupport/Experimental/ExperimentalAttribute.cs" />
33-
<File Path="eng/LegacySupport/IndexRange/Index.cs" />
34-
<File Path="eng/LegacySupport/IndexRange/Range.cs" />
35-
<File Path="eng/LegacySupport/IsExternalInit/IsExternalInit.cs" />
36-
<File Path="eng/LegacySupport/LanguageFeatures/CallerArgumentExpressionAttribute.cs" />
37-
<File Path="eng/LegacySupport/LanguageFeatures/CompilerFeatureRequiredAttribute.cs" />
38-
<File Path="eng/LegacySupport/LanguageFeatures/ParamCollectionAttribute.cs" />
39-
<File Path="eng/LegacySupport/LanguageFeatures/RequiredMemberAttribute.cs" />
40-
<File Path="eng/LegacySupport/NullabilityAttributes/MemberNotNullAttributes.cs" />
41-
<File Path="eng/LegacySupport/StringExtensions/StringExtensions.cs" />
42-
<File Path="eng/LegacySupport/TimeProvider/TimeProvider.cs" />
43-
<File Path="eng/LegacySupport/TrimAttributes/DynamicallyAccessedMembersAttribute.cs" />
44-
<File Path="eng/LegacySupport/TrimAttributes/DynamicallyAccessedMemberTypes.cs" />
45-
<File Path="eng/LegacySupport/TrimAttributes/RequiresDynamicCodeAttribute.cs" />
46-
<File Path="eng/LegacySupport/TrimAttributes/RequiresUnreferencedCodeAttribute.cs" />
47-
<File Path="eng/LegacySupport/TrimAttributes/UnconditionalSuppressMessageAttribute.cs" />
30+
<File Path="eng/LegacySupport/DiagnosticAttributes/NullableAttributes.cs"/>
31+
<File Path="eng/LegacySupport/Diagnostics/StackTraceHiddenAttribute.cs"/>
32+
<File Path="eng/LegacySupport/Exceptions/UnreachableException.cs"/>
33+
<File Path="eng/LegacySupport/Experimental/ExperimentalAttribute.cs"/>
34+
<File Path="eng/LegacySupport/IndexRange/Index.cs"/>
35+
<File Path="eng/LegacySupport/IndexRange/Range.cs"/>
36+
<File Path="eng/LegacySupport/IsExternalInit/IsExternalInit.cs"/>
37+
<File Path="eng/LegacySupport/LanguageFeatures/CallerArgumentExpressionAttribute.cs"/>
38+
<File Path="eng/LegacySupport/LanguageFeatures/CompilerFeatureRequiredAttribute.cs"/>
39+
<File Path="eng/LegacySupport/LanguageFeatures/ParamCollectionAttribute.cs"/>
40+
<File Path="eng/LegacySupport/LanguageFeatures/RequiredMemberAttribute.cs"/>
41+
<File Path="eng/LegacySupport/NullabilityAttributes/MemberNotNullAttributes.cs"/>
42+
<File Path="eng/LegacySupport/StringExtensions/StringExtensions.cs"/>
43+
<File Path="eng/LegacySupport/TimeProvider/TimeProvider.cs"/>
44+
<File Path="eng/LegacySupport/TrimAttributes/DynamicallyAccessedMembersAttribute.cs"/>
45+
<File Path="eng/LegacySupport/TrimAttributes/DynamicallyAccessedMemberTypes.cs"/>
46+
<File Path="eng/LegacySupport/TrimAttributes/RequiresDynamicCodeAttribute.cs"/>
47+
<File Path="eng/LegacySupport/TrimAttributes/RequiresUnreferencedCodeAttribute.cs"/>
48+
<File Path="eng/LegacySupport/TrimAttributes/UnconditionalSuppressMessageAttribute.cs"/>
4849
</Folder>
4950
<Folder Name="/eng/MSBuild/">
50-
<File Path="eng/MSBuild/Polyfills/DiagnosticClasses.cs" />
51-
<File Path="eng/MSBuild/Polyfills/Lock.cs" />
52-
<File Path="eng/MSBuild/Polyfills/TrimAttributes.cs" />
51+
<File Path="eng/MSBuild/Polyfills/DiagnosticClasses.cs"/>
52+
<File Path="eng/MSBuild/Polyfills/Lock.cs"/>
53+
<File Path="eng/MSBuild/Polyfills/TrimAttributes.cs"/>
5354
</Folder>
5455
<Folder Name="/eng/Shared/">
55-
<File Path="eng/Shared/CodeTests/Compiler.cs" />
56-
<File Path="eng/Shared/Throw/Throw.cs" />
56+
<File Path="eng/Shared/CodeTests/Compiler.cs"/>
57+
<File Path="eng/Shared/Throw/Throw.cs"/>
5758
</Folder>
5859
<Folder Name="/tests/">
59-
<Project Path="tests/ANcpLua.Sdk.Tests/ANcpLua.Sdk.Tests.csproj" />
60+
<Project Path="tests/ANcpLua.Sdk.Tests/ANcpLua.Sdk.Tests.csproj"/>
6061
</Folder>
6162
<Folder Name="/tools/">
62-
<Project Path="tools/ConfigFilesGenerator/ConfigFilesGenerator.csproj" />
63-
<Project Path="tools/SdkGenerator/SdkGenerator.csproj" />
64-
<Project Path="tools/SchemaGenerator/SchemaGenerator.csproj" />
63+
<Project Path="tools/ConfigFilesGenerator/ConfigFilesGenerator.csproj"/>
64+
<Project Path="tools/SdkGenerator/SdkGenerator.csproj"/>
65+
<Project Path="tools/SchemaGenerator/SchemaGenerator.csproj"/>
6566
</Folder>
6667
</Solution>

CLAUDE.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ LAYER 3: qyl, other projects ← END USERS
1616

1717
### This Repo: LAYER 1 (Source of Truth)
1818

19-
| Property | Value |
20-
|----------|-------|
19+
| Property | Value |
20+
|---------------------------|-----------------------------------------------------------------|
2121
| **Upstream dependencies** | ANcpLua.Roslyn.Utilities.Sources (see Directory.Packages.props) |
22-
| **Downstream consumers** | ANcpLua.Analyzers, qyl, all SDK users |
23-
| **Version.props** | SOURCE (canonical) |
24-
| **Auto-sync** | SENDS to Analyzers via GitHub Action |
22+
| **Downstream consumers** | ANcpLua.Analyzers, qyl, all SDK users |
23+
| **Version.props** | SOURCE (canonical) |
24+
| **Auto-sync** | SENDS to Analyzers via GitHub Action |
2525

2626
---
2727

@@ -40,11 +40,11 @@ dotnet test
4040

4141
## Published Packages
4242

43-
| Package | Description |
44-
|---------|-------------|
45-
| `ANcpLua.NET.Sdk` | Main SDK (`Sdk="ANcpLua.NET.Sdk"`) |
46-
| `ANcpLua.NET.Sdk.Test` | Test projects with xUnit v3 MTP |
47-
| `ANcpLua.NET.Sdk.Web` | Web projects with ASP.NET Core |
43+
| Package | Description |
44+
|------------------------|------------------------------------|
45+
| `ANcpLua.NET.Sdk` | Main SDK (`Sdk="ANcpLua.NET.Sdk"`) |
46+
| `ANcpLua.NET.Sdk.Test` | Test projects with xUnit v3 MTP |
47+
| `ANcpLua.NET.Sdk.Web` | Web projects with ASP.NET Core |
4848

4949
## Key Files
5050

@@ -89,6 +89,7 @@ eng/
8989
## Version.props Auto-Sync
9090

9191
When `src/common/Version.props` changes:
92+
9293
1. GitHub Action triggers
9394
2. PR created in ANcpLua.Analyzers
9495
3. Merge updates Analyzers versions
@@ -97,7 +98,7 @@ When `src/common/Version.props` changes:
9798

9899
## Publishing to NuGet
99100

100-
Uses **NuGet Trusted Publishing** via GitHub Actions - no API keys needed.
101+
Uses **NuGet Trusted Publishing** via GitHub Actions no API keys needed.
101102

102103
```bash
103104
# 1. Pack locally
@@ -122,4 +123,4 @@ git tag vX.Y.Z && git push origin vX.Y.Z
122123
</packageSources>
123124
```
124125

125-
The `dotnet-tools` feed is required for beta versions of `Microsoft.CodeAnalysis.Testing`.
126+
The `dotnet-tools` feed is required for beta versions of `Microsoft.CodeAnalysis.Testing`.

build.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Build script for CI
33

44
param(
5-
[string]$Version = "1.0.0",
5+
[string]$Version = "1.6.21",
66
[Parameter(ValueFromRemainingArguments = $true)]$RemainingArgs
77
)
88

@@ -57,22 +57,22 @@ $VersionPropsContent = @"
5757
ROSLYN.UTILITIES.SOURCES (Source-only package for generators)
5858
═══════════════════════════════════════════════════════════════════════ -->
5959
<PropertyGroup Label="Roslyn.Utilities.Sources">
60-
<ANcpLuaRoslynUtilitiesSourcesVersion>1.13.0</ANcpLuaRoslynUtilitiesSourcesVersion>
60+
<ANcpLuaRoslynUtilitiesSourcesVersion>1.14.0</ANcpLuaRoslynUtilitiesSourcesVersion>
6161
</PropertyGroup>
6262
6363
<!-- ═══════════════════════════════════════════════════════════════════════
6464
ROSLYN.UTILITIES.TESTING (Analyzer/CodeFix/Generator test infrastructure)
6565
═══════════════════════════════════════════════════════════════════════ -->
6666
<PropertyGroup Label="Roslyn.Utilities.Testing">
67-
<ANcpLuaRoslynUtilitiesTestingVersion>1.13.0</ANcpLuaRoslynUtilitiesTestingVersion>
67+
<ANcpLuaRoslynUtilitiesTestingVersion>1.14.0</ANcpLuaRoslynUtilitiesTestingVersion>
6868
</PropertyGroup>
6969
7070
<!-- ═══════════════════════════════════════════════════════════════════════
7171
ROSLYN ANALYZER TESTING (Beta from dotnet-tools feed)
7272
Used by: Roslyn.Utilities.Testing, Analyzers.Tests
7373
═══════════════════════════════════════════════════════════════════════ -->
7474
<PropertyGroup Label="Analyzer Testing">
75-
<AnalyzerTestingVersion>1.1.3-beta1.25564.1</AnalyzerTestingVersion>
75+
<AnalyzerTestingVersion>1.1.3</AnalyzerTestingVersion>
7676
</PropertyGroup>
7777
7878
<!-- ═══════════════════════════════════════════════════════════════════════
@@ -102,7 +102,7 @@ $VersionPropsContent = @"
102102
Used by: SDK, Roslyn.Utilities.Testing, Analyzers.Tests
103103
═══════════════════════════════════════════════════════════════════════ -->
104104
<PropertyGroup Label="Testing">
105-
<XunitV3Version>3.2.1</XunitV3Version>
105+
<XunitV3Version>3.2.2</XunitV3Version>
106106
<AwesomeAssertionsVersion>9.3.0</AwesomeAssertionsVersion>
107107
<AwesomeAssertionsAnalyzersVersion>9.0.8</AwesomeAssertionsAnalyzersVersion>
108108
<GitHubActionsTestLoggerVersion>3.0.1</GitHubActionsTestLoggerVersion>
@@ -125,7 +125,7 @@ $VersionPropsContent = @"
125125
ANALYZERS (SDK-injected)
126126
═══════════════════════════════════════════════════════════════════════ -->
127127
<PropertyGroup Label="Analyzers">
128-
<ANcpLuaAnalyzersVersion>1.6.13</ANcpLuaAnalyzersVersion>
128+
<ANcpLuaAnalyzersVersion>1.6.16</ANcpLuaAnalyzersVersion>
129129
<SbomTargetsVersion>4.1.5</SbomTargetsVersion>
130130
<BannedApiAnalyzersVersion>3.3.4</BannedApiAnalyzersVersion>
131131
<JonSkeetAnalyzersVersion>1.0.0-beta.6</JonSkeetAnalyzersVersion>
@@ -207,4 +207,4 @@ dotnet build eng/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister/ANcpSdk.AspNetC
207207

208208
# Pack ServiceDefaults packages (required by SDK.Web)
209209
dotnet pack eng/ANcpSdk.AspNetCore.ServiceDefaults/ANcpSdk.AspNetCore.ServiceDefaults.csproj -c Release -o artifacts --no-build "-p:Version=$Version"
210-
dotnet pack eng/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister.csproj -c Release -o artifacts --no-build "-p:Version=$Version"
210+
dotnet pack eng/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister/ANcpSdk.AspNetCore.ServiceDefaults.AutoRegister.csproj -c Release -o artifacts --no-build "-p:Version=$Version"

src/common/Version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
ANALYZERS (SDK-injected)
108108
═══════════════════════════════════════════════════════════════════════ -->
109109
<PropertyGroup Label="Analyzers">
110-
<ANcpLuaAnalyzersVersion>1.6.13</ANcpLuaAnalyzersVersion>
110+
<ANcpLuaAnalyzersVersion>1.6.16</ANcpLuaAnalyzersVersion>
111111
<SbomTargetsVersion>4.1.5</SbomTargetsVersion>
112112
<BannedApiAnalyzersVersion>3.3.4</BannedApiAnalyzersVersion>
113113
<JonSkeetAnalyzersVersion>1.0.0-beta.6</JonSkeetAnalyzersVersion>

0 commit comments

Comments
 (0)