Skip to content

Commit cc964ea

Browse files
committed
chore: project rename
1 parent 72dc466 commit cc964ea

25 files changed

Lines changed: 197 additions & 176 deletions

.github/workflows/ci.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,37 @@ jobs:
2323
run: dotnet restore
2424

2525
- name: Build SDK
26-
run: dotnet build src/VsixCommunity.Sdk/VsixCommunity.Sdk.csproj -c Release --no-restore
26+
run: dotnet build src/CodingWithCalvin.VsixSdk/CodingWithCalvin.VsixSdk.csproj -c Release --no-restore
2727

2828
- name: Build Templates
29-
run: dotnet pack src/VsixCommunity.Sdk.Templates/VsixCommunity.Sdk.Templates.csproj -c Release --no-restore
29+
run: dotnet pack src/CodingWithCalvin.VsixSdk.Templates/CodingWithCalvin.VsixSdk.Templates.csproj -c Release --no-restore
3030

3131
- name: Build Sample Extension
3232
run: dotnet build samples/SampleExtension/SampleExtension.csproj -c Release
3333

34+
- name: Test Template - Install
35+
run: dotnet new install artifacts/packages/CodingWithCalvin.VsixSdk.Templates.1.0.0.nupkg
36+
37+
- name: Test Template - Create Project
38+
run: |
39+
mkdir test-template
40+
cd test-template
41+
dotnet new vsix -n TestExtension --publisher "CI Test"
42+
43+
- name: Test Template - Build Project
44+
run: dotnet build test-template/TestExtension/TestExtension.csproj -c Release
45+
46+
- name: Test Template - Uninstall
47+
run: dotnet new uninstall CodingWithCalvin.VsixSdk.Templates
48+
3449
- name: Upload SDK Package
3550
uses: actions/upload-artifact@v4
3651
with:
3752
name: sdk-package
38-
path: artifacts/packages/VsixCommunity.Sdk.*.nupkg
53+
path: artifacts/packages/CodingWithCalvin.VsixSdk.*.nupkg
3954

4055
- name: Upload Templates Package
4156
uses: actions/upload-artifact@v4
4257
with:
4358
name: templates-package
44-
path: artifacts/packages/VsixCommunity.Sdk.Templates.*.nupkg
59+
path: artifacts/packages/CodingWithCalvin.VsixSdk.Templates.*.nupkg

.github/workflows/release.yml

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11
name: Release
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
version:
7-
description: 'Version to release (e.g., 1.0.0)'
8-
required: true
9-
type: string
10-
publish_sdk:
11-
description: 'Publish SDK package'
12-
required: true
13-
type: boolean
14-
default: true
15-
publish_templates:
16-
description: 'Publish Templates package'
17-
required: true
18-
type: boolean
19-
default: true
4+
push:
5+
tags:
6+
- 'v*'
207

218
jobs:
229
changelog:
@@ -26,10 +13,23 @@ jobs:
2613
needs: changelog
2714
runs-on: windows-latest
2815

16+
permissions:
17+
contents: write
18+
id-token: write
19+
2920
steps:
3021
- name: Checkout
3122
uses: actions/checkout@v4
3223

24+
- name: Get version from tag
25+
id: version
26+
run: |
27+
$tag = "${{ github.ref_name }}"
28+
$version = $tag -replace '^v', ''
29+
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
30+
echo "TAG=$tag" >> $env:GITHUB_OUTPUT
31+
shell: pwsh
32+
3333
- name: Setup .NET
3434
uses: actions/setup-dotnet@v4
3535
with:
@@ -39,25 +39,28 @@ jobs:
3939
run: dotnet restore
4040

4141
- name: Build SDK
42-
run: dotnet build src/VsixCommunity.Sdk/VsixCommunity.Sdk.csproj -c Release -p:Version=${{ inputs.version }}
42+
run: dotnet build src/CodingWithCalvin.VsixSdk/CodingWithCalvin.VsixSdk.csproj -c Release -p:Version=${{ steps.version.outputs.VERSION }}
4343

4444
- name: Build Templates
45-
run: dotnet pack src/VsixCommunity.Sdk.Templates/VsixCommunity.Sdk.Templates.csproj -c Release -p:Version=${{ inputs.version }}
45+
run: dotnet pack src/CodingWithCalvin.VsixSdk.Templates/CodingWithCalvin.VsixSdk.Templates.csproj -c Release -p:Version=${{ steps.version.outputs.VERSION }}
46+
47+
- name: NuGet login (OIDC)
48+
uses: nuget/login@v1
49+
with:
50+
user: ${{ secrets.NUGET_USERNAME }}
4651

