simplcommerce/SimplCommerce

Add `dotnet new` templating for modules...

オープン

#733 opened on 2019/03/07

 (3 件のコメント) (5 件のリアクション) (0 人の担当者)C# (1,506 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (4,029 個のスター)
PR merge metrics
 (平均マージ 1d 11h) (30d で 1 merged PR)

説明

As I developer of a module I would like to be able to dotnet new simplcommercemodule on command line to generate a Razor class library and any files needed to initialize a module.

Razorclasslib template

  • AssemblyName = xxx.Module.xxx

  • Edit csproj = http://docs.simplcommerce.com/en/latest/how-to-add-new-modules/

  • module.json

  • ModuleInitializer

  • Generate empty directories with common module structure.

    Areas, Data, Events, Models, Services, wwwroot
    

コントリビューターガイド