Process-PSModule Repository Structure#
A module repository in PSModule follows a predictable structure so the framework can build and validate it consistently.
Top-level contract#
src/: module source input for buildtests/: Pester tests and test helpersexamples/: usage examples for consumersicon/: module icon assets.github/workflows/: workflow entrypoint using Process-PSModule.github/PSModule.yml: repository-level framework settings
Source layout overview#
src/functions/public/: exported commandssrc/functions/private/: internal helperssrc/classes/public/: user-facing classessrc/classes/private/: internal classessrc/data/: static data filessrc/init/: import-time initialization codesrc/formats/: formatting viewssrc/types/: type metadatasrc/variables/: variables split by visibility
Detailed coding standards are canonical in MSX Coding Standards.