diff --git a/AGENTS.md b/AGENTS.md
index 9f3b611e..0d66524c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -62,7 +62,7 @@ conventional-commits check.
| `just update-version` | Runs `.build/update-version.ts` to sync the version into docs/samples. |
| `just pack` | Updates the version then packs the NuGet package into `artifacts/`. |
-The version lives in `package.json`. **Current Version:** 5.0.0-prerelease.11 — applied to `Version` /
+The version lives in `package.json`. **Current Version:** 5.0.0-prerelease.13 — applied to `Version` /
`PackageVersion` via the SDK's package.json version detection.
### Pipelines (reusable `purview-build` tool)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index ac8f4f16..19dea8a3 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,7 +3,7 @@
true
5.9.0
1.67.0
- 1.0.0-prerelease.47
+ 1.0.0-prerelease.48
10.0.12
10.10.0
1.18.0
diff --git a/Justfile b/Justfile
index 31a16f76..cdb1cd31 100644
--- a/Justfile
+++ b/Justfile
@@ -63,6 +63,13 @@ pipeline-tests *args:
echo "Running tests pipeline..."
"{{ pipeline_tool }}" --Build:RunTests=true --Release:Mode=None {{ args }}
+# Run the pipeline through pack + validate (restore, build, lint, tests, pack, validate pack contents) without publishing/releasing
+[group('Pipeline')]
+pipeline-pack-validate *args:
+ just ensure-pipeline-tool
+ echo "Running pack + validate pipeline..."
+ "{{ pipeline_tool }}" --Build:RunPack=true --Build:ValidatePack=true --Release:Mode=None {{ args }}
+
# -----------------------------------------------------------------------------
# Build and Test
# -----------------------------------------------------------------------------
diff --git a/LICENSE.md b/LICENSE.md
deleted file mode 100644
index 9ea2dfca..00000000
--- a/LICENSE.md
+++ /dev/null
@@ -1,9 +0,0 @@
-The MIT License (MIT)
-
-Copyright © 2026 Kieron Lanning
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
index 59ea2397..f58f269d 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ Generates [`ActivitySource`](https://learn.microsoft.com/en-us/dotnet/api/system
Add to your `Directory.Build.props` or `.csproj` file:
```xml
-
+
all
analyzers
diff --git a/docs/release-process.md b/docs/release-process.md
index cb93aeff..cd16d4b7 100644
--- a/docs/release-process.md
+++ b/docs/release-process.md
@@ -70,7 +70,7 @@ Merging to `main` triggers `release.yml`, which runs the reusable `purview-relea
## Versioning
-- The version lives in `package.json`. **Current Version:** 5.0.0-prerelease.11
+- The version lives in `package.json`. **Current Version:** 5.0.0-prerelease.13
- It is applied to `Version` / `PackageVersion` by `Purview.BuildSdk` via package.json
version detection (`UsePackageJsonVersion`, default `true`).
- `just version` prints the current version.
diff --git a/global.json b/global.json
index f8c7bbaf..cef1f45e 100644
--- a/global.json
+++ b/global.json
@@ -3,7 +3,7 @@
"allowPrerelease": false
},
"msbuild-sdks": {
- "Purview.BuildSdk": "1.0.0-prerelease.57"
+ "Purview.BuildSdk": "1.0.0-prerelease.58"
},
"test": {
"runner": "Microsoft.Testing.Platform"
diff --git a/package.json b/package.json
index 338edb99..0e6a390b 100644
--- a/package.json
+++ b/package.json
@@ -1,16 +1,16 @@
{
"name": "purview-telemetry-sourcegenerator",
- "version": "5.0.0-prerelease.12",
+ "version": "5.0.0-prerelease.13",
"description": "Generates [`ActivitySource`](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activitysource), [`ILogger`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.ilogger), and [`Metrics`](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics) based on interface methods.",
+ "license": "MIT",
"readme": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/purview-dev/telemetry-sourcegenerator.git"
},
"author": "Kieron Lanning (https://github.com/kieronlanning/)",
- "license": "MIT",
"bugs": {
"url": "https://github.com/purview-dev/telemetry-sourcegenerator/issues"
},
"homepage": "https://purview.dev/projects/telemetry-sourcegenerator/"
-}
+}
\ No newline at end of file
diff --git a/purview-build.json b/purview-build.json
index db41cdc0..e29fae1f 100644
--- a/purview-build.json
+++ b/purview-build.json
@@ -1,27 +1,23 @@
{
- "Build": {
- "Solution": "src/Telemetry.SourceGenerator.slnx",
- "TestRoot": "src/tests",
- "TestPatterns": "*Tests.csproj",
- "TestFilter": "/*/*/*/*"
- },
- "PackValidation": {
- "RequireSymbolPackage": true,
- "RequireSymbolFiles": true,
- "RequiredContent": {
- "purview.valueobjects": [
- "README.md",
- "purview-logo-light.png",
- "buildTransitive/Purview.ValueObjects.targets",
- "analyzers/dotnet/cs/Purview.SourceGeneratorFramework.dll",
- "analyzers/dotnet/cs/Purview.Telemetry.SourceGenerator.dll",
- "analyzers/dotnet/cs/Purview.Telemetry.SourceGenerator.Refactorings.dll",
- "lib/netstandard2.0/Purview.Telemetry.SourceGenerator.Refactorings.dll"
- ]
+ "Build": {
+ "Solution": "src/Telemetry.SourceGenerator.slnx",
+ "TestRoot": "src/tests",
+ "TestPatterns": "*Tests.csproj",
+ "TestFilter": "/*/*/*/*"
},
- "ForbiddenContent": {}
- },
- "Release": {
- "Mode": "None"
- }
-}
+ "PackValidation": {
+ "RequireSymbolPackage": false,
+ "RequiredContent": {
+ "purview.telemetry.sourcegenerator": [
+ ".agents/**/*",
+ "analyzers/dotnet/cs/Purview.Telemetry.SourceGenerator.dll",
+ "analyzers/dotnet/cs/Purview.Telemetry.SourceGenerator.Refactorings.dll",
+ "README.md",
+ "purview-logo-light.png"
+ ]
+ }
+ },
+ "Release": {
+ "Mode": "None"
+ }
+}
\ No newline at end of file
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 0b4c0457..0e4df7fb 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -3,7 +3,7 @@
Purview.Telemetry
true
- true
false
- true
- snupkg
false
$(NoWarn);IDE0005;EnableGenerateDocumentationFile;
-
Purview Telemetry Source Generator
.NET Source Generator for interface-based telemetry generating tracing, logs, and metrics.
logs;log;logger;logging;source-generator;high-performance-logging;otel;open-telemetry;telemetry;traces;tracing;metric;metrics;meter;meters;instrumentation;instruments;events;distributed-traces;distributed-tracing;melt;dotnet;aspnet;
@@ -40,8 +33,6 @@
into analyzers/dotnet/cs; only the refactorings assembly is added here. -->
-
+
true
+