Commit Graph

234 Commits

Author SHA1 Message Date
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
9719a42d0e feat: configurable max length of directories inside node_modules/.pnpm (#7994)
close #7355
2024-04-28 11:07:29 +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
Khải
2786b549d9 chore(eslint): explicit-module-boundary-types (#7926) 2024-04-14 13:37:50 +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
Khải
ffd3dc3b37 refactor(patching): return type annotations (#7872)
* refactor(patching): return type annotations

* lint: fix

* refactor(patching): type alias
2024-04-08 21:33:49 +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
a5a3b995c1 test: use sync fs operations in tests (#7664) 2024-02-16 19:43:04 +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
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ải
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ải
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
btea
6964eade56 fix: remove empty patch dir (#7532)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-19 00:30:36 +01:00
btea
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