Merge pull request #14507 from backstage/rugvip/patch

scripts/prepare-release: update to handle workspace ranges
This commit is contained in:
Johan Haals
2022-11-08 11:49:04 +01:00
committed by GitHub
+5 -1
View File
@@ -209,7 +209,11 @@ async function applyPatchVersions(repo, patchVersions) {
const deps = packageJson[depType];
for (const depName of Object.keys(deps ?? {})) {
const currentRange = deps[depName];
if (currentRange === '*' || currentRange === '') {
if (
currentRange === '*' ||
currentRange === '' ||
currentRange.startsWith('workspace:')
) {
continue;
}