modules = ["nodejs-24", "python-3.11", "postgresql-16"]

[deployment]
router = "application"
deploymentTarget = "autoscale"

[deployment.postBuild]
args = ["pnpm", "store", "prune"]
env = { "CI" = "true" }

[workflows]
runButton = "Project"

[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"

[[workflows.workflow.tasks]]
task = "workflow.run"
args = "smoke"

[[workflows.workflow]]
name = "smoke"
author = "agent"

[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pnpm --filter @workspace/web-next run test:smoke"

[workflows.workflow.metadata]
isValidation = true

[agent]
stack = "PNPM_WORKSPACE"
expertMode = true

[postMerge]
path = "scripts/post-merge.sh"
timeoutMs = 20000

[nix]
channel = "stable-25_05"
packages = ["freetype", "gumbo", "harfbuzz", "jbig2dec", "libjpeg_turbo", "mupdf", "openjpeg", "swig", "xcbuild", "vim-full"]

[userenv]

[userenv.shared]
CLICKUP_LIST_ID = "901615560212"
LEADS_NOTIFICATION_EMAIL = "letsbuild@cvinfotech.com, rinku@cvinfotech.com"
NEXT_PUBLIC_GA_ID = "G-CH5C4T0V7N"
MAILTRAP_FROM = "letsbuild@cvinfotech.com"
LEADS_REPLY_TO = "letsbuild@cvinfotech.com"

[objectStorage]
defaultBucketID = "replit-objstore-f20bd4d9-3b60-4428-8cbe-1daedcc4234f"
