Commit Graph

429 Commits

Author SHA1 Message Date
khai96_
a30341ba74 chore(git): merge from main 2025-02-17 21:14:28 +07:00
Zoltan Kochan
ee72c62db9 chore(release): 10.4.1 2025-02-16 22:37:26 +01:00
Zoltan Kochan
3a71df0588 refactor: use lex-comparator 2025-02-16 14:29:23 +01:00
Zoltan Kochan
0205498322 fix: print warning about ignored builds on repeat install (#9116)
close #9106
close #9111
2025-02-16 03:12:37 +01:00
khai96_
ab71ee824f feat: rename config 2025-02-14 21:35:13 +07:00
khai96_
f10b8c098d fix: eslint 2025-02-14 21:28:22 +07:00
khai96_
7485b897b9 test: shouldUpdateInjectedFilesAfterRun 2025-02-14 19:48:38 +07:00
khai96_
7ed2773fad chore(git): merge from main 2025-02-14 18:28:05 +07:00
khai96_
16a527c045 refactor: just use .modules.yaml 2025-02-14 17:58:27 +07:00
Zoltan Kochan
2a6b51f483 chore(release): 10.4.0 2025-02-14 01:18:32 +01:00
khai96_
fd694b8d92 feat: findInjectedPackages (wip) 2025-02-13 18:52:46 +07:00
khai96_
733c4bbbe0 refactor: rename field 2025-02-13 11:07:03 +07:00
Zoltan Kochan
4aa6d45e5c feat: approve-builds works with global packages (#9095) 2025-02-13 01:42:49 +01:00
khai96_
96ee29f30e feat: update injected packages after run (wip)
Fixes https://github.com/pnpm/pnpm/issues/9081
2025-02-13 01:23:20 +07:00
Zoltan Kochan
a5b36b7355 fix: don't remove ignored builds list on repeat install (#9083)
close #9045
2025-02-12 01:30:44 +01:00
Zoltan Kochan
1dc2804f7a chore(release): 10.3.0 2025-02-11 00:34:43 +01:00
Zoltan Kochan
c52f55af30 refactor: create exec.pnpm-cli-runner (#9064) 2025-02-08 22:34:19 +01:00
Khải
265946bb6d fix: verify-deps-before-run after install --prod|--no-optional (#9055)
close #9019
2025-02-07 12:36:58 +01:00
Zoltan Kochan
d40dfebdca chore(release): 10.2.1 2025-02-06 20:00:29 +01:00
Zoltan Kochan
afbb65495e fix: running approve-builds from a subdirectory of a workspace (#9048) 2025-02-05 23:45:26 +01:00
Zoltan Kochan
97e0f5da61 chore(release): 10.2.0 2025-02-03 18:32:38 +01:00
Zoltan Kochan
b5ba5350bf feat(dlx): add an option to dlx for providing a list of deps that are allowed to run install scripts (#9026) 2025-02-03 14:46:28 +01:00
btea
5d7192c3de fix: exit approve-builds command when getAutomaticallyIgnoredBuilds return empty list (#9024)
* fix: exit `approve-builds` command when `getAutomaticallyIgnoredBuilds` return empty list

* feat: print an info message when there are no packages to approve

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-02 22:02:27 +01:00
Junxiao Shi
c0d1c0191b fix(lifecycle): properly quote args (#9018)
* fix(lifecycle): properly quote args

close #8980
close #7641
2025-01-29 23:32:46 +01:00
Zoltan Kochan
a2a4509af5 fix: sort keys in pnpm.onlyBuiltDependencies 2025-01-29 11:06:23 +01:00
Zoltan Kochan
c5a0b9ea43 chore(release): 10.1.0 2025-01-26 22:26:45 +01:00
Zoltan Kochan
961dc5d29d feat: add ignored-builds command (#8963)
* feat: add ignored-builds command

* test: ignored-builds

* test: ignored-builds

* fix: document the new command

* refactor: update text

* feat: add approve-builds command

* feat: rebuild approved packages

* fix: ignored builds

* feat: add final approval prompt

* test: approve builds

* refactor: approve-builds
2025-01-25 18:51:35 +01:00
btea
7a9473b237 fea: pnpm.ignoredBuiltDependencies for muting warnings about ignored dependency builds (#8958)
close #8935

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-01-12 02:17:44 +01:00
Zoltan Kochan
040e67b88d fix: don't print patched dependencies in list of non-built deps (#8961)
close #8952
2025-01-11 02:20:12 +01:00
Khải
c96eb2b042 fix(lifecycle): skip verify for install hooks (#8957)
close #8954

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-01-10 23:14:27 +01:00
Zoltan Kochan
42ecf04fd0 chore(release): 10.0.0 2025-01-07 15:28:17 +01:00
Zoltan Kochan
c5080ded56 chore(release): 10.0.0-rc.3 2025-01-05 13:26:28 +01:00
Zoltan Kochan
cc3bbc950d fix: don't load side-effects cache for packages that are not allowed to be built (#8901)
* fix: don't read ignored deps from side effects cache

* test: fix

* test: fix
2025-01-05 03:17:54 +01:00
Zoltan Kochan
e103abe941 chore(release): 10.0.0-rc.2 2024-12-29 02:47:35 +01:00
Zoltan Kochan
b27e7f553a chore(release): 10.0.0-rc.1 2024-12-27 14:20:04 +01:00
Zoltan Kochan
878ea8c43b feat!: use an allow list of built dependencies by default (#8897) 2024-12-24 14:06:50 +01:00
Zoltan Kochan
4771813309 feat: store ignored dependencies list in modules state file (#8903) 2024-12-24 03:01:35 +01:00
Zoltan Kochan
516c4b301b fix: improve how ignored lifecycle scripts are reported (#8899) 2024-12-22 21:22:06 +01:00
Zoltan Kochan
38eb97a8b3 chore(release): libs 2024-12-18 13:40:41 +01:00
Zoltan Kochan
3278c588cd chore(release): 10.0.0-rc.0 2024-12-16 02:31:45 +01:00
Zoltan Kochan
a76da0c53c feat!: remove conversion of lockfile v6 to v9 (#8866) 2024-12-15 14:39:19 +01:00
Zoltan Kochan
d47c4266db perf: faster repeat install (#8838) 2024-12-08 23:42:33 +01:00
Zoltan Kochan
3fe70e7897 refactor!: all lib versions should start with pnpm major version 2024-11-29 01:04:45 +01:00
Zoltan Kochan
9fcc7e808e chore(release): 10.0.0-beta.0 2024-11-28 12:35:01 +01:00
Zoltan Kochan
7d7c51ecd6 feat!: dlx should use exact versions of packages in the cache key (#8811)
close #8722
2024-11-27 09:04:42 +01:00
Zoltan Kochan
7997ed4ae2 fix: running install automatically before run (#8805) 2024-11-25 14:02:17 +01:00
Zoltan Kochan
39c53852ea fix: some commands should not fail if a different package manager is set in package.json (#8802)
close #7959
2024-11-25 10:13:23 +01:00
Zoltan Kochan
4dd27a894f feat: add an option to install dependencies before running scripts (#8781) 2024-11-25 09:02:12 +01:00
Zoltan Kochan
e200728e0b fix: parameters should be passed down to the executed script when running pnpm t (#8776) 2024-11-17 22:55:04 +01:00
btea
ef7c10221c fix: pnpm exec should specify command (#8774) 2024-11-17 17:07:32 +01:00