Commit Graph

69 Commits

Author SHA1 Message Date
Zoltan Kochan
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +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
0a65440431 perf: faster integrity verification of the store
If a file in the store was never modified, we are not checking its
integrity.

PR #2876
2020-09-19 23:20:19 +03: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
7f74cd173f fix: always import the package from the store 2020-09-17 04:01:46 +03:00
Zoltan Kochan
86cd72de33 feat(reporter): show the progress of adding pkgs to virtual store
close #2832
PR #2845
2020-09-13 12:12:01 +03:00
Zoltan Kochan
c772f06883 fix: auto selecting of import method
ref #2844
2020-09-11 12:16:33 +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
acc1782c6f style: restrict template expressions 2020-08-27 00:57:58 +03:00
Zoltan Kochan
88e1eaa908 style: use no delimiters in type declarations 2020-08-26 01:42:36 +03:00
Zoltan Kochan
5322cf9b39 style: use nullish coalescing 2020-08-26 01:15:47 +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
a5bb3fec3f refactor(package-store): use PackageFilesIndex type 2020-08-22 02:49:09 +03:00
Zoltan Kochan
a2ef8084fa fix: use the same version ranges across the monorepo 2020-07-30 02:03:07 +03:00
Yao Ding
9a908bc070 feat: print info after install about hardlinked/copied packages in node_moduels/.pnpm
PR #2679
close #2572

Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-07-19 01:35:05 +03:00
Yao Ding
1adacd41ee fix: do not scan non-directories in store directory when pruning store
close #2563
PR #2644

Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-06-21 00:38:48 +03:00
Zoltan Kochan
cc1b43886f fix(deps): update p-limit to v3.0.1 2020-06-06 19:36:42 +03:00
Zoltan Kochan
429c5a560b fix: fall back to copying if linking fails 2020-06-01 19:33:37 +03:00
Zoltan Kochan
802d145fcd feat!: remove independent-leaves=true support
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
cbc2192f10 perf(package-store): don't create dep dir twice 2020-05-21 02:46:38 +03:00
Zoltan Kochan
a5febb9134 feat: add support for side-effects cache in the new content-addressable store
The new content-addressable store should support
side-effects cache.

ref #2470
PR #2562
2020-05-18 10:37:31 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
da091c7114 feat!: remove store state
PR #2542
ref #594
2020-05-10 12:02:46 +03:00
Zoltan Kochan
471149e669 feat!: make the package index file more extendable
Move all the info in the package index file into a "files" property.
This will allow to store more information without breaking changes
in the future.

PR #2541
2020-05-10 12:02:13 +03:00
Zoltan Kochan
9c25848f43 fix: check nlink with BigInt 1
ref #2533
2020-05-08 11:52:47 +03:00
Zoltan Kochan
ecf2c6b7d6 feat: pruning of the content-addressable store
ref #2470
PR #2533

Co-authored-by: Aparajita Fishman <aparajita@aparajita.com>
2020-05-08 03:22:25 +03:00
Zoltan Kochan
9596774f2a perf: reduce directory nesting in the store
Store the package index files in the CAFS.

ref #2521
PR #2527
2020-05-04 23:36:14 +03:00
Zoltan Kochan
f516d266c9 feat: executable are saved into a separate dir
Executables are saved into a separate subdirectory
inside the content-addressable filesystem.

ref #2470
2020-04-27 22:14:12 +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
2f7f87dcf3 perf: run rimraf only if the target temp dir exists 2020-04-25 20:27:47 +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
8cff292476 refactor: directory=>dir
BREAKING CHANGE:
- @pnpm/store-controller-types
2019-11-01 21:48:14 +02:00
Zoltan Kochan
4fc917ebbb feat: rename lockfile-directory to lockfile-dir
ref #2088
PR #2120
2019-10-27 16:18:00 +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
3d8a82c12d fix(deps): update deps 2019-10-11 02:05:43 +03:00
Zoltan Kochan
37aefc97b1 feat: update logger to v3 2019-10-06 13:24:38 +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
47f718d70f fix(deps): use @zkochan/rimraf instead of rimraf-then 2019-08-18 02:40:20 +03:00
Zoltan Kochan
0e4a0948f0 refactor: create and use @pnpm/error 2019-07-27 17:39:27 +03:00
Zoltan Kochan
bcc0fba43f fix: typings 2019-05-31 00:50:12 +03:00
Zoltan Kochan
06dd69511c fix(deps): replace mkdirp with make-dir 2019-05-30 23:21:06 +03:00
Zoltan Kochan
ccebac2883 fix(deps): update write-json-file to v4 2019-05-23 01:28:23 +03:00
Zoltan Kochan
c7a5ad2e70 refactor: move all local types to one place 2019-05-18 01:38:42 +03:00
Renovate Bot
54e7be564a fix(deps): update dependency load-json-file to v6 2019-04-27 21:43:03 +03:00
Zoltan Kochan
c8d98856fa refactor: use includes() instead of indexOf() when possible 2019-04-07 13:08:26 +03:00
Zoltan Kochan
5248dacd84 refactor(deps): remove util.promisify from dependencies 2019-04-06 01:50:36 +03:00
Zoltan Kochan
273386cc8a fix: ignore file duplicates on case insensitive filesystems
PR #1725
close #1685
2019-03-18 01:22:09 +02:00
Zoltan Kochan
c49d4569b8 refactor: move verifyStoreIntegrity to store init function 2019-03-08 20:12:32 +02:00