forked from yarnpkg/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into 4972_BUG_prevent_…
…readdir_files * upstream/master: fix(cli): Write Node4+ error message to stderr (yarnpkg#5094) test(jest): Upgrade jest to latest available version (yarnpkg#5018) fix(git): Ignores irrelevant output from ls-remote (yarnpkg#5081) test(integration): Fix failing react-scripts test due to unexpected warning (yarnpkg#5076) feat(help) Add command descriptions to commander output (yarnpkg#5033) ci(circle): Fix cache key setup for proper node_modules sharing (yarnpkg#5060) fixed (yarnpkg#5034) fix(fetcher): offline mirror name collision w/ private registries and scopes (yarnpkg#4822) fix(add): Make semver flags compatible with versioned requests (yarnpkg#4999) [yarnpkg#5021] Add help comment to --json flag (yarnpkg#5045) fix(git): match git dependencies by name instead of whole url fix(install): connectionOptions passes in localhost as its host to prevent popup on MacOsx. (yarnpkg#5006) chore(eslint): ignore packages dir (yarnpkg#4963)
- Loading branch information
Showing
62 changed files
with
1,073 additions
and
527 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
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ scripts | |
updates | ||
artifacts | ||
dist | ||
packages |
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
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,6 @@ | ||
{ | ||
"name": "install-forked-git", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT" | ||
} |
21 changes: 15 additions & 6 deletions
21
__tests__/fixtures/install/artifacts-finds-and-saves/dummy/install.js
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 |
---|---|---|
@@ -1,6 +1,15 @@ | ||
var fs = require('fs'); | ||
fs.writeFileSync('dummy.txt', 'foobar'); | ||
if (!fs.existsSync('dummy')) { | ||
fs.mkdirSync('dummy'); | ||
} | ||
fs.writeFileSync('dummy/dummy.txt', 'foobar'); | ||
const fs = require('fs'); | ||
const util = require('util'); | ||
|
||
const thrower = (err) => { | ||
if (err) { | ||
throw err; | ||
} | ||
}; | ||
|
||
fs.writeFile('dummy.txt', 'foobar', thrower); | ||
fs.mkdir('dummy', err => { | ||
if (err && err.code !== 'EEXIST') | ||
throw err; | ||
fs.writeFile('dummy/dummy.txt', 'foobar', thrower) | ||
}); |
Binary file added
BIN
+22.9 KB
....com/davidreis97/example-yarn-package/tar.gz/0b8f43f77361ff7739bcb42de7787b09208bcece.bin
Binary file not shown.
Binary file added
BIN
+22.9 KB
...thub.com/yarnpkg/example-yarn-package/tar.gz/0b8f43f77361ff7739bcb42de7787b09208bcece.bin
Binary file not shown.
Binary file added
BIN
+814 Bytes
.../fixtures/request-cache/GET/github.com/davidreis97/example-yarn-package.git/info/refs.bin
Binary file not shown.
Binary file added
BIN
+1007 Bytes
...ts__/fixtures/request-cache/GET/github.com/yarnpkg/example-yarn-package.git/info/refs.bin
Binary file not shown.
Oops, something went wrong.