fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)
MIT License
7.96k stars 881 forks source link

When I install v2.1.3 package is really large and contains coverage directory #1280

Open kdid opened 5 months ago

kdid commented 5 months ago

Version information

Code to reproduce


$ npm install fluent-ffmpeg@2.1.2

$ du -sh node_modules/fluent-ffmpeg
944K    node_modules/fluent-ffmpeg

$ du -h node_modules/fluent-ffmpeg
 68K    node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl
 16K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles
 32K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify
 36K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts
 52K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static
144K    node_modules/fluent-ffmpeg/tools/jsdoc-template
156K    node_modules/fluent-ffmpeg/tools
 40K    node_modules/fluent-ffmpeg/lib/options
 12K    node_modules/fluent-ffmpeg/lib/presets
140K    node_modules/fluent-ffmpeg/lib
 16K    node_modules/fluent-ffmpeg/doc/styles
 32K    node_modules/fluent-ffmpeg/doc/scripts/prettify
 36K    node_modules/fluent-ffmpeg/doc/scripts
568K    node_modules/fluent-ffmpeg/doc
944K    node_modules/fluent-ffmpeg

$ npm install fluent-ffmpeg@2.1.3

$ du -sh node_modules/fluent-ffmpeg
 12M    node_modules/fluent-ffmpeg

$ du -h node_modules/fluent-ffmpeg
 68K    node_modules/fluent-ffmpeg/tools/jsdoc-template/tmpl
 16K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static/styles
 32K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts/prettify
 36K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static/scripts
 52K    node_modules/fluent-ffmpeg/tools/jsdoc-template/static
144K    node_modules/fluent-ffmpeg/tools/jsdoc-template
152K    node_modules/fluent-ffmpeg/tools
 52K    node_modules/fluent-ffmpeg/OLD
 40K    node_modules/fluent-ffmpeg/lib/options
 12K    node_modules/fluent-ffmpeg/lib/presets
140K    node_modules/fluent-ffmpeg/lib
 16K    node_modules/fluent-ffmpeg/doc/styles
 32K    node_modules/fluent-ffmpeg/doc/scripts/prettify
 36K    node_modules/fluent-ffmpeg/doc/scripts
568K    node_modules/fluent-ffmpeg/doc
4.0K    node_modules/fluent-ffmpeg/.vscode
 12K    node_modules/fluent-ffmpeg/coverage/lcov-report/tests/integration
 12K    node_modules/fluent-ffmpeg/coverage/lcov-report/tests/acceptance
 28K    node_modules/fluent-ffmpeg/coverage/lcov-report/tests/helpers
 52K    node_modules/fluent-ffmpeg/coverage/lcov-report/tests
112K    node_modules/fluent-ffmpeg/coverage/lcov-report/src/utils
240K    node_modules/fluent-ffmpeg/coverage/lcov-report/src
404K    node_modules/fluent-ffmpeg/coverage/lcov-report
 11M    node_modules/fluent-ffmpeg/coverage/tmp
 11M    node_modules/fluent-ffmpeg/coverage
 12M    node_modules/fluent-ffmpeg

(note: if the problem only happens with some inputs, include a link to such an input file)

Expected results

I would expect the node_modules directory to be smaller and not contain the coverage assets

Observed results

The node_modules directory is large and contains coverage assets