moveFile
Move TypeScript files and automatically update all import statements to maintain project integrity. This tool applies changes atomically to ensure error-free refactoring.
Instructions
Move a TypeScript file and update all imports automatically. Applies edits atomically.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | Absolute path to the project root (where tsconfig.json is) | |
| oldPath | Yes | Absolute path to the file to move | |
| newPath | Yes | Absolute path to the new location | |
| dryRun | No | If true, return the edit plan without applying changes |