Separated and isolated the responsibilities of monitoring tools. Reorganized the code by introducing a core package that contains common code related to monitoring and moved all the service operations like error capturing and identification of users into their respective packages. This ensures each tool is independent and easy to maintain.
59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"name": "@kit/sentry",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"clean": "git clean -xdf .turbo node_modules",
|
|
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./server": "./src/server.ts",
|
|
"./provider": "./src/components/provider.tsx",
|
|
"./instrumentation": "./src/instrumentation.ts",
|
|
"./config/client": "./src/config/sentry.client.config.ts",
|
|
"./config/server": "./src/config/sentry.server.config.ts",
|
|
"./config/edge": "./src/config/sentry.server.edge.ts"
|
|
},
|
|
"dependencies": {
|
|
"@kit/monitoring-core": "workspace:*",
|
|
"@opentelemetry/resources": "1.23.0",
|
|
"@opentelemetry/sdk-node": "0.50.0",
|
|
"@opentelemetry/semantic-conventions": "^1.23.0",
|
|
"@sentry/nextjs": "^7.111.0",
|
|
"@sentry/opentelemetry-node": "^7.111.0",
|
|
"@tanstack/react-table": "^8.16.0",
|
|
"next": "14.3.0-canary.7",
|
|
"tailwind-merge": "^2.3.0",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.79",
|
|
"@kit/eslint-config": "workspace:*",
|
|
"@kit/prettier-config": "workspace:*",
|
|
"@kit/tailwind-config": "workspace:*",
|
|
"@kit/tsconfig": "workspace:*",
|
|
"react": "18.2.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "18.2.0"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
}
|