MiniScaffold 0.38.0

dotnet new install MiniScaffold::0.38.0                
This package contains a .NET Template Package you can call from the shell/command line.

MiniScaffold

What is MiniScaffold?

This is an F# Template for:

  • creating and publishing libraries targeting .NET 8.0 net8.0
  • creating and publishing applications targeting .NET 8.0 net8.0

Why use MiniScaffold

This takes away the ambiguity that developers face when creating an OSS project. Such as:

  • How do I structure my project?
  • How do I create repeatable builds?
  • Which test framework should I use?
  • How do I create releases easily?
  • What Issue/Pull Request templates should I use?
  • How should I go about creating documentation?
  • How do I get CI/CD setup easily?
  • What's the standard .gitignore file?
  • What other things would make it easier for me when starting off creating a project I might not even know about?

What does this include in the box?

All project types

For Libraries

For Applications

  • Basic argument parsing example via Argu
  • Builds a net8.0 application - Target Frameworks
    • To build for net8.0
  • Builds for win-x64, osx-x64 and linux-x64 - Runtime Identifiers. Bundles the application via dotnet-packaging
    • Bundles the win-x64 application in a .zip file.
    • Bundles the osx-x64 application in a .tar.gz file.
    • Bundles the linux-x64 application in a .tar.gz file.

Getting started quickly

Install the dotnet template from NuGet:

dotnet new install "MiniScaffold::*"

Then choose:

dotnet new mini-scaffold -n MyCoolNewLib --githubUsername MyGithubUsername
dotnet new mini-scaffold -n MyCoolNewApp --githubUsername MyGithubUsername -ou console

The scaffold defaults to using the main branch for releases. If you release from a different branch, you can use the --releaseBranch <branch name> parameter to use your release branch instead of the default.


Builds

GitHub Actions
GitHub Actions
Build History

NuGet

Stable Prerelease
NuGet Badge NuGet Badge

Options

githubUserName

This is used to automatically configure author information in the NuGet package, as well as configure push urls for repo locations.

outputType

Defaults to Library

When set to either Console or Library project and the supporting infrastructure around their respective types.


Known issues

Permission denied

-bash: ./build.sh: Permission denied

