-
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.
* fix: ensure enableDefaultRc defaults to true unless exlicitly set to false via --no-default-rc * fix: ensure enableDefaultRc and extraneousYarnrcFiles are passed to config.init(...) * add: added test for yarn global add for module using a scoped registry
- Loading branch information
Clinton Wood
authored and
Maël Nison
committed
Aug 3, 2018
1 parent
456571b
commit 6f5764b
Showing
6 changed files
with
52 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
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 @@ | ||
"@test-scope:registry" "http://test-scope-registry.com" |
39 changes: 39 additions & 0 deletions
39
__tests__/fixtures/request-cache/GET/test-scope-registry.com/test-scope%2fscoped-module.bin
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,39 @@ | ||
HTTP/1.1 200 OK | ||
X-Powered-By: verdaccio/3.5.1 | ||
Access-Control-Allow-Origin: * | ||
Content-Type: application/json; charset=utf-8 | ||
ETag: "44b57ba5bc86dbe39ef3e60f5112a6ec" | ||
Content-Length: 754 | ||
Vary: Accept-Encoding | ||
X-Status-Cat: http://flic.kr/p/aVuVsF | ||
Date: Fri, 03 Aug 2018 06:37:42 GMT | ||
Connection: keep-alive | ||
|
||
{ | ||
"name": "@test-scope/scoped-module", | ||
"versions": { | ||
"0.0.1": { | ||
"name": "@test-scope/scoped-module", | ||
"version": "0.0.1", | ||
"description": "Scoped Module for Yarn tests", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"_id": "@test-scope/[email protected]", | ||
"dist": { | ||
"shasum": "0d2cf8db4b0fca4f50a0597e9a377cb1e6c48a93", | ||
"tarball": "http://test-scope-registry.com/@test-scope%2fscoped-module/-/scoped-module-0.0.1.tgz" | ||
} | ||
} | ||
}, | ||
"time": { | ||
"modified": "2018-08-03T06:33:38.743Z", | ||
"created": "2018-08-03T06:33:38.743Z", | ||
"0.0.1": "2018-08-03T06:33:38.743Z" | ||
}, | ||
"dist-tags": { | ||
"latest": "0.0.1" | ||
}, | ||
"_rev": "6-7cc396d8f7359a4d", | ||
"readme": "", | ||
"_attachments": {} | ||
} |
Binary file added
BIN
+556 Bytes
...ache/GET/test-scope-registry.com/test-scope%2fscoped-module/-/scoped-module-0.0.1.tgz.bin
Binary file not shown.
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
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