GithubHelp home page GithubHelp logo

benjaminmichaelis / dotnettemplates Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 437 KB

License: MIT License

PowerShell 2.28% C# 30.64% JavaScript 1.68% HTML 1.65% Vue 38.63% TypeScript 24.38% SCSS 0.75%

dotnettemplates's Introduction

Dotnet Templates

The repository contains a set of opinionated dotnet new templates. I am happy to receive critique/feedback on the existing templates, so feel free to open issues.

Installing

Use dotnet new install to install the templates.

> dotnet new install BenjaminMichaelis.Dotnet.Templates

To then use a template, navigate to a directory where you want to use the template and use the command

> dotnet new bmichaelis.{templatename}

with templatename being a name of one of the included templates listed below. Ex: dotnet new bmichaelis.nuget

Included Templates (by template name)

Updating

If you have previously installed the templates and want to install the latest version, you can use dotnet new update to update your installed templates.

> dotnet new update

Uninstalling

> dotnet new uninstall BenjaminMichaelis.Dotnet.Templates

Local testing

Build the template package:

> dotnet pack --configuration Release -o .

Install the locally built template package

> dotnet new install . --force

You can now test the template by running:

> dotnet new bmichaelis.{templatename}
> dotnet build
> dotent test --no-build
> dotnet publish --no-build

When done, you can remove the local install of the template package by running:

> dotnet new uninstall .

Adding a new template

  • Add project under the template directory
  • Update .template.config in directory
  • Update dependabot.yml
  • Update build.yml workflow
  • Add to README

dotnettemplates's People

Contributors

dependabot[bot] avatar benjaminmichaelis avatar

dotnettemplates's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.