This is because dotnet template loses permissions of files. (https://github.com/TheAngryByrd/MiniScaffold/pull/37) added a post hook to address this but this only fixes it for dotnet sdk 2.x users. dotnet sdk 1.x will need to run chmod +x ./build.sh

Appveyor badge not scaffolded correctly

Appveyor's conventions around generating URLs based on the project name has some nuances. See this issue for details.


Example Projects using this template:
This project uses the following projects:
  • .NETStandard 0.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
0.38.0 125 12/7/2024
0.38.0-beta001 81 12/7/2024
0.37.1 3,589 11/19/2023
0.37.0 861 10/25/2023
0.36.2 296 10/22/2023
0.36.1 224 10/21/2023
0.36.0 733 10/6/2023
0.35.2 268 9/18/2023
0.35.0 203 9/18/2023
0.34.2 249 9/14/2023
0.34.1 197 9/5/2023
0.34.0 405 6/9/2023
0.33.0 162 6/7/2023
0.33.0-alpha009 194 6/7/2023
0.33.0-alpha008 168 6/7/2023
0.33.0-alpha007 197 6/7/2023
0.33.0-alpha006 212 6/7/2023
0.33.0-alpha005 202 6/7/2023
0.33.0-alpha004 165 6/7/2023
0.32.0 978 9/17/2022
0.32.0-beta001 247 9/17/2022
0.31.1 658 4/29/2022
0.31.1-beta001 238 4/29/2022
0.31.0 567 2/6/2022
0.31.0-beta001 274 2/6/2022
0.30.0 513 1/18/2022
0.30.0-beta001 201 1/18/2022
0.29.1 496 10/11/2021
0.29.1-beta001 237 10/11/2021
0.29.0 412 9/29/2021
0.29.0-beta001 219 9/29/2021
0.28.0 2,475 6/3/2021
0.27.0 412 5/28/2021
0.27.0-beta002 249 5/28/2021
0.27.0-beta001 212 5/28/2021
0.26.4 428 5/25/2021
0.26.4-beta001 255 5/25/2021
0.26.3 583 3/14/2021
0.26.3-beta001 305 3/14/2021
0.26.2 564 1/22/2021
0.26.1 474 1/19/2021
0.26.1-beta001 267 1/19/2021
0.26.0 485 1/5/2021
0.26.0-beta001 248 1/5/2021
0.25.1 565 11/11/2020
0.25.0 803 7/25/2020
0.25.0-beta001 364 7/25/2020
0.24.4 659 5/9/2020
0.24.3 614 5/9/2020
0.24.2 620 5/1/2020
0.24.1 569 4/23/2020
0.24.0 597 3/26/2020
0.23.5 588 3/24/2020
0.23.4 593 3/8/2020
0.23.3 629 2/24/2020
0.23.2 564 2/24/2020
0.23.1 574 2/24/2020
0.23.0 609 2/13/2020
0.23.0-beta001 414 2/7/2020
0.22.4 710 1/23/2020
0.22.3 620 1/15/2020
0.22.2 629 1/3/2020
0.22.1 647 12/26/2019
0.22.0 660 12/26/2019
0.22.0-beta001 460 12/26/2019
0.21.5 626 12/24/2019
0.21.4-beta001 441 12/24/2019
0.21.3 624 12/21/2019
0.21.2 632 12/21/2019
0.21.1 628 12/16/2019
0.21.0 610 12/13/2019
0.20.2 632 12/13/2019
0.20.1 625 11/26/2019
0.20.0 626 10/22/2019
0.19.2 605 10/22/2019
0.19.1 607 10/21/2019
0.19.0 633 9/24/2019
0.18.0 623 9/20/2019
0.17.1 850 6/4/2019
0.16.4 734 5/20/2019
0.16.3 676 5/17/2019
0.16.2 676 5/17/2019
0.16.1 658 5/9/2019
0.16.0 701 5/8/2019
0.15.1 807 5/3/2019
0.15.0 779 5/2/2019
0.14.2 746 5/2/2019
0.14.2-beta002 558 5/2/2019
0.14.2-beta001 564 5/2/2019
0.14.1 760 4/9/2019
0.14.0 914 2/19/2019
0.14.0-beta001 575 2/18/2019
0.13.0 922 1/9/2019
0.12.1 786 1/9/2019
0.12.0 1,122 9/11/2018
0.11.0 875 8/30/2018
0.11.0-beta002 630 8/30/2018
0.11.0-beta001 637 8/30/2018
0.10.0 954 8/18/2018
0.9.7 941 8/18/2018
0.9.6 917 8/10/2018
0.9.5 1,117 7/9/2018
0.9.4 1,148 6/22/2018
0.9.3 1,225 6/1/2018
0.9.2 1,142 6/1/2018
0.9.1 1,224 5/15/2018
0.9.0 1,181 5/14/2018
0.8.1 1,216 4/9/2018
0.8.0 1,266 3/20/2018
0.8.0-alpha002 903 3/20/2018
0.8.0-alpha001 962 3/20/2018
0.7.1 1,192 3/20/2018
0.7.0 1,192 3/16/2018
0.6.1 1,173 3/11/2018
0.6.0 1,176 3/7/2018
0.6.0-beta001 936 3/6/2018
0.5.2 1,194 3/1/2018
0.5.2-beta001 931 2/25/2018
0.5.1 1,174 2/25/2018
0.5.1-beta001 923 2/25/2018
0.5.0 1,255 2/15/2018
0.5.0-beta004 926 2/12/2018
0.5.0-beta003 943 2/12/2018
0.5.0-beta002 950 2/12/2018
0.5.0-beta001 927 2/10/2018
0.4.1 1,232 2/10/2018
0.4.1-beta003 953 2/10/2018
0.4.1-beta002 1,199 2/9/2018
0.4.1-beta001 957 2/9/2018
0.4.0 1,217 1/13/2018
0.3.5 1,562 7/18/2017
0.3.4 1,159 7/3/2017
0.3.3 1,182 6/26/2017
0.3.2 1,200 5/7/2017
0.3.2-alpha001 938 5/2/2017
0.3.1 1,131 4/30/2017
0.3.0 1,140 4/30/2017
0.3.0-alpha001 872 4/30/2017
0.2.0 1,238 4/18/2017
0.2.0-alpha001 881 4/18/2017
0.1.0 1,177 4/14/2017
0.1.0-alpha008 873 4/14/2017
0.1.0-alpha007 855 4/14/2017
0.1.0-alpha006 854 4/14/2017
0.1.0-alpha005 903 4/14/2017
0.1.0-alpha004 868 4/14/2017
0.1.0-alpha003 884 4/14/2017
0.1.0-alpha002 906 4/14/2017
0.1.0-alpha001 912 4/14/2017

## [0.38.0] - 2024-12-07

[0.38.0]: https://github.com/TheAngryByrd/MiniScaffold//compare/v0.37.1...v0.38.0

### Changed
- [Adds support for .NET 8.0](https://github.com/TheAngryByrd/MiniScaffold/pull/288) from @simon-reynolds