Sampler
Sampler copied to clipboard
multi-module repository example
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?