-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix the potential issue of abnormal project dependency linking in npminstall mode.
- Loading branch information
Showing
10 changed files
with
1,944 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,3 +117,4 @@ package-lock.json | |
|
||
# napi-rs generate wrong type ignore for tmp | ||
packages/binding/index.d.ts | ||
.DS_Store |
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
102 changes: 102 additions & 0 deletions
102
packages/cli/test/fixtures/npm_fs/package_link_root/npm.config.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,102 @@ | ||
{ | ||
"bucket_1.stgz": { | ||
"version": 1, | ||
"entries": [ | ||
{ | ||
"name": "@[email protected]/a", | ||
"type": "reg", | ||
"size": 11, | ||
"linkName": "", | ||
"mode": 493, | ||
"uid": 0, | ||
"gid": 0, | ||
"uname": "", | ||
"gname": "", | ||
"offset": 512, | ||
"devMajor": 0, | ||
"devMinor": 0, | ||
"xattrs": {}, | ||
"digest": "sha256:0282f76a4dc18a92bd8961e754874bc456191edfd08455f4cef50dba1cadaa50", | ||
"chunkOffset": 0, | ||
"chunkSize": 0 | ||
}, | ||
{ | ||
"name": "@[email protected]/package.json", | ||
"type": "reg", | ||
"size": 327, | ||
"linkName": "", | ||
"mode": 420, | ||
"uid": 0, | ||
"gid": 0, | ||
"uname": "", | ||
"gname": "", | ||
"offset": 1536, | ||
"devMajor": 0, | ||
"devMinor": 0, | ||
"xattrs": {}, | ||
"digest": "sha256:9c48eda3d378812c177d3226879fcbd9e6889452e88f87a3017fefb57d225ca1", | ||
"chunkOffset": 0, | ||
"chunkSize": 0 | ||
} | ||
] | ||
}, | ||
"bucket_0.stgz": { | ||
"version": 1, | ||
"entries": [ | ||
{ | ||
"name": "[email protected]/dist/bin/uuid", | ||
"type": "reg", | ||
"size": 44, | ||
"linkName": "", | ||
"mode": 493, | ||
"uid": 0, | ||
"gid": 0, | ||
"uname": "", | ||
"gname": "", | ||
"offset": 512, | ||
"devMajor": 0, | ||
"devMinor": 0, | ||
"xattrs": {}, | ||
"digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", | ||
"chunkOffset": 0, | ||
"chunkSize": 0 | ||
}, | ||
{ | ||
"name": "[email protected]/dist/bin/uuid", | ||
"type": "reg", | ||
"size": 44, | ||
"linkName": "", | ||
"mode": 493, | ||
"uid": 0, | ||
"gid": 0, | ||
"uname": "", | ||
"gname": "", | ||
"offset": 512, | ||
"devMajor": 0, | ||
"devMinor": 0, | ||
"xattrs": {}, | ||
"digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", | ||
"chunkOffset": 0, | ||
"chunkSize": 0 | ||
}, | ||
{ | ||
"name": "[email protected]/dist/bin/uuid", | ||
"type": "reg", | ||
"size": 44, | ||
"linkName": "", | ||
"mode": 493, | ||
"uid": 0, | ||
"gid": 0, | ||
"uname": "", | ||
"gname": "", | ||
"offset": 512, | ||
"devMajor": 0, | ||
"devMinor": 0, | ||
"xattrs": {}, | ||
"digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", | ||
"chunkOffset": 0, | ||
"chunkSize": 0 | ||
} | ||
] | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
packages/cli/test/fixtures/npm_fs/package_link_root/npm.tar.index.json
Large diffs are not rendered by default.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
packages/cli/test/fixtures/npm_fs/package_link_root/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
packages/cli/test/fixtures/npm_fs/package_link_root/tar.index.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.