From 7a73f88e06f7a61adcc560a52b562d80067dd2cd Mon Sep 17 00:00:00 2001 From: oto-ciulis-tt <62436273+oto-ciulis-tt@users.noreply.github.com> Date: Sun, 1 Dec 2024 15:23:04 -0800 Subject: [PATCH] feat: Upload sourcemaps to Sentry (#414) --- package.json | 2 +- vite.main.config.ts | 4 ++-- yarn.lock | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 184ecd3e..eb2b4a7a 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "license": "GPL-3.0-only", "dependencies": { "@sentry/electron": "^5.4.0", - "@sentry/vite-plugin": "^2.22.4", + "@sentry/vite-plugin": "^2.22.6", "@todesktop/runtime": "^1.6.4", "adm-zip": "^0.5.15", "axios": "^1.7.7", diff --git a/vite.main.config.ts b/vite.main.config.ts index d26bba5c..bdc7a79b 100644 --- a/vite.main.config.ts +++ b/vite.main.config.ts @@ -27,10 +27,10 @@ export default defineConfig((env) => { process.env.NODE_ENV === 'production' ? sentryVitePlugin({ org: 'comfy-org', - project: 'electron', + project: 'desktop', authToken: process.env.SENTRY_AUTH_TOKEN, release: { - name: version, + name: `ComfyUI@${version}`, }, }) : undefined, diff --git a/yarn.lock b/yarn.lock index 447b23bd..bd9100e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -544,7 +544,7 @@ __metadata: "@electron/windows-sign": "npm:^1.1.3" "@playwright/test": "npm:^1.47.2" "@sentry/electron": "npm:^5.4.0" - "@sentry/vite-plugin": "npm:^2.22.4" + "@sentry/vite-plugin": "npm:^2.22.6" "@sentry/wizard": "npm:^3.30.0" "@todesktop/cli": "npm:^1.9.7" "@todesktop/runtime": "npm:^1.6.4" @@ -3056,7 +3056,7 @@ __metadata: languageName: node linkType: hard -"@sentry/vite-plugin@npm:^2.22.4": +"@sentry/vite-plugin@npm:^2.22.6": version: 2.22.6 resolution: "@sentry/vite-plugin@npm:2.22.6" dependencies: