Commit Graph

9173 Commits

Author SHA1 Message Date
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
Zoltan Kochan
449041c5aa chore(release): libs 2024-08-07 18:07:03 +02:00
Khải
5bf6aaa407 refactor: move @pnpm/logger to the monorepo (#8385)
* chore: create @pnpm/logger

* fix: workaround typescript error

* chore: update manifests

* chore(deps): link @pnpm/logger from workspace
2024-08-07 18:02:08 +02:00
Zoltan Kochan
a64e440740 fix(default-reporter): use stdout from context (#8387) 2024-08-07 18:01:32 +02:00
Zoltan Kochan
dc902fddd4 fix(lockfile.verification): don't fail when lockfile doesn't contain a project (#8386) 2024-08-07 18:00:46 +02:00
Zoltan Kochan
2d3a119bb4 chore(release): 9.7.0 v9.7.0 2024-08-07 02:13:26 +02:00
Khải
1731386aa7 feat(patching): move edit dir to node_modules (#8379)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-07 01:57:53 +02:00
Zoltan Kochan
0d14fb4e3b chore: fix updating tsconfig files on Windows 2024-08-06 22:40:30 +02:00
Zoltan Kochan
26b065c193 feat: automatically switch to the right pnpm version (#8363)
close #8360
2024-08-06 21:59:43 +02:00
Zoltan Kochan
87439cdf35 chore(release): libs 2024-08-05 13:45:55 +02:00
Munif Tanjim
98c8bd69cb fix: print warnings to stderr (#8342) 2024-08-04 01:53:52 +02:00
Zoltan Kochan
d20eed33ab fix(config): update @pnpm/npm-conf (#8372)
close #6679
2024-08-03 11:56:36 +02:00
Zoltan Kochan
09876c931f feat(core): return the list of dependencies that require a build (#8371) 2024-08-02 23:37:23 +02:00
Zoltan Kochan
64e2e4f86f refactor: add a function for corepack context detection 2024-08-02 23:02:15 +02:00
Khải
cb006df38c feat(patching): apply patch to all versions (#8337)
Related issue: #5686
2024-08-01 15:05:15 +02:00
Zoltan Kochan
e7f6330372 refactor: add detectIfCurrentPkgIsExecutable to cli-meta package (#8362) 2024-07-31 19:19:52 +02:00
Wm Salt Hale
a03d548332 chore: update @pnpm/meta-updater (#8198)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-07-31 14:42:17 +02:00
Zoltan Kochan
5d059765a8 chore(release): libs 2024-07-29 15:58:56 +02:00
Sung Ye In
9899576573 fix: run node-gyp rebuild when a project has a binding.gyp file (#8325)
close #8293

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-07-29 15:10:34 +02:00
Zoltan Kochan
bf3cafacdd docs(README): fix package names 2024-07-28 02:11:29 +02:00
Zoltan Kochan
be0c57c508 refactor: rename merge-lockfile-changes to lockfile.merger 2024-07-28 02:09:58 +02:00
Zoltan Kochan
daa45dfd91 refactor: rename prune-lockfile to lockfile.pruner 2024-07-28 01:48:23 +02:00
Zoltan Kochan
c92f4bf282 refactor: rename lockfile-walker to lockfile.walker 2024-07-28 01:42:38 +02:00
Zoltan Kochan
c5ef9b0643 refactor: rename filter-utils to lockfile.utils 2024-07-28 01:35:40 +02:00
Zoltan Kochan
8055a30be1 refactor: rename filter-lockfile to lockfile.filtering 2024-07-28 01:24:55 +02:00
Zoltan Kochan
e9908b3185 refactor: rename lockfile-file to lockfile.fs 2024-07-28 01:15:20 +02:00
Zoltan Kochan
797ef0fc46 refactor: rename lockfile-types to lockfile.types 2024-07-27 14:46:23 +02:00
Zoltan Kochan
2e3eae3990 refactor: create @pnpm/lockfile.verification (#8350) 2024-07-27 14:18:38 +02:00
Zoltan Kochan
1b349deba5 test(core): remove only from lockfile tests 2024-07-27 12:35:16 +02:00
Zoltan Kochan
a3e2a182a6 test: fix a lockfile test 2024-07-26 18:10:40 +02:00
Zoltan Kochan
96821291a8 fix: install peer of optional peer (#8330)
close #8323
2024-07-25 18:00:24 +02:00
Zoltan Kochan
4398d20f2c test: improve error message in dlx tests 2024-07-25 17:58:08 +02:00
Zoltan Kochan
7329b9afc4 ci: test on Node.js 22 (#8010) 2024-07-25 16:45:47 +02:00
Zoltan Kochan
068ea7da35 chore: use catalogs in overrides 2024-07-22 02:13:25 +02:00
Zoltan Kochan
3b82169faf chore(release): 9.6.0 v9.6.0 2024-07-22 01:41:03 +02:00
Zoltan Kochan
0f0e44101d fix: resolve catalogs in overrides (#8321)
close #8303
2024-07-22 01:35:30 +02:00
Zoltan Kochan
b0e8ae8761 refactor: lockfile utils 2024-07-19 17:17:04 +02:00
Khải
726753f05d fix(patch): error message for missing .modules.yaml (#8315)
close #8257
2024-07-16 17:46:12 +02:00
Brandon Cheng
f6e7ace2a2 fix: pnpm outdated should work with catalog: protocol (#8304)
* fix: pnpm outdated works with catalog: protocol

* test: add has-outdated-deps-using-catalog-protocol fixture

* test: add pnpm outdated catalog protocol test

* chore: changeset

* refactor: outdated

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-07-15 18:45:10 +02:00
Anton Stoychev
999d2ef2f8 fix(plugin-commands-script-runners): align runRecursive with how run assigns silent loglevel (#8302)
close #7608
2024-07-14 02:59:21 +02:00
Brandon Cheng
1e4dd79163 fix: install failure on pnpm deploy when using catalogs (#8298)
* fix: install failure on pnpm deploy when using catalogs

* test: add test for pnpm deploy when using catalogs

* chore: changeset
2024-07-14 02:45:35 +02:00
Khải
5aa98b6d6f fix(dlx/cache): account for customized registries (#8299)
* fix(dlx/cache): account for customized registries

Different registries potentially return different packages for the same
name, so reusing dlx cache for packages from a different registry would
be incorrect.

* style: eslint

* refactor: dlx

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-07-13 17:06:14 +02:00
Khải
0ef168b77d feat: per-package node version (#8277)
close #6720
2024-07-13 14:08:57 +02:00