Bylaw.psd1

@{
    RootModule           = 'Bylaw.psm1'
    ModuleVersion        = '0.5.0'
    GUID                 = '48713c6a-b8d3-4f37-b1c0-2f988b83a3bc'
    Author               = 'Mark Wragg'
    Copyright            = '(c) 2026 Mark Wragg. MIT licence.'
    Description          = 'A Pester-style PowerShell DSL that compiles desired-state policy descriptions to Azure Policy definition JSON (EPAC-compatible).'
    PowerShellVersion    = '7.2'
    CompatiblePSEditions = @('Core')

    # Only Policy and the build/utility cmdlets are exported (ADR-0005).
    # Entries are added as each command is implemented.
    FunctionsToExport    = @('Build-Bylaw', 'ConvertTo-Bylaw', 'Initiative', 'Policy', 'Update-BylawAliasCache', 'Update-BylawRoleCache')
    CmdletsToExport      = @()
    VariablesToExport    = @()
    AliasesToExport      = @()

    PrivateData          = @{
        PSData = @{
            Tags       = @('Azure', 'AzurePolicy', 'Policy', 'DSL', 'EPAC', 'Governance', 'PSEdition_Core', 'Windows', 'Linux', 'MacOS')
            LicenseUri   = 'https://github.com/markwragg/PowerShell-Bylaw/blob/main/LICENSE'
            ProjectUri   = 'https://github.com/markwragg/PowerShell-Bylaw'
            IconUri      = 'https://raw.githubusercontent.com/markwragg/PowerShell-Bylaw/main/bylaw-logo.png'
            ReleaseNotes = 'https://github.com/markwragg/PowerShell-Bylaw/blob/main/CHANGELOG.md'
            # Set by ./build/build.ps1 -Task Publish from CHANGELOG.md (ADR-0036).
            Prerelease   = 'alpha'
        }
    }
}