LottePitcher / opinionated-package-starter

Get a head start when creating Umbraco Packages
MIT License
33 stars 8 forks source link

Add friendly package name derivation #14

Open Bakersbakebread opened 10 months ago

Bakersbakebread commented 10 months ago

This commit introduces a new feature to derive a friendly package name from the given name using Pascal case to space transformation. Added properties "friendlyPackageNameGenerated" and "friendlyPackageName" in template.json to achieve this. Attemps to resolved: #5

It is possible for the template.json to transform from Pascal -> Title and this commit introduces it; as a bonus, you can also specify the --friendlyPackageName which takes precedence over the generated version. image

image

image

LottePitcher commented 10 months ago

Oooh thanks @Bakersbakebread, shall take a look soon :)