monorepo-next 8.1.0 → 8.1.1
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 +0 -24
package/package.json
CHANGED
@@ -122,8 +122,6 @@ async function secondPass({
|
|
122
122
|
shouldInheritGreaterReleaseType,
|
123
123
|
shouldExcludeDevChanges,
|
124
124
|
}) {
|
125
|
-
let visitedNodes = new Set();
|
126
|
-
|
127
125
|
for (let { dag, changedReleasableFiles } of packagesWithChanges) {
|
128
126
|
if (!changedReleasableFiles.length) {
|
129
127
|
continue;
|
@@ -133,12 +131,6 @@ async function secondPass({
|
|
133
131
|
dag,
|
134
132
|
parent,
|
135
133
|
}) {
|
136
|
-
if (visitedNodes.has(dag.node.packageName)) {
|
137
|
-
return;
|
138
|
-
}
|
139
|
-
|
140
|
-
visitedNodes.add(dag.node.packageName);
|
141
|
-
|
142
134
|
let doesPackageHaveChanges = !!releaseTrees[dag.node.packageName];
|
143
135
|
if (!doesPackageHaveChanges) {
|
144
136
|
let isDevDep = dag.dependencyType === 'devDependencies';
|
@@ -182,8 +174,6 @@ function thirdPass({
|
|
182
174
|
shouldInheritGreaterReleaseType,
|
183
175
|
shouldExcludeDevChanges,
|
184
176
|
}) {
|
185
|
-
let visitedNodes = new Set();
|
186
|
-
|
187
177
|
for (let { dag, changedReleasableFiles } of packagesWithChanges) {
|
188
178
|
if (!changedReleasableFiles.length) {
|
189
179
|
continue;
|
@@ -193,12 +183,6 @@ function thirdPass({
|
|
193
183
|
dag,
|
194
184
|
parent,
|
195
185
|
}) {
|
196
|
-
if (visitedNodes.has(dag.node.packageName)) {
|
197
|
-
// return;
|
198
|
-
}
|
199
|
-
|
200
|
-
visitedNodes.add(dag.node.packageName);
|
201
|
-
|
202
186
|
let current = releaseTrees[dag.node.packageName];
|
203
187
|
|
204
188
|
if (!current) {
|
@@ -242,8 +226,6 @@ function fourthPass({
|
|
242
226
|
packagesWithChanges,
|
243
227
|
shouldBumpInRangeDependencies,
|
244
228
|
}) {
|
245
|
-
let visitedNodes = new Set();
|
246
|
-
|
247
229
|
for (let { dag, changedReleasableFiles } of packagesWithChanges) {
|
248
230
|
if (!changedReleasableFiles.length) {
|
249
231
|
continue;
|
@@ -253,12 +235,6 @@ function fourthPass({
|
|
253
235
|
dag,
|
254
236
|
parent,
|
255
237
|
}) {
|
256
|
-
if (visitedNodes.has(dag.node.packageName)) {
|
257
|
-
// return;
|
258
|
-
}
|
259
|
-
|
260
|
-
visitedNodes.add(dag.node.packageName);
|
261
|
-
|
262
238
|
let current = releaseTrees[dag.node.packageName];
|
263
239
|
|
264
240
|
if (!current) {
|