Skip to content

fix: preserve gypfile detection with preinstall scripts - #266

Open
amtbsl wants to merge 2 commits into
npm:mainfrom
amtbsl:fix/gypfile-with-preinstall-75
Open

amtbsl wants to merge 2 commits into
npm:mainfrom
amtbsl:fix/gypfile-with-preinstall-75

Conversation

@amtbsl

@amtbsl amtbsl commented Aug 29, 2026

Copy link
Copy Markdown

Fixes #75.

Keep automatic gypfile detection enabled when a package defines a preinstall script but no install script. Adds regression coverage for the combined case.

Tests: full suite (68 passed), ESLint, coverage 100% lines / 98.73% branches / 98.15% functions.

@amtbsl
amtbsl requested a review from a team as a code owner August 29, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Just because a package has a preinstall doesn't mean it doesn't have a gypfile

1 participant