Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Vite.dotnet.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<Folder Name="/Documentation/">
<File Path="README.md" />
</Folder>
<Project Path="Vite/Vite.csproj" />
<Project Path="Vite.dotnet/Vite.dotnet.csproj" />
</Solution>
4 changes: 4 additions & 0 deletions Vite.dotnet/Services/ViteManifestService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ private IReadOnlyDictionary<string, ViteManifestEntry> LoadManifest()
var manifest = JsonSerializer.Deserialize<Dictionary<string, ViteManifestEntry>>(json, JsonOptions);
if (manifest != null)
{
if (_logger.IsEnabled(LogLevel.Information))
{
_logger.LogInformation("Loaded Vite manifest found at {ManifestPath}", _manifestPath);
}
return manifest;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Vite.dotnet/Vite.dotnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.1.0</Version>
<Version>0.2.0</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Loading