jcdcdev.Umbraco.PackageTemplate
0.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install jcdcdev.Umbraco.PackageTemplate::0.2.0
This package contains a .NET Template Package you can call from the shell/command line.
jcdcdev.Umbraco.PackageTemplate
An opinionated template for creating Umbraco packages hosted on Github.
Quick Start
Prerequisites
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_KEY
with your NuGet API key
- Your repository name must match the project name e.g.
Install template
dotnet new install jcdcdev.Umbraco.PackageTemplate
Create package
Create new project
dotnet new jcdcdev-umb-package -o Demo.Package --gh-username jcdcdev --title "My Demo Package" --description "An empty Umbraco package" --author-name "James C" --author-description "Lead .NET Developer" --author-url "https://jcdc.dev" --author-image-url "https://github.com/jcdcdev.png"
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.md
with your package details - Update
umbraco-marketplace.json
with your package details
Publish
- Push your code to GitHub
- Create a pull request into the
main
branch - Merge the pull request
- A new release will be created
Template Parameters
Name | Description | Example Value | Required |
---|---|---|---|
--gh-username |
GitHub username - Used for project url and github actions. | jcdcdev | Yes |
--title |
Package title - Used for NuGet metadata, README & umbraco-marketplace.json |
My Demo Package |
Yes |
--description |
Package description - Used for NuGet metadata & umbraco-marketplace.json |
An empty Umbraco package |
Yes |
--author-name |
Author name - Used for umbraco-marketplace.json |
James C |
Yes |
--author-description |
Author description - Used for umbraco-marketplace.json |
Lead .NET Developer |
No |
--author-url |
Author URL - Used for umbraco-marketplace.json |
https://jcdc.dev |
No |
--author-image-url |
Author image URL - Used for umbraco-marketplace.json |
https://github.com/jcdcdev.png |
No |
--package-type |
Package type - Used for umbraco-marketplace.json |
Package |
No |
--category |
Package category - Used for umbraco-marketplace.json |
Developer Tools |
No |
--add-client |
Add a Front End project using Lit.js and TypeScript. Configured for Umbraco UI. | true |
No |
Need help?
Contributing
Contributions to this package are most welcome! Please read the Contributing Guidelines.
Acknowledgments (thanks!)
- LottePitcher - opinionated-package-starter
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
15.0.1 | 72 | 11/17/2024 |
15.0.1-alpha0006 | 63 | 11/17/2024 |
15.0.1-alpha0003 | 66 | 11/12/2024 |
15.0.0-alpha0003 | 79 | 10/27/2024 |
14.0.0 | 91 | 10/25/2024 |
13.0.0 | 76 | 10/23/2024 |
13.0.0-alpha0008 | 64 | 10/24/2024 |
13.0.0-alpha0005 | 78 | 10/25/2024 |
13.0.0-alpha0004 | 59 | 10/30/2024 |
0.2.2 | 355 | 4/7/2024 |
0.2.1 | 199 | 3/26/2024 |
0.2.0 | 177 | 3/26/2024 |
0.1.2 | 947 | 2/18/2024 |
0.1.1 | 1,278 | 1/7/2024 |
0.1.0 | 181 | 1/7/2024 |