monorepo-next 12.5.1 → 12.5.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/build-dag.js +11 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorepo-next",
3
- "version": "12.5.1",
3
+ "version": "12.5.2",
4
4
  "description": "Detach monorepo packages from normal linking",
5
5
  "bin": {
6
6
  "next": "bin/next.js"
package/src/build-dag.js CHANGED
@@ -67,14 +67,17 @@ function thirdPass({
67
67
 
68
68
  group.node.dependents.push(newGroup);
69
69
 
70
- if (group.node.isPackage) {
71
- thirdPass({
72
- workspaceMeta,
73
- group: newGroup,
74
- branch: newBranch,
75
- visitedNodes,
76
- });
77
- }
70
+ // We don't want to check if it's private here because
71
+ // you could have a chain of private packages, and you
72
+ // want to bump them all the way down.
73
+ // if (group.node.isPackage) {
74
+ thirdPass({
75
+ workspaceMeta,
76
+ group: newGroup,
77
+ branch: newBranch,
78
+ visitedNodes,
79
+ });
80
+ // }
78
81
  }
79
82
  }
80
83
  }