Update authentication methods and UI components, remove redundant file

This commit accomplishes a few modifications including the elimination of `use-toast.tsx` due to redundancy. The authentication methods in `personal-accounts-server-actions.ts` were refactored to improve service integration and data handling. Additionally, UI components were updated for better readability and clarity. Cascading deletion was enabled in the `schema.sql` file for 'invited_by' reference.
This commit is contained in:
giancarlo
2024-03-27 13:52:46 +08:00
parent 6699399864
commit ff19e0c204
26 changed files with 589 additions and 674 deletions

View File

@@ -15,43 +15,43 @@
"with-env": "dotenv -e ./.env.local --"
},
"dependencies": {
"@kit/ui": "^0.1.0",
"@kit/i18n": "^0.1.0",
"@kit/auth": "^0.1.0",
"@kit/shared": "^0.1.0",
"@kit/admin": "^0.1.0",
"@kit/emails": "^0.1.0",
"@epic-web/invariant": "^1.0.0",
"@hookform/resolvers": "^3.3.4",
"@kit/accounts": "^0.1.0",
"@kit/team-accounts": "^0.1.0",
"@kit/supabase": "^0.1.0",
"@kit/admin": "^0.1.0",
"@kit/auth": "^0.1.0",
"@kit/billing": "^0.1.0",
"@kit/billing-gateway": "^0.1.0",
"@kit/emails": "^0.1.0",
"@kit/i18n": "^0.1.0",
"@kit/mailers": "^0.1.0",
"@hookform/resolvers": "^3.3.4",
"@kit/shared": "^0.1.0",
"@kit/supabase": "^0.1.0",
"@kit/team-accounts": "^0.1.0",
"@kit/ui": "^0.1.0",
"@next/mdx": "^14.1.0",
"@radix-ui/react-icons": "^1.3.0",
"@supabase/ssr": "^0.1.0",
"@supabase/supabase-js": "^2.39.8",
"@tanstack/react-query": "^5.17.15",
"@tanstack/react-query": "5.28.6",
"@tanstack/react-query-next-experimental": "^5.28.6",
"@tanstack/react-table": "^8.11.3",
"@epic-web/invariant": "^1.0.0",
"@radix-ui/react-icons": "^1.3.0",
"contentlayer": "0.3.4",
"date-fns": "^3.2.0",
"edge-csrf": "^1.0.9",
"i18next": "^23.10.1",
"i18next-resources-to-backend": "^1.2.0",
"contentlayer": "0.3.4",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"next-contentlayer": "0.3.4",
"react-i18next": "^14.1.0",
"date-fns": "^3.2.0",
"next": "canary",
"next-contentlayer": "0.3.4",
"next-sitemap": "^4.2.3",
"next-themes": "^0.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.1",
"react-i18next": "^14.1.0",
"recharts": "^2.10.3",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"sonner": "^1.4.41",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.22.4"
@@ -69,9 +69,9 @@
"autoprefixer": "^10.4.17",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"prettier": "^3.2.5",
"prettier": "^3.2.4",
"tailwindcss": "3.4.1",
"typescript": "^5.4.3"
"typescript": "^5.3.3"
},
"eslintConfig": {
"root": true,