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

npm no longer always include certain files like CHANGELOG #72

Open
kenrick95 opened this issue Jul 10, 2024 · 0 comments · May be fixed by #73
Open

npm no longer always include certain files like CHANGELOG #72

kenrick95 opened this issue Jul 10, 2024 · 0 comments · May be fixed by #73

Comments

@kenrick95
Copy link

kenrick95 commented Jul 10, 2024

As titled. Looks like it happened since around npm@7. So this line is now inaccurate. We should allow user to specify "CHANGELOG"/"HISTORY"/"NOTICE" in "files" field

const ALWAYS_INCLUDED = [
/^package.json$/,
/^README.*/i,
/^CHANGE(S|LOG).*/i,
/^HISTORY.*/i,
/^LICEN(C|S)E.*/i,
/^NOTICE.*/i
]

References:

@kenrick95 kenrick95 linked a pull request Jul 10, 2024 that will close this issue
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 a pull request may close this issue.

1 participant