Commit Graph

10701 Commits

Author SHA1 Message Date
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
03be583af4 chore(release): 0.3.0 default-fetcher/0.3.0 2017-12-06 02:21:52 +02:00
Zoltan Kochan
2c99575011 feat: update fetchers
BREAKING CHANGE:

Return object format changed
2017-12-06 02:21:35 +02:00
Zoltan Kochan
fe3b4b38c9 chore(release): 0.3.0 tarball-fetcher/0.3.0 2017-12-06 00:19:07 +02:00
Zoltan Kochan
82bb74d18f feat: update unpack-stream to version 3
BREAKING CHANGE:

Return object format changed
2017-12-06 00:13:49 +02:00
Zoltan Kochan
7758ba0a3a chore(release): 0.1.0 package-requester/0.1.0 2017-12-05 00:19:42 +02:00
Zoltan Kochan
8c9b25f851 feat: export more types 2017-12-05 00:19:39 +02:00
Zoltan Kochan
026a7f0b57 fix: update package-store to version 0.10.0 2017-12-04 23:44:52 +02:00
Zoltan Kochan
739bc81f6a chore(release): 0.2.0 default-fetcher/0.2.0 2017-12-04 23:43:48 +02:00
Zoltan Kochan
6ff952ef85 feat: return a map of fetchers instead of a function
BREAKING CHANGE:

API changed
2017-12-04 23:42:38 +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
307bd951f0 feat: init 2017-12-04 23:20:38 +02:00
Zoltan Kochan
8f030ed109 refactor: move option type to @pnpm/types 2017-12-04 21:39:47 +02:00
Zoltan Kochan
d3bb3caa3e chore(release): 0.1.0 default-fetcher/0.1.0 2017-12-04 02:38:41 +02:00
Zoltan Kochan
d24fb23f75 feat: init 2017-12-04 02:19:53 +02:00
Zoltan Kochan
4ddbc70cb2 chore(release): 0.3.0 npm-resolver/0.3.0 2017-12-03 22:56:53 +02:00
Zoltan Kochan
335a38fa9d docs: fix readme testing 2017-12-03 22:33:41 +02:00
Zoltan Kochan
47fe2d67e8 refactor: use PnpmOptions as createResolver options types 2017-12-03 22:23:43 +02:00
Zoltan Kochan
4772b19eba chore: remove dest folder before compile 2017-12-03 22:20:53 +02:00
Zoltan Kochan
06a3fd027b feat: add auth logic 2017-12-03 22:19:50 +02:00
Zoltan Kochan
3f9f8c9517 chore(release): 0.2.0 tarball-fetcher/0.2.0 tarball-fetcher/headless/0.2.0 2017-12-03 22:02:18 +02:00
Zoltan Kochan
115edc4726 feat: getting auth configuration 2017-12-03 22:01:31 +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
8172f05879 refactor: add store as an init config 2017-12-03 14:27:32 +02:00
Zoltan Kochan
7070083407 refactor: add metaCache as options 2017-12-03 14:21:16 +02:00
Zoltan Kochan
629623bf1b refactor: offline and ignoreFile are install-level configs
BREAKING CHANGE:

ignoreFile and offline should be specified during init
2017-12-03 13:52:22 +02:00
Zoltan Kochan
b5bed44000 refactor: offline is an installation-level config
BREAKING CHANGE: offline should be set during init
2017-12-03 13:50:54 +02:00
Zoltan Kochan
7c38643203 refactor: expect pnpm options
BREAKING CHANGE: the format of input params changed
2017-12-03 02:58:24 +02:00
Zoltan Kochan
b6805d919f feat: don't rely on getJson() 2017-12-03 02:57:19 +02:00
Zoltan Kochan
998638487f chore(release): 0.1.0 tarball-fetcher/headless/0.1.0 2017-12-02 15:22:57 +02:00
Zoltan Kochan
d6eea20ceb feat: initial 2017-12-02 15:14:57 +02:00
Zoltan Kochan
5d16c14780 chore(release): 0.2.0 npm-resolver/0.2.0 2017-12-02 01:14:16 +02:00
Zoltan Kochan
f0a46ced7d feat: auth info should be passed in
BREAKING CHANGE: resolver should be created first
2017-12-02 01:09:15 +02:00
Zoltan Kochan
bf945814e4 perf: remove unnecessary memoization of json requests 2017-11-29 00:45:34 +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
d6cf2b781f chore(release): 0.1.0 npm-resolver/0.1.0 2017-11-28 00:11:36 +02:00
Zoltan Kochan
bb594331dd docs: add usage example 2017-11-28 00:09:49 +02:00
Zoltan Kochan
96209e7242 feat: create package 2017-11-27 23:59:34 +02:00
Zoltan Kochan
65f257485e refactor: use PackageManifest from @pnpm/types 2017-11-27 23:12:18 +02:00
Zoltan Kochan
7b17368689 fix: update supi to version 0.7.0
ref https://github.com/pnpm/pnpm/issues/559
2017-11-26 23:41:51 +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