Commit Graph

124 Commits

Author SHA1 Message Date
Zoltan Kochan
ef3182f3ba feat: defaultTag added to requestPackage options 2018-01-28 01:59:35 +02:00
Zoltan Kochan
1725751a9d chore(release): 0.15.2 package-store/0.15.2 2018-01-25 21:22:11 +02:00
Zoltan Kochan
f1a8ac2b17 docs(license): update years 2018-01-25 21:21:57 +02:00
Zoltan Kochan
36aceb93ff chore(deps): update shrinkwrap.yaml 2018-01-25 21:21:39 +02:00
Emanuele Tamponi
49a501168c fix: mkdirp staging dir in reflinkPkg 2018-01-25 21:04:53 +02:00
Zoltan Kochan
236a1dc5d4 chore(release): 0.15.1 package-store/0.15.1 2018-01-20 19:17:44 +02:00
Zoltan Kochan
99f9dc70c7 fix: update @pnpm/package-requester 2018-01-20 19:17:40 +02:00
Zoltan Kochan
b586ffb33d chore(release): 0.15.0 package-store/0.15.0 2018-01-20 18:25:59 +02:00
Zoltan Kochan
7f227b402f chore(release): 0.14.1 package-store/0.14.1 2018-01-20 17:54:10 +02:00
Emanuele Tamponi
25d48bf182 feat: side effects cache (#21)
* chore: fix shrinkwrap and add .idea to gitignore

* feat: add upload method to the store controller

* fix: do not upload again if another upload is in progress

* fix: new upload signature

* fix: always use staging, assume upload is called sequentially

* fix: use rename-overwrite

* fix: the cache depends on more things

* chore: work in progress (broken): create integrity.json

* fix: disable code that is not working for now

* fix: rename subdir to 'package'

* feat: update @pnpm/package-requester to version 0.6.4

* refactor: remove integrity generation code for now

* refactor: remove unused import

* fix: guarantee unique stage folder

* refactor: remove unused import
2018-01-20 17:51:41 +02:00
Emanuele Tamponi
23704b29a3 chore: fix shrinkwrap and add .idea to gitignore 2018-01-16 21:12:46 +02:00
Zoltan Kochan
5569505e37 chore(release): 0.14.0 package-store/0.14.0 2018-01-09 01:18:46 +02:00
Zoltan Kochan
a8ab96c464 chore(release): 0.13.2 package-store/0.13.2 2018-01-09 01:09:19 +02:00
Zoltan Kochan
2011d7489b feat: add importPackage() to storeController
ref https://github.com/pnpm/supi/pull/34
2018-01-09 01:05:45 +02:00
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