codecov / codecov-javascript-bundler-plugins

Set of bundler plugins that allow users to upload bundle stats to Codecov.
MIT License
4 stars 1 forks source link

feat: Add in debug option, and log out short sha for commit being uploaded #117

Closed nicholas-codecov closed 2 months ago

nicholas-codecov commented 2 months ago

Description

Add in debug option to plugin configs, as well when debug is true log out the short sha.

codecov-notifications[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

:white_check_mark: All tests successful. No failed tests found :relaxed:

Files Patch % Lines
...src/bundle-analysis/bundleAnalysisPluginFactory.ts 33.33% 1 Missing and 1 partial :warning:
Components Coverage Δ
Plugin core 95.24% <33.33%> (-0.16%) :arrow_down:
Rollup plugin 6.57% <ø> (ø)
Vite plugin 6.57% <ø> (ø)
Webpack plugin 30.47% <ø> (ø)

:loudspeaker: Thoughts on this report? Let us know!

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 81.31%. Comparing base (ff552dc) to head (2c75f59).

:white_check_mark: All tests successful. No failed tests found :relaxed:

Files Patch % Lines
...src/bundle-analysis/bundleAnalysisPluginFactory.ts 33.33% 1 Missing and 1 partial :warning:
Additional details and impacted files | [Components](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/117/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | Coverage Δ | | |---|---|---| | [Plugin core](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/117/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `95.24% <33.33%> (-0.16%)` | :arrow_down: | | [Rollup plugin](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/117/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `6.57% <ø> (ø)` | | | [Vite plugin](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/117/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `6.57% <ø> (ø)` | | | [Webpack plugin](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/117/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `30.47% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-staging[bot] commented 2 months ago

Bundle Report

Changes will decrease total bundle size by 477.24kB :arrow_down:

Bundle name Size Change
@codecov/bundler-plugin-core-cjs 151.8kB 555 bytes :arrow_up:
@codecov/vite-plugin-es 864 bytes 10.9kB :arrow_down:
@codecov/webpack-plugin-cjs 14.8kB 0 bytes
@codecov/bundler-plugin-core-es 5.67kB 141.31kB :arrow_down:
@codecov/rollup-plugin-cjs 12.1kB 0 bytes
@codecov/example-vite-app-esm 150.59kB 0 bytes
@codecov/rollup-plugin-es 794 bytes 0 bytes
@codecov/example-next-app-edge-server 306 bytes 0 bytes
@codecov/webpack-plugin-es 904 bytes 0 bytes
@codecov/example-webpack-app-array-push 71.19kB 0 bytes
@codecov/vite-plugin-cjs 12.12kB 0 bytes
@codecov/example-rollup-app-iife 95.45kB 0 bytes
@codecov/example-next-app-client 894.27kB 0 bytes
@codecov/example-next-app-server (removed) 325.59kB :arrow_down:
codecov[bot] commented 2 months ago

Bundle Report

Changes will decrease total bundle size by 10.17kB :arrow_down:

Bundle name Size Change
@codecov/example-rollup-app-iife 95.45kB 0 bytes
@codecov/vite-plugin-cjs 12.12kB 0 bytes
@codecov/vite-plugin-es 864 bytes 10.9kB :arrow_down:
@codecov/bundler-plugin-core-cjs 151.8kB 555 bytes :arrow_up:
@codecov/bundler-plugin-core-es 5.67kB 168 bytes :arrow_up:
@codecov/example-webpack-app-array-push 71.19kB 0 bytes
@codecov/example-vite-app-esm 150.59kB 0 bytes
@codecov/rollup-plugin-cjs 12.1kB 0 bytes
@codecov/example-next-app-server 325.59kB 0 bytes
@codecov/rollup-plugin-es 794 bytes 0 bytes
@codecov/example-next-app-edge-server 306 bytes 0 bytes
@codecov/webpack-plugin-cjs 14.8kB 0 bytes
@codecov/example-next-app-client 894.27kB 0 bytes
@codecov/webpack-plugin-es 904 bytes 0 bytes