Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=

# Server-only integrations. Never prefix these with NEXT_PUBLIC_.
ADMIN_EMAIL=admin@example.com
GITHUB_TOKEN=
DISCORD_WEBHOOK_URL=

# Optional contact-form email delivery.
SMTP_HOST=
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=
SMTP_PASSWORD=
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals"]
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# misc
.DS_Store
*.pem
package-lock.json
*.tsbuildinfo

# debug
npm-debug.log*
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,16 @@ Add these to your Vercel project settings:
```
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
ADMIN_EMAIL
GITHUB_TOKEN
DISCORD_WEBHOOK_URL
```

Keep the service-role key, GitHub token, and Discord webhook server-only. Copy
`.env.example` to `.env.local` for local development and set the same values in
Vercel for production.

### Custom Domain Setup (is-a.dev)

*The custom domain sahad.is-a.dev was registered via the **is-a.dev** service:*
Expand Down
3 changes: 0 additions & 3 deletions eslint.config.mjs

This file was deleted.

21 changes: 0 additions & 21 deletions middleware.ts

This file was deleted.

6 changes: 6 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
8 changes: 0 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ const nextConfig = {
},
],
},
// Suppress ESLint errors during build (warnings only)
eslint: {
ignoreDuringBuilds: true,
},
// Suppress TypeScript errors during build
typescript: {
ignoreBuildErrors: true,
},
};

module.exports = nextConfig;
Loading
Loading