Commit Graph
163 Commits
Author SHA1 Message Date
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
Zoltan Kochan e74688a30c chore(deps): update @pnpm/registry-mock 2024-02-08 00:40:22 +01:00
Zoltan Kochan 977060fc67 fix: resolve peer having peer correctly (#7583)
close #7444
2024-01-31 00:28:16 +01:00
Zoltan Kochan 1fc7c86778 Merge branch 'v8' 2024-01-27 16:55:07 +01:00
Zoltan Kochan 778efe2022 chore(release): 8.15.0 2024-01-27 16:48:08 +01:00
KhảiandZoltan Kochan 31054a63e6 fix(update): stop downgrading prereleases (#7466)
close #7436

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-27 14:47:03 +01:00
KhảiandZoltan Kochan 0ec0a44da7 fix(update): stop downgrading prereleases (#7466)
close #7436

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-27 14:41:58 +01:00
Zoltan Kochan 793d523103 Merge branch 'v8' 2024-01-22 10:14:47 +01:00
Zoltan Kochan b93bc1aa41 chore(release): 8.14.2 2024-01-22 10:10:27 +01:00
bteaandZoltan Kochan 6964eade56 fix: remove empty patch dir (#7532)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-19 00:30:36 +01:00
bteaandZoltan Kochan c1fee78a2f fix: remove empty patch dir (#7532)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-19 00:30:06 +01:00
Zoltan Kochan ecda06d7b5 Merge branch 'v8' 2024-01-10 16:04:26 +01:00
Zoltan Kochan 388e1cc1cb chore(release): 8.14.1 2024-01-10 15:57:53 +01:00
Zoltan Kochan 6e3b75a42f chore(release): 9.0.0-alpha.0 2024-01-08 19:12:45 +01:00
Zoltan Kochan 43cdd87c0c feat!: drop Node.js 16 support 2024-01-08 11:57:44 +01:00
Zoltan Kochan c0182b429f chore(release): 8.14.0 2024-01-02 23:57:01 +01:00
Zoltan Kochan 7bef886144 chore(release): libs 2024-01-02 10:31:17 +01:00
Zoltan Kochan 568860daae chore(release): 8.13.1 2023-12-26 15:39:22 +01:00
Zoltan Kochan ce809f6d91 chore: update registry-mock 2023-12-19 11:24:07 +01:00
Ahmed Abdelbaset 06ac802b04 fix(patch-commit): wrap out patch dir in quotes in the log statement (#7437) 2023-12-18 10:52:06 +01:00
Zoltan Kochan 74e8f474f3 chore(release): libs 2023-12-14 16:15:57 +01:00
Zoltan Kochan e71c0f17e5 chore(release): 8.12.1 2023-12-13 11:18:12 +01:00
btea 9a53179e37 fix(plugin-commands-patching): do not create empty patch directory (#7410) 2023-12-13 11:11:02 +01:00
Zoltan Kochan 81a2f249e7 chore(release): libs 2023-12-06 15:48:07 +01:00
Zoltan Kochan 5462cb6d4e fix: dependency deduplication (#7385)
fixes regression introduced via #7359
2023-12-06 15:43:46 +01:00
Zoltan Kochan 8a86facc06 chore(release): libs 2023-12-05 19:44:18 +01:00
Zoltan Kochan 6558d1865f fix: dedupe commands of direct dependencies (#7359) 2023-12-05 16:39:52 +01:00
Zoltan Kochan 058edcff85 chore(release): 8.11.0 2023-11-24 17:27:18 +01:00
Zoltan Kochan 2d8015b0eb chore(deps): update 2023-11-16 17:36:11 +02:00
Zoltan Kochan b54e815d79 chore(release): libs 2023-11-16 14:54:14 +02:00
Zoltan Kochan 5e44048943 chore(release): 8.10.5 2023-11-14 13:58:50 +02:00
Zoltan Kochan 0ef6785441 chore(release): 8.10.4 2023-11-13 17:00:59 +02:00
Zoltan Kochan df9eade77c chore(release): 8.10.3 2023-11-12 14:02:55 +02:00
Hiroshi Ogawa 2dfc8c80af fix(plugin-commands-patching): fix reusing existing patch when shared-workspace-file=false (#7252) 2023-11-07 01:13:44 +02:00
Zoltan Kochan 75d788a00c chore(release): 8.10.2 2023-11-01 18:23:05 +02:00
Zoltan Kochan 101829de7c chore(release): 8.10.1 2023-11-01 14:30:03 +02:00
Zoltan Kochan fc858f6a51 chore(release): libs 2023-11-01 12:34:02 +02:00
Zoltan Kochan 3eeb16fdc6 chore(release): 8.10.0 2023-10-27 17:29:20 +03:00
Zoltan Kochan 500363647a fix: packing the same file twice during publish (#7250)
close #6997
2023-10-27 15:30:10 +03:00
Zoltan Kochan b41b112bc7 chore(release): libs 2023-10-25 12:43:07 +03:00
Zoltan Kochan 8e027f9067 chore(deps): update 2023-10-24 23:02:17 +03:00
Zoltan Kochan b90029432d chore(release): 8.10.0-0 2023-10-24 15:54:22 +03:00
await-ovo d93e5d06d0 fix(plugin-commands-patching): should fetch dependency from tarball url when patching dependency installed from git (#7230)
close #7196
2023-10-24 15:52:01 +03:00
Nacho AldamaandZoltan Kochan 43ce9e4a6a feat: add support to install different architectures (#7214)
close #5965

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-10-24 15:50:40 +03:00
Zoltan Kochan 269926db9f chore(deps): update @pnpm/registry-mock 2023-10-24 15:30:54 +03:00
Zoltan Kochan d6592964f0 refactor: rootProjectManifestDir is a required option 2023-10-24 15:14:33 +03:00
Zoltan Kochan 49bb3653e7 chore(release): libs 2023-10-17 13:15:57 +03:00
Zoltan Kochan 7daf0be5d1 chore(release): 8.9.2 2023-10-16 02:07:45 +03:00
Zoltan Kochan cf508e0680 chore(release): 8.9.1 2023-10-15 17:46:05 +03:00