Commit Graph

110 Commits

Author SHA1 Message Date
Zoltan Kochan
5ee24bc2fc fix(deps): update @types/node to v9 2018-01-08 22:35:36 +02:00
Zoltan Kochan
20e9cd3e6c chore(release): 0.13.1 package-store/0.13.1 2018-01-07 19:29:40 +02:00
Zoltan Kochan
e5b2bd19ed feat: networkConcurrency and lockStaleDuration are optional 2018-01-07 19:29:14 +02:00
Zoltan Kochan
48b48e7492 chore(release): 0.13.0 package-store/0.13.0 2018-01-02 00:49:34 +02:00
greenkeeper[bot]
b16f057369 fix(package): update @pnpm/package-requester to version 0.6.0 2018-01-02 00:49:10 +02:00
Zoltan Kochan
fa4915648f chore: remove not needed dev dep 2017-12-16 02:35:32 +02:00
greenkeeper[bot]
a2187b4a31 chore(package): update @types/nock to version 9.1.0 2017-12-14 11:39:17 +02:00
Zoltan Kochan
340fb52965 chore(release): 0.12.0 package-store/0.12.0 2017-12-13 02:02:48 +02:00
Zoltan Kochan
cf701c64d0 refactor: store has .close() instead of saveStateAndClose()
BREAKING CHANGE:

API change
2017-12-13 02:00:32 +02:00
greenkeeper[bot]
5d209a0602 chore(package): update ts-node to version 4.0.0 2017-12-11 23:18:55 +02:00
Zoltan Kochan
bc7bbeaa0f chore(release): 0.11.0 package-store/0.11.0 2017-12-10 23:18:40 +02:00
Zoltan Kochan
464521a329 fix: update @pnpm/package-requester to version 0.5.0 2017-12-10 23:14:36 +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
5c0e452473 chore(release): 0.10.1 package-store/0.10.1 2017-12-06 02:29:48 +02:00
Zoltan Kochan
a6b0fb2425 fix: update dint to version 2.0.0 2017-12-06 02:29:22 +02:00
Zoltan Kochan
a64227301e chore(release): 0.10.0 package-store/0.10.0 2017-12-04 23:37:58 +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
19597b1b6d chore(release): 0.9.0 package-store/0.9.0 2017-12-03 21:54:33 +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
0c85449eda chore(release): 0.8.0 package-store/0.8.0 2017-11-28 23:46:17 +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
a0b55166d7 chore(release): 0.7.0 package-store/0.7.0 2017-11-26 23:40:27 +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
1a485fcda4 chore(release): 0.6.0 package-store/0.6.0 2017-11-26 01:55:08 +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
9c734b5fd3 chore(release): 0.5.5 package-store/0.5.5 2017-11-24 01:13:08 +02:00
Zoltan Kochan
b6be6c8218 fix: some file should be ignored on download 2017-11-24 01:12:43 +02:00
Zoltan Kochan
1fde1e4d3f chore(release): 0.5.4 package-store/0.5.4 2017-11-24 00:22:58 +02:00
Zoltan Kochan
0e21b36ec9 fix: some files should be ignored on download 2017-11-24 00:22:53 +02:00
Zoltan Kochan
8f0191039b chore(release): 0.5.3 package-store/0.5.3 2017-11-23 23:56:25 +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
4e2d880d45 chore(release): 0.5.2 package-store/0.5.2 2017-11-19 02:31:52 +02:00
Zoltan Kochan
a3881581f1 fix(git): use "master" when gitCommittish not set 2017-11-19 02:30:28 +02:00
Zoltan Kochan
acd04ee15e chore(release): 0.5.1 package-store/0.5.1 2017-11-13 00:41:47 +02:00
Zoltan Kochan
7a76fc0867 feat: fetch always returns the package's latest version as well 2017-11-13 00:41:22 +02:00
Zoltan Kochan
28afc143b6 ci: run tests on Node.js 9 2017-11-12 14:45:31 +02:00
zkochan
9e6dbe6333 refactor: use PackageJson from @pnpm/types 2017-11-11 23:22:53 +02:00
zkochan
01ddc01a9a chore(release): 0.5.0 package-store/0.5.0 2017-11-10 21:41:36 +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
039cba8dc8 chore(release): 0.5.0-1 package-store/0.5.0-1 2017-11-09 10:10:54 +02:00
zkochan
c9f50003fc feat: update encode-registry to 1.1.0 2017-11-09 02:24:23 +02:00
zkochan
ad9d2e5034 chore(release): 0.5.0-0 package-store/0.5.0-0 2017-11-09 00:48:47 +02:00