report errors to sentry

This commit is contained in:
m5r
2022-06-26 17:01:55 +02:00
parent 590e92eea4
commit 961dc8e461
11 changed files with 446 additions and 126 deletions

View File

@ -6,7 +6,7 @@
"dev:build": "NODE_ENV=development dotenv npm run build:server -- -- --watch",
"dev:css": "NODE_ENV=development tailwindcss -i ./styles/tailwind.css -o ./app/styles/tailwind.css --watch",
"dev:remix": "NODE_ENV=development remix watch",
"dev:server": "NODE_ENV=development dotenv node ./server.js",
"dev:server": "NODE_ENV=development dotenv node ./server/index.js",
"dev:worker": "NODE_ENV=development npm run build:worker -- --watch",
"dev:init": "NODE_ENV=development dotenv run-s build:remix build:server",
"dev": "npm run dev:init && run-p dev:build dev:worker dev:css dev:remix dev:server",
@ -15,7 +15,7 @@
"build:remix": "remix build",
"build:worker": "node ./scripts/build-worker.js",
"build": "NODE_ENV=production run-s build:css build:remix build:worker build:server",
"start": "NODE_ENV=production node ./server.js",
"start": "NODE_ENV=production node ./server/index.js",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
@ -57,6 +57,9 @@
"@remix-run/express": "1.5.1",
"@remix-run/node": "1.5.1",
"@remix-run/react": "1.5.1",
"@sentry/browser": "7.3.0",
"@sentry/node": "7.3.0",
"@sentry/tracing": "7.3.0",
"@tailwindcss/forms": "0.5.2",
"@tailwindcss/line-clamp": "0.4.0",
"@tailwindcss/typography": "0.5.2",
@ -89,6 +92,7 @@
"tiny-invariant": "1.2.0",
"tslog": "3.3.3",
"twilio": "3.77.1",
"uuid": "8.3.2",
"web-push": "3.5.0",
"zod": "3.17.3"
},
@ -109,6 +113,7 @@
"@types/react": "18.0.10",
"@types/react-dom": "18.0.5",
"@types/secure-password": "3.1.1",
"@types/uuid": "8.3.4",
"@types/web-push": "3.3.2",
"@vitejs/plugin-react": "1.3.2",
"c8": "7.11.3",