scripts/prepare-release: update to handle workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user