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 support for Remix (Vite) #140

Closed nicholas-codecov closed 3 weeks ago

nicholas-codecov commented 3 weeks ago

Description

This PR adds in support for Codecov's Bundle Analysis for Remix applications using Vite as their bundler for both client and server bundles.

Closes #99

Notable Changes

codecov-notifications[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 30.71429% with 97 lines in your changes missing coverage. Please review.

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

Files Patch % Lines
packages/remix-plugin/src/index.ts 0.00% 75 Missing and 1 partial :warning:
...remix-bundle-analysis/remixBundleAnalysisPlugin.ts 50.00% 21 Missing :warning:
Components Coverage Δ
Plugin core 97.69% <ø> (ø)
Rollup plugin 10.37% <ø> (ø)
Vite plugin 10.52% <ø> (ø)
Webpack plugin 26.04% <ø> (ø)

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

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 30.71429% with 97 lines in your changes missing coverage. Please review.

Project coverage is 76.38%. Comparing base (e7be5b4) to head (08d76f8).

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

Files Patch % Lines
packages/remix-plugin/src/index.ts 0.00% 75 Missing and 1 partial :warning:
...remix-bundle-analysis/remixBundleAnalysisPlugin.ts 50.00% 21 Missing :warning:
Additional details and impacted files | [Components](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/140/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/140/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `97.69% <ø> (ø)` | | | [Rollup plugin](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/140/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `10.37% <ø> (ø)` | | | [Vite plugin](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/140/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `10.52% <ø> (ø)` | | | [Webpack plugin](https://app.codecov.io/gh/codecov/codecov-javascript-bundler-plugins/pull/140/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=codecov) | `26.04% <ø> (ø)` | |

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

codecov-staging[bot] commented 3 weeks ago

Bundle Report

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

Bundle name Size Change
@codecov/bundler-plugin-core-cjs 42.12kB 0 bytes
@codecov/remix-plugin-esm 1.08kB 1.08kB :arrow_up:
@codecov/rollup-plugin-cjs 2.96kB 0 bytes
@codecov/nuxt-plugin-cjs 1.4kB 0 bytes
@codecov/webpack-plugin-esm 1.44kB 0 bytes
@codecov/example-next-app-edge-server-array-push 354 bytes 0 bytes
@codecov/example-next-app-server-cjs 342.32kB 0 bytes
@codecov/rollup-plugin-esm 1.32kB 0 bytes
@codecov/bundler-plugin-core-esm 7.32kB 30.43kB :arrow_down:
@codecov/example-next-app-client-array-push 907.85kB 0 bytes
@codecov/vite-plugin-cjs 2.96kB 0 bytes
@codecov/nuxt-plugin-esm 855 bytes 0 bytes
@codecov/vite-plugin-esm 1.26kB 0 bytes
@codecov/example-rollup-app-iife 95.45kB 0 bytes
@codecov/example-vite-app-esm 150.61kB 0 bytes
@codecov/sveltekit-plugin-cjs 1.32kB 0 bytes
@codecov/sveltekit-plugin-esm 909 bytes 0 bytes
@codecov/remix-plugin-cjs 1.3kB 1.3kB :arrow_up:
@codecov/example-webpack-app-array-push 71.19kB 0 bytes
@codecov/webpack-plugin-cjs 3.59kB 3.59kB :arrow_up:
codecov[bot] commented 3 weeks ago

Bundle Report

Changes will increase total bundle size by 266.87kB :arrow_up:

Bundle name Size Change
@codecov/bundler-plugin-core-cjs 42.12kB 0 bytes
@codecov/example-rollup-app-iife 95.45kB 0 bytes
@codecov/bundler-plugin-core-esm 7.32kB 0 bytes
@codecov/example-next-app-server-cjs 342.32kB 0 bytes
@codecov/example-sveltekit-app-client-esm 714.6kB 2 bytes :arrow_up:
@codecov/example-sveltekit-app-server-esm 974.58kB 1 bytes :arrow_up:
@codecov/example-next-app-edge-server-array-push 354 bytes 0 bytes
@codecov/example-nuxt-app-client-esm 237.66kB 0 bytes
@codecov/example-remix-app-client-esm 252.12kB 252.12kB :arrow_up:
@codecov/vite-plugin-cjs 2.96kB 0 bytes
@codecov/example-remix-app-server-esm 12.55kB 12.55kB :arrow_up:
@codecov/vite-plugin-esm 1.26kB 0 bytes
@codecov/remix-plugin-cjs 1.3kB 1.3kB :arrow_up:
@codecov/example-nuxt-app-server-esm 347.95kB 0 bytes
@codecov/remix-plugin-esm 904 bytes 904 bytes :arrow_up:
@codecov/sveltekit-plugin-cjs 1.32kB 0 bytes
@codecov/sveltekit-plugin-esm 909 bytes 0 bytes
@codecov/webpack-plugin-cjs 3.59kB 0 bytes
@codecov/example-next-app-client-array-push 907.85kB 0 bytes
@codecov/webpack-plugin-esm 1.44kB 0 bytes
@codecov/example-vite-app-esm 150.61kB 0 bytes
@codecov/rollup-plugin-cjs 2.96kB 0 bytes
@codecov/rollup-plugin-esm 1.32kB 0 bytes
@codecov/nuxt-plugin-cjs 1.4kB 0 bytes
@codecov/nuxt-plugin-esm 855 bytes 0 bytes
@codecov/example-webpack-app-array-push 71.19kB 0 bytes