morph-cli 0.1.0

AST-based codebase migration and codemod tool for JavaScript and TypeScript projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Configuration Options

Configure Morph by creating a `morph.toml` file in your project root.

| Option | Type | Description | Default |
| --- | --- | --- | --- |
| `enabled_recipes` | `Vec<String>` | Recipes to enable | `[]` |
| `excluded_paths` | `Vec<String>` | Paths to skip during analysis | `[]` |
| `max_file_size_kb` | `usize` | Max file size to process | `500` |
| `dry_run_default` | `bool` | Default to dry-run mode | `true` |
| `backup_enabled` | `bool` | Automatically create backups | `false` |
| `preview_lines` | `usize` | Lines to show in diff previews | `100` |
| `max_files` | `usize` | Max files to process per session | `10000` |
| `max_duration_seconds` | `u64` | Max execution time | `300` |