PSUtilityToolSet.psd1

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

@{

    # Script module or binary module file associated with this manifest
    RootModule = 'PSUtilityToolSet.psm1'

    # Version number of this module.
    # The new semantic + release date versioning need to be backward compatible
    # with the old versioning scheme, thus the new major version was bumped to 100.
    ModuleVersion = '1.0.0'

    # ID used to uniquely identify this module
    GUID = '6a6eb514-7897-4367-8fdd-cae44551936d'

    # Author of this module
    Author = 'Rusted Wizard, rustedwizard@outlook.com'

    # Copyright statement for this module
    Copyright = '(c) Rusted Wizard. Original work (c) Microsoft Corporation.'

    # Description of the functionality provided by this module
    Description = 'A utility toolset for PowerShell environment. Originally based on microsoft/PSToolset (MIT License).'

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

    # Cmdlets to export from this module
    CmdletsToExport = '*'

    # Variables to export from this module
    VariablesToExport = '*'

    # Aliases to export from this module
    AliasesToExport = @(
        'all',
        'any',
        'call',
        'construct',
        'default',
        'dfx',
        'f', # filter
        'first',
        'gite',
        'hl', # highlight
        'jn', # jupyter notebook
        'last',
        'lock',
        'p', # project
        'parse',
        'separate',
        'source',
        'xattr',
        'xcomm',
        'xelem',
        'xmlns',
        'xname'
    )

    # Functions to export from this module
    FunctionsToExport = @(
        # Colors
        "Write-Colorized", "Show-Highlight", "Get-Colors", "Get-Source",
        # Data
        "ConvertTo-PsObject", "ConvertTo-Hash",
        "Get-Parameter", "Use-Project", "Use-Filter",
        "Get-Ini", "Show-Ini", "ConvertFrom-Ini", "Import-Ini",
        # DoxFx
        "Start-DocFx",
        # Files
        "Resolve-ScriptPath", "Get-FileEncoding", "ConvertTo-LineEnding", "ConvertTo-Utf8",
        # Functional
        "Test-Any", "Test-All", "Get-First", "Get-Last", "Get-Separation",
        "Get-Median", "Get-Reverse", "Get-UniqueUnsorted", "Get-Randomized",
        # Git
        "Initialize-GitConfig", "Open-GitExtensions",
        "Get-CommitAuthorName", "Get-CommitAuthorEmail",
        "Get-CommitAuthorDate", "Get-CommitMessage",
        "Undo-GitCommit",
        "Reset-GitWorkingTree",
        # Python
        "Start-JupyterNotebook", "Stop-JupyterNotebook",
        # Security
        "Invoke-Elevated", "Test-Interactive", "Test-Elevated", "Set-DelayLock",
        # Text
        "Use-Parse", "Use-Default", "Format-Template", "Get-UnresolvedTemplateItem",
        # Utils
        "Use-Retries", "Set-CmdEnvironment",
        # Xml
        "New-XName", "New-XAttribute", "New-Xmlns", "New-XComment", "New-XElement"
    )

    # Private data to pass to the module specified in RootModule
    PrivateData = @{
        PSData = @{
            # Tags applied to this module for discoverability
            Tags = @('Toolset', 'Utilities', 'PowerShell')

            # A URL to the license for this module
            LicenseUri = 'https://github.com/microsoft/PSToolset/blob/master/LICENSE'

            # A URL to the main website for this project
            ProjectUri = 'https://github.com/microsoft/PSToolset'
        }
    }

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

    # List of all files packaged with this module
    FileList =
    'Colors.ps1',
    'Data.ps1',
    'DocFx.ps1',
    'Files.ps1',
    'Functional.ps1',
    'Git.ps1',
    'PSUtilityToolSet.psd1',
    'PSUtilityToolSet.psm1',
    'Python.ps1',
    'Security.ps1',
    'TabExpansion.ps1',
    'Text.ps1',
    'Utils.ps1',
    'Xml.ps1'
}