Skip to content

Test files shipped in package #444

@mrginglymus

Description

@mrginglymus

The @microsoft/tsdoc package weighs in at a fairly hefty 2.7MB. A fair amount of this may come from tests being included in the distribution.

I'm assuming that, given

tsdoc/tsdoc/.npmignore

Lines 19 to 22 in 2c9082a

/dist/*.stats.*
/lib/**/test/
/lib-*/**/test/
*.test.js

this is not desired; however, whilst the test files themselves are not shipped the .map, .d.ts, and .d.ts.map files all are. I suspect that the ignore patterns should include **/__tests__?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions