Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Remove Sentry #24

Merged
merged 4 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Astro Check, TypeScript Check, Rome CI
on:
pull_request:
push:
branches:
- "main"

jobs:
check:
Expand Down
14 changes: 1 addition & 13 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
import react from "@astrojs/react";
import vercel from "@astrojs/vercel/serverless";
import { sentryVitePlugin } from "@sentry/vite-plugin";
import { defineConfig } from "astro/config";

const vite = process.env.VERCEL_URL
? {
build: {
sourcemap: true,
},
plugins: [
sentryVitePlugin({
org: "wes-souza",
project:
process.env.VERCEL_ENV === "production"
? "mastodon-flock"
: "mastodon-flock-preview",
include: "./.vercel/output/static",
authToken: process.env.SENTRY_AUTH_TOKEN,
release: process.env.VERCEL_URL,
}),
],
plugins: [],
}
: {};

Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@
},
"packageManager": "[email protected]",
"dependencies": {
"@astrojs/react": "^2.2.1",
"@astrojs/vercel": "^3.8.0",
"@astrojs/react": "^3.3.0",
"@astrojs/vercel": "^7.5.3",
"@nanostores/react": "^0.6.0",
"@sentry/browser": "^7.62.0",
"@sentry/integrations": "^7.62.0",
"astro": "^2.10.4",
"astro": "^4.6.1",
"cookie": "^0.5.0",
"date-fns": "^2.30.0",
"focus-trap-react": "^10.2.1",
Expand All @@ -45,7 +43,7 @@
"twitter-api-v2": "^1.15.1"
},
"devDependencies": {
"@sentry/vite-plugin": "^2.6.1",
"@astrojs/check": "^0.5.10",
"@types/cookie": "^0.5.1",
"@types/node": "^20.4.9",
"@types/react": "^18.2.20",
Expand All @@ -71,4 +69,4 @@
"style": "wes"
}
}
}
}
Loading
Loading