Commit Graph
185 Commits
Author SHA1 Message Date
Zoltan Kochan af286ea28c chore(release): libs 2024-08-11 14:59:34 +02:00
Zoltan Kochanandkhai96_ 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 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 2d3a119bb4 chore(release): 9.7.0 2024-08-07 02:13:26 +02:00
KhảiandZoltan Kochan 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 87439cdf35 chore(release): libs 2024-08-05 13:45:55 +02:00
Zoltan Kochan 5d059765a8 chore(release): libs 2024-07-29 15:58:56 +02:00
Zoltan Kochan c5ef9b0643 refactor: rename filter-utils to lockfile.utils 2024-07-28 01:35:40 +02:00
Zoltan Kochan e9908b3185 refactor: rename lockfile-file to lockfile.fs 2024-07-28 01:15:20 +02:00
Zoltan Kochan 3b82169faf chore(release): 9.6.0 2024-07-22 01:41:03 +02:00
Zoltan Kochan 07a7ac4a93 chore(release): 9.5.0 2024-07-07 18:27:55 +02:00
Zoltan Kochan a3d5f609d0 chore(release): 9.5.0-beta.1 2024-07-04 15:54:08 +02:00
Zoltan Kochan 0406d4ad3d refactor: use a branded type for project root dir paths (#8272) 2024-07-04 13:13:34 +02:00
Christoph NakazawaandZoltan Kochan fd884c1915 fix(patch): improve printing of the pnpm patch command (#8239)
* style(patch): improve printin of the `pnpm patch` command

* fix: add missing dep

* test: fix

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-06-28 01:28:00 +02:00
Zoltan Kochan 1865472bde chore: use catalogs 2024-06-27 22:06:05 +02:00
Zoltan Kochan 7678113d79 chore: use catalogs (#8249) 2024-06-27 17:22:38 +02:00
Zoltan Kochan 6e031e7428 test: fix auth tests 2024-06-18 02:45:48 +02:00
Zoltan Kochan 347c79a8cd chore(release): 9.4.0 2024-06-17 17:44:19 +02:00
Brandon ChengandZoltan Kochan 75a98e12b3 refactor: improve type checking when finding workspace packages (#8214)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-06-17 17:34:54 +02:00
Zoltan Kochan ed9c041f61 fix(deps): update 2024-06-11 11:27:03 +02:00
Zoltan Kochan d24d7974ac chore(release): 9.3.0 2024-06-10 13:58:41 +02:00
Zoltan Kochan 1e5985a937 chore(release): 9.2.0 2024-06-05 14:46:23 +02:00
Zoltan Kochan 13518c9916 chore(release): 9.1.4 2024-05-30 12:59:22 +02:00
Zoltan Kochan 63da0f654f chore(release): libs 2024-05-29 14:32:53 +02:00
Zoltan Kochan 2988e25b87 chore(release): libs 2024-05-27 01:49:24 +02:00
Zoltan Kochan 838b7f0125 chore(release): libs 2024-05-22 00:24:34 +02:00
Zoltan Kochan 355ccd1243 chore(release): libs 2024-05-21 14:46:39 +02:00
Zoltan Kochan c8655b465e chore(release): libs 2024-05-12 01:57:58 +02:00
KhảiandZoltan Kochan b1d7f8c6cf fix(override): relative file in workspace (#8055)
close #8053

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-05-10 23:31:33 +02:00
Zoltan Kochan 72928a633d chore(release): libs 2024-05-07 13:46:24 +02:00
Zoltan Kochan 01a4566655 chore(release): 9.1.0 2024-05-06 11:13:30 +02:00
Zoltan Kochan 7e69321e53 chore(release): 9.1.0-0 2024-04-29 15:36:28 +02:00
Zoltan Kochan 88f53d4a78 chore(release): 9.0.6 2024-04-24 15:01:39 +02:00
Zoltan Kochan 63adcb5351 chore(release): 9.0.5 2024-04-21 23:02:35 +02:00
Zoltan Kochan 50e37072f4 chore(release): 9.0.4 2024-04-19 02:49:53 +02:00
Zoltan Kochan 65df252783 chore(release): 9.0.3 2024-04-18 18:27:04 +02:00
Zoltan Kochan d87d36e82e chore(release): 9.0.2 2024-04-17 18:38:31 +02:00
Zoltan Kochan dd43b0f6bc chore(release): 9.0.1 2024-04-16 16:00:46 +02:00
Zoltan Kochan b4f0b67e2d chore(release): 9.0.0-rc.1 2024-04-13 18:28:48 +02:00
Zoltan Kochan 253d50c550 fix: optional peer dependencies should resolve to optional dependencies (#7918) 2024-04-13 18:26:47 +02:00
Zoltan Kochan c9db742824 fix: update typescript to v5.4 (#7905) 2024-04-12 14:03:45 +02:00
Zoltan Kochan 035eeb6f46 chore(deps): update 2024-04-10 00:34:00 +02:00
Zoltan Kochan 43bd75c5b8 chore(release): libs 2024-04-09 17:14:05 +02:00
Zoltan Kochan 670ed188df fix: auto install optional peer (#7837) 2024-03-28 00:02:14 +01:00
Zoltan Kochan e74e7847f3 fix: resolve missing optional peer if it is installed as a dep somewhere (#7830) 2024-03-27 13:43:52 +01:00
Zoltan Kochan 8eddd21f07 fix: resolve missing peer from versions already present in other parts of the dep graph (#7812) 2024-03-22 19:45:54 +01:00
Zoltan Kochan 857c0547ac fix(deps): update 2024-02-12 22:46:58 +01:00
Zoltan Kochan 98a126699c fix: resolve peer of peer from the deps of direct dependent package (#7606)
close #7444

Peer dependencies of peer dependencies are now resolved correctly. When peer dependencies have peer dependencies of their own, the peer dependencies are grouped with their own peer dependencies before being linked to their dependents.

For instance, if `card` has `react` in peer dependencies and `react` has `typescript` in its peer dependencies, then the same version of `react` may be linked from different places if there are multiple versions of `typescript`. For instance:

```
project1/package.json
{
  "dependencies": {
    "card": "1.0.0",
    "react": "16.8.0",
    "typescript": "7.0.0"
  }
}
project2/package.json
{
  "dependencies": {
    "card": "1.0.0",
    "react": "16.8.0",
    "typescript": "8.0.0"
  }
}
node_modules
  .pnpm
    card@1.0.0(react@16.8.0(typescript@7.0.0))
      node_modules
        card
        react --> ../../react@16.8.0(typescript@7.0.0)/node_modules/react
    react@16.8.0(typescript@7.0.0)
      node_modules
        react
        typescript --> ../../typescript@7.0.0/node_modules/typescript
    typescript@7.0.0
      node_modules
        typescript
    card@1.0.0(react@16.8.0(typescript@8.0.0))
      node_modules
        card
        react --> ../../react@16.8.0(typescript@8.0.0)/node_modules/react
    react@16.8.0(typescript@8.0.0)
      node_modules
        react
        typescript --> ../../typescript@8.0.0/node_modules/typescript
    typescript@8.0.0
      node_modules
        typescript
```

In the above example, both projects have `card` in dependencies but the projects use different versions of `typescript`. Hence, even though the same version of `card` is used, `card` in `project1` will reference `react` from a directory where it is placed with `typescript@7.0.0` (because it resolves `typescript` from the dependencies of `project1`), while `card` in `project2` will reference `react` with `typescript@8.0.0`.
2024-02-09 00:50:08 +01:00