Commit Graph

26 Commits

Author SHA1 Message Date
Zoltan Kochan
8df47638b7 feat: export FetchPackageToStoreOptions 2018-03-11 23:09:19 +02:00
Zoltan Kochan
69f4cfaf34 feat: expose fetchPackageToStore() and getCacheByEngine() 2018-03-10 23:13:43 +02:00
Zoltan Kochan
ee24bcdd4c feat: add updated: boolean to PackageResponse.body
The new field is true when the package's resolution has been
updated.

ref pnpm/pnpm#1054
2018-02-28 01:40:55 +02:00
Zoltan Kochan
a5201cb315 feat: local tarball deps are updated on integrity mismatch
Unlike with remote tarballs, which fail on an integrity mismatch,
local tarballs don't fail, they are just re-unpacked into the
store.

ref pnpm/pnpm#1054
ref pnpm/local-resolver#ef02760e23633f4fb4e80f34f83369f63b93e0a7
2018-02-26 23:00:30 +02:00
Zoltan Kochan
5c25f6bb5b fix: resolve package when skipping fetch
ref pnpm/pnpm#992
2018-02-11 14:24:01 +02:00
Zoltan Kochan
a78c175145 perf: avoid redundant renamings
BREAKING CHANGE:

expects a different fetch function API
2018-02-10 01:36:10 +02:00
Zoltan Kochan
6e112c4cb4 refactor: don't assign an empty object to packageIndex 2018-02-06 01:39:01 +02:00
Zoltan Kochan
f37199a825 chore: update typescript 2018-02-06 01:29:38 +02:00
Zoltan Kochan
98bfc4fe34 fix: package requester accepts defaultTag 2018-01-28 01:41:49 +02:00
Zoltan Kochan
4121bebb6f fix: wait for integrity generation before renaming folder
ref pnpm/pnpm#989
2018-01-21 18:41:06 +02:00
Mina Nagy Zaki
102c47f9fc fix: report package name if fetching fails
related to pnpm/pnpm#600
2018-01-20 20:41:05 +02:00
Emanuele Tamponi
e3e59aaa36 feat: side effects cache (#8)
* feat: return side effects cache if it exists

* fix: do not call method if not necessary, change cache dir

* fix: rename fields as for suggestions

* fix: the condition was incorrect, and add a fs.exists check

* fix: put cache in a subfolder so that we can also have integrity.json

* fix: rename subdir to 'package'
2018-01-20 17:27:18 +02:00
Zoltan Kochan
6f6ed5f4bf refactor: remove redundant option 2018-01-13 18:14:41 +02:00
Zoltan Kochan
5541ce2782 feat: networkConcurrency is optional 2018-01-07 19:25:55 +02:00
Zoltan Kochan
aca7a7b74d feat: substitute dryRun with skipFetch 2018-01-03 18:30:25 +02:00
Zoltan Kochan
05c9648615 feat: dry run request
ref https://github.com/pnpm/pnpm/issues/406
2018-01-02 00:22:50 +02:00
Zoltan Kochan
f66494925b perf: when available, return the manifest immediatly
BREAKING CHANGE:

the format of the PackageResponse has been changed
2018-01-01 20:07:06 +02:00
Zoltan Kochan
eb1d0fe496 feat: add preferredVersions to ResolveOptions
ref https://github.com/pnpm/pnpm/issues/952
2017-12-25 01:31:27 +02:00
Zoltan Kochan
cf27720977 refactor: use StoreIndex from @pnpm/types 2017-12-10 22:59:30 +02:00
Zoltan Kochan
55a193f84a refactor: use @pnpm/pkgid-to-filename 2017-12-10 22:45:11 +02:00
Zoltan Kochan
afd6b6c75c refactor: use @pnpm/check-package
...instead of pkgIsUntouched from package-store
2017-12-10 22:00:16 +02:00
Zoltan Kochan
33dba3e3bd feat: export more types 2017-12-09 19:39:14 +02:00
Zoltan Kochan
88ab543859 refactor: better naming in returned object
BREAKING CHANGE: API change
2017-12-09 19:36:07 +02:00
Zoltan Kochan
eceab26c58 feat: move more options to the shared context
BREAKING CHANGE: API changed
2017-12-09 14:57:49 +02:00
Zoltan Kochan
676dcb0446 feat: expect different Index format from fetchers 2017-12-06 02:31:05 +02:00
Zoltan Kochan
307bd951f0 feat: init 2017-12-04 23:20:38 +02:00