Skip to content

npm no longer always include certain files like CHANGELOG #72

@kenrick95

Description

@kenrick95

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions