Commit Graph

9261 Commits

Author SHA1 Message Date
Zoltan Kochan
a943fc9741 refactor: error message on out of date lockfile 2024-10-07 21:54:50 +02:00
Zoltan Kochan
d994f5178b chore(release): 9.12.1 v9.12.1 2024-10-07 15:08:25 +02:00
Zoltan Kochan
9cfee8f461 fix(publish): it should be possible to publish from a local tgz file (#8618)
close #7950
2024-10-06 13:44:05 +02:00
Zoltan Kochan
4f4e0738cb fix(update): update latest should not update peer dependencies (#8615)
close #6657
2024-10-06 12:07:57 +02:00
Espen Hovlandsdal
6d239de4e6 docs(dependency-path): fix package name in readme (#8614) 2024-10-06 01:43:06 +02:00
Jake
c9ea43cdce fix(windows): splat arguments for pnpx (#8608) 2024-10-05 01:51:04 +02:00
Zoltan Kochan
119fc5bacb chore: update pnpm to v9.12 2024-10-05 01:42:45 +02:00
Zoltan Kochan
3a7e0facd5 chore: ignore vulnerability in not used dependency 2024-10-05 01:40:29 +02:00
Tommy D. Rossi
17b5088d9a fix: maximum call stack size exceeded error related to circular workspace dependencies (#8599) 2024-10-05 01:36:15 +02:00
Khải
51f3ba1df8 refactor: extract some logics from core/install (#8597) 2024-10-04 04:27:27 +02:00
Khải
fb77d4e2fa fix: prevent EBUSY caused by parallel dlx (#8604) 2024-10-04 04:06:58 +02:00
Zoltan Kochan
fc7eed08c5 ci: update lplist location v9.12.0 2024-10-02 13:49:56 +02:00
Zoltan Kochan
5da5e75e08 chore(release): 9.12.0 2024-10-02 12:19:20 +02:00
Zoltan Kochan
d21fd8309d docs: edit changesets 2024-10-02 12:17:44 +02:00
btea
cecc1ecf80 feat: add issues alias to pnpm bugs (#8596) 2024-10-02 12:11:25 +02:00
Zoltan Kochan
d7b9ae5870 fix: installation hanging due to parent peers resolution dead lock (#8584)
This fixes an issue that appeared after merging #8457

close #8570
2024-10-02 12:09:33 +02:00
Zoltan Kochan
add93c4b5e docs: add new sponsor 2024-10-02 01:28:49 +02:00
btea
8080e44a74 fix: pnpm cache view command should specify package name (#8582) 2024-10-01 22:21:06 +02:00
btea
807f2de798 refactor: remove unused parameters (#8593) 2024-10-01 13:35:34 +02:00
Khải
c43386031d refactor: break a long line into multiple lines (#8592) 2024-10-01 13:33:13 +02:00
Khải
81bd9427ad fix: prevent ENOENT caused by parallel store prune (#8586)
* fix: prevent ENOENT caused by parallel `store prune`

Close #8579

* fix: cspell

* test: fix
2024-09-30 02:44:05 +02:00
btea
9797a1e889 refactor: remove useless parameters from the catch statement (#8583) 2024-09-29 12:08:48 +02:00
Khải
b7fb704522 feat(overrides): remove dependencies (#8576)
close #8572
2024-09-28 14:27:13 +02:00
btea
f6e9677e04 feat: outdated command add sort-by option (#8523)
* feat: `outdated` command add `sortField` option
Currently, the default sorting result is a combination of multiple
rules, including sorting by `packageName`, sorting by `SemverChange`,
and sorting by the `current` field.
I wanted to set `sortField` to support configuration of
`name`/`semver`/`current`, but considering that the other two values
do not seem to make much sense except `name`, I
will keep the current situation for the time being.

* feat: add changeset

* fix: format

* chore: update test

* test: update

* fix: update

* refactor: rename to sort-by

* refactor: outdated

* docs: update changeset

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-09-28 02:56:20 +02:00
Khải
3e8a225992 refactor: createVersionsOverrider.ts (#8573)
* refactor: deduplicate code

* refactor: shorten arrow function

* refactor: prefer `extends` over intersection

It's faster to type check

* refactor: `if` in loop
2024-09-27 22:48:37 +02:00
Khải
83681daf57 fix: install packages with incompatible libc (#8569)
close #7362
2024-09-27 22:46:16 +02:00
Khải
59a745d84e chore(issues): these fields are not always filled (#8574) 2024-09-27 03:26:38 +02:00
Colin Casey
25d37f5102 fix(store prune): will not fail if store dir does not exist (#8555)
* fix(store prune): will not fail if store dir does not exist

* fix(store prune): will not fail if store dir does not exist

* refactor: package-store

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-09-26 11:15:59 +02:00
Zoltan Kochan
a5af433782 fix: add help to the cache command 2024-09-25 11:59:56 +02:00
Khải
87a98af40e docs(exec): add more options to exec's help (#8564)
close #8520
2024-09-24 09:44:13 +02:00
Khải
44b8935997 fix(listing): --json shows wrong private (#8541)
close #8519
2024-09-22 02:37:50 +02:00
Federico Panico
9ff7724dd5 close: fix white text on light bg for render-peer-issues (#8526)
Similar issue to https://github.com/pnpm/pnpm/pull/7454
White text on light background for project name.
2024-09-22 02:33:46 +02:00
Matthew Berryman
ce2b420903 fix: incorrect self update command provided (#8544)
close #8543
2024-09-20 12:25:44 +02:00
Zoltan Kochan
7f80c4f156 chore(release): 9.11.0 v9.11.0 2024-09-20 12:21:07 +02:00
Khải
ad1fd64b64 fix(deploy): node-linker=hoisted produces empty node_modules (#8525)
close https://github.com/pnpm/pnpm/issues/6682

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-09-20 03:27:05 +02:00
Khải
24ad47cfb8 refactor: replace array.reduce (#8537) 2024-09-18 04:41:35 +02:00
Zoltan Kochan
0170b0faaf feat: add cache command (#8512) 2024-09-18 04:14:13 +02:00
Khải
f071d00815 refactor: replace forEach with for-loops (#8535)
* refactor: replace `forEach` with `for`-loops

Changes:
* Most `Object.keys(o).forEach` are replaced by `for in`.
* Most `Array.filter(c).forEach` are replaced by `for of` + `if continue`.
* `return` in `forEach` callbacks are replaced by `continue`.

There may be minor improvement to memory footprint as this change would
reduce the creations of temporary arrays and temporary functions.

* fix: return -> continue

* refactor: remove the commented out code
2024-09-18 03:58:25 +02:00
Zoltan Kochan
e50baa8458 fix: don't print a warning when printing packages globally (#8529)
close #4761
2024-09-16 01:09:31 +02:00
Zoltan Kochan
a987579876 docs: add sponsor 2024-09-15 23:34:09 +02:00
Zoltan Kochan
973e884581 docs: remove sponsor 2024-09-13 15:17:29 +02:00
Zoltan Kochan
eeb76cd1d0 fix: deploy with shared-workspace-lockfile=false (#8515)
close #8475
close #8504
2024-09-11 15:32:57 +02:00
Zoltan Kochan
1790f2c683 fix: update vulnerable dependencies 2024-09-10 22:26:11 +02:00
Zoltan Kochan
b5f0e8c418 chore: update dependencies 2024-09-10 21:10:50 +02:00
Zoltan Kochan
1f228b0aee chore: ignore GHSA-9wv6-86v2-598j which is used only in dev deps 2024-09-10 01:49:04 +02:00
Zoltan Kochan
fe996fee1d chore(release): 9.10.0 v9.10.0 2024-09-09 15:43:02 +02:00
btea
201d88eeee test: matchCatalogResolveResult test case (#8309) 2024-09-09 13:00:49 +02:00
Zoltan Kochan
3af07cb839 feat: add an option to list and why to exclude peer dependencies from the output (#8506) 2024-09-08 22:26:33 +02:00
Zoltan Kochan
db420ab592 refactor(cafs): create a separate function for creating index file path (#8508) 2024-09-08 14:43:09 +02:00
btea
681fba52e4 refactor: remove unused parameter (#8505) 2024-09-07 14:07:11 +02:00