Commit Graph

9612 Commits

Author SHA1 Message Date
Brandon Cheng
b4efd0eca8 refactor: always load all projects into allProjectsGraph (#9259) 2025-03-11 02:59:23 +01:00
Khải
57f989ef45 fix(exec): add missing node-options to recursive run (#9264)
* fix(run): add missing `node-options` to `recursive`

Fixes https://github.com/pnpm/pnpm/issues/9180

* refactor: share code

* refactor: remove unused field
2025-03-11 02:52:59 +01:00
Brandon Cheng
cda1c43dad refactor: prune lockfile importers when running pnpm deploy to prepare for allProjectsGraph refactor (#9258)
* feat: support `pruneLockfileImporters` as argument to install

* fix: remove unnecessary importers from filtered lockfile during deploy
2025-03-11 02:52:32 +01:00
Zoltan Kochan
221fe80b94 chore: update pnpm to v10.6.2 2025-03-10 03:52:11 +01:00
Zoltan Kochan
65da4d9e6a chore(release): 10.6.2 v10.6.2 2025-03-10 03:15:12 +01:00
Zoltan Kochan
0b0bcfa143 fix: running executable pnpm CLI as a subprocess of pnpm CLI 2025-03-10 02:42:48 +01:00
Khải
0378a9a0ff feat(patching): stop using /tmp for comparison (#9251)
* feat(patching): stop using `/tmp` for comparison

* refactor: use `getStorePath`

* fix: update patching/plugin-commands-patching/src/patchCommit.ts
2025-03-10 01:52:31 +01:00
Brandon Cheng
0ef86c43cd test: turn off test retries since they can hide buggy tests (#9255)
* test: move expect blocks (without other changes) to end of test

This is required for the refactor in the next commit. The log statements
have to run before consuming the output stream, otherwise the output
stream will be empty.

* test: fix swallowed Jest expect errors in `default-reporter` package

* test: fix expected to match actual values in default-reporter tests

* refactor: remove redundant `.pipe(take(1))`

With the refactor to use `firstValueFrom`, the `take(1)` is now
redundant in many places.

```ts
firstValueFrom(output$.pipe(take(1)))
```

```ts
firstValueFrom(output$)
```

* test: turn off test retries since they can hide buggy tests
2025-03-10 00:55:47 +01:00
Brandon Cheng
b217edbfd8 test: fix silently failing tests in default-reporter package (#9253)
* test: move expect blocks (without other changes) to end of test

This is required for the refactor in the next commit. The log statements
have to run before consuming the output stream, otherwise the output
stream will be empty.

* test: fix swallowed Jest expect errors in `default-reporter` package

* test: fix expected to match actual values in default-reporter tests

* refactor: remove redundant `.pipe(take(1))`

With the refactor to use `firstValueFrom`, the `take(1)` is now
redundant in many places.

```ts
firstValueFrom(output$.pipe(take(1)))
```

```ts
firstValueFrom(output$)
```
2025-03-10 00:47:58 +01:00
Brandon Cheng
34738e00e5 revert: use Git LFS for pnpm development (#9254)
* Revert "docs: update CONTRIBUTING.md for Git LFS (#8647)"

This reverts commit ccf5fbc1b2.

* Revert "chore: use Git LFS for pnpm development (#8509)"

This reverts commit 5fea44486e.
2025-03-09 22:29:36 +01:00
Khải
58d859793f fix: type of hash from @pnpm/crypto.polyfill (#9252) 2025-03-09 15:10:43 +01:00
Zoltan Kochan
81a90dae51 docs: update sponsor logo 2025-03-09 13:18:29 +01:00
Zoltan Kochan
73833ab6fb fix: update deps (#9247) 2025-03-09 13:08:40 +01:00
btea
0900928f03 fix: pnpm-workspace.yaml config peerDependencyRules does not work (#9245)
close #9244
2025-03-08 21:08:46 +01:00
Zoltan Kochan
11104c8c60 fix: self-update should not ignore the local package.json file 2025-03-08 13:02:28 +01:00
Zoltan Kochan
f8c8e3f057 fix: don't show info messages on --loglevel=error (#9241) 2025-03-08 12:19:24 +01:00
Zoltan Kochan
7072838e7d fix: self-update should update the packageManager field in package.json (#9239) 2025-03-08 11:22:43 +01:00
Zoltan Kochan
a2d46b4570 chore(release): 10.6.1 v10.6.1 2025-03-07 02:29:19 +01:00
Zoltan Kochan
6f56790218 fix: reporting with --loglevel=error (#9230) 2025-03-07 02:25:50 +01:00
Zoltan Kochan
f62db6c736 fix: process exit when --silent is used (#9229)
close #7839
2025-03-07 02:15:39 +01:00
btea
1e6ae3ea6e fix: approve builds command writes a dependency judgment logic error (#9223)
* fix: approve builds manifest pnpm ignoredBuiltDependencies condition error

* chore: changeset and test

* refactor: tests and changeset

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-07 01:52:50 +01:00
Zoltan Kochan
c3aa4d8dd6 fix: don't ignore pnpm.patchedDependencies from package.json (#9228)
close #9226
2025-03-07 00:56:11 +01:00
Zoltan Kochan
8371664f6f fix: add more info to the no matching version error message (#9225) 2025-03-06 23:56:49 +01:00
Zoltan Kochan
62407a99e3 chore: move settings to pnpm-workspace.yaml 2025-03-06 13:18:07 +01:00
Zoltan Kochan
86ff415755 chore(release): 10.6.0 v10.6.0 2025-03-06 12:09:26 +01:00
Zoltan Kochan
f5940ccf91 fix(deploy): don't remove fields from the deployed package's package.json (#9222)
close #9215
2025-03-06 12:08:12 +01:00
btea
c74bf7d040 chore: add eslint to catalog (#9219) 2025-03-06 10:52:53 +01:00
Zoltan Kochan
1fe6053dbc fix: update symlink-dir to v6.0.5
ref #9162
2025-03-06 03:12:42 +01:00
btea
d9d7607cc1 fix: update choice list not show deprecated pkg (#9214)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-06 02:34:23 +01:00
Zoltan Kochan
d965748ff4 feat: setting config settings via pnpm-workspace.yaml (#9211)
Related discussion: https://github.com/orgs/pnpm/discussions/9037
2025-03-04 15:09:13 +01:00
Zoltan Kochan
cd8caece25 docs: update sponsors 2025-03-03 02:01:45 +01:00
Zoltan Kochan
a149b70c08 docs: update feature-request.yaml 2025-03-02 14:24:01 +01:00
Zoltan Kochan
5d3a892c02 docs: update bug-report.yaml 2025-03-02 14:22:28 +01:00
btea
adb236f1a1 refactor: improve regexp (#9203) 2025-03-02 13:17:09 +01:00
Brandon Cheng
daf47e9d9b feat: support frozen installs in projects using local tarball dependencies (#9190) 2025-03-02 12:55:51 +01:00
Brandon Cheng
e4eeafdb55 fix: catalog snapshots removed on filtered install with dedupe-peer-dependents=false (#9175)
* test: add catalog test for --filter and dedupe-peer-dependents=false

* fix: disable dedupe-injected-deps when deploying

* fix: catalog snapshots removed with dedupe-peer-dependents=false
2025-03-02 12:42:46 +01:00
Zoltan Kochan
7ff67fa0e5 chore: update dependencies 2025-03-02 03:27:26 +01:00
Zoltan Kochan
24e19c02d0 chore: update meta-updater 2025-03-02 03:11:14 +01:00
Ben McCann
b8b0c687f2 perf: switch to tinyglobby (#9169) 2025-03-02 03:06:12 +01:00
R.P. Pedraza
8b3cfe24fe fix: don't abort appprove-builds or err when manifest doesn't exist (#9198)
close: #9202
2025-03-02 03:05:49 +01:00
Zoltan Kochan
5e78da2d57 style: order the keys in package.json files 2025-03-01 21:45:13 +01:00
Zoltan Kochan
94833d0f74 chore: update meta-updater 2025-03-01 19:04:07 +01:00
Zoltan Kochan
3c98460154 style: sort keys in dependencies fields 2025-03-01 15:03:59 +01:00
Zoltan Kochan
f394713610 chore: use resolution-mode=lowest-direct 2025-03-01 14:34:00 +01:00
Zoltan Kochan
6a59366248 fix: self-update should not read pnpm settings from current package.json (#9196)
close #9188
close #9183
2025-03-01 13:49:56 +01:00
btea
a5e4965c59 fix(deploy): missing imports and license fields (#9199) 2025-03-01 01:39:30 +01:00
Zoltan Kochan
e0918712ae fix: self-update should never install a brokne pnpm CLI (#9194) 2025-02-28 01:51:58 +01:00
Khải
331deacd45 chore(cspell): remove duplicated items (#9195) 2025-02-27 23:52:43 +01:00
Zoltan Kochan
453a18accd fix: update @pnpm/patch-package to v0.0.1 2025-02-27 18:36:01 +01:00
Zoltan Kochan
716c4b727d fix: update rename-overwrite to v6.0.2 2025-02-27 17:51:13 +01:00