Remove Sentry

This commit is contained in:
2025-08-19 17:23:03 +02:00
parent c7d0cf5327
commit bcb5ed4768
6 changed files with 6 additions and 988 deletions

View File

@ -10,7 +10,6 @@
"chosenAddOns": [ "chosenAddOns": [
"eslint", "eslint",
"form", "form",
"sentry",
"shadcn", "shadcn",
"start", "start",
"store", "store",

972
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,6 @@
"@radix-ui/react-slider": "^1.3.6", "@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-slot": "^1.2.3", "@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.6", "@radix-ui/react-switch": "^1.2.6",
"@sentry/tanstackstart-react": "^9.12.0",
"@t3-oss/env-core": "^0.12.0", "@t3-oss/env-core": "^0.12.0",
"@tailwindcss/vite": "^4.0.6", "@tailwindcss/vite": "^4.0.6",
"@tanstack/match-sorter-utils": "^8.19.4", "@tanstack/match-sorter-utils": "^8.19.4",

View File

@ -1,9 +1,5 @@
import { registerGlobalMiddleware } from '@tanstack/react-start' import { registerGlobalMiddleware } from '@tanstack/react-start'
registerGlobalMiddleware({ registerGlobalMiddleware({
middleware: [ middleware: [],
// createMiddleware({ type: 'function' }).server(
// Sentry.sentryGlobalServerMiddlewareHandler(),
// ),
],
}) })

View File

@ -8,10 +8,6 @@ export default function Header() {
<Link to="/">Home</Link> <Link to="/">Home</Link>
</div> </div>
<div className="px-2 font-bold">
<Link to="/demo/sentry/testing">Sentry</Link>
</div>
<div className="px-2 font-bold"> <div className="px-2 font-bold">
<Link to="/demo/tanstack-query">TanStack Query</Link> <Link to="/demo/tanstack-query">TanStack Query</Link>
</div> </div>

View File

@ -4,8 +4,6 @@ import viteReact from '@vitejs/plugin-react'
import viteTsConfigPaths from 'vite-tsconfig-paths' import viteTsConfigPaths from 'vite-tsconfig-paths'
import tailwindcss from '@tailwindcss/vite' import tailwindcss from '@tailwindcss/vite'
import { wrapVinxiConfigWithSentry } from '@sentry/tanstackstart-react'
const config = defineConfig({ const config = defineConfig({
plugins: [ plugins: [
// this is the plugin that enables path aliases // this is the plugin that enables path aliases
@ -24,11 +22,3 @@ const config = defineConfig({
}) })
export default config export default config
// export default wrapVinxiConfigWithSentry(config, {
// org: process.env.VITE_SENTRY_ORG,
// project: process.env.VITE_SENTRY_PROJECT,
// authToken: process.env.SENTRY_AUTH_TOKEN,
// // Only print logs for uploading source maps in CI
// // Set to `true` to suppress logs
// silent: !process.env.CI,
// })