Commit Graph

499 Commits

Author SHA1 Message Date
Zoltan Kochan
2cb67d7294 fix: out-of-memory error during peers resolution (#8058) 2024-05-07 13:37:47 +02:00
Zoltan Kochan
01a4566655 chore(release): 9.1.0 2024-05-06 11:13:30 +02:00
Zoltan Kochan
7a0536e23d fix: cannot read properties of undefined (reading missingPeersOfChildren) (#8054)
close #8041
2024-05-06 09:21:08 +02:00
Khải
cb0f459c54 fix: recursive update with workspace alias (#7999)
close #7975
2024-04-30 01:17:12 +02:00
Zoltan Kochan
7e69321e53 chore(release): 9.1.0-0 2024-04-29 15:36:28 +02:00
Zoltan Kochan
b3d1495566 fix: recreate node_modules if virtual-store-dir-max-length changes (#8032) 2024-04-29 15:24:06 +02:00
Zoltan Kochan
1a6f7fb7e5 fix: only automatically resolve optional peers with versions that satisfy the ranges (#8028)
close #7985
2024-04-29 14:19:40 +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
Brandon Cheng
d066dae2b8 refactor: annotate linkedDep as ResolvedDirectDependency (#7988) 2024-04-26 16:15:22 +02:00
Zoltan Kochan
88f53d4a78 chore(release): 9.0.6 2024-04-24 15:01:39 +02:00
Zoltan Kochan
820934207a fix: don't upgrade the lockfile format during frozen lockfile install (#8006)
close #7991
2024-04-24 14:59:58 +02:00
Zoltan Kochan
63adcb5351 chore(release): 9.0.5 2024-04-21 23:02:35 +02:00
Zoltan Kochan
6b6ca69e1f fix: save the lockfile in the new format even if it is up-to-date (#7984) 2024-04-21 23:01:54 +02:00
Zoltan Kochan
abaf12e8cf fix: resolving peer deps with prerelease versions (#7981)
close #7977
2024-04-21 14:31:58 +02:00
Zoltan Kochan
8a0798d514 fix: resolution of aliased dependencies (#7982)
close #7957
2024-04-21 13:16:20 +02:00
Zoltan Kochan
50e37072f4 chore(release): 9.0.4 2024-04-19 02:49:53 +02:00
Zoltan Kochan
b7d2ed47be fix: ignore the engines.pnpm field of dependencies (#7968)
close #7965
2024-04-19 02:49:01 +02:00
Zoltan Kochan
eb1947576f fix: resolution of aliased dependencies (#7967)
close #7957
2024-04-19 02:46:05 +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
b3961cb19d fix: linking optional dependencies (#7949)
close #7943
2024-04-17 17:35:05 +02:00
Zoltan Kochan
dd43b0f6bc chore(release): 9.0.1 2024-04-16 16:00:46 +02:00
Zoltan Kochan
461d76a2e5 fix: frozen lockfile should work with lockfile v6 (#7935)
close #7934
2024-04-16 16:00:00 +02:00
Brandon Cheng
db7aee89a0 refactor: remove zipWith when resolving dependencies of importers (#7927)
* refactor: avoid zipWith when resolving dependencies of importers

Instead of creating two separate arrays and zipping them together, the
initial map here can create the pairs array directly.

I'm not expecting any behavior changes in this commit other than
slightly improved readability and performance.

* refactor: resolve dependencies

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-04-15 13:01:08 +02:00
Brandon Cheng
73b241d27b refactor: split out resolvedDependenciesOfImporter for readability (#7928) 2024-04-15 00:14:14 +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
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
Khải
8374aeb353 refactor(resolve-dependencies): type checking perf (#7878) 2024-04-10 00:45:21 +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
e8fc6139ea refactor(install): type checking perf (#7877) 2024-04-09 16:23:44 +02:00
Khải
471f0b3420 refactor(pkg-manager): return type annotations for small modules in the pkg-manager directory (#7875)
* refactor(pkg-manager): return type annotations

* refactor(get-context): return type annotation

* refactor(headless): return type annotations
2024-04-09 12:00:41 +02:00
Khải
77a3f9b4ff refactor(core): type checking perf (#7874)
* refactor(core): type checking perf

* perf: remove unnecessary unnest operation

* refactor: replace `undefined[]` with `void`
2024-04-09 11:59:49 +02:00
Zoltan Kochan
db162f3801 test: remove console.log 2024-04-09 11:28:39 +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
6caec8109b fix: hoist peer dependencies (#7841) 2024-03-30 12:23:29 +01:00
Khải
984b976672 refactor: replace deprecated jest methods (#7840) 2024-03-29 00:03:58 +01:00
Colin Casey
d4e13ca969 fix(prune): add --ignore-scripts arg to prune command (#7836)
close #5030
2024-03-28 00:05:07 +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
a22bdf0e29 feat!: remove the dev field from the lockfile (#7808) 2024-03-22 15:21:26 +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
Chris Kim
0fa26f4936 fix: correctly detect the active Node js version during headless installation (#7801)
close #5266

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-03-17 17:46:40 +01:00
Zoltan Kochan
e71ca7579e fix: vulnerable dependency 2024-03-15 00:54:41 +01:00
Zoltan Kochan
053fc12f5a fix: don't fetch tarballs when lockfile-only install is run (#7715)
close #1328
2024-03-14 02:41:10 +01:00