From 2652263f5254738d256c76a2684b4851deeeb481 Mon Sep 17 00:00:00 2001 From: OG T Date: Mon, 8 Jun 2026 10:34:05 +0800 Subject: [PATCH] fix(deps): add dotenv to web for prisma generate --- apps/web/package.json | 1 + pnpm-lock.yaml | 3 +++ scripts/seed_tasks.ts | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index d602faa..98ad22d 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -12,6 +12,7 @@ "@agent-bounty/contracts": "workspace:*", "@e2b/code-interpreter": "^2.6.0", "@prisma/client": "^6.4.1", + "dotenv": "^17.4.2", "ioredis": "^5.11.1", "next": "16.2.7", "react": "19.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6dce6d4..8c69699 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,6 +51,9 @@ importers: '@prisma/client': specifier: ^6.4.1 version: 6.19.3(prisma@6.19.3(typescript@5.9.3))(typescript@5.9.3) + dotenv: + specifier: ^17.4.2 + version: 17.4.2 ioredis: specifier: ^5.11.1 version: 5.11.1 diff --git a/scripts/seed_tasks.ts b/scripts/seed_tasks.ts index c5b0412..3917b63 100644 --- a/scripts/seed_tasks.ts +++ b/scripts/seed_tasks.ts @@ -1,4 +1,4 @@ -import { PrismaClient, TaskStatus } from "../apps/web/prisma/generated/client"; +import { PrismaClient } from "../apps/web/prisma/generated/client"; import { broadcastFomoEvent } from "../apps/web/src/lib/x-broadcaster"; import crypto from "crypto"; @@ -11,7 +11,7 @@ async function main() { data: { title: "Implement OIDC SSO Integration for Enterprise Customers", description: "We need an experienced developer/agent to implement OIDC based Single Sign-On (SSO) with Okta and Auth0. Must include automated integration tests and documentation. Security is critical.", - status: TaskStatus.OPEN, + status: "OPEN", difficulty: "HARD", reward_amount: 50000, // $500.00 reward_currency: "USD",