NuGet · nuget

Redeon.Eltheon.Templates

Eltheon web app and canonical Manifest-v3 plugin templates.

Install

Install-Kommandos

dotnet add package Redeon.Eltheon.Templates --version 3.10.0.6
<PackageReference Include="Redeon.Eltheon.Templates" Version="3.10.0.6" />
paket add Redeon.Eltheon.Templates --version 3.10.0.6
Install-Package Redeon.Eltheon.Templates -Version 3.10.0.6

README

Vorschau

Redeon.Eltheon.Templates 3.10

Das Paket enthält das kanonische Eltheon-3.10/.NET-10-WebApp-Template und sechs Manifest-v3-Pluginvorlagen. Die finale Paketidentität darf erst nach dem Epic-11-Releasegate materialisiert werden.

Nach der Freigabe lokal installieren:

dotnet new install Redeon.Eltheon.Templates@3.10.0 --nuget-source ./nupkgs

Alternativ kann die von NuGet normalisierte Paketdatei installiert werden:

dotnet new install .\nupkgs\Redeon.Eltheon.Templates.3.10.0.nupkg

Verfügbare Templates:

  • dotnet new eltheon-webapp -n Contoso.Portal
  • dotnet new eltheon-plugin-basic -n Contoso.Inventory --Namespace Contoso.Inventory --PluginId contoso.inventory --DisplayName "Inventory"
  • dotnet new eltheon-plugin-ui
  • dotnet new eltheon-plugin-db
  • dotnet new eltheon-plugin-provider
  • dotnet new eltheon-plugin-project
  • dotnet new eltheon-plugin-full

Alle Pluginvorlagen erzeugen Manifest-v3-Projekte für net10.0 mit minHostVersion, SDK-, PackTool- und RequiredPackage-Version 3.10.0.0 sowie lib/net10.0. Sie akzeptieren --Scope Eltheon|Project, --Audience, --Namespace, --PluginId und --DisplayName und enthalten ein xUnit-Projekt sowie pack-plugin.ps1.

Der Templatehost bringt einen npm-Task-Hub für Themes/main, Themes/admin, Migrationen und Template-Packaging mit:

cd .\Templates\Project\Eltheon
npm install
npm run build:all

Nützliche Befehle:

npm run watch:main
npm run watch:admin
npm run watch:both
npm run migration:add
npm run template:pack

Visual Studio kann dasselbe installierte .NET-Templatepaket verwenden. Ein separater .vstemplate-Export ist nicht erforderlich.