Skip to content
/ .template-NuGet Public template

Template repo for publishing NuGet packages

License

Notifications You must be signed in to change notification settings

TaffarelJr/.template-NuGet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

NuGet Template Repository

Continuous Integration Codecov NuGet NuGet Downloads

This is a template repo that contains the default configuration for building and publishing a single NuGet package.

---
title: Personal GitHub Repo Structure
---

flowchart TB

  subgraph subGH [" "]
    gh(**.github**
    repo)

    noteGH[This contains core files
    to be referenced by
    or synced to other repos.]
  end

  subgraph subT [" "]
    T1(**.template-<type>**
    repo)

    T2(**.template-<type>**
    repo)

    noteT[These define more specific
    default files and structures
    for different repo types.]
  end

  subgraph subR [" "]
    R1(**<name>**
    repo)

    R2(**<name>**
    repo)

    R3(**<name>**
    repo)

    R4(**<name>**
    repo)

    noteR[These are the actual repos
    where projects live.]
  end

  classDef current fill:#E68A39,color:#000000
  class T1,T2 current

  classDef sub opacity:0
  class subGH,subT,subR sub

  classDef note fill:#FFFFDD,color:#000000
  class noteGH,noteT,noteR note

  gh --> T1
  gh --> T2

  T1 --> R1
  T1 --> R2
  T2 --> R3
  T2 --> R4
Loading

Table of Contents

Description of Files in This Template Repo

GitHub allows some community health and GitHub configuration files to only reside in the .github repo and automatically appear in all other repos. However, we can't take full advantage of that feature because most files need repo-specific customization.

File Exists only in
.github repo
Overridden in
template repo
Notes
πŸ“.github/
Β β”œβ”€πŸ“„CODEOWNERS N/A βœ…
Β β””β”€πŸ“„FUNDING.yml βœ…
πŸ“„CODE_OF_CONDUCT.md βœ… Linked to by other files
πŸ“„CONTRIBUTING.md βœ… Links to other files
πŸ“„GOVERNANCE.md β€” β€” Not implemented
πŸ“„LICENSE N/A βœ…
πŸ“„SECURITY.md βœ… Links to GitHub repo
πŸ“„SUPPORT.md βœ… Links to other files
Template Exists only in
.github repo
Overridden in
template repo
Description
πŸ“.github/
Β β”œβ”€πŸ“DISCUSSION_TEMPLATE/ β€” β€” Not implemented
Β β”œβ”€πŸ“ISSUE_TEMPLATE/ βœ… Contains GitHub Issue forms
Β β”‚Β Β Β Β β””β”€πŸ“„config.yml βœ… GitHub Issue template chooser
Β β”œβ”€πŸ“„codecov.yml N/A βœ… Codecov configuration
Β β”œβ”€πŸ“„copilot-instructions.md N/A βœ… Copilot configuration
Β β”œβ”€πŸ“„dependabot.yml N/A βœ… Dependabot configuration
Β β”œβ”€πŸ“„pull_request_template.md βœ… GitHub Pull Request template
Β β””β”€πŸ“„settings.yml N/A βœ… Repo configuration
Workflow Description
πŸ“.github/
Β β””β”€πŸ“workflows/
Β Β Β Β Β Β Β β”œβ”€πŸ“„Continuous Integration Builds, tests, and packs the solution.
Β Β Β Β Β Β Β β”œβ”€πŸ“„Create Release Creates draft Releases in GitHub
Β Β Β Β Β Β Β β”œβ”€πŸ“„Publish Packages Publishes packages to GitHub Packages and NuGet.org
Β Β Β Β Β Β Β β”œβ”€πŸ“„Template Sync Synchronizes files from a template repo to a derived repo
Β Β Β Β Β Β Β β””β”€πŸ“„Validate Codecov Validates changes to codecov.yml

.NET Configuration

File Description
πŸ“.config/ Contains dotnet tool settings
πŸ“„.vsconfig Visual Studio settings
πŸ“„global.json .NET SDK settings
πŸ“„nuget.config NuGet settings
πŸ“„StyleCop.json StyleCop (code analysis) settings

.NET Placeholder Solution

File Description
πŸ“src/ Contains production code
Β β””β”€πŸ“„Production.props .NET project properties for production code
πŸ“test/ Contains test code
Β β”œβ”€πŸ“„.editorconfig Code analysis exceptions for test code
Β β”œβ”€πŸ“„Test.props .NET project properties for test code
Β β””β”€πŸ“„Test.runsettings .NET test run settings
πŸ“„Common.props .NET project properties for all code
πŸ“„Icon.png NuGet package icon
πŸ“„Icon.svg NuGet package icon source
πŸ“„Placeholder.sln Visual Studio solution

Build Scripts

File Description
πŸ“„Build.ps1 Full build script (PowerShell)
πŸ“„build.sh Full build script (bash)
πŸ“„Test.ps1 Full build & test script (PowerShell)
πŸ“„Test.sh Full build & test script (bash)

Other Files

File Description
πŸ“.vscode/ Contains VSCode settings
πŸ“docs/ Contains documentation
πŸ“test/ Contains test code
Β β””β”€πŸ“„TestHelpers.psm1 Helper methods for Continuous Integration
πŸ“„_checklist.md New template repo checklist
πŸ“„.editorconfig Styleguide rule definitions
πŸ“„.gitattributes Built using scaffolding
πŸ“„.gitignore Built using scaffolding
πŸ“„.gitmessage Commit message template
πŸ“„GenerateChangelog.ps1 Script for generating the release changelog
πŸ“„GitVersion.yml GitVersion configuration

About

Template repo for publishing NuGet packages

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published