Commit Graph

9215 Commits

Author SHA1 Message Date
btea
201d88eeee test: matchCatalogResolveResult test case (#8309) 2024-09-09 13:00:49 +02:00
Zoltan Kochan
3af07cb839 feat: add an option to list and why to exclude peer dependencies from the output (#8506) 2024-09-08 22:26:33 +02:00
Zoltan Kochan
db420ab592 refactor(cafs): create a separate function for creating index file path (#8508) 2024-09-08 14:43:09 +02:00
btea
681fba52e4 refactor: remove unused parameter (#8505) 2024-09-07 14:07:11 +02:00
Paul Nodet
86732affd0 chore: migrate ESLint Configuration to the new flat config format (#8482)
* chore: bump node-version to v18.18

min required version for eslint flat config

* chore: migrate eslint to flat config

* chore: migrate monorepo to flat config

* fix: remove old eslint unused disable directives

* chore: include meta-updater in the tsconfig

* style: remove semicolons

* style: fix

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-09-01 23:06:12 +02:00
Ian Krieger
d500d9f12e feat(audit): add ability to ignore Github Security Advisory (#8483)
close #6838
2024-09-01 03:10:30 +02:00
Khải
2ed45946db test: pin micromatch latest tag (#8484)
Resolves 0f5d841fc6 (commitcomment-146043552)
2024-08-31 23:16:01 +02:00
Zoltan Kochan
3247d44243 chore(release): libs 2024-08-29 22:15:01 +02:00
Khải
624e8b9341 test: fix failures when retry downloading node (#8477) 2024-08-29 22:06:56 +02:00
Khải
116b214e78 refactor: replace undefined to prevent confusion (#8480)
* refactor: replace `undefined` to prevent confusion

Concerning https://github.com/pnpm/pnpm/pull/8477#issuecomment-2317625282

* test: fix
2024-08-29 22:06:22 +02:00
Zoltan Kochan
96aa4bc4a3 fix: reduce memory usage during peer dependencies resolution (#8478) 2024-08-29 20:07:42 +02:00
Zoltan Kochan
757e6be29d fix: don't recursively switch to the same pnpm version (#8468) 2024-08-27 13:10:25 +02:00
Zoltan Kochan
735fc909fd chore: update pnpm to v9.9 2024-08-26 17:50:42 +02:00
Zoltan Kochan
10d8007747 chore(release): 9.9.0 v9.9.0 2024-08-26 17:12:28 +02:00
Zoltan Kochan
7ee59a166a fix(deploy): write node_modules/.modules.yaml to the deploy directory (#8465)
close #7731
2024-08-26 17:07:16 +02:00
Zoltan Kochan
9c56ca0be9 fix: don't override symlinks that are already correct 2024-08-25 22:34:56 +02:00
Zoltan Kochan
0f5d841fc6 test: fix 2024-08-25 02:20:57 +02:00
Zoltan Kochan
cfa6c497ec chore(release): libs 2024-08-24 21:11:56 +02:00
Zoltan Kochan
2393a49ec6 fix: out-of-memory on peers resolution (#8457) 2024-08-24 20:58:41 +02:00
Zoltan Kochan
8e3f603cbd chore: update pnpm to v9.8 2024-08-22 13:25:33 +02:00
Zoltan Kochan
ed3ca011ce chore(release): 9.8.0 v9.8.0 2024-08-22 12:22:59 +02:00
Emil Nordling
33ba536b95 fix(package-is-installable): handle null values in wanted platform gracefully (#8431)
* fix(package-is-installable): handle null values in wanted platform gracefully

* refactor: package-is-installable

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-22 12:20:39 +02:00
Zoltan Kochan
840e2000b5 feat: self-update should update pnpm in the packageManager field (#8449)
* feat: self-update should update pnpm in the packageManager field

* fix: self-update should update packageManager in package.json

* fix: verify package manager name

* refactor: test
2024-08-22 11:16:08 +02:00
Zoltan Kochan
ba9409ffce chore: ignore CVE 2024-08-22 02:01:26 +02:00
Zoltan Kochan
eb8bf2a993 feat: self-update command (#8424) 2024-08-19 14:26:17 +02:00
Khải
202edf84bd test: verify execution result in execPnpm (#8435) 2024-08-18 12:57:44 +02:00
Zoltan Kochan
861c5b2cc9 fix: use-node-version should not break the PATH, when running scripts in a workspace (#8430) 2024-08-16 14:38:43 +02:00
Zoltan Kochan
dae54bf175 fix(setup): never switch to a different CLI version during setup (#8423)
This fixes installation with the standalone script from a directory
that has a `package.json` with the `packageManager` field.
pnpm was installing the version of pnpm specified in the
`packageManager` field due to  this issue.

close #8422
2024-08-15 02:16:50 +02:00
btea
da3fa97c8d fix: should not delete state.json info after apply patch (#8401)
* fix: should not delete state.json info after apply patch

* Update .changeset/yellow-dodos-press.md

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

* Update .changeset/yellow-dodos-press.md

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

* test: patch-commit multiple times

* refactor: remove unused deleteEditDirState

* fix: read patch state from correct directory

---------

Co-authored-by: Khải <hvksmr1996@gmail.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-15 02:09:49 +02:00
Zoltan Kochan
56861a569a chore(release): 9.7.1 v9.7.1 2024-08-14 16:43:15 +02:00
Zoltan Kochan
d58b104fad fix(dlx): failures on concurrent runs of dlx (#8421)
close #8420
2024-08-14 15:59:23 +02:00
Khải
769165832a feat(setup): stop creating windows scripts on posix (#8418) 2024-08-14 12:03:55 +02:00
Zoltan Kochan
e08c416cfd ci: install Node.js with pnpm (#8419) 2024-08-14 11:51:48 +02:00
btea
cb91ae62be chore: add packageManager field (#8399)
* chore: add `packageManager` field

* fix: ci

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-14 02:38:08 +02:00
GwanSik Kim
ecbe2ea965 fix(exportable-manifest): replace semver in peerDependency with workspace protocol (#8383)
close: #8355

Co-authored-by: 장지훈 <32415680+WhiteKiwi@users.noreply.github.com>

* Update smooth-ravens-wave.md

---------

Co-authored-by: 장지훈 <32415680+WhiteKiwi@users.noreply.github.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-14 00:17:24 +02:00
Khải
f5a389a031 test: improve dlx error message (#8416) 2024-08-13 17:07:35 +02:00
Khải
82f7ed2112 fix: replace pnpm warnings with subfield warnings (#8415)
close #8413
2024-08-13 16:55:54 +02:00
Khải
0ffb3adcfe feat(exec): add missing support for executionEnv (#8411)
close #8356
2024-08-13 01:51:36 +02:00
Zoltan Kochan
417af7763c docs: update sponsors 2024-08-13 01:40:56 +02:00
Khải
ed2bc5d161 fix(patching): commit now accepts relative path (#8405)
* fix(patching): commit now accepts relative path

* fix: correct the solution

* fix: correct again

* test: fix

* refactor: revert not needed changes

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-13 00:54:12 +02:00
Khải
12b0eaad8a refactor: extract ExecOpts (#8412) 2024-08-12 19:49:19 +02:00
Zoltan Kochan
251ab21448 fix(config): passing public-hoist-pattern and hoist-pattern via env (#8406)
close #8339
2024-08-11 23:47:45 +02:00
Zoltan Kochan
af286ea28c chore(release): libs 2024-08-11 14:59:34 +02:00
Zoltan Kochan
39f693ba89 fix(core): don't fail on skipped optional deps, when calculating depsRequiringBuild (#8404) 2024-08-11 14:54:27 +02:00
Khải
9b4f73caaf chore(scripts): typecheck-only (#8395)
* chore(scripts): typecheck-only

* feat: change all configuration

* feat: include pnpm/ and pnpm/test/

* chore(deps): remove unused dependency

* refactor(typescript-only): use find-packages

* refactor(typescript-only): refactor paths

* fix: typescript-only

* fix: update compile-only

* fix: compile pnpm

* fix: windows

* fix: windows

* chore: meta-updater

* refactor(tsconfig): remove explicit composite

* fix: path in windows

* feat: don't depend on cwd

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-11 08:26:01 +02:00
Ben McCann
c154e2b9a7 chore: remove always undefined variable (#8398) 2024-08-11 00:36:23 +02:00
Zoltan Kochan
d367c93e37 feat: update Node.js to v20 in @pnpm/exe (#8394) 2024-08-09 20:14:45 +02:00
Zoltan Kochan
97c95cca48 chore: update typescript to v5.5 (#8364)
* chore: update typescript to v5.5

* fix: some errors

* chore(deps): update @pnpm/logger

* chore(deps): use catalogs

* refactor: remove a type no longer necessary

* chore(deps): revert the catalog changes

This reverts commit 5a3d4394f1.

* refactor: move types to their own files

* refactor: change logger error type

* feat: add pkgsStack to LogBase

* feat: add type param to StreamParser

* refactor: move error fields out for clarity

* style: fix eslint

* feat: nullify non existence fields

* feat: add hint

* feat: remove the nullifications

This reverts commit 955e196032.

* feat: add `package` field

* feat: extend `RequestRetryMessage.error`

* fix: missing `id` field

* fix: statsLogger

* fix: correct types

* fix: pkgsDiff

* refactor: use interfaces

* fix: reportSummary

* fix: revert erroneous change

This reverts commit 81042a0783.

* fix: audit

* fix: silentReporter

* fix: reporter

* fix: eslint

* fix: main.ts

* fix: errorHandler

* refactor: share code

* fix: test/reportingPeerDependencyIssues

* fix: default-reporter/test/index.ts

* fix: test/reportingErrors.ts

* fix: test/execPnpm

---------

Co-authored-by: khai96_ <hvksmr1996@gmail.com>
2024-08-09 19:18:32 +02:00
Zoltan Kochan
7fa4599dbc chore(release): libs 2024-08-08 15:14:22 +02:00
Zoltan Kochan
8e055d2f05 fix(core): don't fail on skipped optional deps, when calculating depsRequiringBuild (#8390) 2024-08-08 14:04:47 +02:00