4752
- name: Publish SDK to NuGet
48-
if: ${{ inputs.publish_sdk }}
49-
run: dotnet nuget push artifacts/packages/VsixCommunity.Sdk.${{ inputs.version }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
53+
run: dotnet nuget push artifacts/packages/CodingWithCalvin.VsixSdk.${{ steps.version.outputs.VERSION }}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
5054

5155
- name: Publish Templates to NuGet
52-
if: ${{ inputs.publish_templates }}
53-
run: dotnet nuget push artifacts/packages/VsixCommunity.Sdk.Templates.${{ inputs.version }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
56+
run: dotnet nuget push artifacts/packages/CodingWithCalvin.VsixSdk.Templates.${{ steps.version.outputs.VERSION }}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
5457

5558
- name: Create GitHub Release
5659
uses: softprops/action-gh-release@v1
5760
with:
58-
tag_name: v${{ inputs.version }}
59-
name: v${{ inputs.version }}
61+
tag_name: v${{ steps.version.outputs.VERSION }}
62+
name: v${{ steps.version.outputs.VERSION }}
6063
body: ${{ needs.changelog.outputs.changelog }}
6164
files: |
62-
artifacts/packages/VsixCommunity.Sdk.${{ inputs.version }}.nupkg
63-
artifacts/packages/VsixCommunity.Sdk.Templates.${{ inputs.version }}.nupkg
65+
artifacts/packages/CodingWithCalvin.VsixSdk.${{ steps.version.outputs.VERSION }}.nupkg
66+
artifacts/packages/CodingWithCalvin.VsixSdk.Templates.${{ steps.version.outputs.VERSION }}.nupkg

CLAUDE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ gh issue close <number>
4040

4141
## Project Overview
4242

43-
VsixCommunity.Sdk is an MSBuild SDK that enables SDK-style `.csproj` files for Visual Studio extension (VSIX) development. It wraps `Microsoft.NET.Sdk` and `Microsoft.VSSDK.BuildTools` to provide a modern project format for VS 2022+ extensions.
43+
CodingWithCalvin.VsixSdk is an MSBuild SDK that enables SDK-style `.csproj` files for Visual Studio extension (VSIX) development. It wraps `Microsoft.NET.Sdk` and `Microsoft.VSSDK.BuildTools` to provide a modern project format for VS 2022+ extensions.
4444

4545
## Build Commands
4646

4747
```bash
4848
# Build the SDK package
49-
dotnet build src/VsixCommunity.Sdk/VsixCommunity.Sdk.csproj -c Release
49+
dotnet build src/CodingWithCalvin.VsixSdk/CodingWithCalvin.VsixSdk.csproj -c Release
5050

5151
# Build the template package
52-
dotnet pack src/VsixCommunity.Sdk.Templates/VsixCommunity.Sdk.Templates.csproj -c Release
52+
dotnet pack src/CodingWithCalvin.VsixSdk.Templates/CodingWithCalvin.VsixSdk.Templates.csproj -c Release
5353

5454
# Build the sample extension (tests the SDK locally)
5555
dotnet build samples/SampleExtension/SampleExtension.csproj
@@ -61,18 +61,18 @@ dotnet build samples/SampleExtension/SampleExtension.csproj
6161

6262
```bash
6363
# Install template from local package
64-
dotnet new install artifacts/packages/VsixCommunity.Sdk.Templates.1.0.0.nupkg
64+
dotnet new install artifacts/packages/CodingWithCalvin.VsixSdk.Templates.1.0.0.nupkg
6565

6666
# Test creating a new project
6767
dotnet new vsix -n TestExtension --publisher "Test"
6868

6969
# Uninstall when done
70-
dotnet new uninstall VsixCommunity.Sdk.Templates
70+
dotnet new uninstall CodingWithCalvin.VsixSdk.Templates
7171
```
7272

7373
## Architecture
7474

75-
### SDK Structure (`src/VsixCommunity.Sdk/Sdk/`)
75+
### SDK Structure (`src/CodingWithCalvin.VsixSdk/Sdk/`)
7676

7777
The SDK follows MSBuild SDK conventions with props/targets pairs:
7878

@@ -87,7 +87,7 @@ The modular design allows `Sdk.Vsix.props`/`Sdk.Vsix.targets` to be imported sta
8787

8888
Sample projects use `Sdk="Microsoft.NET.Sdk"` directly, with `samples/Directory.Build.props` and `samples/Directory.Build.targets` importing the VSIX-specific files from source. This allows testing SDK changes without rebuilding the NuGet package.
8989

90-
### Template Structure (`src/VsixCommunity.Sdk.Templates/`)
90+
### Template Structure (`src/CodingWithCalvin.VsixSdk.Templates/`)
9191

9292
Uses `dotnet new` template engine with:
9393
- `template.json` defining parameters (`publisher`, `description`) and generated GUIDs

Directory.Build.props

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@
33
Common properties for all projects in this repository
44
-->
55
<PropertyGroup>
6-
<Authors>VSIX Community</Authors>
7-
<Company>VSIX Community</Company>
8-
<Copyright>Copyright (c) VSIX Community</Copyright>
6+
<Authors>Coding With Calvin</Authors>
7+
<Company>Coding With Calvin</Company>
8+
<Copyright>Copyright (c) Coding With Calvin</Copyright>
99
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1010
</PropertyGroup>
1111

12+
<!--
13+
SourceLink configuration for package provenance
14+
-->
15+
<PropertyGroup>
16+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
17+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
18+
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.*" PrivateAssets="All" />
22+
</ItemGroup>
23+
1224
</Project>

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 VSIX Community
3+
Copyright (c) 2025 Coding With Calvin
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)