monorepo-next 9.4.6 → 9.4.7
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
@@ -191,6 +191,8 @@ async function secondPass({
|
|
191
191
|
return;
|
192
192
|
}
|
193
193
|
|
194
|
+
releaseTree[shouldVersionBumpSymbol]();
|
195
|
+
|
194
196
|
for (let group of dag.node.dependents) {
|
195
197
|
if (group.isCycle) {
|
196
198
|
continue;
|
@@ -211,7 +213,6 @@ function thirdPass({
|
|
211
213
|
releaseTrees,
|
212
214
|
packagesWithChanges,
|
213
215
|
shouldInheritGreaterReleaseType,
|
214
|
-
shouldExcludeDevChanges,
|
215
216
|
}) {
|
216
217
|
for (let { dag, changedReleasableFiles } of packagesWithChanges) {
|
217
218
|
if (!changedReleasableFiles.length) {
|
@@ -224,7 +225,7 @@ function thirdPass({
|
|
224
225
|
}) {
|
225
226
|
let current = releaseTrees[dag.node.packageName];
|
226
227
|
|
227
|
-
if (!current) {
|
228
|
+
if (!current?.shouldBumpVersion) {
|
228
229
|
return;
|
229
230
|
}
|
230
231
|
|
@@ -238,12 +239,6 @@ function thirdPass({
|
|
238
239
|
|
239
240
|
current.releaseType = currentReleaseType;
|
240
241
|
|
241
|
-
let shouldVersionBump = !(shouldExcludeDevChanges && isDevDep);
|
242
|
-
|
243
|
-
if (shouldVersionBump && current[nextConfigSymbol].shouldBumpVersion) {
|
244
|
-
current[shouldVersionBumpSymbol]();
|
245
|
-
}
|
246
|
-
|
247
242
|
for (let group of dag.node.dependents) {
|
248
243
|
if (group.isCycle) {
|
249
244
|
continue;
|
@@ -355,7 +350,6 @@ async function buildReleaseGraph({
|
|
355
350
|
releaseTrees,
|
356
351
|
packagesWithChanges,
|
357
352
|
shouldInheritGreaterReleaseType,
|
358
|
-
shouldExcludeDevChanges,
|
359
353
|
});
|
360
354
|
|
361
355
|
// dependents have now inherited release type
|