Commit Graph

1321 Commits

Author SHA1 Message Date
Zoltan Kochan
119fc5bacb chore: update pnpm to v9.12 2024-10-05 01:42:45 +02:00
Zoltan Kochan
3a7e0facd5 chore: ignore vulnerability in not used dependency 2024-10-05 01:40:29 +02:00
Zoltan Kochan
1790f2c683 fix: update vulnerable dependencies 2024-09-10 22:26:11 +02:00
Zoltan Kochan
b5f0e8c418 chore: update dependencies 2024-09-10 21:10:50 +02:00
Zoltan Kochan
1f228b0aee chore: ignore GHSA-9wv6-86v2-598j which is used only in dev deps 2024-09-10 01:49:04 +02:00
Paul Nodet
86732affd0 chore: migrate ESLint Configuration to the new flat config format (#8482)
* chore: bump node-version to v18.18

min required version for eslint flat config

* chore: migrate eslint to flat config

* chore: migrate monorepo to flat config

* fix: remove old eslint unused disable directives

* chore: include meta-updater in the tsconfig

* style: remove semicolons

* style: fix

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-09-01 23:06:12 +02:00
Zoltan Kochan
735fc909fd chore: update pnpm to v9.9 2024-08-26 17:50:42 +02:00
Zoltan Kochan
8e3f603cbd chore: update pnpm to v9.8 2024-08-22 13:25:33 +02:00
Zoltan Kochan
ba9409ffce chore: ignore CVE 2024-08-22 02:01:26 +02:00
btea
cb91ae62be chore: add packageManager field (#8399)
* chore: add `packageManager` field

* fix: ci

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-14 02:38:08 +02:00
Khải
9b4f73caaf chore(scripts): typecheck-only (#8395)
* chore(scripts): typecheck-only

* feat: change all configuration

* feat: include pnpm/ and pnpm/test/

* chore(deps): remove unused dependency

* refactor(typescript-only): use find-packages

* refactor(typescript-only): refactor paths

* fix: typescript-only

* fix: update compile-only

* fix: compile pnpm

* fix: windows

* fix: windows

* chore: meta-updater

* refactor(tsconfig): remove explicit composite

* fix: path in windows

* feat: don't depend on cwd

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-08-11 08:26:01 +02:00
Zoltan Kochan
d367c93e37 feat: update Node.js to v20 in @pnpm/exe (#8394) 2024-08-09 20:14:45 +02:00
Zoltan Kochan
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
Wm Salt Hale
a03d548332 chore: update @pnpm/meta-updater (#8198)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-07-31 14:42:17 +02:00
Zoltan Kochan
068ea7da35 chore: use catalogs in overrides 2024-07-22 02:13:25 +02:00
Zoltan Kochan
948772d14c chore: remove syncpack from dependencies 2024-06-28 00:48:01 +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
ed9c041f61 fix(deps): update 2024-06-11 11:27:03 +02:00
Khải
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
d6d31d6adc fix(deps): update 2024-05-07 15:27:13 +02:00
btea
21de734b5a fix: outdated output table information is misplaced (#8037) 2024-05-04 11:44:02 +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
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
aef6287565 chore: add express vulnerability to ignore list 2024-03-26 10:14:05 +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
e71ca7579e fix: vulnerable dependency 2024-03-15 00:54:41 +01:00
Zoltan Kochan
a95bec6f51 fix: don't allow peer dependency rules with auto-install-peers on 2024-03-11 18:36:49 +01:00
Zoltan Kochan
529bc4b755 fix: update js-yaml 2024-03-08 11:25:01 +01:00
Zoltan Kochan
9802ee6c08 chore: fix vulnerability 2024-03-05 11:56:28 +01:00
Zoltan Kochan
1ecda50502 feat(lockfile)!: dividing "packages" field to "packages" and "snapshots" (#7700)
close #7685
2024-03-04 23:31:01 +01:00
btea
e4caa114ac chore: update husky (#7671) 2024-02-18 11:23:18 +01:00
Zoltan Kochan
8936f6f096 fix: compilation 2024-02-12 23:20:45 +01:00
Zoltan Kochan
857c0547ac fix(deps): update 2024-02-12 22:46:58 +01:00
Zoltan Kochan
25524bd8f8 chore: remove packageManager from package.json 2024-02-11 01:09:25 +01:00
Zoltan Kochan
e4f0307a05 chore: ignore pkg security vulnerability 2024-02-10 16:03:38 +01:00
Zoltan Kochan
480d9cc2be chore: update packageManager field 2024-02-09 02:36:35 +01:00
Zoltan Kochan
f8580771eb chore(deps): update lockfile and pnpm 2024-02-09 02:04:01 +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
Hiếu Đặng
985381c091 fix: Gitlab resolver (#7609)
close #7603
2024-02-06 23:09:30 +01:00
Zoltan Kochan
977060fc67 fix: resolve peer having peer correctly (#7583)
close #7444
2024-01-31 00:28:16 +01:00
Zoltan Kochan
ba417f6962 chore: update packageManager field 2024-01-27 17:45:05 +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
dd883b7152 chore: require pnpm v9 in the repo 2024-01-08 21:31:05 +01:00
Zoltan Kochan
b5fcace45f chore: change default dist-tag to next-9 2024-01-08 11:57:44 +01:00
Zoltan Kochan
d9c3b8a03f feat: update Yarn deps (#7460) 2024-01-08 11:57:44 +01:00