monorepo-next 8.0.0 → 8.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorepo-next",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Detach monorepo packages from normal linking",
5
5
  "bin": {
6
6
  "next": "bin/next.js"
@@ -225,7 +225,7 @@ function fourthPass({
225
225
  }
226
226
  }
227
227
 
228
- if (parent) {
228
+ if (parent && !current[dag.dependencyType].some(({ name }) => name === parent.name)) {
229
229
  let { name } = parent;
230
230
 
231
231
  let oldRange = dag.dependencyRange;