Refactored several Supabase client functions and updated them to use generics. Also, the '@kit/supabase-config' package was removed from the project and all references were replaced accordingly. The project's dependencies were updated as well, including the Supabase package which was upgraded to the latest version.
100 lines
3.4 KiB
JSON
100 lines
3.4 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"scripts": {
|
|
"analyze": "ANALYZE=true pnpm run build",
|
|
"build": "pnpm with-env next build",
|
|
"clean": "git clean -xdf .next .turbo node_modules",
|
|
"dev": "pnpm with-env next dev --turbo",
|
|
"next:lint": "next lint",
|
|
"format": "prettier --check \"**/*.{js,cjs,mjs,ts,tsx,md,json}\"",
|
|
"start": "pnpm with-env next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"with-env": "dotenv -e ./.env.local --",
|
|
"supabase:dev": "supabase status || supabase start",
|
|
"supabase:stop": "supabase stop",
|
|
"supabase:reset": "supabase db reset || supabase start",
|
|
"supabase:status": "supabase status",
|
|
"supabase:test": "supabase db test",
|
|
"supabase:db:lint": "supabase db lint",
|
|
"supabase:deploy": "supabase link --project-ref $SUPABASE_PROJECT_REF && supabase db push",
|
|
"supabase:typegen": "pnpm run supabase:typegen:packages && pnpm run supabase:typegen:app",
|
|
"supabase:typegen:packages": "supabase gen types typescript --local > ../../packages/supabase/src/database.types.ts",
|
|
"supabase:typegen:app": "supabase gen types typescript --local > ./lib/database.types.ts"
|
|
},
|
|
"dependencies": {
|
|
"@epic-web/invariant": "^1.0.0",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@kit/accounts": "workspace:^",
|
|
"@kit/admin": "workspace:^",
|
|
"@kit/auth": "workspace:^",
|
|
"@kit/billing": "workspace:^",
|
|
"@kit/billing-gateway": "workspace:^",
|
|
"@kit/cms": "workspace:^",
|
|
"@kit/database-webhooks": "workspace:^",
|
|
"@kit/email-templates": "workspace:^",
|
|
"@kit/i18n": "workspace:^",
|
|
"@kit/mailers": "workspace:^",
|
|
"@kit/monitoring": "workspace:^",
|
|
"@kit/next": "workspace:^",
|
|
"@kit/shared": "workspace:^",
|
|
"@kit/supabase": "workspace:^",
|
|
"@kit/team-accounts": "workspace:^",
|
|
"@kit/ui": "workspace:^",
|
|
"@makerkit/data-loader-supabase-core": "^0.0.7",
|
|
"@makerkit/data-loader-supabase-nextjs": "^0.0.9",
|
|
"@marsidev/react-turnstile": "^0.5.4",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@supabase/supabase-js": "^2.42.0",
|
|
"@tanstack/react-query": "5.28.6",
|
|
"@tanstack/react-query-next-experimental": "^5.29.0",
|
|
"@tanstack/react-table": "^8.15.3",
|
|
"date-fns": "^3.6.0",
|
|
"edge-csrf": "^1.0.9",
|
|
"i18next": "^23.11.0",
|
|
"i18next-resources-to-backend": "^1.2.0",
|
|
"lucide-react": "^0.363.0",
|
|
"next": "14.2.0-canary.64",
|
|
"next-sitemap": "^4.2.3",
|
|
"next-themes": "0.3.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-hook-form": "^7.51.2",
|
|
"react-i18next": "^14.1.0",
|
|
"recharts": "^2.12.4",
|
|
"sonner": "^1.4.41",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:^",
|
|
"@kit/prettier-config": "workspace:^",
|
|
"@kit/tailwind-config": "workspace:^",
|
|
"@kit/tsconfig": "workspace:^",
|
|
"@next/bundle-analyzer": "14.2.0-canary.54",
|
|
"@types/mdx": "^2.0.12",
|
|
"@types/node": "^20.12.7",
|
|
"@types/react": "^18.2.75",
|
|
"@types/react-dom": "^18.2.22",
|
|
"autoprefixer": "^10.4.19",
|
|
"dotenv-cli": "^7.4.1",
|
|
"eslint": "^8.57.0",
|
|
"prettier": "^3.2.5",
|
|
"supabase": "^1.153.4",
|
|
"tailwindcss": "3.4.1",
|
|
"typescript": "^5.4.3"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/nextjs",
|
|
"@kit/eslint-config/react",
|
|
"@kit/eslint-config/apps"
|
|
]
|
|
},
|
|
"prettier": "@kit/prettier-config"
|
|
}
|