-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed #2734 * added another test * fixes for Mael * prettier * added comment
- Loading branch information
Showing
34 changed files
with
274 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision-2/deps/a-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "a", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1", | ||
"c": "file:../c-2" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/hardlink-collision-2/deps/b-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "b", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"c": "file:../c-1" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-2/deps/b-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "b", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-2/deps/c-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "1.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-2/deps/c-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-2/deps/c-3/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "3.0.0" | ||
} |
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/hardlink-collision-2/deps/d-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "a", | ||
"version": "2.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"a": "file:deps/a-1", | ||
"b": "file:deps/b-2", | ||
"c": "file:deps/c-3", | ||
"d": "file:deps/d-1" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/hardlink-collision-3/deps/a-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "a", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/hardlink-collision-3/deps/b-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "b", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"c": "file:../c-1" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-3/deps/b-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "b", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-3/deps/c-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "1.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-3/deps/c-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-3/deps/c-3/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "3.0.0" | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision-3/deps/d-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "a", | ||
"version": "2.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1", | ||
"c": "file:../c-2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"a": "file:deps/a-1", | ||
"b": "file:deps/b-2", | ||
"c": "file:deps/c-3", | ||
"d": "file:deps/d-1" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/a-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "a", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1", | ||
"c": "file:../c-2" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/b-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "b", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"c": "file:../c-1/c-1.0.0.tgz" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/b-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "b", | ||
"version": "2.0.0" | ||
} |
Binary file added
BIN
+4.74 KB
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/c-1/c-1.0.0.tgz
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/c-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/c-3/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "3.0.0" | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision-with-bundled/deps/d-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "a", | ||
"version": "2.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1", | ||
"c": "file:../c-2" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision-with-bundled/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"a": "file:deps/a-1", | ||
"b": "file:deps/b-2", | ||
"c": "file:deps/c-3", | ||
"d": "file:deps/d-1" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision/deps/a-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "a", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1", | ||
"c": "file:../c-2" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
__tests__/fixtures/install/hardlink-collision/deps/b-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "b", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"c": "file:../c-1" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision/deps/b-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "b", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision/deps/c-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "1.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision/deps/c-2/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "2.0.0" | ||
} |
4 changes: 4 additions & 0 deletions
4
__tests__/fixtures/install/hardlink-collision/deps/c-3/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "c", | ||
"version": "3.0.0" | ||
} |
8 changes: 8 additions & 0 deletions
8
__tests__/fixtures/install/hardlink-collision/deps/d-1/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "a", | ||
"version": "2.0.0", | ||
"dependencies": { | ||
"b": "file:../b-1", | ||
"c": "file:../c-2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"a": "file:deps/a-1", | ||
"b": "file:deps/b-2", | ||
"c": "file:deps/c-3", | ||
"d": "file:deps/d-1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters