Commit Graph

9646 Commits

Author SHA1 Message Date
Zoltan Kochan
4e857ff1b3 revert: "chore: update pnpm to v10.6.4"
This reverts commit 929f8a6139.
2025-03-18 01:40:28 +01:00
Zoltan Kochan
8abb59564c fix: boxen should use newline as line separator in all cases 2025-03-17 20:24:50 +01:00
Zoltan Kochan
929f8a6139 chore: update pnpm to v10.6.4 2025-03-17 16:08:41 +01:00
Zoltan Kochan
2c04ef22c4 Merge branch 'v10' 2025-03-17 15:20:31 +01:00
Zoltan Kochan
cae084888c chore(release): 10.6.4 v10.6.4 2025-03-17 14:46:34 +01:00
Zoltan Kochan
8238bf4cfb test(dlx): fix 2025-03-17 12:03:33 +01:00
Zoltan Kochan
64a11f2e37 test(dlx): fix 2025-03-17 12:01:29 +01:00
btea
32289be423 fix: compatible with more node pre-release versions (#9292)
* fix: compatible with more node pre-release versions

* fix: match prerelease regex

* docs: remove changeset

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-17 01:53:48 +01:00
btea
b61ade33d8 fix: compatible with more node pre-release versions (#9292)
* fix: compatible with more node pre-release versions

* fix: match prerelease regex

* docs: remove changeset

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-17 01:53:24 +01:00
Brandon Cheng
f9c53da20b feat: return workspace for resolvedVia for workspace packages (#9293)
* feat: return `workspace` for `resolvedVia`

* chore: update .changeset/shaggy-chefs-reply.md
2025-03-17 01:40:56 +01:00
NullVoxPopuli
7f9f20227e fix: prevent 'pnpm audit' from crashing with an OOM error (#9290)
* Prevent 'pnpm audit' from crashing with an OOM error by disabling the finding of dependency paths unless opted into

* feat!: remove show paths from audit output

* docs: add changeset

* fix: linting error

close #9280

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-17 01:11:27 +01:00
btea
e8698bbb84 chore: add no-dupe-conditions rule (#9291) 2025-03-16 11:41:45 +01:00
chlorine
aec8c50d01 fix: invalid Node.js version in use-node-version should not break (#9285)
close #9276
2025-03-16 11:32:56 +01:00
chlorine
6248d4064b fix: invalid Node.js version in use-node-version should not break (#9285)
close #9276
2025-03-16 11:32:30 +01:00
Zoltan Kochan
2e05789fbf perf: optimize the amount of workers (#9289)
ref #9286
2025-03-15 23:46:33 +01:00
Zoltan Kochan
91332a4cbd perf: optimize the amount of workers (#9289)
ref #9286
2025-03-15 23:46:04 +01:00
Zoltan Kochan
9904675e87 fix(deps): @pnpm/logger should be a peer dependency 2025-03-15 14:01:35 +01:00
Zoltan Kochan
f7e6df5540 fix(deps): @pnpm/logger should be a peer dependency 2025-03-15 13:52:08 +01:00
Zoltan Kochan
6f89b80eeb refactor: use buffer.subarray instead of deprecated slice 2025-03-14 22:07:44 +01:00
Zoltan Kochan
9f65fe533a refactor: use buffer.subarray instead of deprecated slice 2025-03-14 19:11:42 +01:00
Zoltan Kochan
e5b7bf4694 fix: dlx with --allow-build flag (#9281)
close #9263
2025-03-14 02:31:02 +01:00
Zoltan Kochan
c1f09d48fa fix: dlx with --allow-build flag (#9281)
close #9263
2025-03-14 02:27:58 +01:00
Zoltan Kochan
3c24d93506 Merge remote-tracking branch 'origin/v10' 2025-03-13 15:47:00 +01:00
Zoltan Kochan
942de71d5d chore(release): 10.6.3 v10.6.3 2025-03-13 15:04:57 +01:00
Zoltan Kochan
b808973d95 fix: make improvements to the update box (#9279)
close #9262
2025-03-13 14:51:42 +01:00
Zoltan Kochan
6e4459c8b1 fix: install --prod=false (#9278)
close #9233
2025-03-13 14:51:34 +01:00
Zoltan Kochan
960f1f8d13 fix: make improvements to the update box (#9279)
close #9262
2025-03-13 14:50:59 +01:00
Zoltan Kochan
e4ca866fec fix: install --prod=false (#9278)
close #9233
2025-03-13 14:50:47 +01:00
btea
968b85b446 fix: terminalLink does not support (#9277) 2025-03-13 12:17:01 +01:00
btea
e1a5fbc592 fix: terminalLink does not support (#9277) 2025-03-13 12:16:27 +01:00
Khải
5f7be645e4 feat(patching): version ranges and strict patches (#9236)
* feat: replace a config

This is a test commit to see if CI fails

* feat: `strictPatches`

* docs: future instruction

* feat: `strictPatches` → `allowPatchFailure`

* docs(changeset): correction

* test: getOptionsFromRootManifest

* fix: allowFailure

* feat: groupPatchedDependencies

* fix: update code after merge

* fix: star spec

* feat: error on invalid ranges

* fix: eslint

* docs: change task

* feat(patching): version ranges

* fix: `verifyPatches`

* refactor: move types to `@pnpm/patching.types`

* docs(changeset): add missing package

* refactor: move `verifyPatches` to `@pnpm/patching.config`

* test: fix

* feat: change error message of unused patches

* refactor: exact options into an interface

* test(patching): version range

* test(patching): allowPatchFailure

* docs: change wording

* docs: change wording

* test(patching): version range error

* test(patching): legacy behavior

* test: don't use star

* test(patching): strict versionless

* test: strictPatches

* chore(deps): `@pnpm/logger` must be peer

* docs: fix grammar

* refactor: rename `blank` to `all`

* refactor: use string

* refactor: use array for `PatchGroup.range`

* refactor: stop re-exporting `allPatchKeys`

* feat: re-export `PatchGroupRangeItem`

* refactor: move error creation into a class

* docs: replace "versionless" with "name-only"

* docs: coherent wordings

* test: exact version overrides range conflict

* test: tweak

* docs: consistent wordings

* docs: correct wordings

* refactor: rename `allowPatchFailure` to `ignorePatchFailures`

* feat: replace `strictPatches` with `ignorePatchFailures`

* docs: legacy behavior

* feat: introduce `allowUnusedPatches`

* docs(changeset): update

* docs: remove outdated comment

* docs: backward-compatibility
2025-03-13 12:13:06 +01:00
Brandon Cheng
4885c3708b test(dlx): use @pnpm.e2e/for-testing-pnpm-dlx from @pnpm/registry-mock (#9260)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-03-13 03:09:14 +01:00
Zoltan Kochan
0c5e0ae4a1 chore: update dependencies 2025-03-13 03:07:45 +01:00
Brandon Cheng
e781c2b876 test: ensure only selected workspace packages are linked on deploy (#9257) 2025-03-11 03:15:50 +00:00
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