Commit Graph

8483 Commits

Author SHA1 Message Date
Khải
ef3609049f feat(install): use side effect cache when rebuild (#7003)
close #6890
close #6996
2023-08-30 17:14:18 +03:00
Zoltan Kochan
6abd24ef05 chore(release): 8.7.0 v8.7.0 2023-08-26 21:15:19 +03:00
Zoltan Kochan
cb8bcc8df1 feat: resolution-mode is highest by default (#6987)
close #6463
2023-08-26 18:28:50 +03:00
Zoltan Kochan
c8a6ea8ae9 refactor: rename tarball-worker to worker 2023-08-26 17:26:21 +03:00
Zoltan Kochan
e6353f964c perf: fetch directories to CAFS in worker (#6984) 2023-08-26 15:43:32 +03:00
Zoltan Kochan
c1c5eb9aef test: don't use additional verdaccio 2023-08-25 23:55:30 +03:00
Zoltan Kochan
4c959b7122 test: do not finish the workers after each test run 2023-08-25 18:13:41 +03:00
Zoltan Kochan
667891991d test(cafs): fix on Windows 2023-08-25 15:07:05 +03:00
await-ovo
77e24d3415 fix(resolve-dependencies): dedupe deps with the same alias in direct dependencies (#6974)
close #6966
2023-08-25 13:06:45 +03:00
Zoltan Kochan
3fdaf9c60c chore(release): 8.7.0-2 2023-08-25 02:17:35 +03:00
Jacob Ley
d57e4de6dc feat(deploy): apply publishConfig to all packages during deploy (#6943)
When deploying packages, the package.json of the deployed package
(as well as any other locally defined dependencies)
should be treated as if it published, and mutate the package.json
according to `publishConfig` and local `workspace:` dependencies.

close #6693

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-25 02:13:29 +03:00
Martin Jesper Low Madsen
0fd9e6a6c4 fix(store): don't prematurely bail out of adding source files if ENOENT is thrown (#6932)
Broken symbolic links will cause a `stat'-call to throw resulting in an
arbitrary amount of promises that won't get to settle before the index is
returned.

Processing subdirectories in the following iteration in the event loop makes
this consistently reproducible.

---------

Co-authored-by: Martin Madsen <mj@blackbird.online>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-25 00:41:49 +03:00
Zoltan Kochan
f2009d1756 perf: use a worker pool to link packages (#6950)
ref #6808
2023-08-24 20:05:53 +03:00
Zoltan Kochan
ee7fbb0673 chore(release): default-reporter 2023-08-23 18:38:30 +03:00
Zoltan Kochan
fe322b6781 feat(reporting): an option for hiding lifecycle output (#6979) 2023-08-22 21:34:10 +03:00
Nacho Aldama
e0474bc4c3 fix: warn when linking a package with peerDeps (#6956)
close #615
2023-08-22 12:58:38 +03:00
Zoltan Kochan
f432cb11ac fix: don't prefix output for dlx 2023-08-21 17:52:39 +03:00
Zoltan Kochan
bc5d3ceda9 feat(reporting): an option to hide directory location 2023-08-21 17:52:39 +03:00
Zoltan Kochan
f55c468dc0 chore: fix test-pkgs-main script 2023-08-20 00:35:41 +03:00
Zoltan Kochan
9584e5e86d fix(deps): update 2023-08-19 18:13:57 +03:00
Zoltan Kochan
f73eeac067 fix: pnpm why should work without package.json files (#6953) 2023-08-18 04:01:38 +03:00
Nacho Aldama
64bf3c860a fix: override peerDependencies in pnpm.overrides (#6955)
сlose #6759
2023-08-17 19:47:49 +03:00
Nacho Aldama
bf21c9bf3a fix: add support for npm lockfile v3 in import (#6931)
closes #6233

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-17 16:51:30 +03:00
Khải
ce3f1712b2 fix: misleading "command not found" error message (#6952)
It was caused by `which` not working correctly

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-17 16:44:44 +03:00
Anders Kaseorg
512d712540 fix(plugin-commands-patching): leave final newline in patch files (#6905)
The safe-execa library strips the final newline from the command
output by default.  Here it should be left in.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-08-17 15:29:47 +03:00
Nacho Aldama
3ecdab9363 docs: update issue templates to beta yaml format (#6949) 2023-08-16 19:27:10 +03:00
Zoltan Kochan
131c723030 fix: finish tarball worker when use-node-version is set
ref #6938
2023-08-15 06:54:39 +03:00
Zoltan Kochan
9365e68758 chore(release): 8.7.0-1 2023-08-14 17:09:52 +03:00
Zoltan Kochan
b50f0e8b4f ci: allow release of prerelease versions v8.7.0-0 2023-08-14 17:01:14 +03:00
Zoltan Kochan
937b7b7889 chore(release): 8.7.0-0 2023-08-14 16:57:17 +03:00
Zoltan Kochan
58cc58f14f fix: use the new tarball fetcher for fetching node.js (#6938)
ref #6850
2023-08-14 16:27:01 +03:00
Zoltan Kochan
083bbf5907 perf: extract packages in a worker pool (#6850) 2023-08-14 02:07:39 +03:00
await-ovo
41c2b65cff fix: respect workspace alias syntax in pkg graph (#6928)
close #6922
2023-08-10 01:41:10 +03:00
Khải
66423df837 feat: clear error on invalid node version (#6916)
related to #6909
2023-08-10 01:38:06 +03:00
Zoltan Kochan
96e165c7ff perf: improve tarball fetching speed (#6819) 2023-08-09 01:41:28 +03:00
Zoltan Kochan
b4e8b75b67 test(pnpm): fix 2023-08-08 14:54:35 +03:00
Zoltan Kochan
efa465d630 chore(deps): update @types/node to v16 2023-08-08 14:25:32 +03:00
Song Gao
a992cecc0d chore: remove useless async keyword (#6918)
Co-authored-by: Song Gao <songgao@microsoft.com>
2023-08-07 15:19:25 +03:00
Zoltan Kochan
362f41741f chore(release): 8.6.12 v8.6.12 2023-08-06 14:10:47 +03:00
Zoltan Kochan
00d475594b ci: use standalone pnpm to release pnpm 2023-08-06 14:04:37 +03:00
Zoltan Kochan
ecad8a724d fix: install --frozen-lockfile --lockfile-only should work (#6915)
close #6913
2023-08-06 12:17:02 +03:00
Zoltan Kochan
aaefb07d0b fix(list): don't fail on local directory dependencies (#6911)
close #6873
2023-08-05 12:58:03 +03:00
Zoltan Kochan
92f42224c6 perf: do not relink local dependencies (#6895) 2023-08-05 01:03:19 +03:00
Andrew Leedham
ec50dc98cc fix(overrides): filter overrides by intersection instead of subset (#6904)
close #6878
2023-08-04 17:39:43 +03:00
Zoltan Kochan
840b65bda6 perf: report download progress less often (#6906)
ref https://github.com/pnpm/pnpm/pull/6819
2023-08-04 12:33:13 +03:00
Felix Wolfsteller
8a4dac63c3 feat(cli-output): harmonize download progress out (#6902)
When running the CLI, downloads will show their progress,
e.g. `1.12 MB/ 3 MB`, showing only significant digits.

As the output is constantly updated, the length of the line in the
output might constantly change (2.99 -> 3 -> 3.3 -> 3.33), leading
to a visually very noisy display.

close #6901

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-04 04:08:28 +03:00
Khải
c5fbdb55c2 feat: friendlier error message when command not found (#6887)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-08-04 03:18:34 +03:00
Zoltan Kochan
35abeae9fa fix: read lockfile entry for injected deps during resolution 2023-08-03 15:20:35 +03:00
await-ovo
12b0f09768 fix(plugin-commands-patching): patch should works correctly when shared-workspace-file is false (#6889) 2023-08-03 02:53:06 +03:00
Zoltan Kochan
6d697d7c65 chore(deps): update meta-updater 2023-08-02 18:10:14 +03:00