typebot.io/packages/scripts/package.json
Baptiste Arnaud ae5ea1f328
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Deploy Workflows (Fly.io) / deploy (push) Has been cancelled
🔧 Fix Prisma scripts and refresh dependencies (#2389)
- Update workspace dependencies across apps and packages to align with
new lint/Effect expectations
- Adjust Prisma scripts and configs (db push, studio, adapters, read
replicas) for the latest CLI flags and tracing helpers
- Refresh generated locks and helper modules (emails, bot engine,
telemetry, rich text, scripts)
2026-02-12 12:45:01 +01:00

83 lines
3.8 KiB
JSON

{
"name": "@typebot.io/scripts",
"scripts": {
"start": "SKIP_ENV_CHECK=true dotenv -e ./.env.local -- tsx src/main.ts",
"start:prod": "cd ../prisma && bun db:generate:mysql && cd ../scripts && SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/main.ts",
"check-types": "tsc --noEmit",
"db:backup": "tsx src/backupDatabase.ts",
"db:restore": "tsx src/restoreDatabase.ts",
"db:setCustomPlan": "tsx src/setCustomPlan.ts",
"db:bulkUpdate": "tsx src/bulkUpdate.ts",
"db:fixTypebots": "tsx src/fixTypebots.ts",
"inspectUser": "tsx src/inspectUser.ts",
"checkSubscriptionsStatus": "tsx src/checkSubscriptionsStatus.ts",
"createChatsPrices": "tsx src/createChatsPrices.ts",
"migrateSubscriptionsToUsageBased": "tsx src/migrateSubscriptionsToUsageBased.ts",
"insertUsersInBrevoList": "tsx src/insertUsersInBrevoList.ts",
"getUsage": "tsx src/getUsage.ts",
"suspendWorkspace": "tsx src/suspendWorkspace.ts",
"destroyUser": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/destroyUser.ts",
"updateTypebot": "tsx src/updateTypebot.ts",
"updateWorkspace": "tsx src/updateWorkspace.ts",
"inspectTypebot": "tsx src/inspectTypebot.ts",
"inspectPublishedTypebot": "tsx src/inspectPublishedTypebot.ts",
"inspectWorkspace": "tsx src/inspectWorkspace.ts",
"getCoupon": "tsx src/getCoupon.ts",
"redeemCoupon": "tsx src/redeemCoupon.ts",
"exportResults": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/exportResults.ts",
"updateUserEmail": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/updateUserEmail.ts",
"inspectChatSession": "tsx src/inspectChatSession.ts",
"inspectCredentials": "tsx src/inspectCredentials.ts",
"deleteChatSession": "tsx src/deleteChatSession.ts",
"checkDependencies": "tsx src/checkDependencies.ts",
"readCsvAndDoSomething": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/readCsvAndDoSomething.ts",
"recurringCheckInactiveUsers": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/recurringCheckInactiveUsers.ts",
"addHttpProxyCredentials": "dotenv -e ./.env.production -- tsx src/addHttpProxyCredentials.ts",
"deleteS3Object": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/deleteS3Object.ts",
"cron:hourly": "SKIP_ENV_CHECK=true tsx src/cronJobs/hourly.tsx",
"cron:daily": "SKIP_ENV_CHECK=true tsx src/cronJobs/daily.tsx",
"cron:monthly": "SKIP_ENV_CHECK=true tsx src/cronJobs/monthly.tsx",
"generateWorkspaceSummary": "SKIP_ENV_CHECK=true dotenv -e ./.env.production -- tsx src/generateWorkspaceSummary.ts"
},
"exports": {
"./*": "./src/*.ts"
},
"dependencies": {
"@ai-sdk/openai": "^1.3.24",
"ky": "^1.2.4",
"@clack/prompts": "^0.11.0",
"@paralleldrive/cuid2": "^2.2.1",
"@typebot.io/billing": "workspace:*",
"@typebot.io/results": "workspace:*",
"@typebot.io/telemetry": "workspace:*",
"cli-progress": "^3.12.0",
"papaparse": "^5.4.1",
"@typebot.io/lib": "workspace:*",
"@typebot.io/prisma": "workspace:*",
"posthog-node": "^5.8.2",
"prompts": "^2.4.2",
"stripe": "^17.1.0",
"@typebot.io/workspaces": "workspace:*",
"@typebot.io/typebot": "workspace:*",
"@typebot.io/emails": "workspace:*",
"@typebot.io/env": "workspace:*",
"@typebot.io/blocks-bubbles": "workspace:*",
"@typebot.io/blocks-core": "workspace:*",
"@typebot.io/groups": "workspace:*",
"@typebot.io/rich-text": "workspace:*",
"ai": "^4.3.19",
"p-limit": "^7.2.0",
"zod": "^4.3.5"
},
"devDependencies": {
"@typebot.io/tsconfig": "workspace:*",
"@types/bun": "^1.3.9",
"@types/cli-progress": "^3.11.5",
"@types/papaparse": "^5.3.7",
"@types/prompts": "^2.4.4",
"tsx": "^4.19.1",
"@typebot.io/blocks-integrations": "workspace:*",
"dotenv": "^16.4.5"
}
}