460 Commits
Author SHA1 Message Date
Yunxing Dai f39cc33bc5 Don't re-install cached artifacts.
This patch makes sure if we load a package from cache, we don't install it again.
2016-10-11 21:18:58 -07:00
Vlad Filippov 4c82ac0217 fix base-fetcher: use proper util to stringify, clean up imports (#707) 2016-10-12 11:27:09 +09:00
Roger Nesbitt c9415ca3d2 Support unimplemented call in Windows Subsystem for Linux (#772)
* Support unimplemented call in WSL (#753)

Yarn works fine on Windows Subsystem for Linux (WSL) apart from a single call
to enumerate network interfaces.  If this call fails on WSL, we instead assume
that the user has an internet connection and continue.

* Fix a comment which said the opposite of what it meant to say
2016-10-12 11:01:02 +09:00
Ryan Stelly d3a1d85fde #767 add validate license for empty string and show warning (#768) 2016-10-12 10:59:37 +09:00
nbhargava 744f145069 yarn --help now equivalent to yarn help (#765)
- Makes help flag more idiomatic
- Fixes #740
2016-10-12 10:58:40 +09:00
dalmaer e93bc91516 out dated comment: no more kpm/fbkpm (#745) 2016-10-12 10:57:36 +09:00
Sergey Rubanov 22d0ac99bc Add info for yarn why command (#741)
* add info for `yarn why` command

* add more error messages
2016-10-12 10:57:07 +09:00
Vu Tran 126d8c21f5 use https protocol in docs link (#719) 2016-10-11 13:01:52 -07:00
Vlad Filippov 742cf8d42d fix typos: git and git-fetcher to use proper archive (#672) 2016-10-11 20:05:10 +01:00
Victor Szeto 5758441e27 Show the units of yarn clean saved size (#659)
Include 'MB' in cleanSavedSize message.
2016-10-11 20:04:49 +01:00
Sam Saccone b880d403ed Respect ignore engines flag. (#647)
Fixes #638
2016-10-11 19:58:53 +01:00
Alican Çubukçuoğlu e16953540b Quote command so paths with whitespace work (#663) 2016-10-11 18:58:44 +01:00
Brian Ng fc4ca7fe23 fix typo: enoguh -> enough (#618) 2016-10-12 01:05:41 +09:00
azu fbe848585d fix typo: self-udpate => self-update (#608) 2016-10-12 00:47:45 +09:00
Sebastian McKenzie b008cbb112 fix lint 2016-10-11 13:43:28 +01:00
Sebastian McKenzie 28c49a62f5 Add npm_config_ and npm_package_ lifecycle env variables - fixes #399 (#596) 2016-10-11 13:42:03 +01:00
Sebastian McKenzie be9ed5562f allow proxy to be specified via yarn/npm config (#594) 2016-10-11 13:00:01 +01:00
Sebastian McKenzie 855fc0deb6 fix lint 2016-10-11 12:47:30 +01:00
Sebastian McKenzie 41798a50fa properly resolve global bin folder (#593) 2016-10-11 12:44:07 +01:00
Sebastian McKenzie c4654ce70c use yarn name in cli header 2016-10-11 12:22:45 +01:00
Sebastian McKenzie 057b78bfe4 Change .yarn cache directory name (#592) 2016-10-11 12:19:32 +01:00
Sebastian McKenzie 5034ac53e9 remove unlink alias 2016-10-11 12:18:49 +01:00
Sebastian McKenzie 82c4b4a245 make yarn link work the same as npm (#591) 2016-10-11 12:12:56 +01:00
Christoph Pojer 4fb5dbc290 Less confusing subcommand error messages. (#590) 2016-10-11 17:51:02 +09:00
Christoph Pojer 50f31337b2 Make yarn why not crash. (#586) 2016-10-11 15:36:10 +09:00
Daniel Lo Nigro 3378a5614e yarn init shouldn't fail if directory is a Git repo with no remote called "origin" (#585) 2016-10-11 15:18:24 +09:00
Christoph Pojer b8d9e17e35 yarn global bin + README update. (#583)
* Add `yarn global bin`.

* README updates.
2016-10-11 14:19:13 +09:00
Sebastian McKenzie 44b873480b correctly handle deduped flattened patterns - fixes #435 (#567) 2016-10-10 13:39:51 +01:00
Sebastian McKenzie 3f03aa4bf8 remove artifacts 2016-10-10 13:29:48 +01:00
Sebastian McKenzie 848f655e0d fix optional dependencies - fixes #525 (#566) 2016-10-10 13:23:45 +01:00
Sebastian McKenzie b2cf6771bd don't link a bin if it doesn't exist 2016-10-10 13:15:48 +01:00
Sebastian McKenzie 82b77a546e defer execution of git commands until after yarn publish and make it more resillient to errors - fixes #473, fixes #477 (#565) 2016-10-10 13:02:50 +01:00
Sebastian McKenzie 3d7f112c66 add support for files field - fixes #515 (#564) 2016-10-10 11:11:16 +01:00
Sebastian McKenzie a5e22988f7 fix lint 2016-10-10 11:10:20 +01:00
Sebastian McKenzie d59ae0d070 create package root after removing in yarn cache clear - fixes #550 (#563) 2016-10-10 10:56:43 +01:00
Daniel Lo Nigro 4f60e6a3e9 Group packages by license text in "yarn licenses generate-disclaimer" (#552) 2016-10-10 10:53:11 +01:00
Sebastian McKenzie d564e57c02 add team command (#562) 2016-10-10 10:52:46 +01:00
Konstantin Raev 91a1ec374f fixed a few tests and lints (#559)
* fixed a few tests and lints

* fixes after @zertosh review
2016-10-10 10:51:34 +01:00
Sebastian McKenzie 50d60fe037 Use our mirror of the registry rather than the existing one (#557) 2016-10-09 19:58:09 +01:00
Daniel Lo Nigro f2858f5a5b Store cache in LocalAppData rather than AppData (#554) 2016-10-09 11:39:16 +01:00
Daniel Lo Nigro d5a95766e6 Don't use colons in HAR file name (#553) 2016-10-09 11:38:50 +01:00
Daniel Lo Nigro 5ec32c1b52 Fix CLI documentation link 2016-10-08 15:47:41 -07:00
Sebastian McKenzie d3e3433ce2 remove kpm name (#546) 2016-10-07 15:15:48 +01:00
Sebastian McKenzie 54dd6cb49f add back prepublish lifecycle script - fixes #542 (#545) 2016-10-07 11:45:38 +01:00
Christoph Pojer 7f2d97ce74 Expand why command. (#544) 2016-10-07 11:23:58 +01:00
Christoph Pojer 46ef8b9e5b CLI polish. (#539)
* Add link to website for every error that is thrown.

* Add support for `yarn outdated [list of packages]`

* Don’t throw invalid arguments error when `yarn install <package>` is given. We already log an error and show the right command.

* Add `bin` command because it seems like something people might use.

* Update install command.

* Rename file.
2016-10-07 11:23:45 +01:00
Sebastian McKenzie 2812f05b30 Add missing ls commands (#535)
* fix lint

* add unlicense

* add missing ls commands - fixes #529, fixes #530

Signed-off-by: Sebastian McKenzie <[email protected]>
2016-10-06 16:17:39 +01:00
Christoph Pojer 1e92791d1f yarn help updates; rename dist-tag to tag. (#528) 2016-10-06 09:20:08 +01:00
Sebastian McKenzie 0e20172234 add yarn version to engines - fixes #522 (#527) 2016-10-06 08:39:28 +01:00
Daniel Lo Nigro 49ba81895d Tweaks to progress bar: (#526)
- Decrease width by 1 to account for the fact that some terminals need an extra character for the cursor
 - When re-rendering, just go to the start of the line rather than clearing the line. This prevents flicker
2016-10-06 15:20:39 +09:00