You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// local `file:` deps (non-workspace fsChildren) should be treated as local dependencies, not external, so they get symlinked directly instead of being extracted into the store.
Copy file name to clipboardExpand all lines: workspaces/arborist/test/isolated-mode.js
+43Lines changed: 43 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1736,6 +1736,49 @@ tap.test('bins are installed', async t => {
1736
1736
t.ok(binFromBarToWhich)
1737
1737
})
1738
1738
1739
+
tap.test('file: dependency with linked strategy',asynct=>{
1740
+
/*
1741
+
* Regression test for https://github.com/npm/cli/issues/7549
1742
+
*
1743
+
* A relative file: dependency (file:./project2) was incorrectly resolved as file:../project2, causing ENOENT errors because the path was resolved one level above the project root.
0 commit comments