WinPath-Clean.psd1

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

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

    # Supported PSEditions
    CompatiblePSEditions = @('Core')

    # ID used to uniquely identify this module
    GUID                 = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'

    # Author of this module
    Author               = 'Ignacio de Miguel Diaz'

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

    # Copyright statement for this module
    Copyright            = '(c) 2025 Ignacio de Miguel Diaz. MIT License.'

    # Description of the functionality provided by this module
    Description          = 'A PowerShell 7 TUI tool to analyze, clean, and optimize your Windows PATH environment variable. Detects duplicates, obsolete paths, and bypasses the 2047 character GUI limit.'

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

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

    FunctionsToExport    = @(
        'Invoke-WinPathClean',
        'Get-PathAnalysis',
        'Set-CleanPath',
        'Optimize-PathOrder',
        'Add-SafePath',
        'Backup-Path',
        'Restore-Path',
        'Get-PathBackups',
        'Export-PathReport'
    )

    # Cmdlets to export from this module
    CmdletsToExport      = @()

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

    # Aliases to export from this module
    AliasesToExport      = @(
        'wpc',
        'pathclean'
    )

    # List of all files packaged with this module
    FileList             = @(
        'WinPath-Clean.psd1',
        'WinPath-Clean.psm1',
        'Public\Add-SafePath.ps1',
        'Public\Backup-Path.ps1',
        'Public\Export-PathReport.ps1',
        'Public\Get-PathAnalysis.ps1',
        'Public\Invoke-WinPathClean.ps1',
        'Public\Optimize-PathOrder.ps1',
        'Public\Set-CleanPath.ps1',
        'Private\PathHelpers.ps1',
        'Private\PathOptimizer.ps1',
        'Private\TuiHelpers.ps1',
        'README.md',
        'LICENSE',
        'CHANGELOG.md'
    )

    # Private data to pass to the module specified in RootModule/ModuleToProcess
    PrivateData          = @{
        PSData = @{
            # Tags applied to this module for discoverability in online galleries
            Tags                     = @(
                'PATH',
                'Environment',
                'Windows',
                'Cleanup',
                'TUI',
                'System',
                'Administration',
                'Utility'
            )

            # A URL to the license for this module
            # Note: NuGet prefers embedded license, but PowerShell Gallery still uses LicenseUri
            # SPDX License Identifier: MIT
            LicenseUri               = 'https://codeberg.org/imigueldiaz/winpath-clean/src/branch/main/LICENSE'

            # A URL to the main website for this project
            ProjectUri               = 'https://codeberg.org/imigueldiaz/winpath-clean'

            # A URL to an icon representing this module
            # IconUri = ''

            # ReleaseNotes of this module
            ReleaseNotes             = 'Version 0.3.1: Fixed build pipeline tests causing publication failures. Improved robustness of tests on non-admin environments.'

            # Prerelease string of this module
            # Prerelease = ''

            # Flag to indicate whether the module requires explicit user acceptance for install/update/save
            RequireLicenseAcceptance = $false
        }
    }
}