Commit Graph
276 Commits
Author SHA1 Message Date
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 090922c85c chore: update @pnpm/npm-lifecycle 2024-04-16 01:51:06 +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 7b8701cb62 fix: update deps (#7913) 2024-04-13 10:40:50 +02:00
Khải a8bc9902b6 refactor(exec): type checking perf (#7911) 2024-04-13 00:18:14 +02:00
Zoltan Kochan c9db742824 fix: update typescript to v5.4 (#7905) 2024-04-12 14:03:45 +02:00
Khải 9afef40eba refactor(fs): type checking perf (#7901) 2024-04-11 15:40:13 +02:00
Zoltan Kochan 43bd75c5b8 chore(release): libs 2024-04-09 17:14:05 +02:00
KhảiandZoltan Kochan 98566d95bc feat(dlx): cache (#7835)
close #5277

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-04-09 03:30:58 +02:00
Zoltan Kochan a950ba8d7b fix: only print the list of ignored packages, when there's at least one
ref #7854
2024-04-06 17:11:28 +02:00
Zoltan Kochan 1b26210bb6 feat: print an info message about dependencies that were not built (#7854)
close #7815
2024-04-04 11:16:04 +02:00
Zoltan Kochan 167ac4d2b5 fix: use the right pkg manager for building git-hosted deps (#7852)
close #7850
2024-04-03 12:28:26 +02:00
Khải 984b976672 refactor: replace deprecated jest methods (#7840) 2024-03-29 00:03:58 +01: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 eaebfd53c7 test: fix 2024-03-18 00:12:15 +01:00
Zoltan Kochan 21878e7ae4 feat(lockfile)!: change the keys format (#7752) 2024-03-17 23:01:39 +01:00
Zoltan Kochan e71ca7579e fix: vulnerable dependency 2024-03-15 00:54:41 +01:00
Zoltan Kochan 53594a3787 feat!: package ID should be an exact version spec (#7748) 2024-03-10 14:46:25 +01:00
Antoine du HamelandZoltan Kochan e70a829047 fix: set COREPACK_ENABLE_STRICT=0 in runNpm (#7747)
* fix: set `COREPACK_ENABLE_STRICT=0` in `runNpm`

* docs: add changesets

* fix: compile

* Update exec/run-npm/src/index.ts

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-03-08 11:16:57 +01:00
Zoltan Kochan 0564745b1d style: use unknown in try/catch (#7709) 2024-03-06 01:47:04 +01:00
Zoltan Kochan 9e6bbfb778 test: fix 2024-03-05 14:08:53 +01:00
Zoltan Kochan 5c20db0dd2 feat!: use the same lockfile format in 1-pkg workspace as in multi-pkg one (#7696) 2024-02-29 10:28:29 +01:00
Zoltan Kochan 0e6b757cf5 feat!: remove requiresBuild from the lockfile (#7710)
close #7707
2024-02-27 11:50:43 +01:00
Zoltan Kochan a5a3b995c1 test: use sync fs operations in tests (#7664) 2024-02-16 19:43:04 +01:00
Zoltan Kochan 19542ecd28 test: use sync operations for assertions (#7663) 2024-02-16 16:23:23 +01:00
Nacho AldamaandZoltan Kochan 7733f3a943 feat: support scoped client certificates (#7626)
close #7427

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-02-14 12:11:12 +01:00
Zoltan Kochan 857c0547ac fix(deps): update 2024-02-12 22:46:58 +01:00
Zoltan Kochan 82aac81163 fix: update @pnpm/npm-lifecycle 2024-02-12 22:21:12 +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
Nacho Aldama 1a3449e940 feat: support node-options in .npmrc file (#7601)
сlose #7596
2024-02-01 13:21:03 +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 0c383327ea fix: reduce the side-effects cache key length (#7563)
close #5056
2024-01-25 03:20:08 +01:00
Zoltan Kochan a3f90c2757 fix: reduce the side-effects cache key length (#7563)
close #5056
2024-01-25 03:17:11 +01:00
Rex ZengandZoltan Kochan b13d2dc1ae feat: add sub folder support for git url (#7487)
close #4765

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-24 02:15:02 +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
await-ovoandZoltan Kochan be27890eea fix(dlx): set saveProd to true for getting pkgName from dependencies (#7540)
close #7424

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-19 16:28:39 +01:00
await-ovoandZoltan Kochan d172d73385 fix(dlx): set saveProd to true for getting pkgName from dependencies (#7540)
close #7424

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-01-19 16:27:29 +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