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
ab662e604f
test: more reliable tests
2020-05-10 00:11:26 +03:00
Zoltan Kochan
3f73eaf0c7
refactor!: rename store to storeDir in .modules.yaml
2020-05-10 00:11:09 +03:00
Zoltan Kochan
a2297f01e6
test: fix store plugin tests
2020-05-09 23:17:36 +03:00
Zoltan Kochan
ec855d54ee
test(installation): use a new store dir for the tests
2020-05-09 23:17:10 +03:00
Zoltan Kochan
2a46c8190f
test(listing): use the current pnpm for fixtures install
2020-05-09 18:18:15 +03:00
Zoltan Kochan
e3990787a1
refactor: NodeModules options renamed to Modules
2020-05-09 02:33:54 +00:00
Zoltan Kochan
b3b201b2aa
ci: run tests only to pkgs concurrently
2020-05-08 22:48:06 +00:00
Zoltan Kochan
624289f617
chore(deps): update
2020-05-08 22:40:48 +00:00
Zoltan Kochan
f0007b077c
ci: cache the verdaccio storage
2020-05-08 21:58:36 +03:00
Zoltan Kochan
ae3cfba425
test: fix tests on Windows
2020-05-08 20:17:24 +03:00
Zoltan Kochan
c47babd520
fix: installation of local dep from different disk
2020-05-08 19:44:31 +03:00
Zoltan Kochan
522f000150
test: fix global tests on Windows
2020-05-08 19:43:39 +03:00
Zoltan Kochan
1506ea834e
test: fix tarball-fetcher tests on Windows
2020-05-08 18:55:26 +03:00
Zoltan Kochan
fb86d17d2f
test: more stable npm-resolver tests
2020-05-08 18:11:13 +03:00
Zoltan Kochan
aa0f2ca786
ci: set Git user
2020-05-08 17:38:01 +03:00
Andrew Powell
74eda7e415
chore(ci): setup windows github action
...
PR #2537
2020-05-08 17:13:17 +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
52c030fa57
refactor: types
2020-05-08 02:09:40 +00:00
Zoltan Kochan
427ae63d74
chore: update changeset
2020-05-06 12:06:03 +03:00
Zoltan Kochan
26cd61c14a
chore(release): v5.0.0-alpha.5
v5.0.0-alpha.5
2020-05-06 12:04:00 +03:00
Zoltan Kochan
0730bb9381
fix: check the existense of a dep at the right dir
...
fixes a performance regression caused by #2531
2020-05-06 02:57:04 +03:00
Zoltan Kochan
7ca9702dc5
chore(release): v5.0.0-alpha.4
v5.0.0-alpha.4
2020-05-06 02:28:35 +03:00
Zoltan Kochan
b5f66c0f2b
perf: less dirs in the virtual store directory
...
Reduce the number of directories in the virtual store directory.
Don't create a subdirectory for the package version. Append the
package version to the package name directory.
close #2521
PR #2531
2020-05-06 02:15:55 +03:00
Zoltan Kochan
c63fac43c3
chore: don't compile when running the _test script
2020-05-06 00:55:20 +03:00
Zoltan Kochan
7852deea3f
perf: use a suffix for exec files in CAFS, not a dir
...
Instead of creating a separate subdir for executables in the content-addressable storage, use the directory where all the files are stored but suffix the executable files with `-exec`. Also suffix the package index files with `-index.json`.
ref #2521
PR #2530
2020-05-05 18:51:29 +03:00
Zoltan Kochan
5bc033c434
perf: keep all the metadata files in the same dir
...
Reduce the number of directories in the store by keeping all the metadata json
files in the same directory.
Previously the metadata file of express would be stored at:
<store>/registry.npmjs.org/express/index.json
Now it will be stored at:
<store>/metadata/registry.npmjs.org/express.json
ref #2521
PR #2529
2020-05-05 18:18:57 +03:00
Zoltan Kochan
b90d7652c2
refactor: types in @pnpm/cafs
2020-05-05 01:58:38 +03:00
Zoltan Kochan
8701d79f6b
chore: add @pnpm/cafs to changeset
2020-05-04 23:39:57 +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
c02cf034e1
test(server): making an actual result deterministic
2020-05-04 02:58:02 +03:00
Zoltan Kochan
1ae66a0dc7
fix(tarball-fetcher): don't create a dir for the tarball
2020-05-04 02:53:28 +03:00
Zoltan Kochan
fea69ffa99
refactor: packageRequester.ts
2020-05-03 18:25:41 +03:00
Zoltan Kochan
b40af1c07c
chore(release): v5.0.0-alpha.3
v5.0.0-alpha.3
2020-05-03 17:44:30 +03:00
Zoltan Kochan
42e6490d18
perf: read the package manifests from the memory, when possible
...
When a new package is being added to the store, its manifest is streamed
in the memory. So instead of reading the manifest from the filesystem,
we can parse the stream from the memory.
PR #2525
2020-05-03 17:38:10 +03:00
Zoltan Kochan
64bae33c4a
fix(deps): update p-queue to v6.4.0
2020-05-03 17:19:42 +03:00
Zoltan Kochan
c7ca6ef3da
chore(npmrc): remove save-exact
2020-05-03 14:49:36 +03:00
Zoltan Kochan
31d18bafb3
refactor(package-requester): use p-defer
2020-05-03 14:48:57 +03:00
Zoltan Kochan
f453a5f46d
fix(deps): update version-selector-type to v3
2020-05-02 23:32:58 +03:00
Zoltan Kochan
7db36dcb34
perf: tarballs are not written to the disk
...
There is no reason to keep the tarballs on the disk.
All the files are unpacked and their checksums are stored.
So the tarball is only used if someone modifies the content of
the unpacked package. In that rare case, it is fine if we
redownload the tarball from the registry.
PR #2523
2020-05-02 22:00:37 +03:00
Zoltan Kochan
7fe6fc8c1a
refactor: cafs
2020-05-02 18:23:03 +03:00
Zoltan Kochan
c207d994f4
fix(deps): update rename-overwrite to v3
2020-05-02 17:57:58 +03:00
Zoltan Kochan
b4fc49b7a0
chore: require pnpm v5 for development
2020-05-02 13:19:04 +03:00
Zoltan Kochan
2b8c3cd353
Revert "chore: require the usage of pnpm v4"
...
This reverts commit 312ff84bdc .
2020-05-02 13:18:39 +03:00
Zoltan Kochan
200adb5a22
Merge branch 'v4'
2020-05-02 13:16:22 +03:00
Zoltan Kochan
6a4f575f38
chore: update lockfile
2020-05-02 13:02:14 +03:00
Zoltan Kochan
57539729e1
chore(release): 4.14.2
v4.14.2
2020-05-02 12:54:22 +03:00
Zoltan Kochan
8ddd51fda3
chore(deps): update
2020-05-02 12:51:30 +03:00