Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
VincentBailly 84f4cc49e2
introduce backfill api (#221)
* introduce api to get package hash

* api for fetch

* fix bug in cache provides

* fetch api takes hash instead of salt

* implement fetch

* memoize package hash

* memoize yarn lock

* fix build

* fix prepublishOnly script

* fix formatting issue

* don't create a new config in the middle of the hashing code

* memoization key for hash is always an absolute path

* make yarn workspaces path unix like

* remove outdated comment

* don't normalize path in tests

* remove useless code in tests

* don't assume that cache folder is absolute

* clearer documentation

* fix path for Windows

* silly change to retrigger PR builds

* make salt optional

Co-authored-by: Vincent Bailly <vibailly@tuta.io>
2020-04-22 13:58:52 +02:00
VincentBailly ddafec6489
introduce eslint (#216)
* add dependencies for eslint

* configure es-lint

* add prettier rules

* exclude all failing rules

* setup git hooks

* fix autofixed linting issues

* run prettier as part of eslint, instead of on the side

* add rule to order imports

* on git hook dont prettify twice ts files

Co-authored-by: Vincent Bailly <vibailly@tuta.io>
2020-04-06 09:39:07 +02:00