Deleted the ErrorBoundary component from the makerkit package and introduced new exception capture mechanisms for Baselime and Sentry monitoring providers. The code now captures all exceptions thrown within components and sends them to the configured monitoring provider, which in turn logs the errors for debugging purposes. Updated packages and environment variables accordingly to support this feature.
42 lines
947 B
JSON
42 lines
947 B
JSON
{
|
|
"name": "@kit/baselime",
|
|
"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",
|
|
"./instrumentation": "./src/instrumentation.ts",
|
|
"./provider": "./src/components/provider.tsx"
|
|
},
|
|
"dependencies": {
|
|
"@baselime/node-opentelemetry": "^0.5.8",
|
|
"@baselime/react-rum": "^0.2.9"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:*",
|
|
"@kit/prettier-config": "workspace:*",
|
|
"@kit/tailwind-config": "workspace:*",
|
|
"@kit/tsconfig": "workspace:*"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
}
|