The update simplifies accessing environment keys and role warnings in Supabase clients by moving them to new functions 'getSupabaseClientKeys' and 'getServiceRoleKey'. The redundancy in the code is reduced promoting clearer and more maintainable code. The '@epic-web/invariant' import has been removed from files as it is no longer needed.
102 lines
3.5 KiB
JSON
102 lines
3.5 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",
|
|
"build:test": "pnpm with-env:test 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",
|
|
"start:test": "NODE_ENV=test pnpm with-env:test next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"with-env": "dotenv -e ./.env.local --",
|
|
"with-env:test": "dotenv -e ./.env.test --",
|
|
"supabase:start": "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": {
|
|
"@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": "beta",
|
|
"@marsidev/react-turnstile": "^0.5.4",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@supabase/supabase-js": "^2.42.3",
|
|
"@tanstack/react-query": "5.29.0",
|
|
"@tanstack/react-query-next-experimental": "^5.29.2",
|
|
"@tanstack/react-table": "^8.16.0",
|
|
"date-fns": "^3.6.0",
|
|
"edge-csrf": "^1.0.9",
|
|
"i18next": "^23.11.1",
|
|
"i18next-resources-to-backend": "^1.2.1",
|
|
"lucide-react": "^0.367.0",
|
|
"next": "14.2.0",
|
|
"next-sitemap": "^4.2.3",
|
|
"next-themes": "0.3.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-hook-form": "^7.51.3",
|
|
"react-i18next": "^14.1.0",
|
|
"recharts": "^2.12.5",
|
|
"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",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "^20.12.7",
|
|
"@types/react": "^18.2.77",
|
|
"@types/react-dom": "^18.2.25",
|
|
"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.5"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@kit/eslint-config/base",
|
|
"@kit/eslint-config/nextjs",
|
|
"@kit/eslint-config/react",
|
|
"@kit/eslint-config/apps"
|
|
]
|
|
},
|
|
"prettier": "@kit/prettier-config"
|
|
}
|