@gluhar/cli 3.0.2 → 6.0.0-next.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 (430) hide show
  1. package/package.json +53 -46
  2. package/src/GlobalOptions.d.ts +8 -0
  3. package/src/GlobalOptions.d.ts.map +1 -0
  4. package/src/GlobalOptions.js +2 -0
  5. package/src/commands/blank/BlankOptions.d.ts +4 -0
  6. package/src/commands/blank/BlankOptions.d.ts.map +1 -0
  7. package/src/commands/blank/BlankOptions.js +2 -0
  8. package/src/commands/blank/blank.d.ts +3 -0
  9. package/src/commands/blank/blank.d.ts.map +1 -0
  10. package/src/commands/blank/blank.js +8 -0
  11. package/src/commands/blank/index.d.ts +4 -0
  12. package/src/commands/blank/index.d.ts.map +1 -0
  13. package/src/commands/blank/index.js +9 -0
  14. package/src/commands/blank/log.d.ts +2 -0
  15. package/src/commands/blank/log.d.ts.map +1 -0
  16. package/src/commands/blank/log.js +5 -0
  17. package/src/commands/build/BuildOptions.d.ts +4 -0
  18. package/src/commands/build/BuildOptions.d.ts.map +1 -0
  19. package/src/commands/build/BuildOptions.js +2 -0
  20. package/src/commands/build/build.d.ts +3 -0
  21. package/src/commands/build/build.d.ts.map +1 -0
  22. package/src/commands/build/build.js +22 -0
  23. package/src/commands/build/index.d.ts +4 -0
  24. package/src/commands/build/index.d.ts.map +1 -0
  25. package/src/commands/build/index.js +9 -0
  26. package/src/commands/build/log.d.ts +2 -0
  27. package/src/commands/build/log.d.ts.map +1 -0
  28. package/src/commands/build/log.js +5 -0
  29. package/src/commands/danka/DankaOptions.d.ts +4 -0
  30. package/src/commands/danka/DankaOptions.d.ts.map +1 -0
  31. package/src/commands/danka/DankaOptions.js +2 -0
  32. package/src/commands/danka/danka.d.ts +3 -0
  33. package/src/commands/danka/danka.d.ts.map +1 -0
  34. package/src/commands/danka/danka.js +8 -0
  35. package/src/commands/danka/index.d.ts +4 -0
  36. package/src/commands/danka/index.d.ts.map +1 -0
  37. package/src/commands/danka/index.js +9 -0
  38. package/src/commands/danka/log.d.ts +2 -0
  39. package/src/commands/danka/log.d.ts.map +1 -0
  40. package/src/commands/danka/log.js +5 -0
  41. package/src/commands/deinstall/DeinstallOptions.d.ts +4 -0
  42. package/src/commands/deinstall/DeinstallOptions.d.ts.map +1 -0
  43. package/src/commands/deinstall/DeinstallOptions.js +2 -0
  44. package/src/commands/deinstall/deinstall.d.ts +3 -0
  45. package/src/commands/deinstall/deinstall.d.ts.map +1 -0
  46. package/src/commands/deinstall/deinstall.js +21 -0
  47. package/src/commands/deinstall/index.d.ts +4 -0
  48. package/src/commands/deinstall/index.d.ts.map +1 -0
  49. package/src/commands/deinstall/index.js +9 -0
  50. package/src/commands/deinstall/log.d.ts +2 -0
  51. package/src/commands/deinstall/log.d.ts.map +1 -0
  52. package/src/commands/deinstall/log.js +5 -0
  53. package/src/commands/deploy/DeployOptions.d.ts +7 -0
  54. package/src/commands/deploy/DeployOptions.d.ts.map +1 -0
  55. package/src/commands/deploy/DeployOptions.js +2 -0
  56. package/src/commands/deploy/deploy.d.ts +3 -0
  57. package/src/commands/deploy/deploy.d.ts.map +1 -0
  58. package/src/commands/deploy/deploy.js +33 -0
  59. package/src/commands/deploy/deployIos.d.ts +2 -0
  60. package/src/commands/deploy/deployIos.d.ts.map +1 -0
  61. package/src/commands/deploy/deployIos.js +44 -0
  62. package/src/commands/deploy/index.d.ts +4 -0
  63. package/src/commands/deploy/index.d.ts.map +1 -0
  64. package/src/commands/deploy/index.js +12 -0
  65. package/src/commands/deploy/log.d.ts +2 -0
  66. package/src/commands/deploy/log.d.ts.map +1 -0
  67. package/src/commands/deploy/log.js +5 -0
  68. package/src/commands/deploy/setSsr.d.ts +2 -0
  69. package/src/commands/deploy/setSsr.d.ts.map +1 -0
  70. package/src/commands/deploy/setSsr.js +25 -0
  71. package/src/commands/dev/DevOptions.d.ts +5 -0
  72. package/src/commands/dev/DevOptions.d.ts.map +1 -0
  73. package/src/commands/dev/DevOptions.js +2 -0
  74. package/src/commands/dev/dev.d.ts +3 -0
  75. package/src/commands/dev/dev.d.ts.map +1 -0
  76. package/src/commands/dev/dev.js +16 -0
  77. package/src/commands/dev/devIos.d.ts +3 -0
  78. package/src/commands/dev/devIos.d.ts.map +1 -0
  79. package/src/commands/dev/devIos.js +26 -0
  80. package/src/commands/dev/index.d.ts +4 -0
  81. package/src/commands/dev/index.d.ts.map +1 -0
  82. package/src/commands/dev/index.js +10 -0
  83. package/src/commands/dev/log.d.ts +2 -0
  84. package/src/commands/dev/log.d.ts.map +1 -0
  85. package/src/commands/dev/log.js +5 -0
  86. package/src/commands/generate/GenerateOptions.d.ts +9 -0
  87. package/src/commands/generate/GenerateOptions.d.ts.map +1 -0
  88. package/src/commands/generate/GenerateOptions.js +4 -0
  89. package/src/commands/generate/generate.d.ts +3 -0
  90. package/src/commands/generate/generate.d.ts.map +1 -0
  91. package/src/commands/generate/generate.js +22 -0
  92. package/src/commands/generate/generateCommand.d.ts +2 -0
  93. package/src/commands/generate/generateCommand.d.ts.map +1 -0
  94. package/src/commands/generate/generateCommand.js +36 -0
  95. package/src/commands/generate/generateProject.d.ts +3 -0
  96. package/src/commands/generate/generateProject.d.ts.map +1 -0
  97. package/src/commands/generate/generateProject.js +86 -0
  98. package/src/commands/generate/index.d.ts +4 -0
  99. package/src/commands/generate/index.d.ts.map +1 -0
  100. package/src/commands/generate/index.js +14 -0
  101. package/src/commands/generate/log.d.ts +2 -0
  102. package/src/commands/generate/log.d.ts.map +1 -0
  103. package/src/commands/generate/log.js +5 -0
  104. package/src/commands/index.d.ts +3 -0
  105. package/src/commands/index.d.ts.map +1 -0
  106. package/src/commands/index.js +25 -0
  107. package/src/commands/kiss/KissOptions.d.ts +4 -0
  108. package/src/commands/kiss/KissOptions.d.ts.map +1 -0
  109. package/src/commands/kiss/KissOptions.js +2 -0
  110. package/src/commands/kiss/index.d.ts +4 -0
  111. package/src/commands/kiss/index.d.ts.map +1 -0
  112. package/src/commands/kiss/index.js +9 -0
  113. package/src/commands/kiss/kiss.d.ts +3 -0
  114. package/src/commands/kiss/kiss.d.ts.map +1 -0
  115. package/src/commands/kiss/kiss.js +8 -0
  116. package/src/commands/kiss/log.d.ts +2 -0
  117. package/src/commands/kiss/log.d.ts.map +1 -0
  118. package/src/commands/kiss/log.js +5 -0
  119. package/src/commands/reinstall/ReinstallOptions.d.ts +4 -0
  120. package/src/commands/reinstall/ReinstallOptions.d.ts.map +1 -0
  121. package/src/commands/reinstall/ReinstallOptions.js +2 -0
  122. package/src/commands/reinstall/index.d.ts +4 -0
  123. package/src/commands/reinstall/index.d.ts.map +1 -0
  124. package/src/commands/reinstall/index.js +9 -0
  125. package/src/commands/reinstall/log.d.ts +2 -0
  126. package/src/commands/reinstall/log.d.ts.map +1 -0
  127. package/src/commands/reinstall/log.js +5 -0
  128. package/src/commands/reinstall/reinstall.d.ts +3 -0
  129. package/src/commands/reinstall/reinstall.d.ts.map +1 -0
  130. package/src/commands/reinstall/reinstall.js +14 -0
  131. package/src/commands/release/ReleaseOptions.d.ts +10 -0
  132. package/src/commands/release/ReleaseOptions.d.ts.map +1 -0
  133. package/src/commands/release/ReleaseOptions.js +2 -0
  134. package/src/commands/release/index.d.ts +4 -0
  135. package/src/commands/release/index.d.ts.map +1 -0
  136. package/src/commands/release/index.js +26 -0
  137. package/src/commands/release/log.d.ts +2 -0
  138. package/src/commands/release/log.d.ts.map +1 -0
  139. package/src/commands/release/log.js +5 -0
  140. package/src/commands/release/publish.d.ts +3 -0
  141. package/src/commands/release/publish.d.ts.map +1 -0
  142. package/src/commands/release/publish.js +20 -0
  143. package/src/commands/release/release.d.ts +3 -0
  144. package/src/commands/release/release.d.ts.map +1 -0
  145. package/src/commands/release/release.js +31 -0
  146. package/src/commands/release/tag.d.ts +23 -0
  147. package/src/commands/release/tag.d.ts.map +1 -0
  148. package/src/commands/release/tag.js +93 -0
  149. package/src/commands/upgrade/UpgradeOptions.d.ts +5 -0
  150. package/src/commands/upgrade/UpgradeOptions.d.ts.map +1 -0
  151. package/src/commands/upgrade/UpgradeOptions.js +2 -0
  152. package/src/commands/upgrade/index.d.ts +4 -0
  153. package/src/commands/upgrade/index.d.ts.map +1 -0
  154. package/src/commands/upgrade/index.js +9 -0
  155. package/src/commands/upgrade/log.d.ts +2 -0
  156. package/src/commands/upgrade/log.d.ts.map +1 -0
  157. package/src/commands/upgrade/log.js +5 -0
  158. package/src/commands/upgrade/upgrade.d.ts +3 -0
  159. package/src/commands/upgrade/upgrade.d.ts.map +1 -0
  160. package/src/commands/upgrade/upgrade.js +22 -0
  161. package/src/commands/version/VersionOptions.d.ts +8 -0
  162. package/src/commands/version/VersionOptions.d.ts.map +1 -0
  163. package/src/commands/version/VersionOptions.js +2 -0
  164. package/src/commands/version/getPreid.d.ts +2 -0
  165. package/src/commands/version/getPreid.d.ts.map +1 -0
  166. package/src/commands/version/getPreid.js +10 -0
  167. package/src/commands/version/index.d.ts +4 -0
  168. package/src/commands/version/index.d.ts.map +1 -0
  169. package/src/commands/version/index.js +12 -0
  170. package/src/commands/version/log.d.ts +2 -0
  171. package/src/commands/version/log.d.ts.map +1 -0
  172. package/src/commands/version/log.js +5 -0
  173. package/src/commands/version/pimpChangelogs.d.ts +2 -0
  174. package/src/commands/version/pimpChangelogs.d.ts.map +1 -0
  175. package/src/commands/version/pimpChangelogs.js +37 -0
  176. package/src/commands/version/version.d.ts +3 -0
  177. package/src/commands/version/version.d.ts.map +1 -0
  178. package/src/commands/version/version.js +35 -0
  179. package/src/constants.d.ts +4 -0
  180. package/src/constants.d.ts.map +1 -0
  181. package/src/constants.js +7 -0
  182. package/src/index.d.ts +3 -0
  183. package/src/index.d.ts.map +1 -0
  184. package/src/index.js +24 -0
  185. package/src/preAction.d.ts +3 -0
  186. package/src/preAction.d.ts.map +1 -0
  187. package/src/preAction.js +82 -0
  188. package/src/scripts/cmd/cd.d.ts +2 -0
  189. package/src/scripts/cmd/cd.d.ts.map +1 -0
  190. package/src/scripts/cmd/cd.js +15 -0
  191. package/src/scripts/cmd/{executeBash.ts → executeBash.d.ts} +10 -20
  192. package/src/scripts/cmd/executeBash.d.ts.map +1 -0
  193. package/src/scripts/cmd/executeBash.js +21 -0
  194. package/src/scripts/cmd/executeCmd.d.ts +9 -0
  195. package/src/scripts/cmd/executeCmd.d.ts.map +1 -0
  196. package/src/scripts/cmd/executeCmd.js +23 -0
  197. package/src/scripts/cmd/exitOnFailure.d.ts +8 -0
  198. package/src/scripts/cmd/exitOnFailure.d.ts.map +1 -0
  199. package/src/scripts/cmd/exitOnFailure.js +20 -0
  200. package/src/scripts/cmd/{getBashOutput.ts → getBashOutput.d.ts} +10 -23
  201. package/src/scripts/cmd/getBashOutput.d.ts.map +1 -0
  202. package/src/scripts/cmd/getBashOutput.js +19 -0
  203. package/src/scripts/cmd/getCmdOutput.d.ts +10 -0
  204. package/src/scripts/cmd/getCmdOutput.d.ts.map +1 -0
  205. package/src/scripts/cmd/getCmdOutput.js +26 -0
  206. package/src/scripts/cmd/{index.ts → index.d.ts} +9 -10
  207. package/src/scripts/cmd/index.d.ts.map +1 -0
  208. package/src/scripts/cmd/index.js +26 -0
  209. package/src/scripts/cmd/log.d.ts +2 -0
  210. package/src/scripts/cmd/log.d.ts.map +1 -0
  211. package/src/scripts/cmd/log.js +5 -0
  212. package/src/scripts/cmd/parseArgs.d.ts +3 -0
  213. package/src/scripts/cmd/parseArgs.d.ts.map +1 -0
  214. package/src/scripts/cmd/parseArgs.js +41 -0
  215. package/src/scripts/cmd/parseBashArgs.d.ts +3 -0
  216. package/src/scripts/cmd/parseBashArgs.d.ts.map +1 -0
  217. package/src/scripts/cmd/parseBashArgs.js +16 -0
  218. package/src/scripts/cmd/types.d.ts +12 -0
  219. package/src/scripts/cmd/types.d.ts.map +1 -0
  220. package/src/scripts/cmd/types.js +2 -0
  221. package/src/scripts/filesystem/copyDir.d.ts +9 -0
  222. package/src/scripts/filesystem/copyDir.d.ts.map +1 -0
  223. package/src/scripts/filesystem/copyDir.js +26 -0
  224. package/src/scripts/filesystem/copyFiles.d.ts +11 -0
  225. package/src/scripts/filesystem/copyFiles.d.ts.map +1 -0
  226. package/src/scripts/filesystem/copyFiles.js +59 -0
  227. package/src/scripts/filesystem/findFile.d.ts +2 -0
  228. package/src/scripts/filesystem/findFile.d.ts.map +1 -0
  229. package/src/scripts/filesystem/findFile.js +24 -0
  230. package/src/scripts/filesystem/index.d.ts +10 -0
  231. package/src/scripts/filesystem/index.d.ts.map +1 -0
  232. package/src/scripts/filesystem/index.js +17 -0
  233. package/src/scripts/filesystem/loadJsonFile.d.ts +2 -0
  234. package/src/scripts/filesystem/loadJsonFile.d.ts.map +1 -0
  235. package/src/scripts/filesystem/loadJsonFile.js +18 -0
  236. package/src/scripts/filesystem/log.d.ts +2 -0
  237. package/src/scripts/filesystem/log.d.ts.map +1 -0
  238. package/src/scripts/filesystem/log.js +5 -0
  239. package/src/scripts/filesystem/readDirRecursive.d.ts +2 -0
  240. package/src/scripts/filesystem/readDirRecursive.d.ts.map +1 -0
  241. package/src/scripts/filesystem/readDirRecursive.js +16 -0
  242. package/src/scripts/git/branch/branchDelete.d.ts +6 -0
  243. package/src/scripts/git/branch/branchDelete.d.ts.map +1 -0
  244. package/src/scripts/git/branch/branchDelete.js +24 -0
  245. package/src/scripts/git/branch/branchExists.d.ts +5 -0
  246. package/src/scripts/git/branch/branchExists.d.ts.map +1 -0
  247. package/src/scripts/git/branch/branchExists.js +15 -0
  248. package/src/scripts/git/branch/checkout.d.ts +5 -0
  249. package/src/scripts/git/branch/checkout.d.ts.map +1 -0
  250. package/src/scripts/git/branch/checkout.js +15 -0
  251. package/src/scripts/git/branch/getCurrentBranch.d.ts +11 -0
  252. package/src/scripts/git/branch/getCurrentBranch.d.ts.map +1 -0
  253. package/src/scripts/git/branch/getCurrentBranch.js +28 -0
  254. package/src/scripts/git/clone.d.ts +10 -0
  255. package/src/scripts/git/clone.d.ts.map +1 -0
  256. package/src/scripts/git/clone.js +14 -0
  257. package/src/scripts/git/commit.sh +0 -0
  258. package/src/scripts/git/getRepo.d.ts +2 -0
  259. package/src/scripts/git/getRepo.d.ts.map +1 -0
  260. package/src/scripts/git/getRepo.js +13 -0
  261. package/src/scripts/git/index.d.ts +29 -0
  262. package/src/scripts/git/index.d.ts.map +1 -0
  263. package/src/scripts/git/index.js +40 -0
  264. package/src/scripts/git/log.d.ts +2 -0
  265. package/src/scripts/git/log.d.ts.map +1 -0
  266. package/src/scripts/git/log.js +5 -0
  267. package/src/scripts/git/openPr.d.ts +2 -0
  268. package/src/scripts/git/openPr.d.ts.map +1 -0
  269. package/src/scripts/git/openPr.js +20 -0
  270. package/src/scripts/git/remoteStatus.d.ts +3 -0
  271. package/src/scripts/git/remoteStatus.d.ts.map +1 -0
  272. package/src/scripts/git/remoteStatus.js +22 -0
  273. package/src/scripts/git/tag/createTag.d.ts +18 -0
  274. package/src/scripts/git/tag/createTag.d.ts.map +1 -0
  275. package/src/scripts/git/tag/createTag.js +18 -0
  276. package/src/scripts/git/tag/deleteTag.d.ts +2 -0
  277. package/src/scripts/git/tag/deleteTag.d.ts.map +1 -0
  278. package/src/scripts/git/tag/deleteTag.js +13 -0
  279. package/src/scripts/git/tag/getTags.d.ts +2 -0
  280. package/src/scripts/git/tag/getTags.d.ts.map +1 -0
  281. package/src/scripts/git/tag/getTags.js +8 -0
  282. package/src/scripts/git/tag/pushAllTags.d.ts +2 -0
  283. package/src/scripts/git/tag/pushAllTags.d.ts.map +1 -0
  284. package/src/scripts/git/tag/pushAllTags.js +8 -0
  285. package/src/scripts/git/tag/renameTag.d.ts +2 -0
  286. package/src/scripts/git/tag/renameTag.d.ts.map +1 -0
  287. package/src/scripts/git/tag/renameTag.js +14 -0
  288. package/src/scripts/lerna/changed.d.ts +3 -0
  289. package/src/scripts/lerna/changed.d.ts.map +1 -0
  290. package/src/scripts/lerna/changed.js +13 -0
  291. package/src/scripts/lerna/constants.d.ts +5 -0
  292. package/src/scripts/lerna/constants.d.ts.map +1 -0
  293. package/src/scripts/lerna/constants.js +7 -0
  294. package/src/scripts/lerna/filterByDependency.d.ts +7 -0
  295. package/src/scripts/lerna/filterByDependency.d.ts.map +1 -0
  296. package/src/scripts/lerna/filterByDependency.js +18 -0
  297. package/src/scripts/lerna/getConfig.d.ts +3 -0
  298. package/src/scripts/lerna/getConfig.d.ts.map +1 -0
  299. package/src/scripts/lerna/getConfig.js +13 -0
  300. package/src/scripts/lerna/getDependencies.d.ts +9 -0
  301. package/src/scripts/lerna/getDependencies.d.ts.map +1 -0
  302. package/src/scripts/lerna/getDependencies.js +23 -0
  303. package/src/scripts/lerna/getDetails.d.ts +3 -0
  304. package/src/scripts/lerna/getDetails.d.ts.map +1 -0
  305. package/src/scripts/lerna/getDetails.js +38 -0
  306. package/src/scripts/lerna/index.d.ts +14 -0
  307. package/src/scripts/lerna/index.d.ts.map +1 -0
  308. package/src/scripts/lerna/index.js +19 -0
  309. package/src/scripts/lerna/log.d.ts +2 -0
  310. package/src/scripts/lerna/log.d.ts.map +1 -0
  311. package/src/scripts/lerna/log.js +5 -0
  312. package/src/scripts/lerna/publish.sh +0 -0
  313. package/src/scripts/lerna/types.d.ts +62 -0
  314. package/src/scripts/lerna/types.d.ts.map +1 -0
  315. package/src/scripts/lerna/types.js +2 -0
  316. package/src/scripts/lerna/version.sh +1 -1
  317. package/src/utils/chalk.d.ts +4 -0
  318. package/src/utils/chalk.d.ts.map +1 -0
  319. package/src/utils/chalk.js +9 -0
  320. package/src/utils/common.d.ts +8 -0
  321. package/src/utils/common.d.ts.map +1 -0
  322. package/src/utils/common.js +21 -0
  323. package/src/utils/{index.ts → index.d.ts} +4 -3
  324. package/src/utils/index.d.ts.map +1 -0
  325. package/src/utils/index.js +19 -0
  326. package/src/utils/inquirer.d.ts +5 -0
  327. package/src/utils/inquirer.d.ts.map +1 -0
  328. package/src/utils/inquirer.js +21 -0
  329. package/src/utils/logger.d.ts +9 -0
  330. package/src/utils/logger.d.ts.map +1 -0
  331. package/src/utils/logger.js +36 -0
  332. package/CHANGELOG.md +0 -628
  333. package/README.md +0 -11
  334. package/src/GlobalOptions.ts +0 -8
  335. package/src/commands/blank/BlankOptions.ts +0 -3
  336. package/src/commands/blank/blank.ts +0 -6
  337. package/src/commands/blank/index.ts +0 -8
  338. package/src/commands/blank/log.ts +0 -3
  339. package/src/commands/build/BuildOptions.ts +0 -3
  340. package/src/commands/build/build.ts +0 -24
  341. package/src/commands/build/index.ts +0 -8
  342. package/src/commands/build/log.ts +0 -3
  343. package/src/commands/deinstall/DeinstallOptions.ts +0 -3
  344. package/src/commands/deinstall/deinstall.ts +0 -19
  345. package/src/commands/deinstall/index.ts +0 -11
  346. package/src/commands/deinstall/log.ts +0 -3
  347. package/src/commands/deploy/DeployOptions.ts +0 -6
  348. package/src/commands/deploy/deploy.ts +0 -39
  349. package/src/commands/deploy/deployIos.ts +0 -48
  350. package/src/commands/deploy/index.ts +0 -20
  351. package/src/commands/deploy/log.ts +0 -3
  352. package/src/commands/deploy/setSsr.ts +0 -25
  353. package/src/commands/dev/DevOptions.ts +0 -4
  354. package/src/commands/dev/dev.ts +0 -15
  355. package/src/commands/dev/devIos.ts +0 -23
  356. package/src/commands/dev/index.ts +0 -12
  357. package/src/commands/dev/log.ts +0 -3
  358. package/src/commands/generate/GenerateOptions.ts +0 -9
  359. package/src/commands/generate/generate.ts +0 -29
  360. package/src/commands/generate/generateCommand.ts +0 -46
  361. package/src/commands/generate/generateProject.ts +0 -115
  362. package/src/commands/generate/index.ts +0 -19
  363. package/src/commands/generate/log.ts +0 -3
  364. package/src/commands/index.ts +0 -21
  365. package/src/commands/reinstall/ReinstallOptions.ts +0 -3
  366. package/src/commands/reinstall/index.ts +0 -11
  367. package/src/commands/reinstall/log.ts +0 -3
  368. package/src/commands/reinstall/reinstall.ts +0 -13
  369. package/src/commands/release/ReleaseOptions.ts +0 -8
  370. package/src/commands/release/index.ts +0 -40
  371. package/src/commands/release/log.ts +0 -3
  372. package/src/commands/release/publish.ts +0 -18
  373. package/src/commands/release/release.ts +0 -24
  374. package/src/commands/release/tag.ts +0 -119
  375. package/src/commands/upgrade/UpgradeOptions.ts +0 -3
  376. package/src/commands/upgrade/index.ts +0 -10
  377. package/src/commands/upgrade/log.ts +0 -3
  378. package/src/commands/upgrade/upgrade.ts +0 -10
  379. package/src/commands/version/VersionOptions.ts +0 -7
  380. package/src/commands/version/getPreid.ts +0 -7
  381. package/src/commands/version/index.ts +0 -18
  382. package/src/commands/version/log.ts +0 -3
  383. package/src/commands/version/pimpChangelogs.ts +0 -43
  384. package/src/commands/version/version.ts +0 -33
  385. package/src/constants.ts +0 -5
  386. package/src/index.ts +0 -24
  387. package/src/preAction.ts +0 -93
  388. package/src/scripts/cmd/cd.ts +0 -9
  389. package/src/scripts/cmd/executeCmd.ts +0 -23
  390. package/src/scripts/cmd/getCmdOutput.ts +0 -26
  391. package/src/scripts/cmd/log.ts +0 -3
  392. package/src/scripts/cmd/parseArgs.ts +0 -44
  393. package/src/scripts/cmd/parseBashArgs.ts +0 -21
  394. package/src/scripts/cmd/types.ts +0 -13
  395. package/src/scripts/filesystem/copyDir.ts +0 -29
  396. package/src/scripts/filesystem/copyFiles.ts +0 -75
  397. package/src/scripts/filesystem/findFile.ts +0 -29
  398. package/src/scripts/filesystem/index.ts +0 -15
  399. package/src/scripts/filesystem/loadJsonFile.ts +0 -17
  400. package/src/scripts/filesystem/log.ts +0 -3
  401. package/src/scripts/filesystem/readDirRecursive.ts +0 -21
  402. package/src/scripts/git/branch/branchDelete.ts +0 -32
  403. package/src/scripts/git/branch/branchExists.ts +0 -14
  404. package/src/scripts/git/branch/checkout.ts +0 -19
  405. package/src/scripts/git/branch/getCurrentBranch.ts +0 -37
  406. package/src/scripts/git/clone.ts +0 -20
  407. package/src/scripts/git/getRepo.ts +0 -11
  408. package/src/scripts/git/index.ts +0 -44
  409. package/src/scripts/git/log.ts +0 -3
  410. package/src/scripts/git/openPr.ts +0 -21
  411. package/src/scripts/git/remoteStatus.ts +0 -28
  412. package/src/scripts/git/tag/createTag.ts +0 -28
  413. package/src/scripts/git/tag/deleteTag.ts +0 -11
  414. package/src/scripts/git/tag/getTags.ts +0 -6
  415. package/src/scripts/git/tag/pushAllTags.ts +0 -6
  416. package/src/scripts/git/tag/renameTag.ts +0 -12
  417. package/src/scripts/lerna/changed.ts +0 -11
  418. package/src/scripts/lerna/constants.ts +0 -6
  419. package/src/scripts/lerna/filterByDependency.ts +0 -21
  420. package/src/scripts/lerna/getConfig.ts +0 -12
  421. package/src/scripts/lerna/getDependencies.ts +0 -25
  422. package/src/scripts/lerna/getDetails.ts +0 -44
  423. package/src/scripts/lerna/index.ts +0 -18
  424. package/src/scripts/lerna/log.ts +0 -3
  425. package/src/scripts/lerna/types.ts +0 -64
  426. package/src/utils/chalk.ts +0 -4
  427. package/src/utils/common.ts +0 -16
  428. package/src/utils/inquirer.ts +0 -20
  429. package/src/utils/logger.ts +0 -51
  430. package/tsconfig.json +0 -28
