Updated dependencies; fixes some TS issues uncovered by update
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"next-sitemap": "^4.2.3",
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
@@ -77,7 +77,7 @@
|
||||
"@kit/prettier-config": "workspace:^",
|
||||
"@kit/tailwind-config": "workspace:^",
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"@next/bundle-analyzer": "14.2.8",
|
||||
"@next/bundle-analyzer": "14.2.9",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@types/node": "^22.5.2",
|
||||
"@types/react": "^18.3.5",
|
||||
@@ -86,9 +86,9 @@
|
||||
"dotenv-cli": "^7.4.2",
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "^3.3.3",
|
||||
"supabase": "^1.191.3",
|
||||
"supabase": "^1.192.5",
|
||||
"tailwindcss": "3.4.10",
|
||||
"typescript": "^5.5.4"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
"@manypkg/cli": "^0.21.4",
|
||||
"@turbo/gen": "^2.1.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"pnpm": "^9.9.0",
|
||||
"pnpm": "^9.10.0",
|
||||
"prettier": "^3.3.3",
|
||||
"turbo": "2.1.1",
|
||||
"typescript": "^5.5.4"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"@types/react": "^18.3.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
"react-i18next": "^15.0.1",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"./components": "./src/components/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lemonsqueezy/lemonsqueezy.js": "3.3.0"
|
||||
"@lemonsqueezy/lemonsqueezy.js": "3.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/billing": "workspace:^",
|
||||
@@ -26,7 +26,7 @@
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/react": "^18.3.5",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@kit/ui": "workspace:^",
|
||||
"@types/react": "^18.3.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
||||
@@ -12,7 +12,6 @@ export function usePersonalAccountData(
|
||||
name: string | null;
|
||||
picture_url: string | null;
|
||||
}
|
||||
| undefined,
|
||||
) {
|
||||
const client = useSupabase();
|
||||
const queryKey = ['account:data', userId];
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"@tanstack/react-table": "^8.20.5",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"@tanstack/react-query": "5.55.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react-hook-form": "^7.53.0",
|
||||
"react-i18next": "^15.0.1",
|
||||
"sonner": "^1.5.0",
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.439.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"react-hook-form": "^7.53.0",
|
||||
|
||||
@@ -223,7 +223,7 @@ export class TeamAccountsApi {
|
||||
.gte('expires_at', new Date().toISOString())
|
||||
.single();
|
||||
|
||||
if (!invitation ?? error) {
|
||||
if (error ?? !invitation) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"react-i18next": "^15.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"i18next": "^23.14.0",
|
||||
"i18next": "^23.15.1",
|
||||
"i18next-browser-languagedetector": "8.0.0",
|
||||
"i18next-resources-to-backend": "^1.2.1"
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@ export function useBaselime(): MonitoringService {
|
||||
|
||||
return useMemo(() => {
|
||||
return {
|
||||
captureException(error: Error, extra?: React.ErrorInfo | undefined) {
|
||||
captureException(error: Error, extra?: React.ErrorInfo) {
|
||||
void captureException(error, extra);
|
||||
},
|
||||
identifyUser(params) {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"./config/server": "./src/sentry.client.server.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/nextjs": "^8.28.0"
|
||||
"@sentry/nextjs": "^8.29.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/eslint-config": "workspace:*",
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"@kit/tailwind-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.55.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"react": "18.3.1",
|
||||
"server-only": "^0.0.1",
|
||||
"zod": "^3.23.8"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"date-fns": "^3.6.0",
|
||||
"eslint": "^8.57.0",
|
||||
"next": "14.2.8",
|
||||
"next": "14.2.9",
|
||||
"next-themes": "0.3.0",
|
||||
"prettier": "^3.3.3",
|
||||
"react-day-picker": "^8.10.1",
|
||||
@@ -58,7 +58,7 @@
|
||||
"sonner": "^1.5.0",
|
||||
"tailwindcss": "3.4.10",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript": "^5.5.4",
|
||||
"typescript": "^5.6.2",
|
||||
"zod": "^3.23.8"
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
@@ -10,7 +10,7 @@ const ROOT_PATH = '/';
|
||||
export function isRouteActive(
|
||||
path: 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 (path === currentPath) {
|
||||
|
||||
@@ -171,6 +171,7 @@ const ChartTooltipContent = React.forwardRef<
|
||||
labelKey,
|
||||
]);
|
||||
|
||||
/* @ts-expect-error: TS issue */
|
||||
if (!active ?? !payload?.length) {
|
||||
return null;
|
||||
}
|
||||
|
||||
1025
pnpm-lock.yaml
generated
1025
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -13,11 +13,11 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/eslint-plugin-next": "^14.2.8",
|
||||
"@next/eslint-plugin-next": "^14.2.9",
|
||||
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
||||
"@types/eslint": "^8.56.10",
|
||||
"@typescript-eslint/eslint-plugin": "^8.4.0",
|
||||
"@typescript-eslint/parser": "^8.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
||||
"@typescript-eslint/parser": "^8.5.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-config-turbo": "^2.1.1",
|
||||
"eslint-plugin-import": "^2.30.0",
|
||||
@@ -28,7 +28,7 @@
|
||||
"@kit/prettier-config": "workspace:^",
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"eslint": "^8.57.0",
|
||||
"typescript": "^5.5.4"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"typescript": "^5.5.4"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"prettier": "./index.mjs"
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "^3.3.3",
|
||||
"typescript": "^5.5.4"
|
||||
"typescript": "^5.6.2"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
Reference in New Issue
Block a user