next-lovable 0.0.45 → 0.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,6 +33,19 @@ Basic usage:
33
33
  next-lovable <source-directory> [target-directory]
34
34
  ```
35
35
 
36
+ Test migration without making changes or using credit:
37
+ ```bash
38
+ next-lovable ./my-react-app --dry-run
39
+ ```
40
+
41
+ The `--dry-run` (or `-d`) option simulates the migration process without making actual changes. This is useful to:
42
+ - Validate your project structure
43
+ - Check for potential conversion errors
44
+ - Preview file modifications
45
+ - Avoid using conversion credits unnecessarily
46
+ - Get a report of all changes that would be made
47
+
48
+
36
49
  With options:
37
50
  ```bash
38
51
  next-lovable ./my-react-app ./next-app --yes --install
@@ -43,6 +56,7 @@ next-lovable ./my-react-app ./next-app --yes --install
43
56
  - `-y, --yes`: Skip confirmation prompts
44
57
  - `-i, --install`: Install dependencies after migration
45
58
  - `--help`: Show help information
59
+ - `--d, --dry-run`: Run migration in simulation mode without making actual changes. Shows what files would be created/modified.
46
60
 
47
61
  ### Examples
48
62
 
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-lovable",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "description": "Cross-platform tool to migrate Lovable React projects to Next.js",
5
5
  "main": "./dist/index.js",
6
6
  "homepage": "https://nextlovable.com",