zixulu 1.79.2 → 1.80.0

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.
Files changed (45) hide show
  1. package/README.md +2 -0
  2. package/dist/index.js +3748 -3637
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/utils/addTemplate.d.ts +20 -0
  5. package/dist/src/utils/getEditorExtensions.d.ts +11 -1
  6. package/dist/src/utils/syncEditorSetting.d.ts +6 -0
  7. package/package.json +1 -1
  8. package/src/index.ts +3 -0
  9. package/src/utils/addTailwind.ts +21 -21
  10. package/src/utils/addTemplate.ts +93 -0
  11. package/src/utils/checkTailwind.ts +9 -9
  12. package/src/utils/checkType.ts +9 -9
  13. package/src/utils/clearDockerLog.ts +8 -8
  14. package/src/utils/download7Zip.ts +14 -14
  15. package/src/utils/downloadAnydesk.ts +14 -14
  16. package/src/utils/downloadChrome.ts +14 -14
  17. package/src/utils/downloadFirefox.ts +14 -14
  18. package/src/utils/downloadGit.ts +14 -14
  19. package/src/utils/downloadHoneyview.ts +9 -9
  20. package/src/utils/downloadNodeJS.ts +14 -14
  21. package/src/utils/downloadPeazip.ts +14 -14
  22. package/src/utils/downloadPotPlayer.ts +14 -14
  23. package/src/utils/downloadPowerToys.ts +14 -14
  24. package/src/utils/downloadVscode.ts +14 -14
  25. package/src/utils/getDependcy.ts +16 -16
  26. package/src/utils/getEditorExtensions.ts +28 -2
  27. package/src/utils/getPackageUpgradeVersion.ts +43 -43
  28. package/src/utils/getPackageVersionFromRange.ts +8 -8
  29. package/src/utils/getRelativePath.ts +11 -11
  30. package/src/utils/hasChangeNoCommit.ts +6 -6
  31. package/src/utils/isAsset.ts +26 -26
  32. package/src/utils/isShellProxy.ts +12 -12
  33. package/src/utils/isStableVersion.ts +3 -3
  34. package/src/utils/isUrl.ts +5 -5
  35. package/src/utils/next.ts +12 -12
  36. package/src/utils/replaceCommitAuthor.ts +57 -57
  37. package/src/utils/setBun.ts +10 -10
  38. package/src/utils/setEnv.ts +24 -24
  39. package/src/utils/sleep.ts +3 -3
  40. package/src/utils/sortPackageJson.ts +16 -16
  41. package/src/utils/sudoCommand.ts +17 -17
  42. package/src/utils/syncCursorExtToCode.ts +19 -6
  43. package/src/utils/syncEditorSetting.ts +72 -66
  44. package/src/utils/unique.ts +3 -3
  45. package/src/utils/vite.ts +15 -15
package/README.md CHANGED
@@ -73,6 +73,8 @@
73
73
  - `zixulu add-zip-dist` (别名: `azd`) - 添加将 dist 压缩的脚本
74
74
  - `zixulu bun` - 设置 bun
75
75
  - `zixulu add-sync` - 添加同步包脚本
76
+ - `zixulu add-template` (别名: `at`) - 为当前仓库添加 template 远程,并将 push 地址设置为 `no_push://template`
77
+ - `zixulu sync-template` (别名: `st`) - 同步模板项目
76
78
 
77
79
  ## 选项
78
80