Update dependencies and remove unused packages

This commit updates the versions of some dependencies, removes a few unused packages, and corrects the locations of some of the dependencies. Specific changes include version updates for '@tanstack/react-query-next-experimental', 'lucide-react', and 'supabase'. Furthermore, several unnecessary '@tanstack/react-table', 'next', 'tailwind-merge', and 'zod' dependencies were removed from various packages. The exact details of these changes can be obtained by comparing the changes in the 'pnpm-lock.yaml' file.
This commit is contained in:
giancarlo
2024-04-24 19:58:03 +07:00
parent 936adc271c
commit 452e9e3567
31 changed files with 469 additions and 796 deletions

View File

@@ -18,8 +18,8 @@
},
"dependencies": {
"@tanstack/react-table": "^8.16.0",
"next": "14.3.0-canary.7",
"next": "14.2.2",
"tailwind-merge": "^2.3.0",
"zod": "^3.23.0"
"zod": "^3.23.4"
}
}

View File

@@ -28,18 +28,7 @@ export async function POST(request: Request) {
);
try {
await service.handleWebhookEvent(request, {
onEvent(event: string, data: unknown) {
logger.info(
{
...ctx,
event,
data,
},
`Received billing event`,
);
},
});
await service.handleWebhookEvent(request);
logger.info(ctx, `Successfully processed billing webhook`);

View File

@@ -54,24 +54,22 @@
"@marsidev/react-turnstile": "^0.5.4",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/supabase-js": "^2.42.5",
"@tanstack/react-query": "5.29.2",
"@tanstack/react-query-next-experimental": "^5.29.2",
"@tanstack/react-query": "5.32.0",
"@tanstack/react-query-next-experimental": "^5.32.0",
"@tanstack/react-table": "^8.16.0",
"date-fns": "^3.6.0",
"i18next": "^23.11.2",
"i18next-resources-to-backend": "^1.2.1",
"lucide-react": "^0.372.0",
"next": "14.3.0-canary.7",
"lucide-react": "^0.373.0",
"next": "14.2.2",
"next-sitemap": "^4.2.3",
"next-themes": "0.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.3",
"react-i18next": "^14.1.0",
"react-i18next": "^14.1.1",
"recharts": "^2.12.6",
"sonner": "^1.4.41",
"tailwind-merge": "^2.3.0",
"zod": "^3.23.0"
"zod": "^3.23.4"
},
"devDependencies": {
"@kit/eslint-config": "workspace:^",
@@ -87,7 +85,7 @@
"dotenv-cli": "^7.4.1",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"supabase": "^1.162.4",
"supabase": "^1.163.2",
"tailwindcss": "3.4.3",
"typescript": "^5.4.5"
},