mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
Infrastructure: - Add GlitchTip (web + worker) to docker-compose.macmini.yml (port 8020) - Add glitchtip.mana.how to Cloudflare Tunnel config - Add glitchtip database to init-db SQL - Add GLITCHTIP_DSN to .env.development Shared Package (@manacore/shared-error-tracking): - initErrorTracking() - Sentry-compatible init with GlitchTip DSN - captureException(), captureMessage(), setUser(), setTag(), flush() - SentryExceptionFilter for NestJS (captures 5xx errors only) - Graceful no-op when DSN is not configured Integration: - Add instrument.ts to calendar, contacts, todo backends - Import instrument.ts before app bootstrap in all 3 main.ts files - Error tracking auto-initializes when GLITCHTIP_DSN env var is set Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
45 lines
913 B
JSON
45 lines
913 B
JSON
{
|
|
"name": "@manacore/shared-error-tracking",
|
|
"version": "1.0.0",
|
|
"description": "Error tracking integration for ManaCore apps (GlitchTip/Sentry-compatible)",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./nestjs": {
|
|
"types": "./dist/nestjs.d.ts",
|
|
"default": "./dist/nestjs.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/node": "^9.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@nestjs/common": "^10.0.0 || ^11.0.0",
|
|
"@nestjs/core": "^10.0.0 || ^11.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@nestjs/common": {
|
|
"optional": true
|
|
},
|
|
"@nestjs/core": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/common": "^10.0.0",
|
|
"@nestjs/core": "^10.0.0",
|
|
"@types/node": "^22.10.2",
|
|
"typescript": "^5.0.0"
|
|
}
|
|
}
|