29 Commits

Author SHA1 Message Date
Daniel Tschinder b584b4f089 Fix self-update (#676)
* Fix self-update

Pick the correct file to download in self-update
We cannot rely that the first asset is always the tar file
This picks the correct file from the assets

Use dev version of roadrunner and reset it correctly

Enable self-update tests

* Remove github resolving from self-update

* Fix tests.

* Update roadrunner and fix tests

* Increase test timeout to 3 minutes

* disable test because to slow on circleCI
2016-10-17 15:55:45 +01:00
Sebastian McKenzie 40490c25f5 +x on bin/yarnpkg 2016-10-15 20:58:22 +01:00
Sebastian McKenzie 6040f50549 add bin/yarnpkg 2016-10-15 20:08:03 +01:00
Sebastian McKenzie b642846f98 remove symlink 2016-10-11 16:19:05 +01:00
Daniel Lo Nigro f1adbc6da5 Make yarn a symlink to yarn.js 2016-10-10 12:01:13 -07:00
Joel Marcey 953c238514 Add bin/ to the wrapper script commmand in bin/yarn
`
2016-10-10 11:50:33 -07:00
Daniel Lo Nigro 2010f7d0c1 Rename yarn back to yarn.js as a bunch of things still rely on it being called yarn.js. Add a wrapper shell script instead. 2016-10-10 10:40:05 -07:00
Sebastian McKenzie 453d396235 Tarball install (#568)
* rename yarn package to yarnpkg

* add install-latest script
2016-10-10 14:38:02 +01:00
Sebastian McKenzie 2465450060 put roadrunner cache in ~/.yarn - fixes #517 (#518) 2016-10-05 18:31:40 +01:00
Sebastian McKenzie 080d7a35b3 prune tag from node version when checking bin/yarn compatibility - fixes #511 (#512) 2016-10-05 15:18:16 +01:00
Daniel Lo Nigro 55d7acdb90 Add batch file (yarn.cmd) for executing Yarn on Windows. 2016-10-04 11:40:53 +01:00
Sebastian McKenzie e45eecbeb6 use roadrunner for caching node module resolution (#446) 2016-09-26 18:48:52 +09:00
Andres Suarez 0893d6bf83 Misc stylings (#409)
* Remove non-existent file from eslintignore

* Fix file case

* Use as consistent style as possible in non-transpiled files
2016-09-22 09:59:00 +01:00
Sebastian McKenzie 6820fb2d33 Rename kpm to yarn (#362) 2016-09-20 15:03:11 +01:00
Sebastian McKenzie 46e8be5a9b remove patents and facebook license headers 2016-09-16 20:27:37 +01:00
Sebastian McKenzie fe33d41c76 Rethrow last module not found error when we fail to load bin/kpm - fixes #300 2016-09-08 04:02:35 +01:00
Sebastian McKenzie 5300b482c8 Cleanup workflow (#281)
* Rename --quick-sloppy flag from `kpm check` to --integrity

* Make --save implicit when installing new modules, remove strict lockfiles, always create updated lockfile and populate tarball cache

* Add integrity hash check to `kpm install`

* Update kpm.lock

* remove incorrect assert messages

* split up package resolving and fetching

* update kpm.lock

* clean up activityStep, move back cursor at end to cover worker lines - fixes #262

* use fake jest timers

* remove old test

* add mocks to jest test ignore

* fix test fixture lockfile

* Add lockfile version header - fixes #280

* split up `kpm install` into `kpm add` - closes #284

* fix lint

* fix using `latest` tag when adding new dependencies - fixes #263

* clean up kpm entry files

* add useless `kpm version` command

* rename config.js to Config.js

* remove Makefile and switch to simple npm scripts

* add more flow-typed definitions

* correctly case Config file

* fix misc lint

* fix type annotation of PackageConstraintResolver#reduce

* fix bin/kpm nits and unused variable

* use dashed filenames instead of camelcase

* move add command fixtures to separate folder

* hoist common-mirror test folder
2016-09-06 16:36:48 +01:00
Konstantin Raev d643e4850f Feature: self updating command that downloads kpm releases from github 2016-08-26 12:18:58 +01:00
Adam Miskiewicz c9b3b8775f Make node-gyp executable 2016-08-24 17:53:19 -07:00
Sebastian McKenzie 7b4d7c8fd2 Switch to Facebook code style - closes #172 2016-08-16 23:05:13 +01:00
Sebastian McKenzie ec762e653d fix cli reference in bin/kpm 2016-06-23 10:57:05 +01:00
Sebastian McKenzie d9aebcdb24 fix index reference 2016-06-22 12:20:55 +01:00
Sebastian McKenzie 8300438761 suppress lint 2016-06-22 10:04:42 +01:00
Sebastian McKenzie a074bd908c update node version checks to throw on node <4 2016-06-22 04:25:07 +01:00
Sebastian McKenzie 031da73377 clean up dist make task, rename fbkpm bin to kpm 2016-04-13 20:33:23 +01:00