Commit Graph

13 Commits

Author SHA1 Message Date
Emanuele Tamponi
cfff22fbc6 fix: on the client, throw with the actual error message (#18)
* fix: on the client, throw with the actual error message

* test: ensure that error message is correctly sent

* fix: deliver all fields of the error to the client

* fix: do not enumerate all the fields of error
2018-02-22 17:18:07 +02:00
Emanuele Tamponi
5032e860cb feat: flag to ignore upload requests (#15)
* feat: flag to ignore upload requests

* fix: return 403 if trying to upload and it is disabled
2018-01-23 19:44:36 +02:00
Emanuele Tamponi
25fdcb23c1 feat: side effects cache (#13)
* feat: add upload method to the server store controller

* chore: add .idea to .gitignore

* fix: new upload signature

* fix: lock upload in the server to make sure it is sequential

* fix: delete lock also on failure

* fix: s/nodeVersion/engineName/

* fix: add verifyStoreIntegrity option

* fix: update dependencies

* test: upload side effect cache

* test: fix as per review

BREAKING CHANGE:

implements new store controller interface
2018-01-21 19:18:29 +02:00
Zoltan Kochan
bf9bdbfee2 feat: stopping the server
ref pnpm/pnpm#960
2018-01-16 21:16:17 +02:00
Zoltan Kochan
c019b989e7 perf: avoid redundant requests to get manifests
BREAKING CHANGE: not compatible with prev routers
2018-01-02 01:15:05 +02:00
Emanuele Tamponi
112366fd16 feat: use http over local domain socket for communication 2017-12-19 23:01:21 +02:00
Zoltan Kochan
9e6fa87e9b feat: use new package store interface 2017-12-13 02:06:26 +02:00
Zoltan Kochan
efa822fd01 feat: use store controller instead of just package-requester
BREAKING CHANGE: API change
2017-12-11 01:34:19 +02:00
Zoltan Kochan
c3d29f3cd7 refactor: close client connection via close() function 2017-12-09 20:39:19 +02:00
Zoltan Kochan
019931da8f feat: returning the finishing param in PackageResponse object 2017-12-09 20:24:15 +02:00
Zoltan Kochan
69a397da49 feat: export both the server and connector 2017-12-09 20:17:03 +02:00
Zoltan Kochan
c01634cf27 refactor: use @pnpm/package-requester version 0.4.0 2017-12-09 20:03:49 +02:00
Zoltan Kochan
5421534041 feat: create
ref https://github.com/pnpm/pnpm/issues/832
2017-12-09 18:52:20 +02:00