Updated dependencies; fixes some TS issues uncovered by update

This commit is contained in:
gbuomprisco
2024-09-10 10:55:28 +02:00
parent 460479bf1a
commit bc624e7d96
23 changed files with 554 additions and 531 deletions

View File

@@ -60,7 +60,7 @@
"@tanstack/react-table": "^8.20.5", "@tanstack/react-table": "^8.20.5",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"lucide-react": "^0.439.0", "lucide-react": "^0.439.0",
"next": "14.2.8", "next": "14.2.9",
"next-sitemap": "^4.2.3", "next-sitemap": "^4.2.3",
"next-themes": "0.3.0", "next-themes": "0.3.0",
"react": "18.3.1", "react": "18.3.1",
@@ -77,7 +77,7 @@
"@kit/prettier-config": "workspace:^", "@kit/prettier-config": "workspace:^",
"@kit/tailwind-config": "workspace:^", "@kit/tailwind-config": "workspace:^",
"@kit/tsconfig": "workspace:^", "@kit/tsconfig": "workspace:^",
"@next/bundle-analyzer": "14.2.8", "@next/bundle-analyzer": "14.2.9",
"@types/mdx": "^2.0.13", "@types/mdx": "^2.0.13",
"@types/node": "^22.5.2", "@types/node": "^22.5.2",
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
@@ -86,9 +86,9 @@
"dotenv-cli": "^7.4.2", "dotenv-cli": "^7.4.2",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"supabase": "^1.191.3", "supabase": "^1.192.5",
"tailwindcss": "3.4.10", "tailwindcss": "3.4.10",
"typescript": "^5.5.4" "typescript": "^5.6.2"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,

View File

@@ -36,10 +36,10 @@
"@manypkg/cli": "^0.21.4", "@manypkg/cli": "^0.21.4",
"@turbo/gen": "^2.1.1", "@turbo/gen": "^2.1.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"pnpm": "^9.9.0", "pnpm": "^9.10.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"turbo": "2.1.1", "turbo": "2.1.1",
"typescript": "^5.5.4" "typescript": "^5.6.2"
}, },
"pnpm": { "pnpm": {
"overrides": { "overrides": {

View File

@@ -31,7 +31,7 @@
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"lucide-react": "^0.439.0", "lucide-react": "^0.439.0",
"next": "14.2.8", "next": "14.2.9",
"react": "18.3.1", "react": "18.3.1",
"react-hook-form": "^7.53.0", "react-hook-form": "^7.53.0",
"react-i18next": "^15.0.1", "react-i18next": "^15.0.1",

View File

@@ -14,7 +14,7 @@
"./components": "./src/components/index.ts" "./components": "./src/components/index.ts"
}, },
"dependencies": { "dependencies": {
"@lemonsqueezy/lemonsqueezy.js": "3.3.0" "@lemonsqueezy/lemonsqueezy.js": "3.3.1"
}, },
"devDependencies": { "devDependencies": {
"@kit/billing": "workspace:^", "@kit/billing": "workspace:^",
@@ -26,7 +26,7 @@
"@kit/tsconfig": "workspace:*", "@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:^", "@kit/ui": "workspace:^",
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"next": "14.2.8", "next": "14.2.9",
"react": "18.3.1", "react": "18.3.1",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },

View File

@@ -30,7 +30,7 @@
"@kit/ui": "workspace:^", "@kit/ui": "workspace:^",
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"next": "14.2.8", "next": "14.2.9",
"react": "18.3.1", "react": "18.3.1",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },

View File

@@ -39,7 +39,7 @@
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"lucide-react": "^0.439.0", "lucide-react": "^0.439.0",
"next": "14.2.8", "next": "14.2.9",
"next-themes": "0.3.0", "next-themes": "0.3.0",
"react": "18.3.1", "react": "18.3.1",
"react-dom": "18.3.1", "react-dom": "18.3.1",

View File

@@ -12,7 +12,6 @@ export function usePersonalAccountData(
name: string | null; name: string | null;
picture_url: string | null; picture_url: string | null;
} }
| undefined,
) { ) {
const client = useSupabase(); const client = useSupabase();
const queryKey = ['account:data', userId]; const queryKey = ['account:data', userId];

View File

@@ -26,7 +26,7 @@
"@tanstack/react-table": "^8.20.5", "@tanstack/react-table": "^8.20.5",
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"lucide-react": "^0.439.0", "lucide-react": "^0.439.0",
"next": "14.2.8", "next": "14.2.9",
"react": "18.3.1", "react": "18.3.1",
"react-dom": "18.3.1", "react-dom": "18.3.1",
"react-hook-form": "^7.53.0", "react-hook-form": "^7.53.0",

View File

@@ -32,7 +32,7 @@
"@tanstack/react-query": "5.55.4", "@tanstack/react-query": "5.55.4",
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"lucide-react": "^0.439.0", "lucide-react": "^0.439.0",
"next": "14.2.8", "next": "14.2.9",
"react-hook-form": "^7.53.0", "react-hook-form": "^7.53.0",
"react-i18next": "^15.0.1", "react-i18next": "^15.0.1",
"sonner": "^1.5.0", "sonner": "^1.5.0",

View File

@@ -40,7 +40,7 @@
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"lucide-react": "^0.439.0", "lucide-react": "^0.439.0",
"next": "14.2.8", "next": "14.2.9",
"react": "18.3.1", "react": "18.3.1",
"react-dom": "18.3.1", "react-dom": "18.3.1",
"react-hook-form": "^7.53.0", "react-hook-form": "^7.53.0",

View File

@@ -223,7 +223,7 @@ export class TeamAccountsApi {
.gte('expires_at', new Date().toISOString()) .gte('expires_at', new Date().toISOString())
.single(); .single();
if (!invitation ?? error) { if (error ?? !invitation) {
return null; return null;
} }

View File

@@ -25,7 +25,7 @@
"react-i18next": "^15.0.1" "react-i18next": "^15.0.1"
}, },
"dependencies": { "dependencies": {
"i18next": "^23.14.0", "i18next": "^23.15.1",
"i18next-browser-languagedetector": "8.0.0", "i18next-browser-languagedetector": "8.0.0",
"i18next-resources-to-backend": "^1.2.1" "i18next-resources-to-backend": "^1.2.1"
}, },

