Commit Graph

10701 Commits

Author SHA1 Message Date
Nikita Skovoroda
e3b9c25dcd test: strip VT control chars in getLines() (#9643) 2025-06-14 15:53:00 +02:00
Zoltan Kochan
dc8a1f0f00 fix: update dependencies 2025-06-13 22:46:16 +02:00
Nikita Skovoroda
417b8f2d41 test: fix case-insensitive install test (#9639) 2025-06-13 22:17:21 +02:00
Nikita Skovoroda
45580ad93d fix: 15% smaller bundle size (#8810) 2025-06-13 22:04:48 +02:00
Nikita Skovoroda
9eb011ed4f test: cleanup pnpm_ env variables in jest-config (#9632) 2025-06-13 15:18:32 +02:00
liweijie0812
13526e0fef ci(test-branch): git fetch only fetch origin main branch (#9621) 2025-06-10 14:20:30 +02:00
Nikita Skovoroda
5a5d280a20 fix: wait for server to listen (#9620) 2025-06-10 01:01:32 +02:00
Khải
983efdc7f1 fix(deploy): overrides contain peer dependencies (#9604)
close #9595
2025-06-10 00:45:55 +02:00
Zoltan Kochan
4366170d6b chore: removing catalogMode until tests are fixed 2025-06-08 18:02:27 +02:00
Zoltan Kochan
16e4d0714b chore: set catalogMode to strict 2025-06-08 17:01:40 +02:00
Zoltan Kochan
143dd119d6 style: reformat pnpm-workspace.yaml 2025-06-08 16:59:25 +02:00
Zoltan Kochan
97197e7fe0 chore: do not publish artifacts without the built executables 2025-06-08 16:31:38 +02:00
Zoltan Kochan
55a5ca7918 chore: update pnpm and enable global virtual store 2025-06-08 16:24:52 +02:00
Zoltan Kochan
aeb7bc0c3c chore: revert pnpm update v10.12.1 2025-06-08 16:11:54 +02:00
Zoltan Kochan
fe2811e559 chore(release): 10.12.1 2025-06-08 16:03:50 +02:00
Zoltan Kochan
20085495b0 fix: @pnpm/tsconfig should be private 2025-06-08 15:27:08 +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
Zoltan Kochan
6489c871f4 docs: update sponsors 2025-06-08 13:19:30 +02:00
Brandon Cheng
0cb3b7a3e7 ci: prevent double builds for pull requests in original repo (#9614) 2025-06-08 12:22:01 +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
Khải
86e001604d feat: improve mismatched specifiers error message (#9598)
* feat: improve mismatched specifiers error message

* test: fix

* feat: display as diff

* docs(changeset): change it to minor

* docs(changeset): add tsconfig

* docs(changeset): more details

* feat: make it clear which spec is belongs to which

* docs: update changeset
2025-06-06 09:09:26 +02:00
Azat S.
d385b71d9c fix: sort package versions semantically in patch command (#9601) 2025-06-04 11:23:18 +02:00
Zoltan Kochan
b0ead519b3 feat: global virtual store (#8190)
close #1001
2025-06-03 18:18:58 +02:00
Zoltan Kochan
6315a6450b chore: update meta-updater 2025-06-03 15:40:39 +02:00
Zoltan Kochan
4f955438d1 chore: update dependencies 2025-06-03 15:34:40 +02:00
Khải
1959f997c1 revert: fix(deploy/legacy): unexpected directory creations (#9597)
Revert 95b088c7a7

close #9596
2025-06-03 14:29:26 +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
Khải
6acf819c69 refactor!: stricter Resolution type (#9582)
* refactor!: stricter `Resolution` type

* docs(changeset): don't leave it out

* fix: test

* fix: test

* refactor: replace `as` with `!`
2025-05-30 09:17:12 +02:00
Khải
e49b782168 refactor: remove @ts-expect-error (#9581) 2025-05-29 16:07:43 +02:00
Adam Alston
320f89e724 refactor: delete travis links (#9577) 2025-05-29 12:12:59 +02:00
Khải
95b088c7a7 fix(deploy/legacy): unexpected directory creations (#9574)
close #9550
2025-05-28 09:55:44 +02:00
Adam Alston
873e850127 refactor: delete obsolete lint-commits.sh script (#9573) 2025-05-28 08:36:25 +02:00
btea
9498928617 chore: upgrade tinyglobby (#9444)
* chore: upgrade tinyglobby

* chore: update

* chore: update
2025-05-26 13:05:58 +02:00
Zoltan Kochan
1c741b52c2 fix: use pnpm_config_ instead of npm_config_ (#9571)
ref #9232
2025-05-26 12:59:20 +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
Anton Stoychev
b113520edc fix: respect silent reporter when deciding whether to output CI group stdout markers (#9565)
close #9563
2025-05-22 11:32:34 +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
Alexander Tkachev
aad7eebc2d fix: let deploy inherit overrides (#9546)
* fix: let deploy inherit overrides

Prevents the following error in "pnpm deploy" with "inject-workspace-packages=true":
  ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation.
  The current "overrides" configuration doesn't match the value found in the lockfile

* chore: add changeset

* docs: update old-symbols-invite.md

close #9283
close #9483
2025-05-19 10:42:04 +02:00
Khải
272129193c refactor: improve resolver types (#9544) 2025-05-16 13:14:06 +02:00
Khải
a90dffc19d test: less verbose variable names (#9543) 2025-05-16 12:01:55 +02:00
btea
d15c27438d fix: correct url loss pathname (#9548)
close #9545
2025-05-15 18:30:19 +02:00
Khải
309a3c612a refactor: remove unnecessary semicolon (#9538) 2025-05-15 13:39:43 +02:00