Zoltan Kochan
42fd08d601
fix: compilation
2020-05-14 18:02:24 +03:00
Zoltan Kochan
6a8a97eee9
fix: update typescript to v3.9
2020-05-14 17:02:23 +03:00
Zoltan Kochan
906465529a
style: reformat multiline unions
2020-05-14 14:30:09 +03:00
Zoltan Kochan
45fdcfde2e
feat!: remove locking of node_modules
...
close #594
PR #2553
2020-05-14 03:10:03 +03:00
Zoltan Kochan
083d789689
docs: add changeset
2020-05-13 20:19:20 +03:00
Daniel
7b485c61e0
fix: allow referencing packages not under the directory containing pnpm-workspace.yaml
...
PR #2532
2020-05-13 20:11:58 +03:00
Zoltan Kochan
c75a921e36
style: no trailing commas in functions
2020-05-12 19:00:16 +03:00
Zoltan Kochan
2ea003aa8a
chore(release): 5.0.0-alpha.6
v5.0.0-alpha.6
2020-05-11 22:22:23 +03:00
Zoltan Kochan
9fbb74ecb5
feat!: reduce nesting in the virtual store
...
PR #2546
2020-05-11 21:31:21 +03:00
Zoltan Kochan
7179cc560b
perf(modules-cleaner): don't use fs-vacuum
2020-05-10 16:34:33 +03:00
Zoltan Kochan
4cc0ead242
fix(deps): update replace-string
2020-05-10 14:55:53 +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
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