Commit Graph
69 Commits
Author SHA1 Message Date
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 Cheng c7e1b6fae8 chore: configure TypeScript project references for tests (#8128)
* refactor: store link values before converting to references

* fix: use .sort() without localeCompare

https://github.com/pnpm/pnpm/pull/8128#discussion_r1614031566

> Nit, but you probably just want to call sort without a comparison
> function; these are already strings and locale compare is not a good
> comparison for anything but human readable strings since it will
> differ on different people's machines based on their language setting.
> I've hit this too many times before for code gen.

* feat: configure meta-updater to write test/tsconfig.json files

* fix: relative imports for __typings__

* chore: `pnpm run meta-updater`

* fix: explicitly use test/tsconfig.json for ts-jest
2024-05-31 12:48:13 +02:00
Brandon Cheng 5de89d81a6 chore: remove top-level composite property from tsconfig.json files (#8130)
* chore: remove no-op composite property

* chore: remove top-level composite property from existing files
2024-05-28 02:37:40 +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
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
Khải d21464e790 refactor(utils): return type annotations (#7924) 2024-04-14 11:29:54 +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 43bd75c5b8 chore(release): libs 2024-04-09 17:14:05 +02:00
Zoltan Kochan 501133d30b refactor: bump lockfile version to v9 instead of v7 (#7861)
In order to align the lockfile version with pnpm version that ships it.
2024-04-06 17:12:37 +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 7db98cae0f feat!: bump lockfile to v7 (#7666) 2024-02-17 12:57:58 +01:00
Zoltan Kochan 19542ecd28 test: use sync operations for assertions (#7663) 2024-02-16 16:23:23 +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 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
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
Zoltan Kochan 74e8f474f3 chore(release): libs 2023-12-14 16:15:57 +01:00
Zoltan Kochan df9eade77c chore(release): 8.10.3 2023-11-12 14:02:55 +02:00
Zoltan Kochan fc858f6a51 chore(release): libs 2023-11-01 12:34:02 +02:00
Zoltan Kochan b90029432d chore(release): 8.10.0-0 2023-10-24 15:54:22 +03:00
Zoltan Kochan 269926db9f chore(deps): update @pnpm/registry-mock 2023-10-24 15:30:54 +03:00
Zoltan Kochan cf508e0680 chore(release): 8.9.1 2023-10-15 17:46:05 +03:00
Zoltan Kochan 3ad2ec63eb chore(release): libs 2023-10-08 17:21:51 +03:00
Zoltan Kochan d774a3196c feat: onlyBuiltDependenciesFile (#7167)
close #7137
2023-10-08 01:50:47 +03:00
Zoltan Kochan 3ed5a7cd44 chore(release): libs 2023-09-13 12:32:41 +03:00
Zoltan Kochan 10cb4b3245 chore(release): 8.7.5 2023-09-11 15:15:09 +03:00
Zoltan Kochan 46cecfc60f chore(release): libs 2023-09-06 21:59:31 +03:00
Zoltan Kochan d194baeb50 chore(release): 8.7.4 2023-09-06 01:08:56 +03:00
Zoltan Kochan 89302a4d30 chore(release): 8.7.2 2023-09-04 15:45:36 +03:00
Zoltan Kochan 56564248c5 chore(release): libs 2023-07-24 22:08:46 +03:00
Zoltan Kochan ee5157d7da chore(release): 8.6.10 2023-07-24 01:43:41 +03:00
Zoltan Kochan a13a0e8f5c fix: don't fail when a non-optional dep of an optional dep fails (#6847)
close #6822
2023-07-22 16:53:49 +03:00
Zoltan Kochan cd00a79ab2 chore(release): libs 2023-07-19 02:19:20 +03:00
Zoltan Kochan 5ce333519d refactor: rename cafs to store.cafs 2023-07-19 01:53:42 +03:00
Zoltan Kochan a35ec3fd92 chore(release): 8.6.8 2023-07-17 12:19:50 +03:00
Zoltan Kochan a70c77ac43 test: use jest global setup/teardown to manage the registry mock (#6813)
close #6787
2023-07-15 23:00:41 +03:00
Zoltan Kochan 2f0fe96f0d chore(release): 8.6.6 2023-07-03 15:17:06 +03:00
Zoltan Kochan f0af6b02cf chore(release): 8.6.3 2023-06-19 15:32:13 +03:00
Zoltan Kochan ce4a522c1a chore(release): 8.6.1 2023-06-05 15:10:32 +03:00
Zoltan Kochan f0817fa165 chore(release): 8.6.0 2023-05-28 14:59:16 +03:00
Zoltan Kochan 51445f9557 fix: dedupe-peer-dependents should not remove peer deps from workspace root (#6280)
close #6154
2023-03-26 02:46:07 +02:00
Zoltan Kochan eb5b7d5299 chore(release): 8.0.0-rc.0 2023-03-24 15:52:20 +02:00