@@ -1,24 +0,0 @@
1
- import { executeCmd } from "src/scripts/cmd";
2
- import { BuildOptions } from "./BuildOptions";
3
- import { log } from "./log";
4
-
5
- export const build = (options: BuildOptions) => {
6
- const { type } = options;
7
-
8
- // INFO Nuxt modules need a structure of [pkg.json, dist/] to function properly where as my release script needs all pkgs to be released from a dist folder
9
- if (type === "module") {
10
- log.info("Build nuxt module in dist");
11
- executeCmd("nuxt-module-build build");
12
-
13
- log.info("Copy contents of dist on level down");
14
- executeCmd('copyfiles "dist/**/*" dist');
15
-
16
- // log.info("Delete the copied files");
17
- // executeCmd(
18
- // "find ./dist -mindepth 1 ! -path './dist/dist*' -exec rm -rf {} +"
19
- // );
20
-
21
- log.info("Copy pkg.json and mds to dist as well");
22
- executeCmd("copyfiles package.json README.md CHANGELOG.md dist");
23
- }
24
- };
@@ -1,8 +0,0 @@
1
- import { Command } from "commander";
2
- import { build } from "./build";
3
-
4
- export default new Command()
5
- .name("build")
6
- .description("Command for building various things.")
7
- .option("-t, --type [type]", "What kind of thing to build.")
8
- .action(build);
@@ -1,3 +0,0 @@
1
- import { logger } from "src/utils";
2
-
3
- export const log = logger("build");
@@ -1,3 +0,0 @@
1
- export interface DeinstallOptions {
2
- packages?: boolean;
3
- }
@@ -1,19 +0,0 @@
1
- import { executeCmd } from "src/scripts/cmd";
2
- import { DeinstallOptions } from "./DeinstallOptions";
3
- import { log } from "./log";
4
-
5
- export const deinstall = (options: DeinstallOptions) => {
6
- if (options.packages) {
7
- // Remove node_modules in each folder inside /packages
8
- log.info("Deleting node_modules from root and packages. (-p)");
9
- executeCmd("rm -rf node_modules ./packages/**/node_modules");
10
- } else {
11
- // Remove node_modules recursively
12
- log.info("Deleting node_modules.");
13
- executeCmd("rm -rf node_modules");
14
- }
15
-
16
- // Remove package-lock.json
17
- log.info("Deleting package-lock.");
18
- executeCmd("rm package-lock.json");
19
- };
@@ -1,11 +0,0 @@
1
- import { Command } from "commander";
2
- import { deinstall } from "./deinstall";
3
-
4
- export default new Command()
5
- .name("deinstall")
6
- .description("Remove node_modules and package-lock.json.")
7
- .option(
8
- "-p, --packages",
9
- "Deinstall dependencies in /packages (intended for module authors)."
10
- )
11
- .action(deinstall);
@@ -1,3 +0,0 @@
1
- import { logger } from "src/utils";
2
-
3
- export const log = logger("deinstall");
@@ -1,6 +0,0 @@
1
- export interface DeployOptions {
2
- from?: string;
3
- ios?: boolean;
4
- android?: boolean;
5
- ssr?: boolean;
6
- }
@@ -1,39 +0,0 @@
1
- import { git } from "src/scripts/git";
2
- import { DeployOptions } from "./DeployOptions";
3
- import { log } from "./log";
4
- import { deployIos } from "./deployIos";
5
- import { setSsr } from "./setSsr";
6
- import { confirmQuestion } from "src/utils";
7
-
8
- export const deploy = async (options: DeployOptions) => {
9
- log.info("Deploying app...", options);
10
-
11
- // Deploy app to iOS
12
- if (options.ios) {
13
- deployIos();
14
- return;
15
- }
16
-
17
- // Handle ssr
18
- if (options.ssr !== undefined) {
19
- log.info(`Setting ssr to ${options.ssr} and committing to git`);
20
- setSsr(options.ssr);
21
- git.commit({ m: `chore: Set SSR to ${options.ssr}` });
22
- }
23
-
24
- // Default Deploy app to web
25
- const fromBranch = options.from || "dev";
26
- const { remote } = git.branch.exists("deploy");
27
-
28
- git.branch.checkout("deploy", { newBranch: !remote });
29
- log.info("Checked out to deploy branch");
30
-
31
- git.merge(fromBranch, true);
32
- log.info(`Merged with ${fromBranch}`);
33
-
34
- git.push("deploy");
35
- log.info("Pushed to deploy");
36
-
37
- git.branch.checkout(fromBranch);
38
- log.info(`Checked out back to ${fromBranch}`);
39
- };
@@ -1,48 +0,0 @@
1
- import { executeCmd } from "src/scripts/cmd";
2
- import { log } from "./log";
3
- import { Project, SyntaxKind } from "ts-morph";
4
- import { setSsr } from "./setSsr";
5
-
6
- const project = new Project();
7
-
8
- export const deployIos = async (url?: string) => {
9
- log.info("Deploying iOS app.");
10
-
11
- // Remove server dev url from capacitor config
12
- const capConfig = project.addSourceFileAtPathIfExists(
13
- "./capacitor.config.ts"
14
- );
15
- if (!capConfig) return;
16
-
17
- const capConfigObject = capConfig
18
- ?.getVariableDeclaration("config")
19
- ?.getInitializerIfKind(SyntaxKind.ObjectLiteralExpression);
20
- if (!capConfigObject) return;
21
-
22
- const server = capConfigObject.getProperty("server");
23
-
24
- if (!url) {
25
- server?.remove();
26
- } else {
27
- if (server) {
28
- server.set({ initializer: `{ url: '${url}' }` });
29
- } else {
30
- capConfigObject.addPropertyAssignment({
31
- name: "server",
32
- initializer: `{ url: '${url}' }`,
33
- });
34
- }
35
- }
36
-
37
- capConfig.saveSync();
38
-
39
- // Disable ssr from nuxt.config
40
- setSsr(false);
41
-
42
- // Generate static nuxt app
43
- executeCmd("nuxi generate");
44
-
45
- // Sync and open iOS app with Capacitor
46
- executeCmd("cap sync ios");
47
- executeCmd("cap open ios");
48
- };
@@ -1,20 +0,0 @@
1
- import { Command } from "commander";
2
- import { deploy } from "./deploy";
3
-
4
- export default new Command()
5
- .name("deploy")
6
- .description(
7
- "Deploy a Nuxt app. Check out to deploy branch, merge with dev and check out back to dev."
8
- )
9
- .option(
10
- "--from <branch>",
11
- "From what branch to deploy. Default is 'dev' so this is used in the event we are deploying from a different branch.",
12
- "dev"
13
- )
14
- .option("--ios", "Deploy app to iOS device using Capacitor.")
15
- .option("--android", "Deploy app to Android device using Capacitor.")
16
- .option(
17
- "--ssr",
18
- "Set SSR before deployment. Default is undefined for no change."
19
- )
20
- .action(deploy);
@@ -1,3 +0,0 @@
1
- import { logger } from "src/utils";
2
-
3
- export const log = logger("deploy");
@@ -1,25 +0,0 @@
1
- import { Project, SyntaxKind } from "ts-morph";
2
-
3
- const project = new Project();
4
-
5
- export const setSsr = (ssr: boolean) => {
6
- const nuxtConfig = project.addSourceFileAtPath("./nuxt.config.ts");
7
- if (!nuxtConfig) return;
8
-
9
- const nuxtConfigDefault = nuxtConfig?.getFirstDescendantByKind(
10
- SyntaxKind.ObjectLiteralExpression
11
- );
12
- if (!nuxtConfigDefault) return;
13
-
14
- const nuxtConfigSsr = nuxtConfigDefault.getProperty("ssr");
15
- if (nuxtConfigSsr) {
16
- nuxtConfigSsr.set({ initializer: `${ssr}` });
17
- } else {
18
- nuxtConfigDefault.addPropertyAssignment({
19
- name: "ssr",
20
- initializer: `${ssr}`,
21
- });
22
- }
23
-
24
- nuxtConfig.saveSync();
25
- };
@@ -1,4 +0,0 @@
1
- export interface DevOptions {
2
- host?: boolean;
3
- ios?: boolean;
4
- }
@@ -1,15 +0,0 @@
1
- import { executeCmd } from "src/scripts/cmd";
2
- import { DevOptions } from "./DevOptions";
3
- import { log } from "./log";
4
- import { devIos } from "./devIos";
5
-
6
- export const dev = async (options: DevOptions) => {
7
- log.info("Running dev...", options);
8
-
9
- if (options.ios) {
10
- options.host = true;
11
- await devIos(options);
12
- }
13
- // Run nuxt server
14
- executeCmd("nuxt dev", options.host ? { host: "0.0.0.0" } : undefined);
15
- };
@@ -1,23 +0,0 @@
1
- import { deployIos } from "../deploy/deployIos";
2
- import { DevOptions } from "./DevOptions";
3
- import os from "os";
4
-
5
- const getLocalIP = () => {
6
- const interfaces = os.networkInterfaces();
7
- for (const iface of Object.values(interfaces)) {
8
- if (!iface) continue;
9
-
10
- for (const config of iface) {
11
- if (config.family === "IPv4" && !config.internal) {
12
- return config.address;
13
- }
14
- }
15
- }
16
- };
17
-
18
- export const devIos = async (options: DevOptions) => {
19
- const ip = getLocalIP();
20
- const url = `http://${ip}:3000`; // TODO dynamic ssl and port ?
21
-
22
- await deployIos(url);
23
- };
@@ -1,12 +0,0 @@
1
- import { Command } from "commander";
2
- import { dev } from "./dev";
3
-
4
- export default new Command()
5
- .name("dev")
6
- .description("Description of command.")
7
- .option("-h, --host", "Run nuxt dev server exposed to the local network.")
8
- .option(
9
- "--ios",
10
- "Run dev for ios. Runs nuxt dev host and deploys to ios device with server url."
11
- )
12
- .action(dev);
@@ -1,3 +0,0 @@
1
- import { logger } from "src/utils";
2
-
3
- export const log = logger("dev");
@@ -1,9 +0,0 @@
1
- export const generateTypes = ["project", "package", "command"] as const;
2
- export type GenerateType = (typeof generateTypes)[number];
3
-
4
- export interface GenerateOptions {
5
- starter?: string;
6
- noRepo?: boolean;
7
- keepHistory?: boolean;
8
- yes: boolean;
9
- }
@@ -1,29 +0,0 @@
1
- import {
2
- GenerateOptions,
3
- GenerateType,
4
- generateTypes,
5
- } from "./GenerateOptions";
6
- import { log } from "./log";
7
- import { generateCommand } from "./generateCommand";
8
- import { generateProject } from "./generateProject";
9
-
10
- const cwd = process.cwd();
11
-
12
- export const generate = async (
13
- type: GenerateType,
14
- name: string,
15
- options: GenerateOptions
16
- ) => {
17
- if (!generateTypes.includes(type)) {
18
- log.error("Invalid type. Nothing to generate.");
19
- return;
20
- }
21
-
22
- log.info("Generating", type, name);
23
-
24
- if (type === "command") {
25
- await generateCommand(name, cwd);
26
- } else if (type === "project") {
27
- await generateProject(name, cwd, options);
28
- }
29
- };
@@ -1,46 +0,0 @@
1
- import { filesystem } from "src/scripts/filesystem";
2
- import { log } from "./log";
3
- import { join } from "path";
4
- import { capitalize } from "src/utils/common";
5
-
6
- export const generateCommand = async (name: string, cwd: string) => {
7
- if (!cwd.includes("packages/cli")) {
8
- log.error(
9
- "You must be in the packages/cli directory to generate a command."
10
- );
11
- return;
12
- }
13
-
14
- filesystem.copyDir(
15
- join(cwd, "src/commands/blank"),
16
- join(cwd, `src/commands/${name}`),
17
- (file) => {
18
- const content = file.content
19
- .replaceAll("blank", name)
20
- .replaceAll("Blank", capitalize(name));
21
- const base = file.base
22
- .replaceAll("blank", name)
23
- .replaceAll("Blank", capitalize(name));
24
-
25
- return {
26
- ...file,
27
- content,
28
- base,
29
- };
30
- }
31
- );
32
-
33
- await filesystem.copyFiles([join(cwd, "src/commands/index.ts")], (file) => {
34
- const content = file.content
35
- .replace(
36
- "\n\nexport default",
37
- `\nimport ${name} from "./${name}";\n\nexport default`
38
- )
39
- .replace("];\n", ` ${name},\n];\n`);
40
-
41
- return {
42
- ...file,
43
- content,
44
- };
45
- });
46
- };
@@ -1,115 +0,0 @@
1
- import { filesystem } from "src/scripts/filesystem";
2
- import { git } from "src/scripts/git";
3
- import { log } from "./log";
4
- import { commandExists } from "src/utils/common";
5
- import { cmd, executeCmd } from "src/scripts/cmd";
6
- import { GenerateOptions } from "./GenerateOptions";
7
- import { confirmQuestion } from "src/utils";
8
-
9
- export const generateProject = async (
10
- name: string,
11
- cwd: string,
12
- options: GenerateOptions
13
- ) => {
14
- const { starter = "base", noRepo, keepHistory, yes } = options;
15
-
16
- log.verbose("Check if project name is valid");
17
- if (!name.match(/^[a-z0-9-]+$/)) {
18
- log.error(
19
- "Project name must be lowercase, alphanumeric, and contain hyphens only."
20
- );
21
- return;
22
- }
23
-
24
- if (!noRepo) {
25
- // Check if gh is installed
26
- if (executeCmd("gh --version").status !== 0) {
27
- const installGh = await confirmQuestion(
28
- "GitHub cli is not installed. Do you want to install it now? (brew install gh)",
29
- yes
30
- );
31
- if (installGh) {
32
- executeCmd("brew install gh");
33
- } else {
34
- log.error(
35
- "You must have GitHub cli installed to generate a project and create a repo."
36
- );
37
- return;
38
- }
39
- }
40
-
41
- // Check if gh user is authenticated
42
- if (executeCmd("gh auth status").status !== 0) {
43
- const authenticateGh = await confirmQuestion(
44
- "GitHub cli is not authenticated. Do you want to authenticate now? (gh auth login)",
45
- yes
46
- );
47
- if (authenticateGh) {
48
- executeCmd("gh auth login");
49
- } else {
50
- log.error(
51
- "You must authenticate with GitHub cli before generating a project in order to create the repo."
52
- );
53
- return;
54
- }
55
- }
56
- } else {
57
- log.verbose("Skipping gh verification");
58
- }
59
-
60
- log.verbose("Cloning gluhar project template");
61
- git.clone("gluharry/starters", name, { branch: starter });
62
-
63
- cmd.cd(name);
64
-
65
- log.verbose("Replacing gluhar-app with project's name");
66
- await filesystem.copyFiles(
67
- [
68
- "./package.json",
69
- "./README.md",
70
- "./nuxt.config.ts",
71
- "./sanity/sanity.config.ts",
72
- "./sanity/structure.ts",
73
- ],
74
- (file) => {
75
- const content = file.content.replaceAll("gluhar-app", name);
76
-
77
- return {
78
- ...file,
79
- content,
80
- };
81
- }
82
- );
83
-
84
- if (!keepHistory) {
85
- log.verbose("Removing git history");
86
- executeCmd("rm -rf .git");
87
-
88
- log.verbose("Initializing empty git repo with initial flat commit");
89
- executeCmd(
90
- "git init --initial-branch=dev && git add . && git commit -m 'Initial commit'"
91
- );
92
- } else {
93
- log.verbose("Keeping git history and removing remote origin");
94
- executeCmd("git remote remove origin && git branch -m dev");
95
- }
96
-
97
- if (!noRepo) {
98
- log.verbose("Creating new github remote repo");
99
- executeCmd(`gh repo create ${name} --private --source=. --push`);
100
- } else {
101
- log.verbose(
102
- "Skipping repo creation and deleting .git. You are on your own."
103
- );
104
- executeCmd("rm -rf .git");
105
- }
106
-
107
- const openCode = await confirmQuestion(
108
- `Project '${name}' was created successfully! Do you want to open it in VSCode/Cursor?`,
109
- yes
110
- );
111
- if (openCode) {
112
- const editorCommand = commandExists("cursor") ? "cursor" : "code";
113
- executeCmd(`${editorCommand} . -g README.md`);
114
- }
115
- };
@@ -1,19 +0,0 @@
1
- import { Command } from "commander";
2
- import { generate } from "./generate";
3
- import { generateTypes } from "./GenerateOptions";
4
-
5
- export default new Command()
6
- .name("generate")
7
- .argument("<type>", "What to generate.")
8
- .argument("<name>", "Name of generated thing.")
9
- .description(`Generate a ${generateTypes.join(", ")}.`)
10
- .option(
11
- "--starter <branchName>",
12
- "When generating a project, which starter template to use: base, mobile."
13
- )
14
- .option("-nr, --no-repo", "Do not create a github repo automatically.")
15
- .option(
16
- "-kh, --keep-history",
17
- "Keep commit history from the starter template."
18
- )
19
- .action(generate);
@@ -1,3 +0,0 @@
1
- import { logger } from "src/utils";
2
-
3
- export const log = logger("generate");
@@ -1,21 +0,0 @@
1
- import build from "./build";
2
- import deinstall from "./deinstall";
3
- import deploy from "./deploy";
4
- import generate from "./generate";
5
- import reinstall from "./reinstall";
6
- import release from "./release";
7
- import version from "./version";
8
- import upgrade from "./upgrade";
9
- import dev from "./dev";
10
-
11
- export default [
12
- deploy,
13
- version,
14
- release,
15
- build,
16
- deinstall,
17
- reinstall,
18
- generate,
19
- upgrade,
20
- dev,
21
- ];
@@ -1,3 +0,0 @@
1
- export interface ReinstallOptions {
2
- packages?: boolean;
3
- }
@@ -1,11 +0,0 @@
1
- import { Command } from "commander";
2
- import { reinstall } from "./reinstall";
3
-
4
- export default new Command()
5
- .name("reinstall")
6
- .description("Reinstall npm dependencies with a fresh package-lock.json.")
7
- .option(
8
- "-p, --packages",
9
- "Reinstall dependencies in when using multiple packages (monorepo)."
10
- )
11
- .action(reinstall);
@@ -1,3 +0,0 @@
1
- import { logger } from "src/utils";
2
-
3
- export const log = logger("reinstall");
@@ -1,13 +0,0 @@
1
- import { executeCmd } from "src/scripts/cmd";
2
- import { ReinstallOptions } from "./ReinstallOptions";
3
- import { log } from "./log";
4
- import { deinstall } from "../deinstall/deinstall";
5
-
6
- export const reinstall = (options: ReinstallOptions) => {
7
- // Run deinstall first
8
- deinstall(options);
9
-
10
- // Install dependencies
11
- log.info("Reinstalling packages.");
12
- executeCmd("npm install");
13
- };
@@ -1,8 +0,0 @@
1
- export interface ReleaseOptions {
2
- pre: boolean | string;
3
- dev: boolean;
4
- directory: string;
5
- yes: boolean;
6
- version: boolean;
7
- gitTag: boolean | string;
8
- }
@@ -1,40 +0,0 @@
1
- import { Command } from "commander";
2
- import { release } from "./release";
3
- import { pattern } from "./tag";
4
-
5
- export default new Command()
6
- .name("release")
7
- .description("Release and publish packages to the npm registry.")
8
- .option(
9
- "-y, --yes",
10
- "When run with this flag, we will skip all confirmation prompts. NOTE does not currently work.",
11
- false
12
- )
13
- .option(
14
- "--pre [id]",
15
- "Prerelease identifier. Use this when releasing a prerelease version.",
16
- false
17
- )
18
- .option(
19
- "-d, --dev",
20
- "Release a dev version. This is a shorthand for a prerelease with a 'dev' identifier.",
21
- false
22
- )
23
- .option(
24
- "--dir, --directory <path>",
25
- "Subdirectory to publish. Must apply to ALL packages, and MUST contain a package.json file.",
26
- "dist"
27
- )
28
- .option("--no-version", "Disable versioning and changelog gen.")
29
- .option(
30
- "--git-tag [tag]",
31
- [
32
- "Create and push git tag(s). Optionally provide a template.",
33
- "Template placeholders:",
34
- `"${pattern.fullPackageName}" (full package name, e.g. "@gluhar/cli"),`,
35
- `"${pattern.shortPackageName}" (short package name, e.g. "cli"),`,
36
- `"${pattern.version}" (released package version, e.g. "1.2.3").`,
37
- `When set to "true" defaults to: "${pattern.default.independent}" for independent versioning and "${pattern.default.fixed}" for fixed.`,
38
- ].join("\n")
39
- )
40
- .action(release);
@@ -1,3 +0,0 @@
1
- import { logger } from 'src/utils';
2
-
3
- export const log = logger('release');
@@ -1,18 +0,0 @@
1
- import { lerna } from "src/scripts/lerna";
2
- import type { ReleaseOptions } from "./ReleaseOptions";
3
- import { log } from "./log";
4
- import { getPreid } from "../version/getPreid";
5
-
6
- export const publish = (options: ReleaseOptions) => {
7
- const { yes, pre, dev, directory } = options;
8
-
9
- const distTag = dev ? "dev" : getPreid(pre) ?? "latest";
10
- log.info("Dist tag:", distTag);
11
- log.info("Directory:", directory);
12
-
13
- lerna.publish({
14
- distTag,
15
- contents: directory,
16
- yes,
17
- });
18
- };