Commit Graph

810 Commits

Author SHA1 Message Date
Zoltan Kochan
8bec871257 chore(release): 10.13.1 2025-07-09 12:03:18 +02:00
Zoltan Kochan
168a793669 chore(release): 10.13.0 2025-07-09 00:44:17 +02:00
Zoltan Kochan
cf630a8e84 feat: allow to set multiple pnpmfiles (#9702) 2025-07-08 14:54:07 +02:00
Zoltan Kochan
337a110dbc chore(release): 10.12.4 2025-06-26 19:02:39 +02:00
Nico Wang
260f1caff1 fix(#9673): break mutual-wait dead-lock introduced in #8760 (#9675)
close #9673

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-06-26 18:57:51 +02:00
Zoltan Kochan
b511eac107 fix: running an install after the fetch command should hoist all dependencies (#9690)
close #9689
2025-06-25 01:14:45 +02:00
Zoltan Kochan
c76822cd07 chore(release): 10.12.3 2025-06-24 11:55:28 +02:00
Zoltan Kochan
cc6db888d6 fix: hoisting of dependencies after resolution stage (#9686)
close #9685
2025-06-24 11:51:18 +02:00
Zoltan Kochan
5d2308c9aa chore(release): 10.12.2 2025-06-23 02:16:13 +02:00
Zoltan Kochan
b982a0d6dc fix: hoisting with global virtual store (#9648) 2025-06-22 22:03:29 +02:00
Khải
1ccd634f56 refactor: stricter type for mutation (#9680) 2025-06-21 23:00:18 +02:00
Khải
0e596f60b8 refactor: use Object.hasOwn (#9674) 2025-06-20 17:49:28 +02:00
Zoltan Kochan
540986f326 refactor: rename peersSuffix to peerDepGraphHash (#9656) 2025-06-17 02:27:58 +02:00
Nikita Skovoroda
45580ad93d fix: 15% smaller bundle size (#8810) 2025-06-13 22:04:48 +02:00
Khải
983efdc7f1 fix(deploy): overrides contain peer dependencies (#9604)
close #9595
2025-06-10 00:45:55 +02:00
Zoltan Kochan
89bc2c6637 chore(release): 10.12.0 2025-06-08 15:04:58 +02:00
Zoltan Kochan
b217bbb4a7 feat: add a new setting for telling pnpm if the env is CI (#9616)
This is an addition to https://github.com/pnpm/pnpm/pull/8190. The global virtual store isn't a good choice for CI. So, we disable it even if the setting sets `enableGlobalVirtualStore` to `true`.
2025-06-08 15:00:22 +02:00
Brandon Cheng
5ab40c1dee feat: support catalog: protocol on pnpm update (#9517) 2025-06-08 10:26:15 +02:00
Zoltan Kochan
b3898dbb1e fix: take into account the integrities of packages in when calculating the dependency graph hash (#9605)
* fix: take into account the integrities of packages in when calculating the dependency graph hash

* test: fix

* test: fix

* test: fix

* test: fix

* fix: include the package's integirty in the hash as well

* docs: add comment

* perf: hashing deps graph

* fix: deps graph hash

* refactor: calc graph hash

* test: fix

* refactor: calc graph hash

* refactor: rename uniquePkgId to fullPkgId

* docs: add changeset
2025-06-08 01:05:10 +02:00
Brandon Cheng
c2799c6d98 refactor: rework how catalog protocol resolutions are reused (#9590)
* refactor: store result of checking update depth and matching filters

* refactor: rework how catalog protocol resolutions are reused

* maintain existing behavior of skipping over catalog protocol for updates

* refactor: use != null instead of !== undefined
2025-06-07 11:04:08 +02:00
Brandon Cheng
63d1526e77 refactor: compute updatedCatalogs one caller higher (#9611)
* refactor: compute updatedCatalogs one caller higher

* refactor: remove filter functions

* fix: fix boolean condition on `project.updatePackageManifest`

* refactor: use continue more consistently

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

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
Co-authored-by: Khải <hvksmr1996@gmail.com>
2025-06-07 10:16:38 +02:00
Zoltan Kochan
b0ead519b3 feat: global virtual store (#8190)
close #1001
2025-06-03 18:18:58 +02:00
Zoltan Kochan
cecd039cd8 chore(release): 10.11.1 2025-06-02 15:59:40 +02:00
Brandon Cheng
099ac93e08 refactor: use Catalogs config type instead of CatalogSnapshots for updatedCatalogs (#9589)
* refactor: use Catalogs config type instead of CatalogSnapshots

* refactor: create catalogMetadata instead of manually patching snapshots
2025-06-01 23:53:04 +02:00
Brandon Cheng
c56dff75c3 test: ensure catalog resolutions are consistent for dep with peers (#9587) 2025-06-01 23:44:33 +02:00
Brandon Cheng
5d904375aa fix: --lockfile-only flag causes pnpm update to ignore matchers (#9588)
* test: add regression test for `pnpm update --lockfile-only`

* fix: --lockfile-only flag causes pnpm update to ignore matchers
2025-06-01 23:39:54 +02:00
Adam Alston
320f89e724 refactor: delete travis links (#9577) 2025-05-29 12:12:59 +02:00
Zoltan Kochan
7cd0e712df fix: install exiting with 1 exit code and no error message (#9567)
close #9559
2025-05-22 15:26:51 +02:00
martinkors
046af72a96 feat: add new catalogMode setting (#9552)
* feat: add new `catalogMode` setting

Add new `catalogMode` setting for automatically adding new dependencies to
the default catalog.

Closes pnpm#8876, Closes pnpm#8308

* fix: catalogs don't only store semver ranges and versions

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-20 16:47:05 +02:00
Brandon Cheng
e7d0f6cdcf refactor: rename newCatalogs to updatedCatalogs (#9561) 2025-05-20 11:15:41 +02:00
Khải
309a3c612a refactor: remove unnecessary semicolon (#9538) 2025-05-15 13:39:43 +02:00
Khải
93ac21ccd0 refactor: add types to installSome and installCase (#9539)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-15 11:16:22 +02:00
Khải
c8341cca57 feat: pnpm add option to add new entries to catalogs (#9484)
close #9425

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-14 18:32:05 +02:00
Zoltan Kochan
a014bb0e28 test: write settings to pnpm-workspace.yaml instead of .npmrc (#9523) 2025-05-14 15:02:58 +02:00
Zoltan Kochan
789e7235ce chore(release): 10.11.0 2025-05-13 16:01:19 +02:00
Brandon Cheng
28402b9c89 test: fix catalog tests adding dependencies to wrong package (#9514)
* test: ensure dep is added to correct package in pnpm add catalog tests

* test: fix catalog tests adding dependencies to wrong package
2025-05-11 00:11:32 +02:00
Nicolas Le Cam
c24c66e588 fix: don't remove cpu field on subsequent install (#9504)
close #9353
2025-05-09 14:06:43 +02:00
Zoltan Kochan
f0c3ed6781 fix: don't fail with strictPeerDependencies=true if the peerDependencyRules ignore the peer issues (#9505)
close #9449
close #8859
close #7978
close #8382
2025-05-09 11:38:56 +02:00
modten
36d1448c48 feat: add workspace-concurrency cli option for pack and publish command (#9493)
* refactor: set the default `workspaceConcurrency` to `Math.min(os.availableParallelism(), 4)`

* feat(plugin-commands-publishing): add `workspace-concurrency` cli option for pack and publish

* feat(recursive): add support for `recursive pack`

* feat: get default workspaceConcurrency from config package

* test(config): mock cpus to support Node.js 18
2025-05-09 10:30:21 +02:00
Zoltan Kochan
9362b5fb15 fix: updateConfig in pnpm-workspace.yaml should not be ignored (#9501)
* fix: updateConfig in pnpm-workspace.yaml should not be ignored

close #9500

* fix: reading executionEnv from pnpm-workspace.yaml
2025-05-08 12:24:43 +02:00
btea
62029d1794 fix: add command --allow-build option should specify package (#9489)
* fix: add command --allow-build option should specify package

* chore: remove warn

* fix: validating the --allow-build flag

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-07 18:18:39 +02:00
Khải
6627b95cf8 test: correct some assertions (#9494) 2025-05-06 22:14:20 +02:00
Khải
3f70b673bf refactor: add type to action (#9490)
* refactor: add type to `action`

* fix: eslint
2025-05-05 13:46:19 +02:00
Zoltan Kochan
09cf46f67b fix: update @pnpm/logger in peer dependencies (#9466) 2025-04-29 11:52:01 +02:00
Zoltan Kochan
7ab633d94b chore(release): 10.10.0 2025-04-28 01:02:54 +02:00
Zoltan Kochan
a4ba06ddc9 chore(release): 10.9.0 2025-04-21 10:13:38 +02:00
Zoltan Kochan
8a9f3a4835 refactor: rename pref to bare specifier (#9445) 2025-04-20 22:58:08 +02:00
Zoltan Kochan
56bb69b004 feat: dangerouslyAllowAllBuilds allows to enable the build of all dependencies (#9440)
close #9102
2025-04-20 13:13:11 +02:00
Khải
9c3dd03710 feat: add support for the jsr: protocol (#9358)
close #8941

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-04-20 11:51:51 +02:00
Khải
5d7ba81f77 refactor: replace & with interface extends where possible (#9437) 2025-04-18 23:02:25 +02:00