Skip to content

Commit 072682c

Browse files
chore: Upgrade codecov plugin versions in our uploads (#202)
1 parent 2234eb0 commit 072682c

File tree

22 files changed

+337
-301
lines changed

22 files changed

+337
-301
lines changed

.changeset/empty-news-flash.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
"@codecov/nextjs-webpack-plugin": patch
3+
"@codecov/bundler-plugin-core": patch
4+
"@codecov/remix-vite-plugin": patch
5+
"@codecov/solidstart-plugin": patch
6+
"@codecov/sveltekit-plugin": patch
7+
"@codecov/bundle-analyzer": patch
8+
"@codecov/webpack-plugin": patch
9+
"@codecov/rollup-plugin": patch
10+
"@codecov/nuxt-plugin": patch
11+
"@codecov/vite-plugin": patch
12+
---
13+
14+
Bump codecov plugin version for uploading stats

packages/bundle-analyzer/build.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ export default defineBuildConfig({
3333
hooks: {
3434
"rollup:options": (_ctx, opts) => {
3535
if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) {
36-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
36+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises
3737
opts.plugins = [
38+
// @ts-expect-error - using rollup plugin
3839
...opts.plugins,
3940
// We analyze this bundle-analyzer package's build
4041
// using the codecov rollup plugin
42+
// @ts-expect-error - using rollup plugin
4143
codecovRollupPlugin({
4244
enableBundleAnalysis:
4345
typeof process.env.PLUGIN_CODECOV_TOKEN === "string",

packages/bundle-analyzer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@types/node": "^20.11.15",
6565
"@types/yargs": "^17.0.33",
6666
"@vitest/coverage-v8": "^1.5.0",
67-
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.5",
67+
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@1.5.0",
6868
"msw": "^2.1.5",
6969
"ts-node": "^10.9.2",
7070
"typedoc": "^0.25.12",

packages/bundler-plugin-core/build.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ export default defineBuildConfig({
2121
hooks: {
2222
"rollup:options": (_ctx, opts) => {
2323
if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) {
24-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
24+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises
2525
opts.plugins = [
26+
// @ts-expect-error - using rollup plugin
2627
...opts.plugins,
28+
// @ts-expect-error - using rollup plugin
2729
codecovRollupPlugin({
2830
enableBundleAnalysis:
2931
typeof process.env.PLUGIN_CODECOV_TOKEN === "string",

packages/bundler-plugin-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@types/node": "^20.11.15",
5252
"@types/semver": "^7.5.6",
5353
"@vitest/coverage-v8": "^1.5.0",
54-
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.5",
54+
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@1.5.0",
5555
"msw": "^2.1.5",
5656
"testdouble": "^3.20.1",
5757
"testdouble-vitest": "^0.1.3",

packages/nextjs-webpack-plugin/build.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ export default defineBuildConfig({
2828
hooks: {
2929
"rollup:options": (_ctx, opts) => {
3030
if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) {
31-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
31+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises
3232
opts.plugins = [
33+
// @ts-expect-error - using rollup plugin
3334
...opts.plugins,
35+
// @ts-expect-error - using rollup plugin
3436
codecovRollupPlugin({
3537
enableBundleAnalysis:
3638
typeof process.env.PLUGIN_CODECOV_TOKEN === "string",

packages/nextjs-webpack-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@types/node": "^20.10.0",
5656
"@types/webpack": "^5.28.5",
5757
"@vitest/coverage-v8": "^1.5.0",
58-
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.5",
58+
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@1.5.0",
5959
"msw": "^2.1.5",
6060
"ts-node": "^10.9.2",
6161
"typedoc": "^0.25.12",

packages/nuxt-plugin/build.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ export default defineBuildConfig({
2929
hooks: {
3030
"rollup:options": (_ctx, opts) => {
3131
if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) {
32-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
32+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises
3333
opts.plugins = [
34+
// @ts-expect-error - using rollup plugin
3435
...opts.plugins,
36+
// @ts-expect-error - using rollup plugin
3537
codecovRollupPlugin({
3638
enableBundleAnalysis:
3739
typeof process.env.PLUGIN_CODECOV_TOKEN === "string",

packages/nuxt-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@rollup/plugin-replace": "^5.0.5",
5555
"@types/node": "^20.11.15",
5656
"@vitest/coverage-v8": "^1.5.0",
57-
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.5",
57+
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@1.5.0",
5858
"msw": "^2.1.5",
5959
"ts-node": "^10.9.2",
6060
"typedoc": "^0.25.12",

packages/remix-vite-plugin/build.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ export default defineBuildConfig({
2929
hooks: {
3030
"rollup:options": (_ctx, opts) => {
3131
if (process.env.PLUGIN_CODECOV_TOKEN && Array.isArray(opts.plugins)) {
32-
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
32+
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-floating-promises
3333
opts.plugins = [
34+
// @ts-expect-error - using rollup plugin
3435
...opts.plugins,
36+
// @ts-expect-error - using rollup plugin
3537
codecovRollupPlugin({
3638
enableBundleAnalysis:
3739
typeof process.env.PLUGIN_CODECOV_TOKEN === "string",

0 commit comments

Comments
 (0)