Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Upload Nuxt and SvelteKit example stats #138

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default defineNuxtConfig({
[
"@codecov/nuxt-plugin",
{
dryRun: true,
Copy link

@codecov codecov bot Jun 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dryRun option is removed from here. Should it be added to the environment config or is it not required anymore for the @codecov/nuxt-plugin?

enableBundleAnalysis: true,
bundleName: "@codecov/example-nuxt-app",
uploadToken: process.env.VITE_UPLOAD_TOKEN,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

process.env is used directly to access environment variables, which is not safe for sensitive data such as tokens. I suggest either using a configuration file that can be ignored in version control, or a secure vault service to store and access sensitive data like tokens.

Expand Down
1 change: 0 additions & 1 deletion examples/sveltekit/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default defineConfig({
plugins: [
sveltekit(),
codecovSvelteKitPlugin({
dryRun: true,
Copy link

@codecov codecov bot Jun 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dryRun option is removed from here. Should it be added to the environment config or is it not required anymore for the codecovSvelteKitPlugin?

enableBundleAnalysis: true,
uploadToken: "test-token",
bundleName: "@codecov/example-sveltekit-app",
Expand Down
Loading