Skip to content

Published package contains many unnecessary file #90

@blaine-arcjet

Description

@blaine-arcjet
  • I'm submitting a ...
    [ ] bug report
    [x] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

The published package contains many files that don't need to be included, drastically increasing download/on-disk size. Additionally, including lockfiles confuses some security tools into thinking there are more dependencies than actually specified. You could use the "files": [] field in the package.json to limit which files are published.

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

The published v2.4.1 had removed a bunch of the development files from the published package, but it seems the changes were never committed to the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions