This is a custom PS module for scaffolding new module projects for Helix architecture.
It saves time, by doing everything you'd have to do manually, reduces possibilities of errors and ensures consistency in the file structure between modules
- Copy
NuGet_profile.ps1
into the location where you PS loads profile from (you can check that with$profile
command in PS command window - Copy
add-helix-module-configuration.json.user.example
and remove the.example
at the end - Adjust paths in
NuGet_profile.ps1
andadd-helix-module-configuration.json.user
- Open Package Manager console
- Run the code as
Add-Feature FEATURE_NAME
orAdd-Foundation FOUNDATION_NAME
(i.e.Add-Feature Articles
)
Detailed explanation can be found here https://unaverhoeven.ghost.io/2018/02/02/sitecore-helix-with-tds-create-a-new-module-with-powershell/