Commit Graph

14 Commits

Author SHA1 Message Date
Zoltan Kochan
efb8115503 refactor: save to a temp folder
BREAKING CHANGE:

programmatic API changed
2018-02-10 00:07:57 +02:00
Zoltan Kochan
402ef08edd fix: don't try to rename folder after exception 2018-02-03 15:25:46 +02:00
Zoltan Kochan
9af755129c fix: don't unpack to the same folder twice
ref pnpm/pnpm#1015
2018-02-02 00:22:41 +02:00
Zoltan Kochan
9652349580 refactor: use a switch for handling different errors 2018-01-21 01:03:48 +02:00
Mina Nagy Zaki
7cc49b02e8 fix: don't die if cached tarball is corrupted (#4)
* add @pnpm/logger dependency

* test: redownload incomplete cached tarballs

* fix: don't die if cached tarball is corrupted

related to pnpm/pnpm#600
2018-01-21 00:11:24 +02:00
Zoltan Kochan
76bc8c5a99 fix: cancel retries only on auth error 2018-01-07 22:23:37 +02:00
Zoltan Kochan
99d4897c30 fix: retry only on some error types 2018-01-07 18:59:58 +02:00
Zoltan Kochan
e1a40dd192 feat: add default retry options 2018-01-07 17:52:22 +02:00
Zoltan Kochan
75741c1b42 fix: alwaysAuth and strictSsl are optional 2018-01-07 17:16:54 +02:00
Zoltan Kochan
00b9b6f796 fix: use make-fetch-happen instead of npm-registry-client
ref https://github.com/pnpm/pnpm/issues/953
2017-12-08 21:54:57 +02:00
Zoltan Kochan
115edc4726 feat: getting auth configuration 2017-12-03 22:01:31 +02:00
Zoltan Kochan
629623bf1b refactor: offline and ignoreFile are install-level configs
BREAKING CHANGE:

ignoreFile and offline should be specified during init
2017-12-03 13:52:22 +02:00
Zoltan Kochan
7c38643203 refactor: expect pnpm options
BREAKING CHANGE: the format of input params changed
2017-12-03 02:58:24 +02:00
Zoltan Kochan
d6eea20ceb feat: initial 2017-12-02 15:14:57 +02:00