Commit Graph

25 Commits

Author SHA1 Message Date
Zoltan Kochan
1f37f18ab4 fix(install): local subdependencies are installed
PR #332
2016-08-30 21:36:13 +03:00
Zoltan Kochan
b19369407a fix: don't use ! as a delimiter in the store
! can be part of a valid npm package name. Use + as a
delimiter instead.

close #276, PR #320

BREAKING CHANGE:

Stores created with the ! delimiter are not compatible
with the new version that uses +.

Any store created by older versions of pnpm has to be
removed and reinstalled.
2016-08-28 15:33:07 +03:00
Zoltan Kochan
1f38086088 feat: support the npm fetch-* configs
Use the retry package to support all the different
retry strategy configurations that can be used with npm:

fetch-retries
fetch-retry-factor
fetch-retry-mintimeout
fetch-retry-maxtimeout

More info about the configs: https://docs.npmjs.com/misc/config#fetch-retries

close #317, PR #327
2016-08-27 21:37:00 +03:00
Zoltan Kochan
2e93a1e4c4 refactor: create a separate instance of got for each install 2016-08-27 15:01:29 +03:00
Andrey Popp
549ebe0cd3 fix(install): fix installing local scoped pkgs
Previously name of the archive created by `npm pack` was guessed incorrectly for
scoped packages.

Now we instead parse output from `npm pack` which prints tarball filename.

Closes #325, PR #326
2016-08-26 23:01:32 +03:00
Zoltan Kochan
9bc97e76d4 style: use more ES6 syntax
Use lebab to transpile ES5 code to ES6.
Use eslint to fix styling issues afterwards.
Run all js in strict mode to allow let/const
in Node 4.
2016-08-23 21:12:01 +03:00
Zoltan Kochan
aea94fdde0 Use cross-spawn instead of child_process in all places
cross-spawn has better Windows support
2016-08-13 14:56:29 +03:00
Zoltan Kochan
0b1264a372 Uninstall support
close #144
2016-08-07 14:31:33 +03:00
Zoltan Kochan
d09d106af4 Add Windows CI via AppVeyor
close #258
2016-07-23 04:07:05 +08:00
Zoltan Kochan
32ef49b76b Support installing from files
close #21
2016-07-17 13:53:44 +03:00
Andrey Popp
de870c56b9 feat(resovle): resolve hosted github packages 2016-05-12 13:41:50 +03:00
Rico Sta. Cruz
a46329f420 Fix lint errors 2016-02-03 07:22:57 +08:00
Rico Sta. Cruz
5026bbb49c Use npm's resolution algorithm 2016-02-03 07:18:06 +08:00
Adam Byrne
fc8346b2ae Retry npm registry package resolving when 404s
Some registries do not support filtering metadata requests
by adding a semver suffix to the uri. If this is the case
we will get a 404, so we fetch the metadata for all versions
of the package and resolve the correct version on the client
side.
2016-02-01 22:42:13 +00:00
Rico Sta. Cruz
b7b84b395d Use '#' as a separator for tarball hashes 2016-02-01 04:48:12 +08:00
Rico Sta. Cruz
a5122e7bf8 Fix concurrency logging 2016-02-01 03:46:25 +08:00
Rico Sta. Cruz
edc607ead5 Change config store format 2016-02-01 03:16:45 +08:00
Rico Sta. Cruz
0982186f40 Log queued resolutions 2016-02-01 02:50:16 +08:00
DaveJ
2b3262c47f Support for the --save and --save-dev flags (including scoped) 2016-01-31 16:17:15 +00:00
Rico Sta. Cruz
36769662e3 Work around scoped module limitations 2016-01-31 00:57:10 +08:00
Rico Sta. Cruz
8e709742cc Simplify registry resolution 2016-01-31 00:48:46 +08:00
Rico Sta. Cruz
715a71aa17 Allow custom registries 2016-01-31 00:34:20 +08:00
Rico Sta. Cruz
832c845139 Implement tarball resolutions 2016-01-30 22:16:55 +08:00
Rico Sta. Cruz
b76dced367 Improve version data logging 2016-01-30 21:42:09 +08:00
Rico Sta. Cruz
723f0bed3e Refactor npm resolution 2016-01-30 21:21:09 +08:00