* feat: adds autobuild of umbraco extensions created by the dotnet template * adds file extensions to imports to follow the esmodule convention + apply formatting * build(deps): upgrade hey-api, vite, typescript and generate new api * chore: formatting * clean up actions as client is now automatically being built when starting the site * revert change with UMBRACO_VERSION_FROM_TEMPLATE * revert if(includeExample) * use template name * use template name * feat: update the way it sets the auth token * add back in IncludeExample if * fix: rename allowPackageTelemetry to allowTelemetry because that is what it is actually called * `.csproj` amends - Adds `BeforeTargets` to "BuildClient" target - Adds "package.json" to "RestoreClient" target input - Removes extra parameters from `npm i` command --------- Co-authored-by: leekelleher <leekelleher@gmail.com>
Customising the umbraco-extension template
Source Name
The source name is set to Umbraco.Extension
The templating engine will rename any folder or file whose name contains Umbraco.Extension replacing it with the provided name.
The templating engine will replace the text in any file as follows:
Umbraco.Extensionwith the safe namespace for the provided nameUmbraco_Extensionwith the safe default class name for the provided nameumbraco.extensionwith the safe namespace for the provided name, in lower caseumbraco_extensionwith the safe default class name for the provided name, in lower case
Custom Replacements
The following custom placeholders have been configured in template.json:
UmbracoExtensionwill be replaced with the safe namespace but without . or _umbracoextensionwill be replaced with the safe namespace but without . or _ , in lower caseumbraco-extensionwill be replaced with the kebab case transform of the provided nameUmbraco Extensionwill be replaced with a 'friendly' version of the provided name, e.g. MyProject > My Project. NB it will render a trailing space so you don't need to add one.
The first three custom placeholders have been configured to replace the text in both files and filenames.