An opinionated template for creating Umbraco packages hosted on GitHub.
-
A basic understanding of NuGet package development
- A NuGet API key - Create an API key
-
A git repository on GitHub
- Your repository name must match the project name e.g.
Demo.Package - GitHub Action Secret -
NUGET_API_KEYwith your NuGet API key
- Your repository name must match the project name e.g.
-
Install template
dotnet new install jcdcdev.Umbraco.PackageTemplate
-
Create new project
dotnet new jcdcdev-umb-package -o Demo.Package --ghUsername jcdcdev --title "My Demo Package" --description "An empty Umbraco package" --addClient
- Open Visual Studio
- Create a new project
- Search for
jcdcdev-umb-package - Click
Next - Fill in the project title, description, and other details
- Click
Create
-
Open project in your IDE
-
Build and run project
-
Congratulations! You have created an empty Umbraco package 🎉
Now you can implement your package features.
- Update
README.mdwith your package details - Update
umbraco-marketplace.jsonwith your package details
- Push your code to GitHub
- Create a pull request into the
mainbranch - Merge the pull request
- A new release will be created
Contributions to this package are most welcome! Please visit the Contributing page.