From dd0911ac3c5c96b2173901c87d7acee201cf3b33 Mon Sep 17 00:00:00 2001 From: Robert Foster Date: Sun, 28 Jun 2026 02:28:42 +1000 Subject: [PATCH 1/3] removed old dotnet nuget push --- .github/workflows/release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eaad724..47ab129 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,8 +68,6 @@ jobs: # Push the package - name: NuGet push run: dotnet nuget push ${{ env.OUTPUT_PATH }}*.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json - - name: Publish to NuGet - run: dotnet nuget push ${{ env.OUTPUT_PATH }}*.nupkg -s https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} - uses: avakar/tag-and-release@v1 name: Create Release Tag v${{ steps.package_version.outputs.version }} From 533dff73d5ab78c68eae668c203a93e1d774abec Mon Sep 17 00:00:00 2001 From: Robert Foster Date: Sun, 28 Jun 2026 03:12:25 +1000 Subject: [PATCH 2/3] updated documentation, release 0.2.0 --- README.md | 3 ++- Vite.dotnet/Services/ViteManifestService.cs | 4 ++++ Vite.dotnet/Vite.dotnet.csproj | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 18c1006..238e536 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ builder.Services.AddViteManifest(builder.Configuration); **2. Register the tag helper** (in `_ViewImports.cshtml`): ```cshtml -@addTagHelper *, Vite +@using Vite; +@addTagHelper *, Vite.dotnet ``` ## Configuration diff --git a/Vite.dotnet/Services/ViteManifestService.cs b/Vite.dotnet/Services/ViteManifestService.cs index 3e82c02..f753ecf 100644 --- a/Vite.dotnet/Services/ViteManifestService.cs +++ b/Vite.dotnet/Services/ViteManifestService.cs @@ -155,6 +155,10 @@ private IReadOnlyDictionary LoadManifest() var manifest = JsonSerializer.Deserialize>(json, JsonOptions); if (manifest != null) { + if (logger.IsEnabled(LogLevel.Information)) + { + logger.LogInformation("Loaded Vite manifest found at {ManifestPath}", _manifestPath); + } return manifest; } } diff --git a/Vite.dotnet/Vite.dotnet.csproj b/Vite.dotnet/Vite.dotnet.csproj index d3ef2d0..4b542ec 100644 --- a/Vite.dotnet/Vite.dotnet.csproj +++ b/Vite.dotnet/Vite.dotnet.csproj @@ -4,7 +4,7 @@ net10.0 enable enable - 0.1.0 + 0.2.0 From d15194f1038cb4b9fcbe58542e4ead388546f5ef Mon Sep 17 00:00:00 2001 From: Robert Foster Date: Sun, 28 Jun 2026 03:17:04 +1000 Subject: [PATCH 3/3] Fix logger reference --- Vite.dotnet.slnx | 2 +- Vite.dotnet/Services/ViteManifestService.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Vite.dotnet.slnx b/Vite.dotnet.slnx index 39527fe..313f8e6 100644 --- a/Vite.dotnet.slnx +++ b/Vite.dotnet.slnx @@ -7,5 +7,5 @@ - + diff --git a/Vite.dotnet/Services/ViteManifestService.cs b/Vite.dotnet/Services/ViteManifestService.cs index f753ecf..95fbd9d 100644 --- a/Vite.dotnet/Services/ViteManifestService.cs +++ b/Vite.dotnet/Services/ViteManifestService.cs @@ -155,9 +155,9 @@ private IReadOnlyDictionary LoadManifest() var manifest = JsonSerializer.Deserialize>(json, JsonOptions); if (manifest != null) { - if (logger.IsEnabled(LogLevel.Information)) + if (_logger.IsEnabled(LogLevel.Information)) { - logger.LogInformation("Loaded Vite manifest found at {ManifestPath}", _manifestPath); + _logger.LogInformation("Loaded Vite manifest found at {ManifestPath}", _manifestPath); } return manifest; }