Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: correct .npmignore for node >=18.20 #15924

Merged
merged 3 commits into from
Apr 5, 2024
Merged

misc: correct .npmignore for node >=18.20 #15924

merged 3 commits into from
Apr 5, 2024

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Apr 5, 2024

This fixes the weird package-test errors we have been getting recently.

Some change in node 18.20.0 appears to have fixed a bug that our .npmignore was relying on.

Without a leading slash, entries in .npmignore should refer to any file/folder with that name in the directory structure. Before 18.20.0 this wasn't happening for some reason.

I attempted to correct as many entires in our .npmignore as I could, and verified that the contents by diffing [old .npmignore & node 18.19] against [new .npmignore & 18.20]

Ref nodejs/node#52382

@adamraine adamraine requested a review from a team as a code owner April 5, 2024 22:18
@adamraine adamraine requested review from connorjclark and removed request for a team April 5, 2024 22:18
.npmignore Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants