Skip to content
Merged
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
93 changes: 93 additions & 0 deletions .vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Dependencies
node_modules/
.pnpm-store/
pnpm-lock.yaml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

vercel --version
vercel deploy --dry --format=json | tee /tmp/vercel-dry-run.json

rg -n 'pnpm-lock\.yaml|turbo\.json|\.npmrc|scripts/' /tmp/vercel-dry-run.json
jq -r '.scripts.build // empty' package.json

Repository: khulnasoft/TaskCore

Length of output: 201


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf 'Tracked config files:\n'
git ls-files | rg '(^|/)(vercel\.json|\.vercelignore|package\.json|pnpm-lock\.yaml|turbo\.json|\.npmrc$|scripts/)' || true

printf '\n.vercelignore:\n'
cat -n .vercelignore || true

printf '\nvercel.json:\n'
cat -n vercel.json || true

printf '\npackage scripts/build references:\n'
python3 - <<'PY'
import json
try:
    p=json.load(open('package.json','r'))
except Exception as e:
    print('error loading package.json:', e)
    raise SystemExit(0)
for key, val in p.get('scripts', {}).items():
    if 'turbo' in str(val) or 'pnpm' in str(val) or 'script' in str(val).lower():
        print(f"{key}: {val}")
print(json.dumps(p.get('scripts'), indent=2))
PY

printf '\nSearch for Vercel CLI/deploy references:\n'
rg -n 'vercel (deploy|link|pull|dev)|VERCEL_ORG_ID|VERCEL_PROJECT_ID|vercel-ignore|ignored-build-step|pnpm install --frozen-lockfile|pnpm run build|turbo' -S . \
  -g '!node_modules' -g '!dist' -g '!build' -g '!*.lock' --glob '!*.md' \
  || true

Repository: khulnasoft/TaskCore

Length of output: 11359


Don’t exclude files required by the Vercel build commands.

For Vercel CLI deployments, .vercelignore removes pnpm-lock.yaml, turbo.json, .npmrc, and scripts/. vercel.json installs with pnpm install --frozen-lockfile and builds with pnpm run build, while pnpm run build runs pnpm run preflight:workspace-links -> scripts/ensure-workspace-package-links.ts. Keep these deployment-required files out of .vercelignore, or run a Vercel dry run before relying on these exclusions.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.vercelignore at line 4, Remove pnpm-lock.yaml from .vercelignore, and
ensure the ignore configuration also preserves turbo.json, .npmrc, and scripts/
so the vercel.json install and build commands can access their required files.


# Build outputs (except what we need)
**/dist
!ui/dist
**/build
**/*.tsbuildinfo

# Development
.env.development.local
.env.local
.env.*.local
.env.example

# Testing & Coverage
tests/
coverage/
**/*.test.ts
**/*.test.tsx
**/*.spec.ts
**/*.spec.tsx
vitest.config.ts
playwright.config.ts
**/jest.config.*

# Documentation
docs/
doc/
**/*.md
CHANGELOG.md
README.md
CONTRIBUTING.md

# Examples & Evaluation
packages/plugins/examples/
evals/

# Version Control & CI
.git/
.github/
.gitignore
.gitattributes

# IDE & OS
.vscode/
.idea/
.DS_Store
*.swp
*.swo
*.sublime-workspace
*.sublime-project
*.code-workspace

# Build systems
.turbo/
Turbofile
turbo.json

# Docker
docker/
Dockerfile
docker-compose.yml
.dockerignore

# Package management
.npmrc
.yarnrc
.pnpmfile.cjs

# Miscellaneous
.vercel/
.env.cache*
patches/
scripts/
AGENTS.md
ROADMAP.md
SECURITY.md
adapter-plugin.md
LICENSE
.mailmap

# Evals
evals/
promptfoo*

# Release artifacts
releases/

# Smoke tests
smoke/
Loading
Loading