Sampler icon indicating copy to clipboard operation
Sampler copied to clipboard

multi-module repository example

Open LarryWisherMan opened this issue 6 months ago • 3 comments

I am exploring how to structure a PowerShell monorepo using Sampler and would like clarification on how multi-module projects should be organized.

Specifically:

  • Should the Git repository root have its own build.ps1 and build.yaml to orchestrate builds across multiple module folders?

  • Should each module folder (such as under src/ or directly under the root) contain its own independent build.ps1, build.yaml, and RequiredModules.psd1, as if it were a standalone Sampler project?

  • Is there a recommended pattern for organizing multiple modules within a single repository, especially when coordinating shared dependencies and CI?

LarryWisherMan avatar Aug 07 '25 07:08 LarryWisherMan