Skip to content

Commit

Permalink
Nuget package added
Browse files Browse the repository at this point in the history
  • Loading branch information
RespectMathias committed Oct 13, 2024
1 parent c23545a commit 17801ee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
20 changes: 20 additions & 0 deletions Pugnet/Pugnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Copyright>Apache-2.0</Copyright>
<Title>Pugnet</Title>
<PackageProjectUrl>https://github.com/RespectMathias/Pugnet</PackageProjectUrl>
<Description>**Pugnet** is a modern Pug view engine for ASP.NET Core, forked from [Pugzor](https://github.com/AspNetMonsters/pugzor). It is updated for .NET 8 and using Jering's `Javascript.NodeJS`.</Description>
<RepositoryUrl>https://github.com/RespectMathias/Pugnet</RepositoryUrl>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageTags>pug;pugnet;pugzor;view-engine;aspnetcore;asp-net-core;dotnet;net8;templating;javascript-nodejs;razor-alternative;modern-pug;pug-template;mvc;web-development;frontend;server-side-rendering;html-template;pugjs</PackageTags>
</PropertyGroup>

<ItemGroup>
Expand All @@ -16,6 +25,17 @@
<EmbeddedResource Include="embeddedNodeResources.zip" Exclude="bin\**;obj\**;**\*.xproj;packages\**;@(EmbeddedResource)" />
</ItemGroup>

<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\Readme.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Jering.Javascript.NodeJS" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.3" />
Expand Down
4 changes: 1 addition & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ Learn more about Pug at [pugjs.org](https://pugjs.org/api/getting-started.html).
Install-Package Pugnet
```

*Note: Package availability coming soon.*

---

## 🔨 Usage
Expand Down Expand Up @@ -43,7 +41,7 @@ public class Model
**Pug Template:**

```pug
p #{FirstName}
p #{FirstName}
```

---
Expand Down

0 comments on commit 17801ee

Please sign in to comment.