nextjs-hackathon-stack 0.1.14 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-hackathon-stack",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Scaffold a full-stack Next.js hackathon starter",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,7 +35,7 @@ const provider = createOpenAI({
35
35
  apiKey: process.env.AI_API_KEY,
36
36
  });
37
37
 
38
- export const aiModel = provider(process.env.AI_MODEL ?? "google/gemini-2.0-flash");
38
+ export const aiModel = provider(process.env.AI_MODEL ?? "minimax/minimax-m2.1");
39
39
  ```
40
40
 
41
41
  ## Streaming Pattern
@@ -14,7 +14,7 @@ Full-stack Next.js 15 hackathon starter.
14
14
  | State | TanStack Query v5 |
15
15
  | Forms | React Hook Form + Zod |
16
16
  | UI | shadcn/ui + Tailwind CSS v4 |
17
- | AI | Vercel AI SDK + Gemini 2.0 Flash |
17
+ | AI | Vercel AI SDK + MiniMax M2.1 |
18
18
  | Testing | Vitest + Playwright |
19
19
 
20
20
  ## Getting Started
@@ -29,7 +29,7 @@ NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co
29
29
  NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
30
30
  DATABASE_URL=postgresql://postgres:[password]@db.your-project-id.supabase.co:5432/postgres
31
31
 
32
- # AI — Vercel AI Gateway (default: Google Gemini 2.0 Flash — free tier)
32
+ # AI — Vercel AI Gateway (default: MiniMax M2.1)
33
33
  # Create gateway at: https://vercel.com > AI > Gateways
34
34
  AI_GATEWAY_URL=https://gateway.ai.vercel.app/v1/your-team-id/your-gateway-id
35
35
  AI_API_KEY=
@@ -9,13 +9,12 @@ NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
9
9
  # Supabase DB — https://supabase.com > Project Settings > Database > Connection string (URI)
10
10
  DATABASE_URL=postgresql://postgres:[password]@db.your-project-id.supabase.co:5432/postgres
11
11
 
12
- # AI — Vercel AI Gateway (default: Google Gemini 2.0 Flash — free tier)
12
+ # AI — Vercel AI Gateway (default: MiniMax M2.1)
13
13
  # Create gateway at: https://vercel.com > AI > Gateways
14
14
  AI_GATEWAY_URL=https://gateway.ai.vercel.app/v1/your-team-id/your-gateway-id
15
15
  AI_API_KEY=
16
- # Optional: override model (default: google/gemini-2.0-flash)
17
- # To use MiniMax: AI_MODEL=minimax/minimax-m2.7
18
- # AI_MODEL=google/gemini-2.0-flash
16
+ # Optional: override model (default: minimax/minimax-m2.1)
17
+ # AI_MODEL=minimax/minimax-m2.1
19
18
 
20
19
  # =============================================================================
21
20
  # OPTIONAL
@@ -5,4 +5,4 @@ const provider = createOpenAI({
5
5
  apiKey: process.env.AI_API_KEY ?? "",
6
6
  });
7
7
 
8
- export const aiModel = provider(process.env.AI_MODEL ?? "google/gemini-2.0-flash");
8
+ export const aiModel = provider(process.env.AI_MODEL ?? "minimax/minimax-m2.1");