Viscalyx.Common.psd1

@{
    # Script module or binary module file associated with this manifest.
    RootModule           = 'Viscalyx.Common.psm1'

    # Version number of this module.
    ModuleVersion        = '0.5.0'

    # ID used to uniquely identify this module
    GUID                 = 'aba638ad-a584-4234-8eaa-48691b21be2f'

    # Author of this module
    Author               = 'Viscalyx' # cSpell: ignore Viscalyx

    # Company or vendor of this module
    CompanyName          = 'Viscalyx'

    # Copyright statement for this module
    Copyright            = 'Copyright the Viscalyx.Common contributors. All rights reserved.'

    # Description of the functionality provided by this module
    Description          = 'Common commands that adds or improves functionality in various scenarios.'

    # Minimum version of the PowerShell engine required by this module
    PowerShellVersion    = '5.1'

    # Modules that must be imported into the global environment prior to importing this module
    RequiredModules      = @()

    # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
    FunctionsToExport    = @('ConvertTo-AnsiSequence','ConvertTo-DifferenceString','ConvertTo-RelativePath','Get-ModuleByVersion','Get-ModuleFileSha','Get-ModuleVersion','Get-NumericalSequence','Get-PSReadLineHistory','Get-TextOffset','Install-ModulePatch','Invoke-PesterJob','New-SamplerGitHubReleaseTag','Out-Difference','Pop-VMLatestSnapshot','Remove-History','Remove-PSHistory','Remove-PSReadLineHistory','Split-StringAtIndex','Test-FileHash')

    # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
    CmdletsToExport      = @()

    # Variables to export from this module
    VariablesToExport    = @()

    # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
    AliasesToExport      = 'ipj'

    # DSC resources to export from this module
    DscResourcesToExport = @()

    # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
    PrivateData          = @{
        PSData = @{
            # Tags applied to this module. These help with module discovery in online galleries.
            Tags         = @('Common', 'Utility', 'Pester', 'PSReadLine', 'Sampler')

            # A URL to the license for this module.
            LicenseUri   = 'https://github.com/viscalyx/Viscalyx.Common/blob/main/LICENSE'

            # A URL to the main website for this project.
            ProjectUri   = 'https://github.com/viscalyx/Viscalyx.Common'

            # A URL to an icon representing this module.
            IconUri      = 'https://avatars.githubusercontent.com/u/53994072'

            # ReleaseNotes of this module
            ReleaseNotes = '## [0.5.0] - 2025-09-14

### Added

- `Invoke-PesterJob`
  - Added new switch parameter `EnableSourceLineMapping` to map code coverage
    lines from built module files back to their corresponding source files
    using ModuleBuilder''s Convert-LineNumber command. When enabled, this
    parameter automatically enables PassThru and requires ModuleBuilder
    module unless running in a Sampler project environment.
  - Added new parameter `FilterCodeCoverageResult` to filter code coverage results
    by function or class name when using EnableSourceLineMapping. Supports
    wildcard patterns and accepts arrays of filter patterns for flexible
    filtering of missed coverage lines.

### Fixed

- Improved handling escape character in tests.
- Fix build configuration due to changes in DscResource.DocGenerator.
- Fix error stream redirection in all test files to preserve error stream
  visibility ([issue #32](https://github.com/viscalyx/Viscalyx.Common/issues/32)).
- Fixed stream redirection in integration tests.
- Improved test code quality and accuracy.

### Changed

- Editor: Update VS Code settings to set default terminal
  profiles and enable Copilot instruction files.
- Tooling: Add task arguments and improve `test` and `build`
  task configuration for reproducible runs.
- Bump actions/checkout from 4 to 5
- Bump actions/stale from 9 to 10

'


            # Prerelease string of this module
            Prerelease   = ''
        } # End of PSData hashtable
    } # End of PrivateData hashtable
}