9 Commits

Author SHA1 Message Date
Christoph Pojer 17710d52e6 var/let -> const (#505) 2016-10-05 13:05:44 +01:00
Sebastian McKenzie 6820fb2d33 Rename kpm to yarn (#362) 2016-09-20 15:03:11 +01:00
Andres Suarez 355988581a Async function related optimizations (#352)
* Convert unnecessarily async functions into normal ones

* Remove explicit Promise returns from async functions

Returning an explicit Promise from an async function is doing unnecessary extra work, since the resolved/rejected value has to be denested. It's better to just return a value (or throw if it's a rejection).

* Add lint rule no-async-without-await
2016-09-19 10:40:28 +01:00
Sebastian McKenzie 46e8be5a9b remove patents and facebook license headers 2016-09-16 20:27:37 +01:00
Konstantin Raev 7ac72dfa9c fixed lock file (#335) 2016-09-14 15:42:28 +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 7dcbecbee9 makes trunk green (#225)
* makes trunk green

* returned bablerc back

* extracted failing test

* removed package.json test because we need to clear all properties with arrays and this makes the test fail unexpectedly

* case fix
2016-08-19 16:00:49 +01:00
Sebastian McKenzie 7b4d7c8fd2 Switch to Facebook code style - closes #172 2016-08-16 23:05:13 +01:00
Christoph Pojer 223e209177 Update to Jest 14. (#171)
* Move fixtures.

* Update to Jest 14.

* Don’t track temporary files because of permission errors.

* Fix flow errors.

* Use node4 transforms for tests so they work on travis.
2016-07-29 10:57:22 +01:00