You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Run the script, specifying the target directory:
40
+
```
41
+
./npmtopnpm.sh /path/to/your/projects
42
+
```
43
+
44
+
## 📝 Log File
45
+
46
+
The script generates a log file named `pnpm_conversion.log` in the current directory. This file contains detailed information about the conversion process.
47
+
48
+
## 🚨 Error Handling
49
+
50
+
If an error occurs during the conversion process for a project, the script will:
51
+
52
+
- Log the error
53
+
- Attempt to restore the project to its original state
54
+
- Continue with the next project
55
+
56
+
## 📊 Summary
57
+
58
+
After processing all projects, the script provides a summary including:
59
+
60
+
- Total number of projects processed
61
+
- Number of successful conversions
62
+
- Number of failed conversions
63
+
64
+
## ⚠️ Caution
65
+
66
+
Always backup your projects before running this script. While it includes rollback functionality, it's always better to have a separate backup.
67
+
68
+
## 🤝 Contributing
69
+
70
+
Contributions, issues, and feature requests are welcome! Feel free to check [issues page](https://github.com/yourusername/npm-to-pnpm-converter/issues).
71
+
72
+
## 📜 License
73
+
74
+
This project is [MIT](https://choosealicense.com/licenses/mit/) licensed.
0 commit comments