$blueprints = Get-ChildItem -Path "$PSScriptRoot/../modules/blueprints" -Name
$packageJsonPath = "$PSScriptRoot/../package.json"
$packagesJson = Get-Content -Path $packageJsonPath -raw | ConvertFrom-Json
$workspaces = [System.Collections.ArrayList]@()
foreach ($blueprintName in $blueprints) {
    $workspaces.Add("modules/blueprints/$blueprintName")
}
$packagesJson | Add-Member -NotePropertyName workspaces -NotePropertyValue $workspaces -Force
$packagesJson | ConvertTo-Json | Out-File -FilePath $packageJsonPath -Encoding utf8
