105 Commits

Author SHA1 Message Date
Yunxing Dai 934a250b36 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-13 13:28:43 -07:00
Krzysztof Zbudniewek a41ce86f8d Fix test for yarn init --yes (#1005)
Fixes #997.
2016-10-13 16:09:22 +01:00
Bouke van der Bijl 4a5785da3f Add single resolved version to flattenedPatterns instead of patterns (#894) 2016-10-12 19:23:01 +01:00
Rusty Toms 2185bfdd72 increase the timeout for long running tests (#905)
These tests seem to take a long time in mac os
2016-10-12 19:22:32 +01:00
Krzysztof Zbudniewek 04930493ec Add --yes flag to yarn init (#873)
Fixes #637.
2016-10-12 14:07:58 +01:00
Sascha Gehlich 76c8f9ba41 Fix git dependencies with slashes inside branch name (#813) 2016-10-12 07:47:49 +01:00
Ryan Stelly d3a1d85fde #767 add validate license for empty string and show warning (#768) 2016-10-12 10:59:37 +09: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
Konstantin Raev de1d843ba8 fixes reporter test fails (#558) 2016-10-10 09:15:23 +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 <kittens@users.noreply.github.com>
2016-10-06 16:17:39 +01:00
Sebastian McKenzie 25ac76e574 add more reporter tests (#534) 2016-10-06 14:56:37 +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
Sebastian McKenzie c86930e087 let -> const 2016-10-05 16:56:53 +01:00
Christoph Pojer 17710d52e6 var/let -> const (#505) 2016-10-05 13:05:44 +01:00
Sebastian McKenzie 86c98a62a7 Add missing commands (#439)
* add init command - closes #360

* list available commands and examples in cli help - fixes #345

* add outdated command - fixes #379

* rename uninstall command to remove

* add global command - fixes #227

* remove command aliases

* fix licenses not being shown due to integrity check shortcircuiting - fixes #424

* turn aliases back into js

* clean up single instance arguments - fixes #308

* ignore arguments that are included after -- - fixes #251

* add unlink command

* add lint rule against non-language keys

* clean up Config initialisation

* add link command - closes #336

* support array of string engines - fixes #447

* add missing request cache fixtures

* polish link command

* remove gulp file output

* add config command - fixes #378

* add yarn.lock and fix constants

* update aliases

* add missing i18n for CLI

* make `upgrade` command work how you'd expect

* update test metamethod

* require arguments for add command

* move dependency objects into constnats

* add init command - closes #360

* list available commands and examples in cli help - fixes #345

* add outdated command - fixes #379

* rename uninstall command to remove

* add global command - fixes #227

* remove command aliases

* fix licenses not being shown due to integrity check shortcircuiting - fixes #424

* turn aliases back into js

* clean up single instance arguments - fixes #308

* ignore arguments that are included after -- - fixes #251

* add unlink command

* add lint rule against non-language keys

* clean up Config initialisation

* add link command - closes #336

* support array of string engines - fixes #447

* polish link command

* remove gulp file output

* add config command - fixes #378

* add yarn.lock and fix constants

* fix lint, copy test fixtures to temp directory rather than mutating cwd

* fix lint

* add handler for extractor errors

* remove unused jest snapshot

* fix check-lockfile script

* fix lint

* fix check-lockfile

* try and fix test

* properly copy over lockfile scripts folder, ignore ds_store files in test directories

* remove problematic fixtures

* add back problematic fixtures

* disable test
2016-10-05 12:50:44 +01:00
Christoph Pojer fa5e2ba61d Add newlines to toplevel items in the yarn lockfile. Fixes #498. (#500) 2016-10-05 12:17:44 +01:00
Sebastian McKenzie 14fbecdb6f fix CLRF line 2016-10-05 09:38:39 +01:00
Christoph Pojer dbc2706d5a Update to Jest 16. (#488) 2016-10-05 15:03:46 +09:00
Christoph Pojer 58d1f49952 Improved yarn run command. (#493) 2016-10-05 12:43:55 +09:00
Sebastian McKenzie 81b98dfb43 fix line ending 2016-10-04 22:25:34 +01:00
Andres Suarez 91024fe524 Fix lockfile sorting (#497) 2016-10-04 17:06:00 +01:00
Andres Suarez 08625c3eb7 s/normalise/normalize/ 2016-10-04 14:46:11 +01:00
cpojer 9a66392a8d Sort dependency fields in package.json. 2016-10-04 11:13:11 +01:00
Andres Suarez 8417333d0b Fix ignoreLinesToRegex edge cases (#462)
It didn't handle lines with only a `#`, and would let invalid patterns through like `!`.

It also stripped "trailing comments", but that's not a thing in gitignore or npmignore.

Fixes #456
2016-09-30 16:23:15 +01:00
Konstantin Raev 25cb8cebec Fixed circular dependencies resolver (#479)
* fixed circular resolver in install scripts

* fixed more
2016-09-29 18:22:55 +01:00