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
65df252783
chore(release): 9.0.3
2024-04-18 18:27:04 +02:00
Khải
2786b549d9
chore(eslint): explicit-module-boundary-types ( #7926 )
2024-04-14 13:37:50 +02:00
Khải
0fcd52248c
refactor: replace some type exprs with interfaces ( #7923 )
2024-04-14 04:09:22 +02:00
Zoltan Kochan
b4f0b67e2d
chore(release): 9.0.0-rc.1
2024-04-13 18:28:48 +02:00
Zoltan Kochan
7b8701cb62
fix: update deps ( #7913 )
2024-04-13 10:40:50 +02:00
Zoltan Kochan
c9db742824
fix: update typescript to v5.4 ( #7905 )
2024-04-12 14:03:45 +02:00
Zoltan Kochan
43bd75c5b8
chore(release): libs
2024-04-09 17:14:05 +02:00
Khải
1a70379e28
refactor: return type annotations small packages in the packages directory ( #7871 )
...
* refactor(error): return type annotation
* refactor(git-utils): return type annotation
* refactor(make-dedicated-lockfile): return type
* refactor(doctor): return type annotations
* refactor(init): return type annotations
* refactor(setup): return type annotations
* refactor: return type annotations
* refactor(render-peer-issues): return type
2024-04-08 20:52:03 +02:00
Khải
c1fe489180
refactor(make-dedicated-lockfile): return type ( #7870 )
2024-04-08 20:50:38 +02:00
Khải
da026c09c4
refactor(git-utils): return type annotation ( #7869 )
2024-04-08 20:21:16 +02:00
Khải
67f749fb71
refactor(error): return type annotation ( #7868 )
2024-04-08 20:20:32 +02:00
Khải
a5b0780eb8
refactor: return type for dependency-path ( #7867 )
...
I want to improve type checker performance as recommended by
https://github.com/microsoft/TypeScript/wiki/Performance#using-type-annotations
In order to prevent merge conflict, I will do it one module at a time
2024-04-08 18:07:45 +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
39ef221da2
refactor: git utils
2024-04-04 12:09:55 +02:00
Zoltan Kochan
21878e7ae4
feat(lockfile)!: change the keys format ( #7752 )
2024-03-17 23:01:39 +01:00
Zoltan Kochan
aa33269f9f
fix: peer dependency rules should not change the lockfile ( #7758 )
...
* fix: peer dependency rules should not change the lockfile
* test: fix
* fix: hide peer issues warning if there nothing to report
2024-03-13 17:55:18 +01:00
Zoltan Kochan
53594a3787
feat!: package ID should be an exact version spec ( #7748 )
2024-03-10 14:46:25 +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
Khải
7c69a330a8
refactor: improve ergonomic of ReadPackageHook ( #7722 )
2024-02-29 11:36:20 +01:00
Khải
730929e330
feat: pnpm.ignoredOptionalDependencies ( #7714 )
2024-02-28 13:46:29 +00:00
Zoltan Kochan
3ded840001
fix: error code when cannot add tarball to store ( #7694 )
...
close #7679
2024-02-23 10:36:22 +01:00
Zoltan Kochan
7db98cae0f
feat!: bump lockfile to v7 ( #7666 )
2024-02-17 12:57:58 +01:00
Zoltan Kochan
a5a3b995c1
test: use sync fs operations in tests ( #7664 )
2024-02-16 19:43:04 +01:00
Nacho Aldama
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
c692f802f4
feat!: bump lockfile to v6.1 ( #7643 )
2024-02-13 01:41:51 +01:00
Zoltan Kochan
857c0547ac
fix(deps): update
2024-02-12 22:46:58 +01:00
Zoltan Kochan
3477ee5ee8
feat!: check the packageManager field ( #7635 )
...
* feat!: check the packageManager field
* test: fix
* refactor: update error message to match what corepack prints
* feat: add pm-strict option
* refactor: pm-strict=>package-manager-strict
* fix: remove packageManager field from package.json on publish
2024-02-11 01:07:23 +01:00
Zoltan Kochan
46d38a8744
fix: parsing dependency path
2024-02-09 02:27:34 +01:00
Zoltan Kochan
862c707610
fix: converting dep path to file name ( #7632 )
...
close #7631
2024-02-09 01:51:29 +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
89b396b4c6
refactor!: createPeersFolderSuffix renamed to createPeersDirSuffix
2024-02-08 00:52:21 +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
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
Brandon Cheng
5a9188eeee
chore(deps): update typescript-eslint (6.11.0 -> 6.18.1) ( #7545 )
...
* chore: uppdate @typescript-eslint/* 6.11.0 -> 6.18.1
https://github.com/typescript-eslint/typescript-eslint/issues/8261
```
TypeError: Cannot read properties of undefined (reading 'some')
Occurred while linting /home/runner/work/pnpm/pnpm/cli/default-reporter/src/reporterForClient/pkgsDiff.ts:70
Rule: "@typescript-eslint/prefer-nullish-coalescing"
at LogicalExpression[operator = "||"] (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/@typescript-eslint+eslint-plugin@6.19 .0_@typescript-eslint+parser@6.19 .0_eslint@8.56 .0_typescript@5.3.3/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js:267:32)
at ruleErrorHandler (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/linter.js:1076:28)
at /home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at CodePathAnalyzer.enterNode (/home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:803:23)
at /home/runner/work/pnpm/pnpm/node_modules/.pnpm/eslint@8.56 .0/node_modules/eslint/lib/linter/linter.js:1111:32
```
* refactor: fix instance of no-floating-promises in calc-dep-state package
```
packages/calc-dep-state/src/index.ts
70:5 error An array of Promises may be unintentional. Consider handling the promises' fulfillment or rejection with Promise.all or similar, or explicitly marking the expression as ignored with the `void` operator @typescript-eslint/no-floating-promises
```
2024-01-22 00:46:07 +01:00
btea
d715f87b60
fix: fixed doctor command warning message error ( #7527 )
...
close #7525
2024-01-16 10:30: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
Zoltan Kochan
6e3b75a42f
chore(release): 9.0.0-alpha.0
2024-01-08 19:12:45 +01:00
Zoltan Kochan
cdd83654dd
feat!: don't include registry URL in package ID ( #7476 )
2024-01-08 11:57:44 +01:00
Zoltan Kochan
d381a6001c
feat!: use dependency path format from lockfile v6 ( #7470 )
...
Drop lockfile v5 support.
2024-01-08 11:57:44 +01:00
Zoltan Kochan
43cdd87c0c
feat!: drop Node.js 16 support
2024-01-08 11:57:44 +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