Claude Bot
ba7debfeb5
Add skipLifecycleScripts to skip unnecessary postinstall scripts
...
This adds a new `skipLifecycleScripts` field to package.json that allows
skipping lifecycle scripts for packages where they are unnecessary. This has
higher precedence than trustedDependencies and scripts in this list are:
1. Never executed (even if in trustedDependencies)
2. Excluded from the "X postinstall scripts blocked" message
Key changes:
- Added `skip_lifecycle_scripts` field to Lockfile struct
- Created `default-skipped-lifecycle-scripts.txt` with esbuild as default
- Added parsing for `skipLifecycleScripts` array in package.json
- Updated PackageInstaller to check skip list before blocking or enqueueing scripts
- Added test verifying skip behavior and precedence over trustedDependencies
This prevents nagging users about packages like esbuild whose postinstall
scripts are unnecessary for Bun users and just waste CI time.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-20 15:26:51 +00:00
..
2025-10-08 18:00:38 -07:00
2025-09-24 02:42:57 -07:00
2025-10-04 05:56:21 -07:00
2025-10-04 02:59:47 -07:00
2025-08-12 17:07:46 -07:00
2025-10-07 08:17:13 -07:00
2025-10-08 18:00:38 -07:00
2025-08-14 16:36:44 -07:00
2025-07-14 00:47:53 -07:00
2025-09-22 05:30:34 -07:00
2025-10-08 18:00:38 -07:00
2025-10-20 15:26:51 +00:00
2025-10-08 18:00:38 -07:00
2025-09-25 19:03:22 -07:00
2025-09-27 00:45:29 -07:00
2025-07-14 00:47:53 -07:00
2025-10-08 18:00:38 -07:00
2025-10-08 18:00:38 -07:00
2025-10-08 18:00:38 -07:00
2025-09-27 00:45:29 -07:00
2025-09-27 00:45:29 -07:00
2025-07-15 01:14:58 -07:00
2025-10-08 18:00:38 -07:00
2025-07-15 22:14:00 -07:00
2025-09-09 21:42:01 -07:00
2025-07-07 11:21:36 -07:00
2025-09-22 05:30:34 -07:00
2025-10-08 18:00:38 -07:00
2025-09-30 13:25:50 -07:00
2025-07-14 00:47:53 -07:00
2025-09-26 15:23:32 -07:00
2025-10-08 12:13:06 -07:00
2025-08-27 06:39:11 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-07-14 00:47:53 -07:00
2025-10-04 00:31:47 -07:00
2025-01-20 23:17:52 -08:00
2025-08-12 17:07:46 -07:00
2025-09-27 00:45:29 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-08-21 14:53:50 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-24 02:42:57 -07:00
2025-10-06 02:58:04 -07:00
2025-01-03 08:21:00 -08:00
2025-08-21 14:53:50 -07:00
2025-08-12 17:07:46 -07:00
2025-08-12 17:07:46 -07:00
2025-07-14 00:47:53 -07:00
2025-07-14 00:47:53 -07:00
2025-05-08 23:22:16 -07:00
2025-08-12 17:07:46 -07:00
2025-10-08 01:51:25 -07:00
2025-09-09 21:42:01 -07:00
2025-07-16 01:01:10 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00