Skip to content
Closed
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
11 changes: 11 additions & 0 deletions .cursor/environment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "ComfyUI Docs",
"install": "bash .cursor/install.sh",
"terminals": [
{
"name": "mint-dev",
"command": "npm run dev"
}
],
"ports": [{ "name": "docs dev server", "port": 3000 }]
}
21 changes: 21 additions & 0 deletions .cursor/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail

# Cloud Agent install for the ComfyUI docs repo.
# Idempotent: safe to run repeatedly against cached or partial state.

cd "$(dirname "$0")/.."

# Node dependencies for the Mintlify docs site (mint, sharp).
npm ci

# Bun toolchain for the i18n / CMS / analytics pipelines (translate, cms:*, analytics:*).
# Skip the download when bun is already available.
if ! command -v bun >/dev/null 2>&1; then
export BUN_INSTALL="$HOME/.bun"
curl -fsSL https://bun.sh/install | bash
# Expose bun on the default PATH for login and non-login shells.
sudo ln -sf "$HOME/.bun/bin/bun" /usr/local/bin/bun
fi

bun --version
Loading