PowerShellRepackager.psd1

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

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

    # ID used to uniquely identify this module.
    GUID = '2807c623-fa74-4335-928c-3eb7f15687a9'

    # Author of this module.
    Author = 'Stephan van Rooij (@svrooij)'

    # Company or vendor that produced this module.
    CompanyName = 'Stephan van Rooij'

    Copyright = 'Stephan van Rooij 2026, licensed under GNU GPLv3'

    # Description of this module.
    Description = 'Repackage modules to be loaded in a custom AssemblyLoadContext, so that dependencies are resolved to the bundled versions in the Dependencies folder.'

    # Minimum version of the PowerShell engine required by this module.
    # This module is build on net8.0 which requires PowerShell 7.4
    PowerShellVersion = '7.4'

    # Minimum version of the .NET Framework required by this module.
    # DotNetFrameworkVersion = '4.7.2'

    # Processor architecture (None, X86, Amd64) supported by this module.
    # ProcessorArchitecture = 'None'

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

    # Assemblies that must be loaded prior to importing this module.
    # RequiredAssemblies = @(
    # "Microsoft.Extensions.Logging.Abstractions.dll",
    # "System.Buffers.dll",
    # "System.Memory.dll",
    # "System.Numerics.Vectors.dll",
    # "System.Runtime.CompilerServices.Unsafe.dll"
    # )

    # Script files (.ps1) that are run in the caller's environment prior to importing this module.
    # ScriptsToProcess = @()

    # Type files (.ps1xml) that are loaded into the session prior to importing this module.
    # TypesToProcess = @()

    # Format files (.ps1xml) that are loaded into the session prior to importing this module.
    # FormatsToProcess = @()

    # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess.
    # The loader registers a custom AssemblyLoadContext before the root module is loaded,
    # so its cmdlets' dependencies resolve to the bundled versions in the Dependencies folder.
    NestedModules = @('PowerShellRepackager.Loader.dll')

    # Functions to export from this module.
    # FunctionsToExport = @()

    # Cmdlets to export from this module.
    CmdletsToExport = @(
        'Get-ModulePackage',
        'Get-ModulePackageDescription',
        'Expand-ModulePackage',
        'Publish-RepackagedModule'
    )

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

    # Aliases to export from this module.
    # AliasesToExport = @()

    # List of all files included in this module.
    FileList = @(
        "PowerShellRepackager.dll",
        "PowerShellRepackager.Loader.dll",
        "PowerShellRepackager.psd1",
        "PowerShellRepackager.psm1",
        "PowerShellRepackager.dll-Help.xml",
        "README.md"
    )

    # Private data to pass to the module specified in RootModule/ModuleToProcess.
    PrivateData = @{
        PSData = @{
            Tags = @('AssemblyLoadContext', 'PowerShell', 'Module', 'Repackager', 'Dependency', 'Loader')

            LicenseUri = 'https://github.com/svrooij/PowerShellRepackager/blob/main/LICENSE.txt'
            ProjectUri = 'https://github.com/svrooij/PowerShellRepackager/'
            ReleaseNotes = 'This module is still a work-in-progress. Changes might be made without notice.'
        }
    }

    # HelpInfo URI of this module.
    HelpInfoURI = 'https://github.com/svrooij/PowerShellRepackager/'
}