10177 Commits

Author SHA1 Message Date
Khải
91aae6c302 fix(config/env): pnpm_config_registry (#10069)
* feat(config): load env `pnpm_config_*`

* fix: `getEnvKeySuffix`

* fix: regex in `isEnvKeySuffix`

* refactor: use regex `+`

* test: parseEnvVars

* feat: read from `opts.env`

* test: load env `pnpm_config_*`

* fix: `types['only-built-dependencies']`

* feat: json and schema (wip)

* feat: json and schema

* test: fix

* feat: override workspace but not CLI

* fix: don't override kebab-case CLI arguments

* test: correct syntax

* docs(changeset): add information

* test: use `pnpm_config_*` env

* fix(config/env): `pnpm_config_registry`

* refactor: replace `if` with `switch`

* docs: remove outdated comment

* fix: eslint

* refactor: use `JSON.stringify`

* fix: use `npm_config_store_dir` for now

* fix(test): do not override pnpm-workspace.yaml

* test: `pnpm_config_registry`
2025-10-14 18:37:26 +02:00
Zoltan Kochan
1bfc105da0 chore(release): 10.18.3 v10.18.3 2025-10-14 11:27:45 +02:00
Zoltan Kochan
4163d22002 chore: ignore vulnerability in verdaccio 2025-10-14 09:54:21 +02:00
Ryo Matsukawa
47295e2d25 fix: handle scoped registry keys in config get (#10082)
* fix: handle scoped registry keys in config get

* Update config/plugin-commands-config/test/configGet.test.ts

Co-authored-by: Khải <hvksmr1996@gmail.com>

* Update config/plugin-commands-config/test/configGet.test.ts

Co-authored-by: Khải <hvksmr1996@gmail.com>

* Update config/plugin-commands-config/test/configGet.test.ts

Co-authored-by: Khải <hvksmr1996@gmail.com>

* chore: add a comment

---------

Co-authored-by: Khải <hvksmr1996@gmail.com>

close #9362
2025-10-14 00:23:08 +02:00
月正海角
6089939e15 fix: sync bin links after injected deps sync (#10064)
* fix: sync bin links after injected deps sync

* test: add integration test for bin sync after scripts

* docs: add changeset for bin sync fix

* style: apply Copilot's suggestion
2025-10-13 15:45:59 +02:00
Khải
7fab2a224d feat(config): load env pnpm_config_* (#10029)
* feat(config): load env `pnpm_config_*`

* fix: `getEnvKeySuffix`

* fix: regex in `isEnvKeySuffix`

* refactor: use regex `+`

* test: parseEnvVars

* feat: read from `opts.env`

* test: load env `pnpm_config_*`

* fix: `types['only-built-dependencies']`

* feat: json and schema (wip)

* feat: json and schema

* test: fix

* feat: override workspace but not CLI

* fix: don't override kebab-case CLI arguments

* test: correct syntax

* docs(changeset): add information

* refactor: replace `if` with `switch`

* docs: remove outdated comment

* fix: eslint

* refactor: use `JSON.stringify`
2025-10-13 14:38:40 +02:00
dependabot[bot]
f3195f0de8 chore(deps): bump the github-actions group with 2 updates (#10085)
Bumps the github-actions group with 2 updates: [pnpm/action-setup](https://github.com/pnpm/action-setup) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `pnpm/action-setup` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v4.1.0...v4.2.0)

Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 14:15:58 +02:00
Ryo Matsukawa
9c65b96f2c fix: preserve version and hasBin for variations packages (#10065)
close #10022
2025-10-13 10:00:56 +02:00
Ryo Matsukawa
a8797c4e59 fix: handle EISDIR error when bin field points to directory (#10080)
close #9441
2025-10-13 10:00:06 +02:00
Ryo Matsukawa
3abd394623 fix: remove pnpm-specific options before calling npm publish (#10077)
* fix(publish): remove pnpm-specific options before calling npm publish

* fix: distinguish boolean and value options when filtering

close #9646
2025-10-12 20:20:48 +02:00
Ryo Matsukawa
270c447017 fix: prevent table width error in pnpm outdated --long (#10050)
close #10040
2025-10-12 19:38:32 +02:00
Ryo Matsukawa
587424f24f fix: config set --location=project with npm-managed settings (#10074)
close #9884
2025-10-12 18:33:23 +02:00
Ryo Matsukawa
eaaf8cb965 fix: match read/write priority when both pnpm-workspace.yaml and .npmrc exist (#10073)
* fix: match read/write priority when both pnpm-workspace.yaml and .npmrc exist

* chore: update help message

close #10072
2025-10-12 15:43:57 +02:00
Khải
8f2e29f8e4 test: fix jest reference error (#10067) 2025-10-11 00:17:50 +02:00
sadan4
986516756c fix(config): fix infinite loop when using pre/post install scripts and verifyDepsBeforeInstall (#10062)
* fix(config): fix loop when using pre/post install scripts and verifyDepsBeforeInstall

If pre/post install scripts were used and `verifyDepsBeforeInstall` was
set to `install` and aforementioned scripts called other pnpm scripts,
pnpm would enter an infinite loop

close #10060

* fix: correct order of priority for reading verifyDepsBeforeRun

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-10-10 18:32:39 +02:00
Zoltan Kochan
a43166624e Merge remote-tracking branch 'origin/main' into v11 2025-10-10 10:01:19 +02:00
Zoltan Kochan
e146e988ea feat: loading ESM pnpmfiles (#9730) 2025-10-10 09:50:21 +02:00
Zoltan Kochan
1b15e45ae9 chore(release): 10.18.2 v10.18.2 2025-10-09 16:56:04 +02:00
Nikita Skovoroda
b9effa2b09 fix: inline ndjson parse with updated deps (#10054)
* chore: inline ndjson parse with updated deps

* docs: add changeset

* refactor: implement CR suggestion

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-10-09 16:27:06 +02:00
Zoltan Kochan
39b728a1be fix: pnpm outdated --long (#10058)
close #10040
2025-10-09 16:18:46 +02:00
Ryo Matsukawa
50a47b0b63 fix: handle EPIPE errors when piping output (#10051) 2025-10-09 15:07:42 +02:00
Zoltan Kochan
06d2160476 feat: allow to specify the max amount of workers used by pnpm (#10056) 2025-10-09 15:07:08 +02:00
Michael Kriese
3d9a3c8c0f fix: use relative bin path for tool installer (#10053)
* fix: use relative bin path for tool installer

Signed-off-by: Michael Kriese <michael.kriese@visualon.de>

* docs: add changeset

---------

Signed-off-by: Michael Kriese <michael.kriese@visualon.de>

close #9715
2025-10-09 15:06:02 +02:00
Zoltan Kochan
2b6100de12 fix: dlx command with minimumReleaseAge set (#10047)
close #9963
2025-10-08 10:56:07 +02:00
Zoltan Kochan
651a27aea4 chore(release): 10.18.1 v10.18.1 2025-10-06 14:13:59 +02:00
Brandon Cheng
a004e37db7 fix: only show save catalog skip warning when using pnpm add (#10041)
close #9662
2025-10-06 14:03:11 +02:00
Zoltan Kochan
8fcdda9e2c fix: setup should create a command shim (#10045)
close #5700
2025-10-06 14:00:36 +02:00
Brandon Cheng
e9d8189b43 chore: add GHSA-ffrw-9mx8-89p8 to ignoreGhsas config (#10043) 2025-10-05 12:29:48 -04:00
Zoltan Kochan
c5e895f657 fix: don't print a warning when --lockfile-only is used (#10044)
close #8320
2025-10-05 02:28:26 +02:00
Brandon Cheng
e2426e7e9b chore: update tar-fs (2.1.3 -> 2.1.4) (#10042) 2025-10-04 23:43:56 +02:00
Zoltan Kochan
bdbd31aa4f chore(release): 10.18.0 v10.18.0 2025-10-02 16:36:27 +02:00
Zoltan Kochan
fddd85bf56 fix: dlx should work with minimumeReleaseAge set (#10038)
close #10037
2025-10-02 16:22:14 +02:00
Ryo Matsukawa
2e07c4f6ff feat: respect minimumReleaseAge in outdated command (#10030)
close #10009

* feat: respect minimumReleaseAge in outdated command

* chore: add changeset

* fix: remove unnecessary 'latest' to '*' conversion in outdated command

* refactor: move publishedBy and matcher creation outside getManifest

* refactor: outdated

* docs: update changeset

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-09-30 18:30:41 +02:00
Zoltan Kochan
2bfbdfc55c fix: errorHander.ts 2025-09-30 16:32:34 +02:00
Zoltan Kochan
6618431aee chore(release): libs 2025-09-29 11:56:00 +02:00
Luis Hebendanz
9b9faa5c24 fix: retry filesystem operations on EAGAIN (#9959)
* fix: retry filesystem operations on EAGAIN

filesystem operations can raise EAGAIN to tell the application to try
again later. This is especially often the case under ZFS.

fix: move wrapped functions to graceful-fs directly

* fix: retry filesystem operations on EAGAIN

* fix: retry filesystem operations on EAGAIN

* fix: indexed-pkg-importer

* test: fix

* docs: add changeset

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-09-29 09:32:43 +02:00
Zoltan Kochan
7d075325b9 Merge remote-tracking branch 'origin/main' into v11 2025-09-28 16:01:58 +02:00
Alexey Khachaturyan
a514bc0997 fix: don't fail with scriptShell set to false (#10023)
close #8748

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-09-28 12:37:46 +02:00
Zoltan Kochan
0e58f873d9 test: skip failing test on Windows 2025-09-28 11:21:30 +02:00
Zoltan Kochan
fb4da0c0ab feat: print a warning if network requests are slow (#10025)
* feat: print a warning if network requests are slow

* feat: print a warning if network requests are slow

add a new setting for fetch tarball speed

* feat: print a warning if network requests are slow

* fix: src/fetch.ts

* docs: add changeset
2025-09-28 11:19:10 +02:00
btea
93fdc73626 fix: correctly apply cleanupUnusedCatalogs when remove pkg (#10005)
close #9993

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-09-28 00:55:43 +02:00
Zoltan Kochan
e304d142a2 fix: compile 2025-09-24 11:37:58 +02:00
Zoltan Kochan
5a0e579df3 chore: update lockfile 2025-09-24 10:52:18 +02:00
Zoltan Kochan
f307b9a130 Merge remote-tracking branch 'origin/main' into v11 2025-09-24 10:51:53 +02:00
Zoltan Kochan
102d5a01dd refactor: rename pkg-doc-filter to pkg-metadata-filter 2025-09-24 10:33:42 +02:00
Zoltan Kochan
63805521f9 test: do not rely on hardcoded port numbers 2025-09-24 08:55:49 +02:00
Zoltan Kochan
55de886750 fix: env remove after symlink-dir update 2025-09-23 18:48:42 +02:00
Zoltan Kochan
66d7bd8401 fix: update symlink-dir to v7 2025-09-23 14:30:47 +02:00
Zoltan Kochan
4a2d87107d refactor: create a separate package for filtering package documents by publish date (#10006) 2025-09-22 22:39:17 +02:00
Zoltan Kochan
f6242c333b chore(release): 10.17.1 v10.17.1 2025-09-22 15:09:34 +02:00