Skip to content

Commit f504ba8

Browse files
authored
Update Zudoku / Sentry create release only in deployments (#446)
* Update Zudoku * Only run sentry release management plugin when deploying
1 parent 529d8d3 commit f504ba8

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"react-dom": "18.3.1",
3030
"safe-marked": "16.0.0",
3131
"typescript": "5.6.3",
32-
"zudoku": "^0.21.0"
32+
"zudoku": "0.21.5"
3333
},
3434
"devDependencies": {
3535
"@types/json-schema": "7.0.15",

vite.config.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ export default defineConfig({
77
},
88
plugins: [
99
// Put the Sentry vite plugin after all other plugins
10-
sentryVitePlugin({
11-
authToken: process.env.SENTRY_AUTH_TOKEN,
12-
org: "zuplo",
13-
project: "docs",
14-
}),
10+
process.env.VERCEL &&
11+
sentryVitePlugin({
12+
authToken: process.env.SENTRY_AUTH_TOKEN,
13+
org: "zuplo",
14+
project: "docs",
15+
}),
1516
],
1617
});

0 commit comments

Comments
 (0)