* Updated packages Updated all packages to the latest versions * Refactor Sentry monitoring configuration and services The Sentry monitoring configuration and services have been refactored to simplify the setup process. In addition, unnecessary files or exports have been removed from the Sentry package. These changes should make the process of initializing and using the Sentry monitoring services in both the client and server more straightforward and efficient. * Refactor server-side Sentry instrumentation code The conditional logic responsible for checking the runtime environment and the enabled status of the monitoring instrumentation has been adjusted. This refactoring simplifies the code, making it more readable, by clearly separating the conditions and nesting the environment-specific operations. A typo in the environment variable name "ENABLE_MONITORING_INSTRMENTATION" was also corrected to "ENABLE_MONITORING_INSTRUMENTATION". * Rename environment variable for monitoring instrumentation The environment variable controlling monitoring instrumentation has been renamed from 'MONITORING_INSTRUMENTATION_ENABLED' to 'ENABLE_MONITORING_INSTRUMENTATION'. It affects both the README and .env.production files within the monitoring/api and apps/web directories respectively.
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"name": "@kit/i18n",
|
|
"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/i18n.server.ts",
|
|
"./client": "./src/i18n.client.ts",
|
|
"./provider": "./src/i18n-provider.tsx"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:*",
|
|
"@kit/prettier-config": "workspace:*",
|
|
"@kit/shared": "workspace:^",
|
|
"@kit/tailwind-config": "workspace:*",
|
|
"@kit/tsconfig": "workspace:*",
|
|
"@tanstack/react-query": "5.40.0",
|
|
"react-i18next": "^14.1.2"
|
|
},
|
|
"dependencies": {
|
|
"i18next": "^23.11.4",
|
|
"i18next-browser-languagedetector": "8.0.0",
|
|
"i18next-resources-to-backend": "^1.2.1"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/react"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
}
|