Update all packages

This commit is contained in:
Timothy Armes
2023-11-28 17:55:35 +01:00
parent 3ae9632e40
commit 8caabe810a
3 changed files with 1638 additions and 1864 deletions
+11 -11
View File
@@ -16,7 +16,7 @@
"@headlessui/tailwindcss": "^0.2.0", "@headlessui/tailwindcss": "^0.2.0",
"@hookform/resolvers": "^3.3.1", "@hookform/resolvers": "^3.3.1",
"@kodingdotninja/use-tailwind-breakpoint": "^0.0.5", "@kodingdotninja/use-tailwind-breakpoint": "^0.0.5",
"@next/bundle-analyzer": "^13.4.12", "@next/bundle-analyzer": "^14.0.3",
"@tanstack/react-query": "^4.35.0", "@tanstack/react-query": "^4.35.0",
"@trivago/prettier-plugin-sort-imports": "^4.2.0", "@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@trpc/client": "^10.38.1", "@trpc/client": "^10.38.1",
@@ -25,7 +25,7 @@
"@types/node": "^20.8.4", "@types/node": "^20.8.4",
"@types/react": "^18.2.27", "@types/react": "^18.2.27",
"@types/react-dom": "^18.2.12", "@types/react-dom": "^18.2.12",
"autoprefixer": "10.4.15", "autoprefixer": "^10.4.16",
"date-fns": "^2.30.0", "date-fns": "^2.30.0",
"jotai": "^2.2.2", "jotai": "^2.2.2",
"leaflet": "^1.9.4", "leaflet": "^1.9.4",
@@ -34,8 +34,8 @@
"leaflet.smooth_marker_bouncing": "^3.0.3", "leaflet.smooth_marker_bouncing": "^3.0.3",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mongodb": "^6.1.0", "mongodb": "^6.1.0",
"next": "^13.4.12", "next": "^14.0.3",
"next-intl": "3.0.0-rc.4", "next-intl": "^3.1.4",
"next-pwa": "^5.6.0", "next-pwa": "^5.6.0",
"postcss": "8.4.31", "postcss": "8.4.31",
"react": "^18.2.0", "react": "^18.2.0",
@@ -49,10 +49,10 @@
"react-select": "^5.7.4", "react-select": "^5.7.4",
"react-tooltip": "^5.18.0", "react-tooltip": "^5.18.0",
"sharp": "^0.32.3", "sharp": "^0.32.3",
"superjson": "^1.13.1", "superjson": "^2.2.1",
"tailwind-merge": "^1.14.0", "tailwind-merge": "^2.0.0",
"tailwindcss": "3.3.3", "tailwindcss": "^3.3.5",
"typescript": "5.2.2", "typescript": "^5.3.2",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"devDependencies": { "devDependencies": {
@@ -66,11 +66,11 @@
"@types/nodemailer": "^6.4.8", "@types/nodemailer": "^6.4.8",
"@types/react-datepicker": "^4.15.0", "@types/react-datepicker": "^4.15.0",
"@types/react-input-mask": "^3.0.2", "@types/react-input-mask": "^3.0.2",
"eslint": "8.49.0", "eslint": "^8.54.0",
"eslint-config-next": "^13.4.12", "eslint-config-next": "^14.0.3",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-plugin-react-hooks": "^5.0.0-canary-7118f5dd7-20230705", "eslint-plugin-react-hooks": "^5.0.0-canary-7118f5dd7-20230705",
"prettier": "3.0.3", "prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.3" "prettier-plugin-tailwindcss": "^0.5.3"
} }
} }
+5 -2
View File
@@ -1,7 +1,7 @@
import { ReactNode } from "react"; import { ReactNode } from "react";
import { NextIntlClientProvider } from "next-intl"; import { NextIntlClientProvider } from "next-intl";
import { getTranslator } from "next-intl/server"; import { getTranslations } from "next-intl/server";
import { Inter, Julius_Sans_One } from "next/font/google"; import { Inter, Julius_Sans_One } from "next/font/google";
import { notFound } from "next/navigation"; import { notFound } from "next/navigation";
import Script from "next/script"; import Script from "next/script";
@@ -26,7 +26,10 @@ export async function generateMetadata({
}) { }) {
// While the `locale` is required, the namespace is optional and // While the `locale` is required, the namespace is optional and
// identical to the parameter that `useTranslations` accepts. // identical to the parameter that `useTranslations` accepts.
const t = await getTranslator(locale ?? "fr", "Metadata"); const t = await getTranslations({
locale: locale ?? "en",
namespace: "Metadata",
});
return { return {
title: t("title"), title: t("title"),
+1622 -1851
View File
File diff suppressed because it is too large Load Diff