monorepo-next 9.4.3 → 9.4.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorepo-next",
3
- "version": "9.4.3",
3
+ "version": "9.4.4",
4
4
  "description": "Detach monorepo packages from normal linking",
5
5
  "bin": {
6
6
  "next": "bin/next.js"
@@ -139,11 +139,11 @@ async function secondPass({
139
139
  return;
140
140
  }
141
141
 
142
- visitedNodes.add(dag.node.packageName);
143
-
144
142
  let nextConfig = loadPackageConfig(dag.node.cwd);
145
143
 
146
144
  if (!nextConfig.shouldBumpVersion) {
145
+ visitedNodes.add(dag.node.packageName);
146
+
147
147
  return;
148
148
  }
149
149
 
@@ -168,6 +168,8 @@ async function secondPass({
168
168
  }
169
169
  }
170
170
 
171
+ visitedNodes.add(dag.node.packageName);
172
+
171
173
  for (let group of dag.node.dependents) {
172
174
  if (group.isCycle) {
173
175
  continue;