Skip to content

Add .npmignore or files field check to ensure published package excludes test/source-only files #10

Description

@RishiByte

Verify package.json has a files field or that .npmignore exists so that publishing to npm doesn't include tests/, tsconfig.json, or other dev-only files unnecessarily. Add a CI step or local script that runs npm pack --dry-run and asserts the resulting file list only contains expected build output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    community-fiendCommunity: intermediate tierenhancementNew feature or requestgood first issueGood for newcomerspackagingPackage publishing and distribution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions