chore(dependencies): update libraries and added File Uploader component (#292)

- Bumped dependencies: `lucide-react`, `react-hook-form`, `@supabase/supabase-js`, `@tanstack/react-query`, `@sentry/nextjs`, and more.
- Added `react-dropzone` to `@kit/ui` for file upload support.
- Adjusted `reset-password.html` to streamline style usage and HTML structure.
- Added new translation keys for file upload functionality.
- Cleaned up import order in `existing-account-hint.tsx`.
This commit is contained in:
Giancarlo Buomprisco
2025-06-26 12:40:54 +07:00
committed by GitHub
parent 180e0e0c5e
commit c1fda420e6
44 changed files with 2454 additions and 2321 deletions

View File

@@ -19,8 +19,8 @@ export async function loadTranslations() {
for (const locale of locales) {
translations[locale] = {};
const namespaces = readdirSync(join(localesPath, locale)).filter(
(file) => file.endsWith('.json'),
const namespaces = readdirSync(join(localesPath, locale)).filter((file) =>
file.endsWith('.json'),
);
for (const namespace of namespaces) {

View File

@@ -10,10 +10,10 @@
"dependencies": {
"@ai-sdk/openai": "^1.3.22",
"@hookform/resolvers": "^5.1.1",
"@tanstack/react-query": "5.80.7",
"@tanstack/react-query": "5.81.2",
"ai": "4.3.16",
"lucide-react": "^0.516.0",
"next": "15.3.3",
"lucide-react": "^0.523.0",
"next": "15.3.4",
"nodemailer": "^7.0.3",
"react": "19.1.0",
"react-dom": "19.1.0",
@@ -26,13 +26,13 @@
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"@tailwindcss/postcss": "^4.1.10",
"@types/node": "^24.0.1",
"@types/node": "^24.0.4",
"@types/nodemailer": "6.4.17",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"pino-pretty": "^13.0.0",
"react-hook-form": "^7.58.0",
"react-hook-form": "^7.58.1",
"tailwindcss": "4.1.10",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.8.3",

View File

@@ -12,8 +12,8 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.53.0",
"@types/node": "^24.0.1",
"@playwright/test": "^1.53.1",
"@types/node": "^24.0.4",
"dotenv": "16.5.0",
"node-html-parser": "^7.0.1",
"totp-generator": "^1.0.0"

View File

@@ -52,7 +52,7 @@ async function JoinTeamAccountPage(props: JoinTeamAccountPageProps) {
if (auth.error instanceof MultiFactorAuthError) {
const urlParams = new URLSearchParams({
next: `${pathsConfig.app.joinTeam}?invite_token=${token}&email=${searchParams.email ?? ''}`,
})
});
const verifyMfaUrl = `${pathsConfig.auth.verifyMfa}?${urlParams.toString()}`;

View File

@@ -56,17 +56,17 @@
"@marsidev/react-turnstile": "^1.1.0",
"@nosecone/next": "1.0.0-beta.8",
"@radix-ui/react-icons": "^1.3.2",
"@supabase/supabase-js": "2.50.0",
"@tanstack/react-query": "5.80.7",
"@supabase/supabase-js": "2.50.2",
"@tanstack/react-query": "5.81.2",
"@tanstack/react-table": "^8.21.3",
"date-fns": "^4.1.0",
"lucide-react": "^0.516.0",
"next": "15.3.3",
"lucide-react": "^0.523.0",
"next": "15.3.4",
"next-sitemap": "^4.2.3",
"next-themes": "0.4.6",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-hook-form": "^7.58.0",
"react-hook-form": "^7.58.1",
"react-i18next": "^15.5.3",
"recharts": "2.15.3",
"tailwind-merge": "^3.3.1",
@@ -76,15 +76,15 @@
"@kit/eslint-config": "workspace:*",
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@next/bundle-analyzer": "15.3.3",
"@next/bundle-analyzer": "15.3.4",
"@tailwindcss/postcss": "^4.1.10",
"@types/node": "^24.0.1",
"@types/node": "^24.0.4",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"babel-plugin-react-compiler": "19.1.0-rc.2",
"cssnano": "^7.0.7",
"pino-pretty": "^13.0.0",
"prettier": "^3.5.3",
"prettier": "^3.6.1",
"supabase": "^2.26.9",
"tailwindcss": "4.1.10",
"tailwindcss-animate": "^1.0.7",

View File

@@ -92,5 +92,21 @@
"description": "This website uses cookies to ensure you get the best experience on our website.",
"reject": "Reject",
"accept": "Accept"
},
"dropzone": {
"success": "Successfully uploaded {{count}} file(s)",
"error": "Error uploading {{count}} file(s)",
"errorMessageUnknown": "An unknown error occurred.",
"errorMessageFileUnknown": "Unknown file",
"errorMessageFileSizeUnknown": "Unknown file size",
"errorMessageFileSizeTooSmall": "File size is too small",
"errorMessageFileSizeTooLarge": "File size is too large",
"uploading": "Uploading...",
"uploadFiles": "Upload {{count}} file(s)",
"maxFileSize": "Maximum file size: {{size}}",
"maxFiles": "You may upload only up to {{count}} files, please remove {{files}} files.",
"dragAndDrop": "Drag and drop or",
"select": "select files",
"toUpload": "to upload"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long