From a1a7940556d4a3986a1df25b6b02b6208b9e4faa Mon Sep 17 00:00:00 2001 From: cheton Date: Fri, 6 Dec 2024 22:06:01 +0800 Subject: [PATCH] ci: update the bundle name for codecov bundle analysis report --- packages/changelog-github/rollup.config.mjs | 4 ++-- packages/react-base/rollup.config.mjs | 4 ++-- packages/react-hooks/rollup.config.mjs | 4 ++-- packages/react-icons/rollup.config.mjs | 4 ++-- packages/react/rollup.config.mjs | 4 ++-- packages/styled-system/rollup.config.mjs | 4 ++-- packages/theme/rollup.config.mjs | 4 ++-- packages/utils/rollup.config.mjs | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/changelog-github/rollup.config.mjs b/packages/changelog-github/rollup.config.mjs index a9ee2d3bd2..dda454713f 100644 --- a/packages/changelog-github/rollup.config.mjs +++ b/packages/changelog-github/rollup.config.mjs @@ -33,7 +33,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -52,7 +52,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/react-base/rollup.config.mjs b/packages/react-base/rollup.config.mjs index aafd8faeb1..938c7de2e1 100644 --- a/packages/react-base/rollup.config.mjs +++ b/packages/react-base/rollup.config.mjs @@ -32,7 +32,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -51,7 +51,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/react-hooks/rollup.config.mjs b/packages/react-hooks/rollup.config.mjs index a9ee2d3bd2..dda454713f 100644 --- a/packages/react-hooks/rollup.config.mjs +++ b/packages/react-hooks/rollup.config.mjs @@ -33,7 +33,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -52,7 +52,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/react-icons/rollup.config.mjs b/packages/react-icons/rollup.config.mjs index be01c02169..83b99a4bc4 100644 --- a/packages/react-icons/rollup.config.mjs +++ b/packages/react-icons/rollup.config.mjs @@ -32,7 +32,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -51,7 +51,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/react/rollup.config.mjs b/packages/react/rollup.config.mjs index aafd8faeb1..938c7de2e1 100644 --- a/packages/react/rollup.config.mjs +++ b/packages/react/rollup.config.mjs @@ -32,7 +32,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -51,7 +51,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/styled-system/rollup.config.mjs b/packages/styled-system/rollup.config.mjs index a9ee2d3bd2..dda454713f 100644 --- a/packages/styled-system/rollup.config.mjs +++ b/packages/styled-system/rollup.config.mjs @@ -33,7 +33,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -52,7 +52,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/theme/rollup.config.mjs b/packages/theme/rollup.config.mjs index b1cb8d368b..c467eaf58c 100644 --- a/packages/theme/rollup.config.mjs +++ b/packages/theme/rollup.config.mjs @@ -41,7 +41,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -60,7 +60,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], diff --git a/packages/utils/rollup.config.mjs b/packages/utils/rollup.config.mjs index a9ee2d3bd2..dda454713f 100644 --- a/packages/utils/rollup.config.mjs +++ b/packages/utils/rollup.config.mjs @@ -33,7 +33,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.main, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ], @@ -52,7 +52,7 @@ export default [ // Put the Codecov rollup plugin after all other plugins codecovRollupPlugin({ enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined, - bundleName: pkg.name + '/' + pkg.module, + bundleName: pkg.name, uploadToken: process.env.CODECOV_TOKEN, }), ],