Update dependencies and refactor SentryProvider component
This update includes version bumps for several dependencies across multiple packages and applications including "@sentry/nextjs", "lucide-react", "@types/node", "pnpm", and others. It also includes a change to the SentryProvider component where the SentryMonitoringService is now instantiated outside the MonitoringProvider function instead of using useRef inside the function.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.44.1",
|
||||
"@types/node": "^20.12.12",
|
||||
"@types/node": "^20.12.13",
|
||||
"node-html-parser": "^6.1.13"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
## AVOID PLACING SENSITIVE DATA IN THIS FILE.
|
||||
## PUBLIC KEYS OR CONFIGURATION ARE OKAY TO BE PLACED HERE.
|
||||
|
||||
# NODE ENV
|
||||
NODE_ENV=production
|
||||
|
||||
# SUPABASE
|
||||
NEXT_PUBLIC_SUPABASE_URL=
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
"@tanstack/react-query-next-experimental": "^5.40.0",
|
||||
"@tanstack/react-table": "^8.17.3",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"next": "14.2.3",
|
||||
"next-sitemap": "^4.2.3",
|
||||
"next-themes": "0.3.0",
|
||||
@@ -79,14 +79,14 @@
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"@next/bundle-analyzer": "14.2.3",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^20.12.12",
|
||||
"@types/node": "^20.12.13",
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"dotenv-cli": "^7.4.2",
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "^3.2.5",
|
||||
"supabase": "^1.169.8",
|
||||
"supabase": "^1.172.2",
|
||||
"tailwindcss": "3.4.3",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"@manypkg/cli": "^0.21.4",
|
||||
"@turbo/gen": "^1.13.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"pnpm": "^9.1.3",
|
||||
"pnpm": "^9.1.4",
|
||||
"prettier": "^3.2.5",
|
||||
"turbo": "^1.13.3",
|
||||
"typescript": "^5.4.5",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@supabase/supabase-js": "^2.43.4",
|
||||
"@types/react": "^18.3.3",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"next": "14.2.3",
|
||||
"react": "18.3.1",
|
||||
"react-hook-form": "^7.51.4",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"@kit/eslint-config": "workspace:*",
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@types/node": "^20.12.12"
|
||||
"@types/node": "^20.12.13"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"./route-handler": "./src/keystatic-route-handler.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@keystatic/core": "0.5.17",
|
||||
"@keystatic/core": "0.5.18",
|
||||
"@keystatic/next": "^5.0.1",
|
||||
"@markdoc/markdoc": "^0.4.0"
|
||||
},
|
||||
@@ -25,7 +25,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/node": "^20.12.12",
|
||||
"@types/node": "^20.12.13",
|
||||
"@types/react": "^18.3.3",
|
||||
"react": "18.3.1",
|
||||
"zod": "^3.23.8"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/node": "^20.12.12",
|
||||
"@types/node": "^20.12.13",
|
||||
"wp-types": "^3.65.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"@tanstack/react-query": "5.40.0",
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"next": "14.2.3",
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"@tanstack/react-query": "5.40.0",
|
||||
"@tanstack/react-table": "^8.17.3",
|
||||
"@types/react": "^18.3.3",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"next": "14.2.3",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"@supabase/supabase-js": "^2.43.4",
|
||||
"@tanstack/react-query": "5.40.0",
|
||||
"@types/react": "^18.3.3",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"next": "14.2.3",
|
||||
"react-hook-form": "^7.51.4",
|
||||
"react-i18next": "^14.1.2",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"@supabase/supabase-js": "^2.43.4",
|
||||
"@tanstack/react-query": "5.40.0",
|
||||
"@types/react": "^18.3.3",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-i18next": "^14.1.2"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"next": "14.2.3",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@opentelemetry/resources": "1.24.1",
|
||||
"@opentelemetry/sdk-node": "0.51.1",
|
||||
"@opentelemetry/semantic-conventions": "^1.24.1",
|
||||
"@sentry/nextjs": "^8.5.0",
|
||||
"@sentry/nextjs": "^8.7.0",
|
||||
"@sentry/opentelemetry-node": "^7.114.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,18 +1,16 @@
|
||||
import { useRef } from 'react';
|
||||
|
||||
import { MonitoringContext } from '@kit/monitoring-core';
|
||||
|
||||
import { SentryMonitoringService } from '../services/sentry-monitoring.service';
|
||||
|
||||
const sentry = new SentryMonitoringService();
|
||||
|
||||
export function SentryProvider({ children }: React.PropsWithChildren) {
|
||||
return <MonitoringProvider>{children}</MonitoringProvider>;
|
||||
}
|
||||
|
||||
function MonitoringProvider(props: React.PropsWithChildren) {
|
||||
const service = useRef(new SentryMonitoringService());
|
||||
|
||||
return (
|
||||
<MonitoringContext.Provider value={service.current}>
|
||||
<MonitoringContext.Provider value={sentry}>
|
||||
{props.children}
|
||||
</MonitoringContext.Provider>
|
||||
);
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.0.0",
|
||||
"input-otp": "1.2.4",
|
||||
"lucide-react": "^0.379.0",
|
||||
"lucide-react": "^0.381.0",
|
||||
"react-top-loading-bar": "2.3.1",
|
||||
"tailwind-merge": "^2.3.0"
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@ export const CardButton = React.forwardRef<
|
||||
asChild?: boolean;
|
||||
className?: string;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
} & React.ButtonHTMLAttributes<HTMLButtonElement>
|
||||
>(function CardButton({ className, asChild, ...props }, ref) {
|
||||
const Comp = asChild ? Slot : 'button';
|
||||
|
||||
@@ -19,7 +19,7 @@ export const CardButton = React.forwardRef<
|
||||
<Comp
|
||||
ref={ref}
|
||||
className={cn(
|
||||
'group relative flex h-36 flex-col rounded-lg bg-secondary/80 transition-all hover:bg-secondary/90 hover:shadow-sm active:bg-secondary active:shadow-lg',
|
||||
'group relative flex h-36 flex-col rounded-lg border transition-all hover:bg-secondary/20 hover:shadow active:bg-secondary active:bg-secondary/50 active:shadow-lg dark:shadow-primary/20',
|
||||
className,
|
||||
)}
|
||||
{...props}
|
||||
|
||||
537
pnpm-lock.yaml
generated
537
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user