monorepo-next 9.4.9 → 9.4.11
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 +1 -1
- package/src/build-release-graph.js +11 -1
package/package.json
CHANGED
@@ -240,10 +240,20 @@ function thirdPass({
|
|
240
240
|
return;
|
241
241
|
}
|
242
242
|
|
243
|
+
let isCurrentGreaterThan = !isReleaseTypeLessThan(currentReleaseType, incomingReleaseType);
|
244
|
+
|
245
|
+
if (isCurrentGreaterThan) {
|
246
|
+
// node has changes and hasn't been visited yet
|
247
|
+
// it will be processed later when it's its turn
|
248
|
+
return;
|
249
|
+
}
|
250
|
+
|
243
251
|
let isDevDep = dag.dependencyType === 'devDependencies';
|
244
252
|
|
245
|
-
if (shouldInheritGreaterReleaseType && !isDevDep
|
253
|
+
if (shouldInheritGreaterReleaseType && !isDevDep) {
|
246
254
|
current.releaseType = incomingReleaseType;
|
255
|
+
} else {
|
256
|
+
return;
|
247
257
|
}
|
248
258
|
} else if (currentReleaseType === defaultReleaseType) {
|
249
259
|
// no upgrades needed
|