Skip to content

Commit 11c74f2

Browse files
Merge pull request #26 from purview-dev/chore/rename-and-bump
chore: rename to sourcegenerator-framework and bump to 1.0.0-prerelease.43
2 parents 93860d5 + 579d4ac commit 11c74f2

14 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎.agents/agents/sdk-consumer-setup.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
## Goal
44

5-
Help a consuming repository adopt or troubleshoot `Purview.DotNetProjectSdk` correctly, without breaking existing build behaviour.
5+
Help a consuming repository adopt or troubleshoot `Purview.BuildSdk` correctly, without breaking existing build behaviour.
66

77
## Workflow
88

99
1. Confirm the SDK is imported in `Directory.Build.props`/`Directory.Build.targets` via
10-
`<Import Sdk="Purview.DotNetProjectSdk" Project="Sdk.props" />` and the matching `Sdk.targets` import.
10+
`<Import Sdk="Purview.BuildSdk" Project="Sdk.props" />` and the matching `Sdk.targets` import.
1111
2. Check pre-import bootstrap properties are set **before** the `Sdk.props` import when they must affect
1212
evaluation: `NamespacePrefix`, `UsePackageJsonVersion`, `RootPackageJson`.
1313
3. If version resolution looks wrong, verify `package.json` discovery: explicit `RootPackageJson`, then CI

‎.agents/prompts/sdk-diagnose-agent-folder-copy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sdk-diagnose-agent-folder-copy (generic prompt spec)
22

3-
Diagnose why the bundled `.agents/**` folder from `Purview.DotNetProjectSdk` did not appear at the expected
3+
Diagnose why the bundled `.agents/**` folder from `Purview.BuildSdk` did not appear at the expected
44
destination in a consuming repository.
55

66
## Required behaviour

‎.agents/prompts/sdk-packable-project-analyzer-defaults.prompt.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
agent: ask
3-
description: "Ensure the Purview.DotNetProjectSdk applies analyzer/source-generator best-practice defaults to packable projects, so consumers of Purview.SourceGeneratorFramework (and any Roslyn component) get correct packaging without per-project overrides."
3+
description: "Ensure the Purview.BuildSdk applies analyzer/source-generator best-practice defaults to packable projects, so consumers of Purview.SourceGeneratorFramework (and any Roslyn component) get correct packaging without per-project overrides."
44
---
55

6-
You are working on the **Purview.DotNetProjectSdk** project (the `Purview.DotNetProjectSdk` package that projects import via `<Project Sdk="Purview.DotNetProjectSdk">`). Apply this checklist to its `Sdk.props` / `Sdk.targets` so that **packable** analyzer and source-generator projects get Roslyn best-practice defaults automatically.
6+
You are working on the **Purview.BuildSdk** project (the `Purview.BuildSdk` package that projects import via `<Project Sdk="Purview.BuildSdk">`). Apply this checklist to its `Sdk.props` / `Sdk.targets` so that **packable** analyzer and source-generator projects get Roslyn best-practice defaults automatically.
77

88
## Context
99

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Purview.SourceGeneratorFramework
22

