next.js
5df44d13 - Add .cursor/worktrees.json configuration (#88415)

Commit
10 days ago
Add .cursor/worktrees.json configuration (#88415) ## What? Add a `.cursor/worktrees.json` configuration file that specifies setup commands for Cursor worktrees. ## Why? This configuration allows Cursor to automatically run the necessary setup commands (`pnpm install` and `pnpm build`) when creating new worktrees, ensuring a consistent and ready-to-use development environment. ## How? Added a new `.cursor/worktrees.json` file with the following configuration: ```json { "setup-worktree": ["pnpm install", "pnpm build"] } ``` This tells Cursor to: 1. Install dependencies with `pnpm install` 2. Build the project with `pnpm build` These commands are automatically executed when a new worktree is created in Cursor.
Author
Parents
Loading