cciget.psd1

@{
RootModule        = 'cciget.psm1'
ModuleVersion     = '0.1.2'
GUID              = 'dc396cfc-ce78-467f-a87a-f24e4754ee36'
Author            = 'CCI Platform IT'
CompanyName       = 'CCI'
Copyright         = '(c) 2026 CCI. All rights reserved.'
Description       = 'Discover and install CCI internal PowerShell modules from per-tenant Azure Artifacts feeds. Uses Entra/AzDO Artifacts Credential Provider; no PATs required.'
PowerShellVersion = '5.1'

# PSResourceGet (v3) is the supported client for AzDO Artifacts NuGet v3 feeds.
# Declared as a required module so PSGallery installs it transparently for PS 5.1 users.
RequiredModules   = @(
    @{ ModuleName = 'Microsoft.PowerShell.PSResourceGet'; ModuleVersion = '1.0.0' }
)

FunctionsToExport = @(
    'Connect-CciGet'
    'Disconnect-CciGet'
    'Get-CciGetConfig'
    'Set-CciGetConfig'
    'Find-CciModule'
    'Install-CciModule'
    'Update-CciModule'
    'Get-CciModule'
    'Save-CciModule'
)
CmdletsToExport   = @()
VariablesToExport = @()
AliasesToExport   = @()

PrivateData = @{
    PSData = @{
        Tags         = @('cci', 'package-management', 'azure-artifacts', 'psresourceget', 'internal-gallery')
        ProjectUri   = 'https://ccistack.ghe.com/itplatform/cciget'
        ReleaseNotes = '0.1.2 - Fixes three fresh-machine sign-in faults found on a real build: device-code sign-in now allows 10 minutes instead of the provider default 90s (which surfaced only as "A task was canceled"); the credential provider is forced to device-code flow instead of the WAM broker dialog, which fails with 0x800703f0 on freshly built machines; and a malformed hint string that made Connect-CciGet fail with PositionalParameterNotFound on its own error path. 0.1.1 - Fresh-machine sign-in fix: Connect-CciGet now drives the Azure Artifacts Credential Provider directly (stand-alone, device-code flow) when no Azure CLI session is present, instead of relying on the provider being able to prompt from PSResourceGet plugin mode (which fails with exit code 2). 0.1.0 - Initial preview. See README for bootstrap and tenant subscription model.'
    }
}
}