Zoltan Kochan
cf701c64d0
refactor: store has .close() instead of saveStateAndClose()
...
BREAKING CHANGE:
API change
2017-12-13 02:00:32 +02:00
Zoltan Kochan
1044447948
refactor: use StoreIndex type from @pnpm/types
2017-12-10 22:55:56 +02:00
Zoltan Kochan
ea8f32bc6c
refactor: move pkgIdToFilename logic out
...
BREAKING CHANGE: API change
2017-12-10 22:51:19 +02:00
Zoltan Kochan
8c316ee0e1
refactor: move pkgIsUntouched logic out
...
BREAKING CHANGE: API change
2017-12-10 21:18:02 +02:00
Zoltan Kochan
ecf21c630a
feat: move store controlling logic out of supi
...
ref https://github.com/pnpm/pnpm/issues/832
2017-12-10 19:36:19 +02:00
Zoltan Kochan
8a7dee3048
refactor: rename storeController.ts to storeIndex.ts
2017-12-10 01:42:21 +02:00
Zoltan Kochan
78968aa8e9
refactor: move most of the logic to @pnpm/package-requester
...
BREAKING CHANGE:
most of the API functions/types removed
2017-12-04 23:34:00 +02:00
Zoltan Kochan
3ee5420e7b
Moving resolution/fetching logic to separate packages ( #14 )
...
* feat: queueing moved to fetcher
BREAKING CHANGE:
fetch removed from public API
createFetcher added to public API
* feat: using got() only internally
BREAKING CHANGE: got is created in createFetcher()
* refactor: fetcher should not know about store location
* refactor: don't pass got to fetchers
* refactor: use @pnpm/git-fetcher
* refactor: moving auth info reading out from request lib
* refactor: moving tarball downloading to separate package
* refactor: renaming modules
* refactor: rename create resolver/fetcher to combineResolvers...
* refactor: remove redundant types
* refactor: remove loggedPkg from ResolveOptions
* refactor: don't combine resolvers
* refactor: moving specific resolvers/fetchers out
* refactor: remove offline/ignore from FetchOptions
* refactor: storePath moved out from ResolveOptions
* refactor: move auth logic out
2017-12-03 21:53:48 +02:00
Zoltan Kochan
f142e43b07
perf: don't memoize JSON requests
2017-11-28 23:43:56 +02:00
Zoltan Kochan
705e9ba1c0
refactor: move the tarball resolver to separate package
2017-11-28 22:50:37 +02:00
Zoltan Kochan
5aac135ae4
refactor: move the local resolver to separate package
2017-11-28 10:27:01 +02:00
Zoltan Kochan
d816f2d5be
refactor: move the git resolver to a separate package
2017-11-28 01:28:46 +02:00
Zoltan Kochan
e2faaf25fb
refactor: move the npm resolver to separate package
2017-11-28 00:16:59 +02:00
Zoltan Kochan
95a7440d82
feat: parsing of specs (package refs) is be done by the resolvers
...
BREAKING CHANGE:
Just normalizedPref is returned instead of the whole spec object
BREAKING CHANGE:
wantedDependency.pref is expected instead of .fetchSpec
ref https://github.com/pnpm/pnpm/issues/559
2017-11-26 23:32:39 +02:00
Zoltan Kochan
343e7f2c6d
feat: parse specs
...
BREAKING CHANGE:
Expects raw spec, not parsed spec objects
2017-11-26 00:28:51 +02:00
Zoltan Kochan
b6be6c8218
fix: some file should be ignored on download
2017-11-24 01:12:43 +02:00
Zoltan Kochan
0e21b36ec9
fix: some files should be ignored on download
2017-11-24 00:22:53 +02:00
Zoltan Kochan
b87b9116b6
feat: allow to ignore some of the files of the package
2017-11-23 23:52:34 +02:00
Zoltan Kochan
a3881581f1
fix(git): use "master" when gitCommittish not set
2017-11-19 02:30:28 +02:00
Zoltan Kochan
7a76fc0867
feat: fetch always returns the package's latest version as well
2017-11-13 00:41:22 +02:00
zkochan
9e6dbe6333
refactor: use PackageJson from @pnpm/types
2017-11-11 23:22:53 +02:00
zkochan
023c306974
refactor: use pnpm-logger instead of @pnpm-logger
...
BREAKING CHANGE: peerDependencies changed
2017-11-10 21:33:07 +02:00
zkochan
8dba0addb0
feat: move log types from pnpm-logger
...
BREAKING CHANGE:
depends on pnpm-logger@0.7
2017-11-09 00:44:40 +02:00
zkochan
ea0d1f9c9a
style: fix
2017-11-06 22:50:11 +02:00
greenkeeper[bot]
69315d0fe7
fix(package): update @types/node to version 8.0.34
...
close #5
2017-10-17 10:19:17 +03:00
greenkeeper[bot]
b7686ccd7e
fix(package): update @types/node to version 8.0.34
2017-10-17 10:10:07 +03:00
zkochan
f42247345d
feat: using just credentials-by-uri instead of the whole npm
2017-10-04 23:56:44 +03:00
zkochan
eb9dd5cd0d
feat: try to use store from same disk
...
Ref https://github.com/pnpm/pnpm/issues/712
2017-09-30 18:11:53 +03:00
Unknown
d2d1a0d150
feat: add a default value for concurrency
2017-09-12 01:50:48 +03:00
Unknown
18f4430f26
feat: add resolveStore()
2017-09-12 01:39:36 +03:00
zkochan
c9b3b308fb
feat: export resolve()
2017-09-10 23:53:23 +03:00
zkochan
31bfce0f52
feat: specify for which tarball interity check failed
...
Ref https://github.com/pnpm/pnpm/issues/872
2017-09-08 21:38:52 +03:00
zkochan
b80adb599c
feat: track attempts during re-download
2017-09-08 21:18:42 +03:00
zkochan
c8691caa1d
feat: retry tarball downloads on fail
2017-09-08 21:18:42 +03:00
zkochan
02d33f6877
fix: validate content length of downloaded tarballs
...
Ref https://github.com/pnpm/pnpm/issues/423
Close #2
2017-09-08 21:18:32 +03:00
Zoltan Kochan
1d7551da04
feat: log download progress of big tars
...
Ref https://github.com/pnpm/pnpm/issues/879
2017-09-06 02:41:09 +03:00
Zoltan Kochan
83544920f1
refactor: remove progressLogger wrapper
2017-09-03 15:15:39 +03:00
Zoltan Kochan
f1b8989070
fix: installation of tarball from subfolder
...
Ref https://github.com/pnpm/supi/issues/10
2017-08-31 00:20:07 +03:00
zkochan
3ea3a0bd18
perf: allow metafiles to use the last available requests
2017-08-30 02:01:33 +03:00
zkochan
98e5197492
fix: when * spec is specified, install latest version of a package
...
Ref https://github.com/pnpm/pnpm/issues/865
2017-08-01 22:26:03 +03:00
zkochan
fbaab6362a
feat: add verifyStoreIntegrity option
...
Ref https://github.com/pnpm/pnpm/issues/802
2017-07-22 16:49:38 +03:00
zkochan
7e53355b4c
docs: add note about why the whole manifest is downloaded
2017-07-20 01:50:50 +03:00
zkochan
99af09e167
perf: download metadata for top dependecies first
...
Also, prefer to download tarballs before metadata because tarballs
are usually bigger and require more time to be downloaded.
Ref https://github.com/pnpm/pnpm/issues/805
2017-07-20 01:48:29 +03:00
zkochan
edd3fea219
fix: listen the response stream correctly for logging
2017-07-19 01:34:39 +03:00
zkochan
68beb5a05c
refactor: use encode-registry
2017-07-14 23:48:23 +03:00
zkochan
137d961052
feat: requiring pnpm-logger as a peer dependency
...
BREAKING CHANGE:
requiring pnpm-logger as a peer dependency
2017-07-12 00:17:26 +03:00
zkochan
e74d7c2177
feat: init
2017-07-06 00:48:41 +03:00