monorepo-next 9.4.8 → 9.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -232,9 +232,16 @@ function thirdPass({
|
|
232
232
|
let currentReleaseType = current.releaseType;
|
233
233
|
|
234
234
|
if (parent) {
|
235
|
-
let isDevDep = dag.dependencyType === 'devDependencies';
|
236
235
|
let incomingReleaseType = parent.releaseType;
|
237
236
|
|
237
|
+
if (currentReleaseType === incomingReleaseType) {
|
238
|
+
// either already visited at this release type, or already at the lowest
|
239
|
+
// either way, no upgrades needed
|
240
|
+
return;
|
241
|
+
}
|
242
|
+
|
243
|
+
let isDevDep = dag.dependencyType === 'devDependencies';
|
244
|
+
|
238
245
|
if (shouldInheritGreaterReleaseType && !isDevDep && isReleaseTypeLessThan(currentReleaseType, incomingReleaseType)) {
|
239
246
|
current.releaseType = incomingReleaseType;
|
240
247
|
}
|