Update react-query and lucide-react dependencies and improve lockfile version

This commit updates '@tanstack/react-query' from '5.32.0' to '5.35.1' and 'lucide-react' from '^0.376.0' to '^0.378.0' in package.json. Additionally, changes were made in pnpm-lock.yaml including updating the lockfile version from '9.0' to '6.0'.
This commit is contained in:
giancarlo
2024-05-07 14:22:47 +07:00
parent 9a2fa3be13
commit 05255cbebe
17 changed files with 7087 additions and 8698 deletions

View File

@@ -12,7 +12,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.43.1",
"@playwright/test": "^1.44.0",
"@types/node": "^20.12.8",
"node-html-parser": "^6.1.13"
}

View File

@@ -55,11 +55,11 @@
"@marsidev/react-turnstile": "^0.6.0",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query-next-experimental": "^5.34.1",
"@tanstack/react-query": "5.35.1",
"@tanstack/react-query-next-experimental": "^5.35.1",
"@tanstack/react-table": "^8.16.0",
"date-fns": "^3.6.0",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"next": "14.2.3",
"next-sitemap": "^4.2.3",
"next-themes": "0.3.0",

View File

@@ -38,7 +38,7 @@
"@manypkg/cli": "^0.21.4",
"@turbo/gen": "^1.13.3",
"cross-env": "^7.0.3",
"pnpm": "^9.0.6",
"pnpm": "^9.1.0",
"prettier": "^3.2.5",
"turbo": "^1.13.3",
"typescript": "^5.4.5",

View File

@@ -30,7 +30,7 @@
"@supabase/supabase-js": "^2.43.1",
"@types/react": "^18.3.1",
"date-fns": "^3.6.0",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"next": "14.2.3",
"react": "18.3.1",
"react-hook-form": "^7.51.4",

View File

@@ -15,8 +15,8 @@
"./components": "./src/components/index.ts"
},
"dependencies": {
"@stripe/react-stripe-js": "^2.7.0",
"@stripe/stripe-js": "^3.3.0",
"@stripe/react-stripe-js": "^2.7.1",
"@stripe/stripe-js": "^3.4.0",
"stripe": "^15.5.0"
},
"devDependencies": {

View File

@@ -15,7 +15,7 @@
"./route-handler": "./src/keystatic-route-handler.ts"
},
"dependencies": {
"@keystatic/core": "0.5.13",
"@keystatic/core": "0.5.14",
"@keystatic/next": "5.0.0"
},
"devDependencies": {

View File

@@ -34,10 +34,10 @@
"@kit/ui": "workspace:^",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"next": "14.2.3",
"next-themes": "0.3.0",
"react": "18.3.1",

View File

@@ -21,10 +21,10 @@
"@makerkit/data-loader-supabase-core": "^0.0.7",
"@makerkit/data-loader-supabase-nextjs": "^1.2.0",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"@tanstack/react-table": "^8.16.0",
"@types/react": "^18.3.1",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"next": "14.2.3",
"react": "18.3.1",
"react-dom": "18.3.1",

View File

@@ -29,9 +29,9 @@
"@marsidev/react-turnstile": "^0.6.0",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"@types/react": "^18.3.1",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"next": "14.2.3",
"react-hook-form": "^7.51.4",
"react-i18next": "^14.1.1",

View File

@@ -21,9 +21,9 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"@types/react": "^18.3.1",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-i18next": "^14.1.1"

View File

@@ -32,13 +32,13 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:^",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"@tanstack/react-table": "^8.16.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"class-variance-authority": "^0.7.0",
"date-fns": "^3.6.0",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"next": "14.2.3",
"react": "18.3.1",
"react-dom": "18.3.1",

View File

@@ -21,7 +21,7 @@
"@kit/shared": "workspace:^",
"@kit/tailwind-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"react-i18next": "^14.1.1"
},
"dependencies": {

View File

@@ -21,7 +21,7 @@
"@kit/prettier-config": "workspace:*",
"@kit/tailwind-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@types/nodemailer": "6.4.14",
"@types/nodemailer": "6.4.15",
"zod": "^3.23.6"
},
"eslintConfig": {

View File

@@ -1,7 +1,11 @@
import { useEffect } from 'react';
import { useMonitoring } from './use-monitoring';
export function useCaptureException(error: Error) {
const service = useMonitoring();
return service.captureException(error);
useEffect(() => {
void service.captureException(error);
}, [error, service]);
}

View File

@@ -28,7 +28,7 @@
"@supabase/gotrue-js": "2.62.2",
"@supabase/ssr": "^0.3.0",
"@supabase/supabase-js": "^2.43.1",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query": "5.35.1",
"@types/react": "^18.3.1",
"next": "14.2.3",
"react": "18.3.1",

View File

@@ -31,7 +31,7 @@
"clsx": "^2.1.1",
"cmdk": "1.0.0",
"input-otp": "1.2.4",
"lucide-react": "^0.376.0",
"lucide-react": "^0.378.0",
"react-top-loading-bar": "2.3.1",
"tailwind-merge": "^2.3.0"
},

15733
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff