monorepo-next 8.0.2 → 8.0.3
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
@@ -123,7 +123,10 @@ async function secondPass({
|
|
123
123
|
let shouldVersionBump = !shouldExcludeDevChanges || !isDevDep;
|
124
124
|
|
125
125
|
if (dag.node.isPackage && shouldInheritGreaterReleaseType && !isDevDep && shouldBumpInRangeDependencies) {
|
126
|
-
|
126
|
+
// We use `defaultReleaseType` here instead of `parent.releaseType` because
|
127
|
+
// it doesn't matter, and it is less confusing. It gets overwritten with the correct
|
128
|
+
// value based on all dependencies later.
|
129
|
+
await init({ dag, releaseTrees, releaseType: defaultReleaseType });
|
127
130
|
} else if (!isReleaseTypeInRange(parent.oldVersion, parent.releaseType, dag.dependencyRange)) {
|
128
131
|
await init({ dag, releaseTrees, releaseType: defaultReleaseType, shouldVersionBump });
|
129
132
|
} else if (shouldBumpInRangeDependencies) {
|