33
[![NuGet version](https://img.shields.io/nuget/v/Purview.SourceGeneratorFramework.svg)](https://www.nuget.org/packages/Purview.SourceGeneratorFramework)
4-
[![Release](https://github.com/purview-dev/sourcegeneratorframework/actions/workflows/release.yml/badge.svg)](https://github.com/purview-dev/sourcegeneratorframework/actions/workflows/release.yml)
4+
[![Release](https://github.com/purview-dev/sourcegenerator-framework/actions/workflows/release.yml/badge.svg)](https://github.com/purview-dev/sourcegenerator-framework/actions/workflows/release.yml)
55

66
A set of libraries for building and testing incremental C# source generators using Roslyn.
77

‎docs/wiki/Release-Flow.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The current version lives in the repository-root `package.json`:
99

1010
```json
1111
{
12-
"name": "purview-sourcegeneratorframework",
12+
"name": "purview-sourcegenerator-framework",
1313
"version": "1.0.0-prerelease.42"
1414
}
1515
```

‎global.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"allowPrerelease": false
44
},
55
"msbuild-sdks": {
6-
"Purview.DotNetProjectSdk": "1.0.0-prerelease.54"
6+
"Purview.BuildSdk": "1.0.0-prerelease.56"
77
},
88
"test": {
99
"runner": "Microsoft.Testing.Platform"

‎package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "purview-sourcegeneratorframework",
3-
"version": "1.0.0-prerelease.42",
2+
"name": "purview-sourcegenerator-framework",
3+
"version": "1.0.0-prerelease.43",
44
"license": "MIT",
55
"author": {
66
"name": "Kieron Lanning",
77
"url": "https://kieronlanning.dev/"
88
},
9-
"homepage": "https://purview.dev/projects/sourcegeneratorframework/",
9+
"homepage": "https://purview.dev/projects/sourcegenerator-framework/",
1010
"bugs": {
11-
"url": "https://github.com/purview-dev/sourcegeneratorframework/issues"
11+
"url": "https://github.com/purview-dev/sourcegenerator-framework/issues"
1212
},
1313
"repository": {
1414
"type": "git",
15-
"url": "git+https://github.com/purview-dev/sourcegeneratorframework.git"
15+
"url": "git+https://github.com/purview-dev/sourcegenerator-framework.git"
1616
}
1717
}

‎src/Directory.Build.props‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>netstandard2.1;$(TestingTargetFrameworks)</TargetFrameworks>
55
<NamespacePrefix>Purview.SourceGeneratorFramework</NamespacePrefix>
66
<ExcludePurviewTelemetry>true</ExcludePurviewTelemetry>
7-
<RepositoryUrl>https://github.com/purview-dev/sourcegeneratorframework</RepositoryUrl>
7+
<RepositoryUrl>https://github.com/purview-dev/sourcegenerator-framework</RepositoryUrl>
88
</PropertyGroup>
99

1010
<PropertyGroup>
@@ -24,7 +24,7 @@
2424
<NoWarn>$(NoWarn);CA1031;CA1510;</NoWarn>
2525
</PropertyGroup>
2626

27-
<Import Sdk="Purview.DotNetProjectSdk" Project="Sdk.props" />
27+
<Import Sdk="Purview.BuildSdk" Project="Sdk.props" />
2828

2929
<PropertyGroup Condition="'$(IsTestProject)' == 'true' OR '$(IsSharedTestingProject)' == 'true'">
3030
<!-- Test projects aren't executable so we need to remove .NET Standard 2.1 -->
@@ -33,15 +33,15 @@
3333

3434
<PropertyGroup Label="Purview site URL metadata">
3535
<PurviewHomepage>https://purview.dev/</PurviewHomepage>
36-
<PurviewProjectUrl>$(PurviewHomepage)projects/sourcegeneratorframework/</PurviewProjectUrl>
37-
<PurviewDocsUrl>$(PurviewHomepage)docs/sourcegeneratorframework/</PurviewDocsUrl>
36+
<PurviewProjectUrl>$(PurviewHomepage)projects/sourcegenerator-framework/</PurviewProjectUrl>
37+
<PurviewDocsUrl>$(PurviewHomepage)docs/sourcegenerator-framework/</PurviewDocsUrl>
3838
</PropertyGroup>
3939

4040
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
4141
<Authors>Purview Contributors</Authors>
4242
<PublishRepositoryUrl>true</PublishRepositoryUrl>
4343
<PackageProjectUrl>$(PurviewProjectUrl)</PackageProjectUrl>
44-
<RepositoryUrl>https://github.com/purview-dev/sourcegeneratorframework</RepositoryUrl>
44+
<RepositoryUrl>https://github.com/purview-dev/sourcegenerator-framework</RepositoryUrl>
4545
<PackageReadmeFile>README.md</PackageReadmeFile>
4646
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
4747
<PackageIcon>purview-logo.png</PackageIcon>

‎src/Directory.Build.targets‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<Authors>Purview Contributors</Authors>
44
<Description>Purview SourceGeneratorFramework libraries for building and testing incremental C# source generators.</Description>
55
<PackageProjectUrl>$(PurviewProjectUrl)</PackageProjectUrl>
6-
<RepositoryUrl>https://github.com/purview-dev/sourcegeneratorframework</RepositoryUrl>
6+
<RepositoryUrl>https://github.com/purview-dev/sourcegenerator-framework</RepositoryUrl>
77
<PackageReadmeFile>README.md</PackageReadmeFile>
88
<PackageIcon>purview-logo.png</PackageIcon>
99
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1010
</PropertyGroup>
1111

12-
<Import Sdk="Purview.DotNetProjectSdk" Project="Sdk.targets" />
12+
<Import Sdk="Purview.BuildSdk" Project="Sdk.targets" />
1313
</Project>

‎src/src/SourceGeneratorFramework.Benchmarks/Directory.Build.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<!--
33
This benchmark project intentionally uses the standard Microsoft.NET.Sdk and does not import
4-
the parent Purview.DotNetProjectSdk props/targets. BenchmarkDotNet generates child projects under
4+
the parent Purview.BuildSdk props/targets. BenchmarkDotNet generates child projects under
55
this directory, and the custom SDK targets write paths that are incompatible with those
66
auto-generated project locations.
77
-->

0 commit comments

Comments
 (0)