Commit Graph

360 Commits

Author SHA1 Message Date
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
b3d1495566 fix: recreate node_modules if virtual-store-dir-max-length changes (#8032) 2024-04-29 15:24:06 +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
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
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
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
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
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
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
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
053fc12f5a fix: don't fetch tarballs when lockfile-only install is run (#7715)
close #1328
2024-03-14 02:41:10 +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
a95bec6f51 fix: don't allow peer dependency rules with auto-install-peers on 2024-03-11 18:36:49 +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
9e6bbfb778 test: fix 2024-03-05 14:08:53 +01:00
Zoltan Kochan
174603eb32 fix: auto install peers should not work with ignore missing peers (#7739) 2024-03-05 02:50:09 +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
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
Khải
730929e330 feat: pnpm.ignoredOptionalDependencies (#7714) 2024-02-28 13:46:29 +00:00
Zoltan Kochan
0e6b757cf5 feat!: remove requiresBuild from the lockfile (#7710)
close #7707
2024-02-27 11:50:43 +01:00
Khải
086b69cf60 feat: pnpmfileChecksum (#7662)
* Squashed commit of the following:

commit 912ee1af4d954d192d42cf4a2e6dae56d5bef21d
Author: Zoltan Kochan <z@kochan.io>
Date:   Thu Feb 22 02:22:22 2024 +0100

    revert: moving tarballs to lfs

commit f8943bdfd422c77e27febda9d962e9937c83dd55
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Wed Feb 21 20:35:38 2024 +0700

    refactor: move pnpmfileChecksum to requireHooks

commit 33c90e030f49aa9edf815708f846047d7dec25ca
Merge: d6e74263d 5f4b535be
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Wed Feb 21 12:06:26 2024 +0700

    chore(git): merge

commit d6e74263de8ea474b1c16cd29aac2dbdef40d102
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Wed Feb 21 12:03:13 2024 +0700

    refactor: reuse code

commit 5f4b535bed589bb5eb60ddbbb61534d62e75cfae
Author: Khải <hvksmr1996@gmail.com>
Date:   Wed Feb 21 10:21:35 2024 +0700

    refactor: revert unnecessary bumps

commit ebee6c825d08888413684856c7505d4708c960af
Merge: 82233556d c8e8eca3d
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Wed Feb 21 00:37:50 2024 +0700

    chore(git): merge from main

commit c8e8eca3debb0fb081a614346b9b1a5786b87a5d
Author: Zoltan Kochan <z@kochan.io>
Date:   Tue Feb 20 18:36:11 2024 +0100

    test(mount-modules): use local pnpm in pretest

commit e0488e5ac443b62df3aef9a161c757bc16c1bda3
Author: Zoltan Kochan <z@kochan.io>
Date:   Tue Feb 20 18:28:21 2024 +0100

    fix: unpacking tarballs that appear to be not USTAR or GNU TAR (#7677)

    close #7120

commit 82233556d4162d90a38e11d15136461008169acd
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Tue Feb 20 20:32:47 2024 +0700

    refactor: replace remove with add

commit 30293df6bdc8cc478b9d7b81cb5d09ca48855b89
Merge: 6eb0b3e81 7cb3cfb5b
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Tue Feb 20 20:31:30 2024 +0700

    chore(git): merge from main

commit 6eb0b3e81dea7ced23b4e9683d9500b4a30499a5
Merge: c1fbc11ed e4caa114a
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Tue Feb 20 16:45:23 2024 +0700

    chore(git): merge from main

commit c1fbc11eded093e923644454254b98eb0090292d
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Tue Feb 20 13:59:15 2024 +0700

    fix: pruneLockfile

commit 39a8e75a1cccd8c6f5df838eaf2c07f98c2652dd
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Tue Feb 20 02:46:41 2024 +0700

    lint: fix

commit 839de517487561ddf3d27bb77a1cfd8e373c4274
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 20:24:25 2024 +0700

    style: fix

commit 1ec2c1a40fb050221b937878decd9eeef8e9c845
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 20:01:00 2024 +0700

    feat: handle absolute path

commit 002edd4484a071638b6e2f43ab9ce76f186aa379
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 19:51:33 2024 +0700

    fix: use opts instead of rawConfig

commit d55b687735b598e7a2b235eaed5675eaf1982a40
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 19:41:51 2024 +0700

    refactor: remove an unnecessary await

commit bb595f315b8ba422128efc1ff753222c86e93fdf
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 14:08:07 2024 +0700

    feat: rawConfig.ignorePnpmfile

commit 0a17c659d303054d770e72279019b9c39e85c95d
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 14:04:13 2024 +0700

    feat: read from rawConfig

commit 276379a531163ca6271fa863c27f3c779a6849a4
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Mon Feb 19 13:53:34 2024 +0700

    feat: move pnpmfileChecksum to the option region

commit 3868abdbb25194ef5b279cfea63fab6294d46a8c
Author: Zoltan Kochan <z@kochan.io>
Date:   Sat Feb 17 00:09:19 2024 +0100

    test: fix

commit 95e6554089d30dcee25da144719b28e369d11f10
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Fri Feb 16 23:18:11 2024 +0700

    fix: test

commit 75a131aade4caa322330f6df017abd02aee0ccd9
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Fri Feb 16 23:17:45 2024 +0700

    fix: pnpmfileChecksum not appearing in the lockfile

commit 297f920b0be4671b72481709af43193522b177b3
Merge: 8ac1725a8 c7d056422
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Fri Feb 16 18:12:11 2024 +0700

    chore(git): merge from main

commit 8ac1725a83b3eccfe46b2972a77f7a780aef3564
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Fri Feb 16 18:01:58 2024 +0700

    feat: pnpmfileChecksum

commit 83788d023d478d4e559ebfbaaf2aba6e355358b5
Author: khai96_ <hvksmr1996@gmail.com>
Date:   Fri Feb 16 17:04:02 2024 +0700

    refactor: add explicit type

* fix: update lockfile when new pnpmfile removes deps

* fix: always calculate pnpmfileChecksum

* test: getPnpmfileChecksum

* test(cli): add or change pnpmfile

* refactor: try catch and await

* refactor: pnpmfile hash

* docs: add changesets

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2024-02-23 19:17:38 +01:00
Zoltan Kochan
7db98cae0f feat!: bump lockfile to v7 (#7666) 2024-02-17 12:57:58 +01:00
Zoltan Kochan
7f59a0491e test(core): use sync testDefaults 2024-02-16 20:29:07 +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
Zoltan Kochan
c7d0564225 refactor: lockfile-file (#7655) 2024-02-16 11:14:47 +01:00