Public/Xpand/Get-XafPackageNames.ps1

function Get-XafPackageNames{
    [CmdLetTag()]
    param(
        [parameter(Mandatory)]
        [string[]]$Version,
        [ValidateSet("Core","Win","Web","Blazor")]
        [string[]]$Platform=@("Win","Web","Core","Blazor"),
        [parameter()]
        [string]$DXFeed=$env:DxFeed
    )
    
    ($Platform|ForEach-Object{
        Get-NugetPackageDependencies DevExpress.ExpressApp.$_.All -Source $DXFeed -FilterRegex "DevExpress.ExpressApp.*|DevExpress.Persistent.*" -Recurse
    }|Sort-Object Id -Unique|Where-Object{
        !$Version -or $_.VersionRange.MaxVersion -in $Version
    }).Id
}