PesterConverter.psd1

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

    # Version number of this module.
    ModuleVersion        = '0.2.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 PesterConverter contributors. All rights reserved.'

    # Description of the functionality provided by this module
    Description          = 'Commands to convert Pester tests.'

    # Minimum version of the PowerShell engine required by this module
    PowerShellVersion    = '7.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    = 'Convert-PesterSyntax'

    # 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      = @()

    # 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         = @('Pester', 'Converter')

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

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

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

            # ReleaseNotes of this module
            ReleaseNotes = '## [0.2.0-preview0009] - 2024-08-06
 
### Added
 
- Public commands:
  - `Convert-PesterSyntax`
    - Add support for Should operators:
      - Be
      - BeExactly
      - BeFalse
      - BeGreaterOrEqual
      - BeGreaterThan
      - BeIn
      - BeLessOrEqual
      - BeLessThan
      - BeLike
      - BeLikeExactly
      - BeNullOrEmpty
      - BeOfType
      - BeTrue
      - Contain
      - Match
      - MatchExactly
      - Throw
    - Added new parameter `OutputPath` to write the resulting file to
      a separate path.
- Add integration tests.
 
### Fixed
 
- Improve code to resolve ScriptAnalyzer warnings and errors.
- Localize all the strings.
- `Convert-PesterSyntax`
  - The `Should` operators `BeLike` and `BeLikeExactly` was mistakenly not
    calling their respectively conversion function.
  - Correctly handle abbreviated named parameters.
- `Should -BeFalse`, `Should -BeTrue` and `Should -BeNullOrEmpty` are now
  correctly converted when `Because` is the only positional parameter.
- Negated `Should -Not -BeLessThan` now converts to `Should-BeGreaterThanOrEqual`
  to correctly handle scenario when actual value and expected value are the same.
- Negated `Should -Not -BeGreaterThan` now converts to `Should-BeLessThanOrEqual`
  to correctly handle scenario when actual value and expected value are the same.
- Fix parameter name in `Convert-ShouldBeOfType`
- Minor change to `Get-AstDefinition` to handle when a file is not correctly
  parsed.
- Some code cleanup.
- Fix incorrect position value in Get-PesterCommandParameter.
- Update PowerShell version requirement to 7.1.
'


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