View File

@@ -13,7 +13,7 @@ export function useBaselime(): MonitoringService {
return useMemo(() => { return useMemo(() => {
return { return {
captureException(error: Error, extra?: React.ErrorInfo | undefined) { captureException(error: Error, extra?: React.ErrorInfo) {
void captureException(error, extra); void captureException(error, extra);
}, },
identifyUser(params) { identifyUser(params) {

View File

@@ -16,7 +16,7 @@
"./config/server": "./src/sentry.client.server.ts" "./config/server": "./src/sentry.client.server.ts"
}, },
"dependencies": { "dependencies": {
"@sentry/nextjs": "^8.28.0" "@sentry/nextjs": "^8.29.0"
}, },
"devDependencies": { "devDependencies": {
"@kit/eslint-config": "workspace:*", "@kit/eslint-config": "workspace:*",

View File

@@ -22,7 +22,7 @@
"@kit/tailwind-config": "workspace:*", "@kit/tailwind-config": "workspace:*",
"@kit/tsconfig": "workspace:*", "@kit/tsconfig": "workspace:*",
"@supabase/supabase-js": "^2.45.3", "@supabase/supabase-js": "^2.45.3",
"next": "14.2.8", "next": "14.2.9",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"eslintConfig": { "eslintConfig": {

View File

@@ -32,7 +32,7 @@
"@supabase/supabase-js": "^2.45.3", "@supabase/supabase-js": "^2.45.3",
"@tanstack/react-query": "5.55.4", "@tanstack/react-query": "5.55.4",
"@types/react": "^18.3.5", "@types/react": "^18.3.5",
"next": "14.2.8", "next": "14.2.9",
"react": "18.3.1", "react": "18.3.1",
"server-only": "^0.0.1", "server-only": "^0.0.1",
"zod": "^3.23.8" "zod": "^3.23.8"

View File

@@ -49,7 +49,7 @@
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"date-fns": "^3.6.0", "date-fns": "^3.6.0",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"next": "14.2.8", "next": "14.2.9",
"next-themes": "0.3.0", "next-themes": "0.3.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"react-day-picker": "^8.10.1", "react-day-picker": "^8.10.1",
@@ -58,7 +58,7 @@
"sonner": "^1.5.0", "sonner": "^1.5.0",
"tailwindcss": "3.4.10", "tailwindcss": "3.4.10",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"typescript": "^5.5.4", "typescript": "^5.6.2",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"eslintConfig": { "eslintConfig": {

View File

@@ -10,7 +10,7 @@ const ROOT_PATH = '/';
export function isRouteActive( export function isRouteActive(
path: string, path: string,
currentPath: string, currentPath: string,
end?: boolean | ((path: string) => boolean) | undefined, end?: boolean | ((path: string) => boolean),
) { ) {
// if the path is the same as the current path, we return true // if the path is the same as the current path, we return true
if (path === currentPath) { if (path === currentPath) {

View File

@@ -171,6 +171,7 @@ const ChartTooltipContent = React.forwardRef<
labelKey, labelKey,
]); ]);
/* @ts-expect-error: TS issue */
if (!active ?? !payload?.length) { if (!active ?? !payload?.length) {
return null; return null;
} }

1025
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,11 +13,11 @@
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@next/eslint-plugin-next": "^14.2.8", "@next/eslint-plugin-next": "^14.2.9",
"@trivago/prettier-plugin-sort-imports": "^4.3.0", "@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/eslint": "^8.56.10", "@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^8.4.0", "@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.4.0", "@typescript-eslint/parser": "^8.5.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^2.1.1", "eslint-config-turbo": "^2.1.1",
"eslint-plugin-import": "^2.30.0", "eslint-plugin-import": "^2.30.0",
@@ -28,7 +28,7 @@
"@kit/prettier-config": "workspace:^", "@kit/prettier-config": "workspace:^",
"@kit/tsconfig": "workspace:^", "@kit/tsconfig": "workspace:^",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"typescript": "^5.5.4" "typescript": "^5.6.2"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,

View File

@@ -15,7 +15,7 @@
}, },
"devDependencies": { "devDependencies": {
"@kit/tsconfig": "workspace:^", "@kit/tsconfig": "workspace:^",
"typescript": "^5.5.4" "typescript": "^5.6.2"
}, },
"prettier": "./index.mjs" "prettier": "./index.mjs"
} }

View File

@@ -25,7 +25,7 @@
"@kit/tsconfig": "workspace:^", "@kit/tsconfig": "workspace:^",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"typescript": "^5.5.4" "typescript": "^5.6.2"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,