Commit Graph

32 Commits

Author SHA1 Message Date
Zoltan Kochan
691f647137 feat: save the metadata separately from the CAFS (#3578)
ref #2574
2021-07-04 19:35:53 +03:00
Zoltan Kochan
ee1f1d8a10 fix: linking packages with invalid file names (#3232)
close #3229
close #2266
2021-03-11 11:19:51 +02:00
Zoltan Kochan
3f4385b7bb fix: verify the name and version of the package in the store (#3224)
* fix: verify the name and version of the package in the store

ref #3202

* fix: autofix broken lockfile

* docs: add changesets
2021-03-08 21:22:33 +02:00
Zoltan Kochan
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Zoltan Kochan
581f9b20a5 fix: update deps 2021-02-12 11:51:34 +02:00
Zoltan Kochan
3503951d39 perf: don't use graceful-fs and mz/fs (#3129) 2021-02-09 13:44:07 +02:00
Zoltan Kochan
01aecf0386 fix: don't copy file during linking if the target exists 2020-10-26 03:24:11 +02:00
Zoltan Kochan
d94b19b39e fix: import method selection on unknown errors
close #2869
PR #2870
2020-09-18 01:25:02 +03:00
Zoltan Kochan
3165c5fb7d test(package-store): add more tests 2020-09-18 00:36:37 +03:00
Zoltan Kochan
a86209b67f test(package-store): use Jest
ref #2858
2020-09-17 22:54:17 +03:00
Zoltan Kochan
6457562c4e fix: don't retry cloning for each imported pkg
PR #2844
2020-09-11 11:24:07 +03:00
Zoltan Kochan
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
a1cdae3dc7 refactor(npm-resolver): remove options.metaCache 2020-08-17 01:48:12 +03:00
Zoltan Kochan
71aeb9a382 refactor: API of resolvers and fetchers
Instead of creating a separate fetch function for the resolvers
and fetchers, use a single one.

Also, use a single getCredentials function.

close #2652
PR #2655
2020-06-29 17:13:02 +03:00
Zoltan Kochan
da091c7114 feat!: remove store state
PR #2542
ref #594
2020-05-10 12:02:46 +03:00
Zoltan Kochan
b6a82072ea feat!: using a content-addressable filesystem
ref #2470

BREAKING CHANGE:

New global store structure
2020-04-26 15:40:03 +03:00
Zoltan Kochan
5db0295074 perf: use rename-overwrite in importIndexedDir.ts 2020-04-24 22:30:09 +03:00
Zoltan Kochan
bb5d41f337 style: add missing trailing commas and fix the linting rule 2020-01-01 19:18:25 +02:00
Zoltan Kochan
ace67aa4bf refactor: remove prefix from store-controller-types 2019-11-03 14:05:51 +02:00
Zoltan Kochan
76c737d70b feat: rename store config to store-dir
BREAKING CHANGE:
- @pnpm/config
- @pnpm/default-reporter
- @pnpm/default-resolver
- @pnpm/headless
- @pnpm/npm-resolver
- @pnpm/package-requester
- @pnpm/package-store
- supi

PR #2118
ref #2088
2019-10-27 13:18:24 +02:00
Zoltan Kochan
fc0fe15938 refactor: rawNpmConfig=>rawConfig 2019-10-04 01:29:26 +03:00
Zoltan Kochan
ee15125466 feat: use cross-platform solution to clone packages
New config value for package-importe-method: clone

close #1505
PR #2043

BREAKING CHANGE:

reflink is not supported by package-import-method

BREAKING CHANGE:

by default, try to clone packages instead of hard linking
2019-10-03 01:39:48 +03:00
Zoltan Kochan
b456a26f01 refactor: rename fields in fetch response
BREAKING CHANGE: @pnpm/package-requester

PR #2011
2019-09-15 01:04:05 +03:00
Zoltan Kochan
d36103b5ee fix: unhadled promise rejections
PR #2009
2019-09-14 16:03:43 +03:00
Zoltan Kochan
89f5178369 test: add type references to tests 2019-05-19 20:05:11 +03:00
ExE Boss
cfeeab8be0 refactor(npm‑resolver): enable strictBindCallApply
PR #1770

* chore(npm‑resolver): Enable `strictBindCallApply`

* fix(npm-resolver): Correct `resolveNpm` type definition

* fix(local‑resolver): Fix return type

* fix(default‑resolver): Specify return type

* test: Fix dependency on `@pnpm/npm‑resolver`

* fix: revert making fields optional in ResolveOptions
2019-04-12 23:34:32 +03:00
Zoltan Kochan
c49d4569b8 refactor: move verifyStoreIntegrity to store init function 2019-03-08 20:12:32 +02:00
Zoltan Kochan
92e7383d00 style: sort keys 2018-11-15 03:04:37 +02:00
Zoltan Kochan
dd03d96c1a style: fix styles in tests 2018-11-15 01:14:33 +02:00
Zoltan Kochan
246b0fd440 refactor: create @pnpm/store-controller-types and @pnpm/package-store 2018-11-11 02:01:54 +02:00
Zoltan Kochan
a2363f9bf0 refactor: remove getRegistryName() from package-store
BREAKING CHANGE:

package-store does not export getRegistryName()
2018-11-10 16:22:54 +02:00
Zoltan Kochan
2079cd13f4 refactor: move package-store to the monorepo 2018-08-17 23:48:12 +03:00