tnp-helpers 18.0.17 → 18.0.18

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 (407) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/browser/esm2022/lib/base/classes/base-cli-worker-config.mjs +40 -0
  3. package/browser/esm2022/lib/base/classes/base-cli-worker-controller.mjs +125 -0
  4. package/browser/esm2022/lib/base/classes/base-cli-worker.mjs +466 -0
  5. package/browser/esm2022/lib/base/classes/base-compiler-for-project.mjs +61 -0
  6. package/browser/esm2022/lib/base/classes/base-db.mjs +31 -0
  7. package/browser/esm2022/lib/base/classes/base-debounce-compiler-for-project.mjs +56 -0
  8. package/browser/esm2022/lib/base/classes/base-feature-for-project.mjs +8 -0
  9. package/{websql/esm2022/lib/base → browser/esm2022/lib/base/classes}/base-git.mjs +2 -2
  10. package/{websql/esm2022/lib/base → browser/esm2022/lib/base/classes}/base-github-pages.mjs +2 -2
  11. package/{websql/esm2022/lib/base → browser/esm2022/lib/base/classes}/base-library-build.mjs +3 -3
  12. package/browser/esm2022/lib/base/classes/base-linked-projects.mjs +320 -0
  13. package/browser/esm2022/lib/base/classes/base-npm-helpers.mjs +630 -0
  14. package/browser/esm2022/lib/base/classes/base-project-resolver.mjs +291 -0
  15. package/browser/esm2022/lib/base/classes/base-project.mjs +926 -0
  16. package/browser/esm2022/lib/base/classes/base-quick-fixes.mjs +24 -0
  17. package/{websql/esm2022/lib/base → browser/esm2022/lib/base/classes}/base-release-process.mjs +4 -4
  18. package/browser/esm2022/lib/base/classes/base-vscode.mjs +488 -0
  19. package/browser/esm2022/lib/base/classes/index.mjs +22 -0
  20. package/browser/esm2022/lib/base/commit-data.mjs +1 -1
  21. package/browser/esm2022/lib/base/config-database.mjs +5 -2
  22. package/browser/esm2022/lib/base/core-project.mjs +1 -1
  23. package/browser/esm2022/lib/base/index.mjs +3 -19
  24. package/browser/esm2022/lib/base/project-database.mjs +2 -2
  25. package/browser/esm2022/lib/base/tcp-udp-ports/index.mjs +7 -0
  26. package/browser/esm2022/lib/base/tcp-udp-ports/not-assignable-port.entity.mjs +19 -0
  27. package/browser/esm2022/lib/base/tcp-udp-ports/ports.controller.mjs +108 -0
  28. package/browser/esm2022/lib/base/tcp-udp-ports/ports.entity.mjs +26 -0
  29. package/browser/esm2022/lib/base/tcp-udp-ports/tcp-udp-ports.context.mjs +35 -0
  30. package/browser/esm2022/lib/base/tcp-udp-ports/tcp-upd-ports.worker.mjs +122 -0
  31. package/browser/esm2022/lib/utils.mjs +33 -144
  32. package/browser/esm2022/migrations/1736198527297_init.mjs +41 -0
  33. package/browser/esm2022/migrations/1736199486472_addingNotAssignablePorts.mjs +55 -0
  34. package/browser/esm2022/migrations/1736454437350_addFreePorts.mjs +37 -0
  35. package/browser/esm2022/migrations/index.mjs +5 -0
  36. package/browser/esm2022/migrations/migrations_index._auto-generated_.mjs +16 -0
  37. package/browser/fesm2022/tnp-helpers.mjs +2135 -1598
  38. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  39. package/{client/lib/base → browser/lib/base/classes}/base-cli-worker-controller.d.ts +2 -2
  40. package/browser/lib/base/{base-cli-worker.d.ts → classes/base-cli-worker.d.ts} +7 -1
  41. package/browser/lib/base/{base-git.d.ts → classes/base-git.d.ts} +1 -1
  42. package/{client/lib/base → browser/lib/base/classes}/base-library-build.d.ts +1 -1
  43. package/{websql/lib/base → browser/lib/base/classes}/base-linked-projects.d.ts +1 -1
  44. package/{client/lib/base → browser/lib/base/classes}/base-project-resolver.d.ts +4 -4
  45. package/browser/lib/base/{base-project.d.ts → classes/base-project.d.ts} +7 -4
  46. package/browser/lib/base/{base-release-process.d.ts → classes/base-release-process.d.ts} +1 -1
  47. package/browser/lib/base/classes/base-vscode.d.ts +24 -0
  48. package/browser/lib/base/classes/index.d.ts +16 -0
  49. package/browser/lib/base/config-database.d.ts +2 -2
  50. package/browser/lib/base/core-project.d.ts +1 -1
  51. package/browser/lib/base/index.d.ts +3 -16
  52. package/browser/lib/base/project-database.d.ts +2 -2
  53. package/browser/lib/base/tcp-udp-ports/index.d.ts +5 -0
  54. package/browser/lib/base/tcp-udp-ports/not-assignable-port.entity.d.ts +7 -0
  55. package/browser/lib/base/tcp-udp-ports/ports.controller.d.ts +20 -0
  56. package/browser/lib/base/tcp-udp-ports/ports.entity.d.ts +15 -0
  57. package/browser/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +59 -0
  58. package/browser/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +23 -0
  59. package/browser/lib/utils.d.ts +2 -38
  60. package/browser/migrations/1736198527297_init.d.ts +19 -0
  61. package/browser/migrations/1736199486472_addingNotAssignablePorts.d.ts +11 -0
  62. package/browser/migrations/1736454437350_addFreePorts.d.ts +10 -0
  63. package/browser/migrations/index.d.ts +2 -0
  64. package/browser/migrations/migrations_index._auto-generated_.d.ts +12 -0
  65. package/client/esm2022/lib/base/classes/base-cli-worker-config.mjs +40 -0
  66. package/client/esm2022/lib/base/classes/base-cli-worker-controller.mjs +125 -0
  67. package/client/esm2022/lib/base/classes/base-cli-worker.mjs +466 -0
  68. package/client/esm2022/lib/base/classes/base-compiler-for-project.mjs +61 -0
  69. package/client/esm2022/lib/base/classes/base-db.mjs +31 -0
  70. package/client/esm2022/lib/base/classes/base-debounce-compiler-for-project.mjs +56 -0
  71. package/client/esm2022/lib/base/classes/base-feature-for-project.mjs +8 -0
  72. package/client/esm2022/lib/base/classes/base-git.mjs +932 -0
  73. package/client/esm2022/lib/base/classes/base-github-pages.mjs +110 -0
  74. package/{browser/esm2022/lib/base → client/esm2022/lib/base/classes}/base-library-build.mjs +2 -2
  75. package/client/esm2022/lib/base/classes/base-linked-projects.mjs +320 -0
  76. package/client/esm2022/lib/base/classes/base-npm-helpers.mjs +630 -0
  77. package/client/esm2022/lib/base/classes/base-project-resolver.mjs +291 -0
  78. package/client/esm2022/lib/base/classes/base-project.mjs +926 -0
  79. package/client/esm2022/lib/base/classes/base-quick-fixes.mjs +24 -0
  80. package/{browser/esm2022/lib/base → client/esm2022/lib/base/classes}/base-release-process.mjs +3 -3
  81. package/client/esm2022/lib/base/classes/base-vscode.mjs +488 -0
  82. package/client/esm2022/lib/base/classes/index.mjs +22 -0
  83. package/client/esm2022/lib/base/commit-data.mjs +1 -1
  84. package/client/esm2022/lib/base/config-database.mjs +5 -2
  85. package/client/esm2022/lib/base/core-project.mjs +1 -1
  86. package/client/esm2022/lib/base/index.mjs +3 -19
  87. package/client/esm2022/lib/base/project-database.mjs +2 -2
  88. package/client/esm2022/lib/base/tcp-udp-ports/index.mjs +7 -0
  89. package/client/esm2022/lib/base/tcp-udp-ports/not-assignable-port.entity.mjs +19 -0
  90. package/client/esm2022/lib/base/tcp-udp-ports/ports.controller.mjs +108 -0
  91. package/client/esm2022/lib/base/tcp-udp-ports/ports.entity.mjs +26 -0
  92. package/client/esm2022/lib/base/tcp-udp-ports/tcp-udp-ports.context.mjs +35 -0
  93. package/client/esm2022/lib/base/tcp-udp-ports/tcp-upd-ports.worker.mjs +122 -0
  94. package/client/esm2022/lib/utils.mjs +33 -144
  95. package/client/esm2022/migrations/1736198527297_init.mjs +41 -0
  96. package/client/esm2022/migrations/1736199486472_addingNotAssignablePorts.mjs +55 -0
  97. package/client/esm2022/migrations/1736454437350_addFreePorts.mjs +37 -0
  98. package/client/esm2022/migrations/index.mjs +5 -0
  99. package/client/esm2022/migrations/migrations_index._auto-generated_.mjs +16 -0
  100. package/client/fesm2022/tnp-helpers.mjs +2135 -1598
  101. package/client/fesm2022/tnp-helpers.mjs.map +1 -1
  102. package/{browser/lib/base → client/lib/base/classes}/base-cli-worker-controller.d.ts +2 -2
  103. package/client/lib/base/{base-cli-worker.d.ts → classes/base-cli-worker.d.ts} +7 -1
  104. package/{websql/lib/base → client/lib/base/classes}/base-git.d.ts +1 -1
  105. package/{browser/lib/base → client/lib/base/classes}/base-library-build.d.ts +1 -1
  106. package/{browser/lib/base → client/lib/base/classes}/base-linked-projects.d.ts +1 -1
  107. package/{websql/lib/base → client/lib/base/classes}/base-project-resolver.d.ts +4 -4
  108. package/client/lib/base/{base-project.d.ts → classes/base-project.d.ts} +7 -4
  109. package/client/lib/base/{base-release-process.d.ts → classes/base-release-process.d.ts} +1 -1
  110. package/client/lib/base/classes/base-vscode.d.ts +24 -0
  111. package/client/lib/base/classes/index.d.ts +16 -0
  112. package/client/lib/base/config-database.d.ts +2 -2
  113. package/client/lib/base/core-project.d.ts +1 -1
  114. package/client/lib/base/index.d.ts +3 -16
  115. package/client/lib/base/project-database.d.ts +2 -2
  116. package/client/lib/base/tcp-udp-ports/index.d.ts +5 -0
  117. package/client/lib/base/tcp-udp-ports/not-assignable-port.entity.d.ts +7 -0
  118. package/client/lib/base/tcp-udp-ports/ports.controller.d.ts +20 -0
  119. package/client/lib/base/tcp-udp-ports/ports.entity.d.ts +15 -0
  120. package/client/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +59 -0
  121. package/client/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +23 -0
  122. package/client/lib/utils.d.ts +2 -38
  123. package/client/migrations/1736198527297_init.d.ts +19 -0
  124. package/client/migrations/1736199486472_addingNotAssignablePorts.d.ts +11 -0
  125. package/client/migrations/1736454437350_addFreePorts.d.ts +10 -0
  126. package/client/migrations/index.d.ts +2 -0
  127. package/client/migrations/migrations_index._auto-generated_.d.ts +12 -0
  128. package/lib/base/{base-cli-worker-controller.d.ts → classes/base-cli-worker-controller.d.ts} +4 -4
  129. package/lib/base/{base-cli-worker-controller.js → classes/base-cli-worker-controller.js} +3 -3
  130. package/lib/base/classes/base-cli-worker-controller.js.map +1 -0
  131. package/lib/base/{base-cli-worker.d.ts → classes/base-cli-worker.d.ts} +7 -1
  132. package/lib/base/{base-cli-worker.js → classes/base-cli-worker.js} +48 -29
  133. package/lib/base/classes/base-cli-worker.js.map +1 -0
  134. package/lib/base/{command-line-feature.backend.d.ts → classes/base-command-line-feature.backend.d.ts} +1 -1
  135. package/lib/base/{command-line-feature.backend.js → classes/base-command-line-feature.backend.js} +15 -15
  136. package/lib/base/classes/base-command-line-feature.backend.js.map +1 -0
  137. package/lib/base/{base-compiler-for-project.d.ts → classes/base-compiler-for-project.d.ts} +2 -2
  138. package/lib/base/{base-compiler-for-project.js → classes/base-compiler-for-project.js} +1 -1
  139. package/lib/base/{base-compiler-for-project.js.map → classes/base-compiler-for-project.js.map} +1 -1
  140. package/lib/base/{base-db.d.ts → classes/base-db.d.ts} +1 -1
  141. package/lib/base/{base-db.js → classes/base-db.js} +1 -1
  142. package/lib/base/{base-db.js.map → classes/base-db.js.map} +1 -1
  143. package/lib/base/{base-debounce-compiler-for-project.d.ts → classes/base-debounce-compiler-for-project.d.ts} +2 -2
  144. package/lib/base/{base-debounce-compiler-for-project.js.map → classes/base-debounce-compiler-for-project.js.map} +1 -1
  145. package/lib/base/{base-git.d.ts → classes/base-git.d.ts} +1 -1
  146. package/lib/base/{base-git.js → classes/base-git.js} +3 -3
  147. package/lib/base/{base-git.js.map → classes/base-git.js.map} +1 -1
  148. package/lib/base/{base-github-pages.js → classes/base-github-pages.js} +1 -1
  149. package/lib/base/{base-github-pages.js.map → classes/base-github-pages.js.map} +1 -1
  150. package/lib/base/{base-command-line.backend.d.ts → classes/base-global-command-line.backend.d.ts} +17 -4
  151. package/lib/base/{base-command-line.backend.js → classes/base-global-command-line.backend.js} +236 -161
  152. package/lib/base/classes/base-global-command-line.backend.js.map +1 -0
  153. package/lib/base/{base-ignore-hide.js → classes/base-ignore-hide.js} +1 -1
  154. package/lib/base/{base-ignore-hide.js.map → classes/base-ignore-hide.js.map} +1 -1
  155. package/lib/base/{base-library-build.d.ts → classes/base-library-build.d.ts} +3 -3
  156. package/lib/base/{base-library-build.js → classes/base-library-build.js} +2 -2
  157. package/lib/base/{base-library-build.js.map → classes/base-library-build.js.map} +1 -1
  158. package/lib/base/{base-linked-projects.d.ts → classes/base-linked-projects.d.ts} +1 -1
  159. package/lib/base/{base-linked-projects.js → classes/base-linked-projects.js} +1 -1
  160. package/lib/base/{base-linked-projects.js.map → classes/base-linked-projects.js.map} +1 -1
  161. package/lib/base/{base-npm-helpers.d.ts → classes/base-npm-helpers.d.ts} +3 -3
  162. package/lib/base/{base-npm-helpers.js → classes/base-npm-helpers.js} +1 -1
  163. package/lib/base/{base-npm-helpers.js.map → classes/base-npm-helpers.js.map} +1 -1
  164. package/lib/base/{base-project-resolver.d.ts → classes/base-project-resolver.d.ts} +4 -4
  165. package/lib/base/{base-project-resolver.js → classes/base-project-resolver.js} +6 -6
  166. package/lib/base/{base-project-resolver.js.map → classes/base-project-resolver.js.map} +1 -1
  167. package/lib/base/{base-project.d.ts → classes/base-project.d.ts} +10 -7
  168. package/lib/base/{base-project.js → classes/base-project.js} +20 -5
  169. package/lib/base/{base-project.js.map → classes/base-project.js.map} +1 -1
  170. package/lib/base/{base-quick-fixes.js → classes/base-quick-fixes.js} +1 -1
  171. package/lib/base/{base-quick-fixes.js.map → classes/base-quick-fixes.js.map} +1 -1
  172. package/lib/base/{base-release-process.d.ts → classes/base-release-process.d.ts} +3 -3
  173. package/lib/base/{base-release-process.js → classes/base-release-process.js} +2 -2
  174. package/lib/base/{base-release-process.js.map → classes/base-release-process.js.map} +1 -1
  175. package/lib/base/{base-start-config.backend.js → classes/base-start-config.backend.js} +2 -2
  176. package/lib/base/{base-start-config.backend.js.map → classes/base-start-config.backend.js.map} +1 -1
  177. package/lib/base/classes/base-vscode.d.ts +23 -0
  178. package/lib/base/classes/base-vscode.js +451 -0
  179. package/lib/base/classes/base-vscode.js.map +1 -0
  180. package/lib/base/classes/index.d.ts +18 -0
  181. package/lib/base/classes/index.js +24 -0
  182. package/lib/base/classes/index.js.map +1 -0
  183. package/lib/base/commit-data.js.map +1 -1
  184. package/lib/base/config-database.d.ts +2 -2
  185. package/lib/base/config-database.js +5 -8
  186. package/lib/base/config-database.js.map +1 -1
  187. package/lib/base/core-project.d.ts +3 -3
  188. package/lib/base/gh-temp-code.d.ts +1 -1
  189. package/lib/base/index.d.ts +2 -18
  190. package/lib/base/index.js +2 -18
  191. package/lib/base/index.js.map +1 -1
  192. package/lib/base/project-database.d.ts +2 -2
  193. package/lib/base/project-database.js +1 -1
  194. package/lib/base/project-database.js.map +1 -1
  195. package/lib/base/tcp-udp-ports/index.d.ts +4 -0
  196. package/lib/base/tcp-udp-ports/index.js +8 -0
  197. package/lib/base/tcp-udp-ports/index.js.map +1 -0
  198. package/lib/base/tcp-udp-ports/not-assignable-port.entity.d.ts +6 -0
  199. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +45 -0
  200. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js.map +1 -0
  201. package/lib/base/tcp-udp-ports/ports.controller.d.ts +19 -0
  202. package/lib/base/tcp-udp-ports/ports.controller.js +135 -0
  203. package/lib/base/tcp-udp-ports/ports.controller.js.map +1 -0
  204. package/lib/base/tcp-udp-ports/ports.entity.d.ts +14 -0
  205. package/lib/base/tcp-udp-ports/ports.entity.js +45 -0
  206. package/lib/base/tcp-udp-ports/ports.entity.js.map +1 -0
  207. package/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +58 -0
  208. package/lib/base/tcp-udp-ports/tcp-udp-ports.context.js +41 -0
  209. package/lib/base/tcp-udp-ports/tcp-udp-ports.context.js.map +1 -0
  210. package/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +31 -0
  211. package/lib/base/tcp-udp-ports/tcp-upd-ports.worker.js +215 -0
  212. package/lib/base/tcp-udp-ports/tcp-upd-ports.worker.js.map +1 -0
  213. package/lib/helpers/for-backend/helpers-cli-tool.backend.d.ts +1 -1
  214. package/lib/helpers/for-backend/helpers-cli-tool.backend.js.map +1 -1
  215. package/lib/helpers/for-backend/helpers-console-gui.js +2 -1
  216. package/lib/helpers/for-backend/helpers-console-gui.js.map +1 -1
  217. package/lib/helpers/for-backend/helpers-file-folders.backend.d.ts +2 -2
  218. package/lib/helpers/for-backend/helpers-git.backend.js +2 -2
  219. package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
  220. package/lib/helpers/for-backend/helpers-process.backend.d.ts +3 -3
  221. package/lib/helpers/for-backend/helpers-process.backend.js +4 -26
  222. package/lib/helpers/for-backend/helpers-process.backend.js.map +1 -1
  223. package/lib/helpers/for-backend/helpers-vscode.backend.d.ts +2 -2
  224. package/lib/helpers/for-browser/angular.helper.js +2 -2
  225. package/lib/helpers/helpers.d.ts +1 -1
  226. package/lib/models.d.ts +2 -2
  227. package/lib/old/base-component.js +2 -2
  228. package/lib/old/base-formly-component.js +2 -2
  229. package/lib/old/dual-component-ctrl.js +2 -2
  230. package/lib/utils.d.ts +2 -38
  231. package/lib/utils.js +51 -158
  232. package/lib/utils.js.map +1 -1
  233. package/migrations/1736198527297_init.d.ts +18 -0
  234. package/migrations/1736198527297_init.js +72 -0
  235. package/migrations/1736198527297_init.js.map +1 -0
  236. package/migrations/1736199486472_addingNotAssignablePorts.d.ts +10 -0
  237. package/migrations/1736199486472_addingNotAssignablePorts.js +94 -0
  238. package/migrations/1736199486472_addingNotAssignablePorts.js.map +1 -0
  239. package/migrations/1736454437350_addFreePorts.d.ts +9 -0
  240. package/migrations/1736454437350_addFreePorts.js +78 -0
  241. package/migrations/1736454437350_addFreePorts.js.map +1 -0
  242. package/migrations/migrations_index._auto-generated_.d.ts +11 -0
  243. package/migrations/migrations_index._auto-generated_.js +14 -0
  244. package/migrations/migrations_index._auto-generated_.js.map +1 -1
  245. package/package.json +5 -5
  246. package/tmp-environment.json +30 -29
  247. package/websql/esm2022/lib/base/classes/base-cli-worker-config.mjs +40 -0
  248. package/websql/esm2022/lib/base/classes/base-cli-worker-controller.mjs +125 -0
  249. package/websql/esm2022/lib/base/classes/base-cli-worker.mjs +466 -0
  250. package/websql/esm2022/lib/base/classes/base-compiler-for-project.mjs +61 -0
  251. package/websql/esm2022/lib/base/classes/base-db.mjs +31 -0
  252. package/websql/esm2022/lib/base/classes/base-debounce-compiler-for-project.mjs +56 -0
  253. package/websql/esm2022/lib/base/classes/base-feature-for-project.mjs +8 -0
  254. package/{browser/esm2022/lib/base → websql/esm2022/lib/base/classes}/base-git.mjs +2 -2
  255. package/{client/esm2022/lib/base → websql/esm2022/lib/base/classes}/base-github-pages.mjs +2 -2
  256. package/{client/esm2022/lib/base → websql/esm2022/lib/base/classes}/base-library-build.mjs +3 -3
  257. package/websql/esm2022/lib/base/classes/base-linked-projects.mjs +320 -0
  258. package/websql/esm2022/lib/base/classes/base-npm-helpers.mjs +630 -0
  259. package/websql/esm2022/lib/base/classes/base-project-resolver.mjs +280 -0
  260. package/websql/esm2022/lib/base/classes/base-project.mjs +896 -0
  261. package/websql/esm2022/lib/base/classes/base-quick-fixes.mjs +24 -0
  262. package/{client/esm2022/lib/base → websql/esm2022/lib/base/classes}/base-release-process.mjs +4 -4
  263. package/websql/esm2022/lib/base/classes/base-vscode.mjs +488 -0
  264. package/websql/esm2022/lib/base/classes/index.mjs +22 -0
  265. package/websql/esm2022/lib/base/commit-data.mjs +1 -1
  266. package/websql/esm2022/lib/base/config-database.mjs +5 -2
  267. package/websql/esm2022/lib/base/core-project.mjs +1 -1
  268. package/websql/esm2022/lib/base/index.mjs +3 -19
  269. package/websql/esm2022/lib/base/project-database.mjs +2 -2
  270. package/websql/esm2022/lib/base/tcp-udp-ports/index.mjs +7 -0
  271. package/websql/esm2022/lib/base/tcp-udp-ports/not-assignable-port.entity.mjs +34 -0
  272. package/websql/esm2022/lib/base/tcp-udp-ports/ports.controller.mjs +108 -0
  273. package/websql/esm2022/lib/base/tcp-udp-ports/ports.entity.mjs +34 -0
  274. package/websql/esm2022/lib/base/tcp-udp-ports/tcp-udp-ports.context.mjs +35 -0
  275. package/websql/esm2022/lib/base/tcp-udp-ports/tcp-upd-ports.worker.mjs +122 -0
  276. package/websql/esm2022/lib/utils.mjs +33 -144
  277. package/websql/esm2022/migrations/1736198527297_init.mjs +41 -0
  278. package/websql/esm2022/migrations/1736199486472_addingNotAssignablePorts.mjs +55 -0
  279. package/websql/esm2022/migrations/1736454437350_addFreePorts.mjs +37 -0
  280. package/websql/esm2022/migrations/index.mjs +5 -0
  281. package/websql/esm2022/migrations/migrations_index._auto-generated_.mjs +16 -0
  282. package/websql/fesm2022/tnp-helpers.mjs +1936 -1379
  283. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  284. package/websql/lib/base/{base-cli-worker-controller.d.ts → classes/base-cli-worker-controller.d.ts} +2 -2
  285. package/websql/lib/base/{base-cli-worker.d.ts → classes/base-cli-worker.d.ts} +7 -1
  286. package/{client/lib/base → websql/lib/base/classes}/base-git.d.ts +1 -1
  287. package/websql/lib/base/{base-library-build.d.ts → classes/base-library-build.d.ts} +1 -1
  288. package/{client/lib/base → websql/lib/base/classes}/base-linked-projects.d.ts +1 -1
  289. package/{browser/lib/base → websql/lib/base/classes}/base-project-resolver.d.ts +4 -4
  290. package/websql/lib/base/{base-project.d.ts → classes/base-project.d.ts} +7 -4
  291. package/websql/lib/base/{base-release-process.d.ts → classes/base-release-process.d.ts} +1 -1
  292. package/websql/lib/base/classes/base-vscode.d.ts +24 -0
  293. package/websql/lib/base/classes/index.d.ts +16 -0
  294. package/websql/lib/base/config-database.d.ts +2 -2
  295. package/websql/lib/base/core-project.d.ts +1 -1
  296. package/websql/lib/base/index.d.ts +3 -16
  297. package/websql/lib/base/project-database.d.ts +2 -2
  298. package/websql/lib/base/tcp-udp-ports/index.d.ts +5 -0
  299. package/websql/lib/base/tcp-udp-ports/not-assignable-port.entity.d.ts +7 -0
  300. package/websql/lib/base/tcp-udp-ports/ports.controller.d.ts +20 -0
  301. package/websql/lib/base/tcp-udp-ports/ports.entity.d.ts +15 -0
  302. package/websql/lib/base/tcp-udp-ports/tcp-udp-ports.context.d.ts +59 -0
  303. package/websql/lib/base/tcp-udp-ports/tcp-upd-ports.worker.d.ts +23 -0
  304. package/websql/lib/utils.d.ts +2 -38
  305. package/websql/migrations/1736198527297_init.d.ts +19 -0
  306. package/websql/migrations/1736199486472_addingNotAssignablePorts.d.ts +11 -0
  307. package/websql/migrations/1736454437350_addFreePorts.d.ts +10 -0
  308. package/websql/migrations/index.d.ts +2 -0
  309. package/websql/migrations/migrations_index._auto-generated_.d.ts +12 -0
  310. package/browser/esm2022/lib/base/base-cli-worker-config.mjs +0 -40
  311. package/browser/esm2022/lib/base/base-cli-worker-controller.mjs +0 -125
  312. package/browser/esm2022/lib/base/base-cli-worker.mjs +0 -451
  313. package/browser/esm2022/lib/base/base-compiler-for-project.mjs +0 -61
  314. package/browser/esm2022/lib/base/base-db.mjs +0 -31
  315. package/browser/esm2022/lib/base/base-debounce-compiler-for-project.mjs +0 -56
  316. package/browser/esm2022/lib/base/base-feature-for-project.mjs +0 -8
  317. package/browser/esm2022/lib/base/base-github-pages.mjs +0 -110
  318. package/browser/esm2022/lib/base/base-linked-projects.mjs +0 -321
  319. package/browser/esm2022/lib/base/base-npm-helpers.mjs +0 -630
  320. package/browser/esm2022/lib/base/base-project-resolver.mjs +0 -291
  321. package/browser/esm2022/lib/base/base-project.mjs +0 -919
  322. package/browser/esm2022/lib/base/base-quick-fixes.mjs +0 -24
  323. package/browser/esm2022/lib/base/base-vscode.mjs +0 -145
  324. package/browser/esm2022/lib/base/ports-worker.mjs +0 -162
  325. package/browser/lib/base/base-vscode.d.ts +0 -13
  326. package/browser/lib/base/ports-worker.d.ts +0 -33
  327. package/client/esm2022/lib/base/base-cli-worker-config.mjs +0 -40
  328. package/client/esm2022/lib/base/base-cli-worker-controller.mjs +0 -125
  329. package/client/esm2022/lib/base/base-cli-worker.mjs +0 -451
  330. package/client/esm2022/lib/base/base-compiler-for-project.mjs +0 -61
  331. package/client/esm2022/lib/base/base-db.mjs +0 -31
  332. package/client/esm2022/lib/base/base-debounce-compiler-for-project.mjs +0 -56
  333. package/client/esm2022/lib/base/base-feature-for-project.mjs +0 -8
  334. package/client/esm2022/lib/base/base-git.mjs +0 -932
  335. package/client/esm2022/lib/base/base-linked-projects.mjs +0 -321
  336. package/client/esm2022/lib/base/base-npm-helpers.mjs +0 -630
  337. package/client/esm2022/lib/base/base-project-resolver.mjs +0 -291
  338. package/client/esm2022/lib/base/base-project.mjs +0 -919
  339. package/client/esm2022/lib/base/base-quick-fixes.mjs +0 -24
  340. package/client/esm2022/lib/base/base-vscode.mjs +0 -145
  341. package/client/esm2022/lib/base/ports-worker.mjs +0 -162
  342. package/client/lib/base/base-vscode.d.ts +0 -13
  343. package/client/lib/base/ports-worker.d.ts +0 -33
  344. package/lib/base/base-cli-worker-controller.js.map +0 -1
  345. package/lib/base/base-cli-worker.js.map +0 -1
  346. package/lib/base/base-command-line.backend.js.map +0 -1
  347. package/lib/base/base-vscode.d.ts +0 -12
  348. package/lib/base/base-vscode.js +0 -139
  349. package/lib/base/base-vscode.js.map +0 -1
  350. package/lib/base/command-line-feature.backend.js.map +0 -1
  351. package/lib/base/ports-worker.d.ts +0 -32
  352. package/lib/base/ports-worker.js +0 -244
  353. package/lib/base/ports-worker.js.map +0 -1
  354. package/websql/esm2022/lib/base/base-cli-worker-config.mjs +0 -40
  355. package/websql/esm2022/lib/base/base-cli-worker-controller.mjs +0 -125
  356. package/websql/esm2022/lib/base/base-cli-worker.mjs +0 -451
  357. package/websql/esm2022/lib/base/base-compiler-for-project.mjs +0 -61
  358. package/websql/esm2022/lib/base/base-db.mjs +0 -31
  359. package/websql/esm2022/lib/base/base-debounce-compiler-for-project.mjs +0 -56
  360. package/websql/esm2022/lib/base/base-feature-for-project.mjs +0 -8
  361. package/websql/esm2022/lib/base/base-linked-projects.mjs +0 -321
  362. package/websql/esm2022/lib/base/base-npm-helpers.mjs +0 -630
  363. package/websql/esm2022/lib/base/base-project-resolver.mjs +0 -280
  364. package/websql/esm2022/lib/base/base-project.mjs +0 -889
  365. package/websql/esm2022/lib/base/base-quick-fixes.mjs +0 -24
  366. package/websql/esm2022/lib/base/base-vscode.mjs +0 -145
  367. package/websql/esm2022/lib/base/ports-worker.mjs +0 -165
  368. package/websql/lib/base/base-vscode.d.ts +0 -13
  369. package/websql/lib/base/ports-worker.d.ts +0 -33
  370. /package/browser/lib/base/{base-cli-worker-config.d.ts → classes/base-cli-worker-config.d.ts} +0 -0
  371. /package/browser/lib/base/{base-compiler-for-project.d.ts → classes/base-compiler-for-project.d.ts} +0 -0
  372. /package/browser/lib/base/{base-db.d.ts → classes/base-db.d.ts} +0 -0
  373. /package/browser/lib/base/{base-debounce-compiler-for-project.d.ts → classes/base-debounce-compiler-for-project.d.ts} +0 -0
  374. /package/browser/lib/base/{base-feature-for-project.d.ts → classes/base-feature-for-project.d.ts} +0 -0
  375. /package/browser/lib/base/{base-github-pages.d.ts → classes/base-github-pages.d.ts} +0 -0
  376. /package/browser/lib/base/{base-npm-helpers.d.ts → classes/base-npm-helpers.d.ts} +0 -0
  377. /package/browser/lib/base/{base-quick-fixes.d.ts → classes/base-quick-fixes.d.ts} +0 -0
  378. /package/client/lib/base/{base-cli-worker-config.d.ts → classes/base-cli-worker-config.d.ts} +0 -0
  379. /package/client/lib/base/{base-compiler-for-project.d.ts → classes/base-compiler-for-project.d.ts} +0 -0
  380. /package/client/lib/base/{base-db.d.ts → classes/base-db.d.ts} +0 -0
  381. /package/client/lib/base/{base-debounce-compiler-for-project.d.ts → classes/base-debounce-compiler-for-project.d.ts} +0 -0
  382. /package/client/lib/base/{base-feature-for-project.d.ts → classes/base-feature-for-project.d.ts} +0 -0
  383. /package/client/lib/base/{base-github-pages.d.ts → classes/base-github-pages.d.ts} +0 -0
  384. /package/client/lib/base/{base-npm-helpers.d.ts → classes/base-npm-helpers.d.ts} +0 -0
  385. /package/client/lib/base/{base-quick-fixes.d.ts → classes/base-quick-fixes.d.ts} +0 -0
  386. /package/lib/base/{base-cli-worker-config.d.ts → classes/base-cli-worker-config.d.ts} +0 -0
  387. /package/lib/base/{base-cli-worker-config.js → classes/base-cli-worker-config.js} +0 -0
  388. /package/lib/base/{base-cli-worker-config.js.map → classes/base-cli-worker-config.js.map} +0 -0
  389. /package/lib/base/{base-debounce-compiler-for-project.js → classes/base-debounce-compiler-for-project.js} +0 -0
  390. /package/lib/base/{base-detached-service.d.ts → classes/base-detached-service.d.ts} +0 -0
  391. /package/lib/base/{base-detached-service.js → classes/base-detached-service.js} +0 -0
  392. /package/lib/base/{base-detached-service.js.map → classes/base-detached-service.js.map} +0 -0
  393. /package/lib/base/{base-feature-for-project.d.ts → classes/base-feature-for-project.d.ts} +0 -0
  394. /package/lib/base/{base-feature-for-project.js → classes/base-feature-for-project.js} +0 -0
  395. /package/lib/base/{base-feature-for-project.js.map → classes/base-feature-for-project.js.map} +0 -0
  396. /package/lib/base/{base-github-pages.d.ts → classes/base-github-pages.d.ts} +0 -0
  397. /package/lib/base/{base-ignore-hide.d.ts → classes/base-ignore-hide.d.ts} +0 -0
  398. /package/lib/base/{base-quick-fixes.d.ts → classes/base-quick-fixes.d.ts} +0 -0
  399. /package/lib/base/{base-start-config.backend.d.ts → classes/base-start-config.backend.d.ts} +0 -0
  400. /package/websql/lib/base/{base-cli-worker-config.d.ts → classes/base-cli-worker-config.d.ts} +0 -0
  401. /package/websql/lib/base/{base-compiler-for-project.d.ts → classes/base-compiler-for-project.d.ts} +0 -0
  402. /package/websql/lib/base/{base-db.d.ts → classes/base-db.d.ts} +0 -0
  403. /package/websql/lib/base/{base-debounce-compiler-for-project.d.ts → classes/base-debounce-compiler-for-project.d.ts} +0 -0
  404. /package/websql/lib/base/{base-feature-for-project.d.ts → classes/base-feature-for-project.d.ts} +0 -0
  405. /package/websql/lib/base/{base-github-pages.d.ts → classes/base-github-pages.d.ts} +0 -0
  406. /package/websql/lib/base/{base-npm-helpers.d.ts → classes/base-npm-helpers.d.ts} +0 -0
  407. /package/websql/lib/base/{base-quick-fixes.d.ts → classes/base-quick-fixes.d.ts} +0 -0
@@ -1,27 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseCommandLine = void 0;
3
+ exports.BaseGlobalCommandLine = void 0;
4
4
  var tslib_1 = require("tslib");
5
- var index_1 = require("../index");
6
- var command_line_feature_backend_1 = require("./command-line-feature.backend");
5
+ var index_1 = require("../../index");
6
+ var base_command_line_feature_backend_1 = require("./base-command-line-feature.backend");
7
7
  var tnp_core_1 = require("tnp-core");
8
8
  var tnp_config_1 = require("tnp-config");
9
9
  var tnp_config_2 = require("tnp-config");
10
10
  var tnp_core_2 = require("tnp-core");
11
- var gh_temp_code_1 = require("./gh-temp-code");
12
- var BaseCommandLine = /** @class */ (function (_super) {
13
- tslib_1.__extends(BaseCommandLine, _super);
14
- function BaseCommandLine() {
11
+ var gh_temp_code_1 = require("../gh-temp-code");
12
+ var BaseGlobalCommandLine = /** @class */ (function (_super) {
13
+ tslib_1.__extends(BaseGlobalCommandLine, _super);
14
+ function BaseGlobalCommandLine() {
15
15
  return _super !== null && _super.apply(this, arguments) || this;
16
16
  }
17
- BaseCommandLine.prototype._ = function () {
17
+ BaseGlobalCommandLine.prototype._ = function () {
18
18
  index_1.Helpers.error('Please select git command');
19
19
  };
20
20
  //#region commands / prevent cwd is not project
21
21
  /**
22
22
  * TODO return argument not need for now
23
23
  */
24
- BaseCommandLine.prototype.cwdIsProject = function (options) {
24
+ BaseGlobalCommandLine.prototype.cwdIsProject = function (options) {
25
25
  return tslib_1.__awaiter(this, void 0, void 0, function () {
26
26
  var requireProjectWithGitRoot, proj, useRoot;
27
27
  return tslib_1.__generator(this, function (_a) {
@@ -58,19 +58,19 @@ var BaseCommandLine = /** @class */ (function (_super) {
58
58
  };
59
59
  //#endregion
60
60
  //#region commands / hosts
61
- BaseCommandLine.prototype.hosts = function () {
61
+ BaseGlobalCommandLine.prototype.hosts = function () {
62
62
  index_1.Helpers.run("code ".concat((0, tnp_core_2.crossPlatformPath)(tnp_config_1.HOST_FILE_PATH))).sync();
63
63
  process.exit(0);
64
64
  };
65
65
  //#endregion
66
66
  //#region commands / count commits
67
- BaseCommandLine.prototype.countCommits = function () {
67
+ BaseGlobalCommandLine.prototype.countCommits = function () {
68
68
  console.log(index_1.Helpers.git.countCommits(this.cwd));
69
69
  this._exit();
70
70
  };
71
71
  //#endregion
72
72
  //#region commands / remove submodules
73
- BaseCommandLine.prototype.removeSubmodules = function () {
73
+ BaseGlobalCommandLine.prototype.removeSubmodules = function () {
74
74
  var e_1, _a;
75
75
  index_1.Helpers.taskStarted('Removing submodules...');
76
76
  try {
@@ -98,7 +98,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
98
98
  };
99
99
  //#endregion
100
100
  //#region commands / set editor
101
- BaseCommandLine.prototype.setEditor = function () {
101
+ BaseGlobalCommandLine.prototype.setEditor = function () {
102
102
  return tslib_1.__awaiter(this, void 0, void 0, function () {
103
103
  return tslib_1.__generator(this, function (_a) {
104
104
  switch (_a.label) {
@@ -116,7 +116,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
116
116
  /**
117
117
  * quick git update push
118
118
  */
119
- BaseCommandLine.prototype.update = function () {
119
+ BaseGlobalCommandLine.prototype.update = function () {
120
120
  return tslib_1.__awaiter(this, void 0, void 0, function () {
121
121
  return tslib_1.__generator(this, function (_a) {
122
122
  switch (_a.label) {
@@ -143,7 +143,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
143
143
  });
144
144
  });
145
145
  };
146
- BaseCommandLine.prototype.deepUp = function () {
146
+ BaseGlobalCommandLine.prototype.deepUp = function () {
147
147
  return tslib_1.__awaiter(this, arguments, void 0, function (noExit) {
148
148
  if (noExit === void 0) { noExit = false; }
149
149
  return tslib_1.__generator(this, function (_a) {
@@ -156,7 +156,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
156
156
  });
157
157
  });
158
158
  };
159
- BaseCommandLine.prototype.deepUpdate = function () {
159
+ BaseGlobalCommandLine.prototype.deepUpdate = function () {
160
160
  return tslib_1.__awaiter(this, arguments, void 0, function (noExit) {
161
161
  var updateProject;
162
162
  var _this = this;
@@ -236,7 +236,25 @@ var BaseCommandLine = /** @class */ (function (_super) {
236
236
  });
237
237
  });
238
238
  };
239
- BaseCommandLine.prototype.up = function () {
239
+ /**
240
+ * Push update
241
+ */
242
+ BaseGlobalCommandLine.prototype.up = function () {
243
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
244
+ return tslib_1.__generator(this, function (_a) {
245
+ switch (_a.label) {
246
+ case 0: return [4 /*yield*/, this.update()];
247
+ case 1:
248
+ _a.sent();
249
+ return [2 /*return*/];
250
+ }
251
+ });
252
+ });
253
+ };
254
+ /**
255
+ * Push update
256
+ */
257
+ BaseGlobalCommandLine.prototype.pu = function () {
240
258
  return tslib_1.__awaiter(this, void 0, void 0, function () {
241
259
  return tslib_1.__generator(this, function (_a) {
242
260
  switch (_a.label) {
@@ -250,7 +268,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
250
268
  };
251
269
  //#endregion
252
270
  //#region commands / develop
253
- BaseCommandLine.prototype.develop = function () {
271
+ BaseGlobalCommandLine.prototype.develop = function () {
254
272
  return tslib_1.__awaiter(this, void 0, void 0, function () {
255
273
  var founded, results, openInEditor, res;
256
274
  var _this = this;
@@ -346,7 +364,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
346
364
  });
347
365
  });
348
366
  };
349
- BaseCommandLine.prototype.dev = function () {
367
+ BaseGlobalCommandLine.prototype.dev = function () {
350
368
  return tslib_1.__awaiter(this, void 0, void 0, function () {
351
369
  return tslib_1.__generator(this, function (_a) {
352
370
  switch (_a.label) {
@@ -358,7 +376,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
358
376
  };
359
377
  //#endregion
360
378
  //#region commands / repulll
361
- BaseCommandLine.prototype.repul = function () {
379
+ BaseGlobalCommandLine.prototype.repul = function () {
362
380
  return tslib_1.__awaiter(this, void 0, void 0, function () {
363
381
  return tslib_1.__generator(this, function (_a) {
364
382
  switch (_a.label) {
@@ -370,7 +388,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
370
388
  });
371
389
  });
372
390
  };
373
- BaseCommandLine.prototype.repull = function () {
391
+ BaseGlobalCommandLine.prototype.repull = function () {
374
392
  return tslib_1.__awaiter(this, void 0, void 0, function () {
375
393
  return tslib_1.__generator(this, function (_a) {
376
394
  switch (_a.label) {
@@ -392,7 +410,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
392
410
  };
393
411
  //#endregion
394
412
  //#region commands / pull
395
- BaseCommandLine.prototype.pull = function () {
413
+ BaseGlobalCommandLine.prototype.pull = function () {
396
414
  return tslib_1.__awaiter(this, void 0, void 0, function () {
397
415
  return tslib_1.__generator(this, function (_a) {
398
416
  switch (_a.label) {
@@ -414,7 +432,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
414
432
  };
415
433
  //#endregion
416
434
  //#region commands / pull all
417
- BaseCommandLine.prototype.pullAll = function () {
435
+ BaseGlobalCommandLine.prototype.pullAll = function () {
418
436
  return tslib_1.__awaiter(this, void 0, void 0, function () {
419
437
  return tslib_1.__generator(this, function (_a) {
420
438
  switch (_a.label) {
@@ -436,15 +454,31 @@ var BaseCommandLine = /** @class */ (function (_super) {
436
454
  });
437
455
  };
438
456
  //#endregion
457
+ //#region commands / push and pull
458
+ BaseGlobalCommandLine.prototype.pp = function () {
459
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
460
+ var currentBranch;
461
+ return tslib_1.__generator(this, function (_a) {
462
+ currentBranch = this.project.git.currentBranchName;
463
+ this.project
464
+ .run("git push origin ".concat(currentBranch, " && git pull origin ").concat(currentBranch))
465
+ .sync();
466
+ console.log('Done push and pull');
467
+ this._exit();
468
+ return [2 /*return*/];
469
+ });
470
+ });
471
+ };
472
+ //#endregion
439
473
  //#region commands / reset
440
- BaseCommandLine.prototype.__resetInfo = function (branchToReset) {
474
+ BaseGlobalCommandLine.prototype.__resetInfo = function (branchToReset) {
441
475
  index_1.Helpers.info("\n\n YOU ARE RESETING EVERYTHING TO BRANCH: ".concat(tnp_core_1.chalk.bold(branchToReset), "\n\n- curret project (").concat(this.project.name, ")\n").concat(tnp_core_1._.isArray(this.project.children) && this.project.children.length > 0
442
476
  ? "- modules:\n".concat(this.project.children
443
477
  .map(function (c) { return "\t".concat(c.basename, " (").concat(tnp_core_1.chalk.yellow(c.name), ")"); })
444
478
  .join('\n'))
445
479
  : '', "\n "));
446
480
  };
447
- BaseCommandLine.prototype.fetch = function () {
481
+ BaseGlobalCommandLine.prototype.fetch = function () {
448
482
  return tslib_1.__awaiter(this, void 0, void 0, function () {
449
483
  var _a, _b;
450
484
  return tslib_1.__generator(this, function (_c) {
@@ -457,7 +491,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
457
491
  });
458
492
  });
459
493
  };
460
- BaseCommandLine.prototype.reset = function () {
494
+ BaseGlobalCommandLine.prototype.reset = function () {
461
495
  return tslib_1.__awaiter(this, void 0, void 0, function () {
462
496
  var parent, branchFromLinkedProjectConfig, overrideBranchToReset, resetOnlyChildren, branches, resetProject, res;
463
497
  var _this = this;
@@ -532,7 +566,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
532
566
  };
533
567
  //#endregion
534
568
  //#region commands / soft
535
- BaseCommandLine.prototype.soft = function () {
569
+ BaseGlobalCommandLine.prototype.soft = function () {
536
570
  return tslib_1.__awaiter(this, void 0, void 0, function () {
537
571
  return tslib_1.__generator(this, function (_a) {
538
572
  switch (_a.label) {
@@ -551,7 +585,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
551
585
  };
552
586
  //#endregion
553
587
  //#region commands / rebase
554
- BaseCommandLine.prototype.rebase = function () {
588
+ BaseGlobalCommandLine.prototype.rebase = function () {
555
589
  return tslib_1.__awaiter(this, void 0, void 0, function () {
556
590
  var currentBranch, safeReset, rebaseBranch, branches, error_3;
557
591
  return tslib_1.__generator(this, function (_a) {
@@ -603,7 +637,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
603
637
  /**
604
638
  * stash only staged files
605
639
  */
606
- BaseCommandLine.prototype.stash = function () {
640
+ BaseGlobalCommandLine.prototype.stash = function () {
607
641
  return tslib_1.__awaiter(this, void 0, void 0, function () {
608
642
  return tslib_1.__generator(this, function (_a) {
609
643
  switch (_a.label) {
@@ -626,7 +660,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
626
660
  /**
627
661
  * stash all files
628
662
  */
629
- BaseCommandLine.prototype.stashAll = function () {
663
+ BaseGlobalCommandLine.prototype.stashAll = function () {
630
664
  return tslib_1.__awaiter(this, void 0, void 0, function () {
631
665
  return tslib_1.__generator(this, function (_a) {
632
666
  switch (_a.label) {
@@ -648,7 +682,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
648
682
  /**
649
683
  * push force to all orgins
650
684
  */
651
- BaseCommandLine.prototype.pushAllForce = function () {
685
+ BaseGlobalCommandLine.prototype.pushAllForce = function () {
652
686
  return tslib_1.__awaiter(this, void 0, void 0, function () {
653
687
  return tslib_1.__generator(this, function (_a) {
654
688
  switch (_a.label) {
@@ -665,7 +699,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
665
699
  });
666
700
  });
667
701
  };
668
- BaseCommandLine.prototype.pAllForce = function () {
702
+ BaseGlobalCommandLine.prototype.pAllForce = function () {
669
703
  return tslib_1.__awaiter(this, void 0, void 0, function () {
670
704
  return tslib_1.__generator(this, function (_a) {
671
705
  switch (_a.label) {
@@ -677,7 +711,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
677
711
  });
678
712
  });
679
713
  };
680
- BaseCommandLine.prototype.pAllf = function () {
714
+ BaseGlobalCommandLine.prototype.pAllf = function () {
681
715
  return tslib_1.__awaiter(this, void 0, void 0, function () {
682
716
  return tslib_1.__generator(this, function (_a) {
683
717
  switch (_a.label) {
@@ -689,7 +723,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
689
723
  });
690
724
  });
691
725
  };
692
- BaseCommandLine.prototype.pAll = function () {
726
+ BaseGlobalCommandLine.prototype.pAll = function () {
693
727
  return tslib_1.__awaiter(this, void 0, void 0, function () {
694
728
  return tslib_1.__generator(this, function (_a) {
695
729
  switch (_a.label) {
@@ -704,7 +738,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
704
738
  /**
705
739
  * push to all origins
706
740
  */
707
- BaseCommandLine.prototype.pushAll = function () {
741
+ BaseGlobalCommandLine.prototype.pushAll = function () {
708
742
  return tslib_1.__awaiter(this, arguments, void 0, function (force) {
709
743
  var remotes, index, _a, origin_1, url;
710
744
  if (force === void 0) { force = false; }
@@ -740,7 +774,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
740
774
  };
741
775
  //#endregion
742
776
  //#region commands / push force
743
- BaseCommandLine.prototype.forcePush = function () {
777
+ BaseGlobalCommandLine.prototype.forcePush = function () {
744
778
  return tslib_1.__awaiter(this, void 0, void 0, function () {
745
779
  return tslib_1.__generator(this, function (_a) {
746
780
  switch (_a.label) {
@@ -752,7 +786,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
752
786
  });
753
787
  });
754
788
  };
755
- BaseCommandLine.prototype.pushForce = function () {
789
+ BaseGlobalCommandLine.prototype.pushForce = function () {
756
790
  return tslib_1.__awaiter(this, void 0, void 0, function () {
757
791
  return tslib_1.__generator(this, function (_a) {
758
792
  switch (_a.label) {
@@ -769,7 +803,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
769
803
  /**
770
804
  * Commit and push this for single repo
771
805
  */
772
- BaseCommandLine.prototype.commit = function () {
806
+ BaseGlobalCommandLine.prototype.commit = function () {
773
807
  return tslib_1.__awaiter(this, arguments, void 0, function (options) {
774
808
  var _this = this;
775
809
  if (options === void 0) { options = {}; }
@@ -799,7 +833,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
799
833
  };
800
834
  //#endregion
801
835
  //#region commands / push
802
- BaseCommandLine.prototype._preventPushPullFromNotCorrectBranch = function () {
836
+ BaseGlobalCommandLine.prototype._preventPushPullFromNotCorrectBranch = function () {
803
837
  return tslib_1.__awaiter(this, void 0, void 0, function () {
804
838
  var _loop_1, this_1, state_1;
805
839
  return tslib_1.__generator(this, function (_a) {
@@ -857,7 +891,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
857
891
  });
858
892
  });
859
893
  };
860
- BaseCommandLine.prototype.qPush = function () {
894
+ BaseGlobalCommandLine.prototype.qPush = function () {
861
895
  return tslib_1.__awaiter(this, void 0, void 0, function () {
862
896
  return tslib_1.__generator(this, function (_a) {
863
897
  switch (_a.label) {
@@ -869,7 +903,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
869
903
  });
870
904
  });
871
905
  };
872
- BaseCommandLine.prototype.quickPush = function () {
906
+ BaseGlobalCommandLine.prototype.quickPush = function () {
873
907
  return tslib_1.__awaiter(this, void 0, void 0, function () {
874
908
  return tslib_1.__generator(this, function (_a) {
875
909
  switch (_a.label) {
@@ -881,7 +915,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
881
915
  });
882
916
  });
883
917
  };
884
- BaseCommandLine.prototype.push = function () {
918
+ BaseGlobalCommandLine.prototype.push = function () {
885
919
  return tslib_1.__awaiter(this, arguments, void 0, function (options) {
886
920
  var _this = this;
887
921
  if (options === void 0) { options = {}; }
@@ -915,7 +949,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
915
949
  };
916
950
  //#endregion
917
951
  //#region commands / melt
918
- BaseCommandLine.prototype.melt = function () {
952
+ BaseGlobalCommandLine.prototype.melt = function () {
919
953
  return tslib_1.__awaiter(this, void 0, void 0, function () {
920
954
  return tslib_1.__generator(this, function (_a) {
921
955
  switch (_a.label) {
@@ -935,7 +969,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
935
969
  };
936
970
  //#endregion
937
971
  //#region commands / melt updat ecommits
938
- BaseCommandLine.prototype.meltUpdateCommits = function () {
972
+ BaseGlobalCommandLine.prototype.meltUpdateCommits = function () {
939
973
  return tslib_1.__awaiter(this, arguments, void 0, function (hideInfo) {
940
974
  if (hideInfo === void 0) { hideInfo = false; }
941
975
  return tslib_1.__generator(this, function (_a) {
@@ -957,7 +991,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
957
991
  };
958
992
  //#endregion
959
993
  //#region commands / push feature
960
- BaseCommandLine.prototype.pf = function () {
994
+ BaseGlobalCommandLine.prototype.pf = function () {
961
995
  return tslib_1.__awaiter(this, void 0, void 0, function () {
962
996
  return tslib_1.__generator(this, function (_a) {
963
997
  switch (_a.label) {
@@ -969,7 +1003,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
969
1003
  });
970
1004
  });
971
1005
  };
972
- BaseCommandLine.prototype.pRel = function () {
1006
+ BaseGlobalCommandLine.prototype.pRel = function () {
973
1007
  return tslib_1.__awaiter(this, void 0, void 0, function () {
974
1008
  return tslib_1.__generator(this, function (_a) {
975
1009
  switch (_a.label) {
@@ -981,7 +1015,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
981
1015
  });
982
1016
  });
983
1017
  };
984
- BaseCommandLine.prototype.pRelease = function () {
1018
+ BaseGlobalCommandLine.prototype.pRelease = function () {
985
1019
  return tslib_1.__awaiter(this, void 0, void 0, function () {
986
1020
  return tslib_1.__generator(this, function (_a) {
987
1021
  switch (_a.label) {
@@ -993,7 +1027,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
993
1027
  });
994
1028
  });
995
1029
  };
996
- BaseCommandLine.prototype.pushRelease = function () {
1030
+ BaseGlobalCommandLine.prototype.pushRelease = function () {
997
1031
  return tslib_1.__awaiter(this, void 0, void 0, function () {
998
1032
  return tslib_1.__generator(this, function (_a) {
999
1033
  switch (_a.label) {
@@ -1013,7 +1047,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1013
1047
  });
1014
1048
  });
1015
1049
  };
1016
- BaseCommandLine.prototype.mPush = function () {
1050
+ BaseGlobalCommandLine.prototype.mPush = function () {
1017
1051
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1018
1052
  return tslib_1.__generator(this, function (_a) {
1019
1053
  switch (_a.label) {
@@ -1025,7 +1059,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1025
1059
  });
1026
1060
  });
1027
1061
  };
1028
- BaseCommandLine.prototype.fmPush = function () {
1062
+ BaseGlobalCommandLine.prototype.fmPush = function () {
1029
1063
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1030
1064
  return tslib_1.__generator(this, function (_a) {
1031
1065
  switch (_a.label) {
@@ -1037,7 +1071,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1037
1071
  });
1038
1072
  });
1039
1073
  };
1040
- BaseCommandLine.prototype.mfPush = function () {
1074
+ BaseGlobalCommandLine.prototype.mfPush = function () {
1041
1075
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1042
1076
  return tslib_1.__generator(this, function (_a) {
1043
1077
  switch (_a.label) {
@@ -1049,7 +1083,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1049
1083
  });
1050
1084
  });
1051
1085
  };
1052
- BaseCommandLine.prototype.mforcePush = function () {
1086
+ BaseGlobalCommandLine.prototype.mforcePush = function () {
1053
1087
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1054
1088
  return tslib_1.__generator(this, function (_a) {
1055
1089
  switch (_a.label) {
@@ -1061,7 +1095,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1061
1095
  });
1062
1096
  });
1063
1097
  };
1064
- BaseCommandLine.prototype.meltforcePush = function () {
1098
+ BaseGlobalCommandLine.prototype.meltforcePush = function () {
1065
1099
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1066
1100
  return tslib_1.__generator(this, function (_a) {
1067
1101
  switch (_a.label) {
@@ -1073,7 +1107,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1073
1107
  });
1074
1108
  });
1075
1109
  };
1076
- BaseCommandLine.prototype.forceMeltPush = function () {
1110
+ BaseGlobalCommandLine.prototype.forceMeltPush = function () {
1077
1111
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1078
1112
  return tslib_1.__generator(this, function (_a) {
1079
1113
  switch (_a.label) {
@@ -1085,7 +1119,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1085
1119
  });
1086
1120
  });
1087
1121
  };
1088
- BaseCommandLine.prototype.meltPush = function () {
1122
+ BaseGlobalCommandLine.prototype.meltPush = function () {
1089
1123
  return tslib_1.__awaiter(this, arguments, void 0, function (force) {
1090
1124
  if (force === void 0) { force = false; }
1091
1125
  return tslib_1.__generator(this, function (_a) {
@@ -1104,7 +1138,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1104
1138
  });
1105
1139
  });
1106
1140
  };
1107
- BaseCommandLine.prototype.pushFeature = function () {
1141
+ BaseGlobalCommandLine.prototype.pushFeature = function () {
1108
1142
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1109
1143
  return tslib_1.__generator(this, function (_a) {
1110
1144
  switch (_a.label) {
@@ -1121,7 +1155,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1121
1155
  };
1122
1156
  //#endregion
1123
1157
  //#region commands / push fix
1124
- BaseCommandLine.prototype.pushFix = function () {
1158
+ BaseGlobalCommandLine.prototype.pushFix = function () {
1125
1159
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1126
1160
  return tslib_1.__generator(this, function (_a) {
1127
1161
  switch (_a.label) {
@@ -1136,12 +1170,12 @@ var BaseCommandLine = /** @class */ (function (_super) {
1136
1170
  });
1137
1171
  });
1138
1172
  };
1139
- BaseCommandLine.prototype.pfix = function () {
1173
+ BaseGlobalCommandLine.prototype.pfix = function () {
1140
1174
  this.pushFix();
1141
1175
  };
1142
1176
  //#endregion
1143
1177
  //#region commands / push chore
1144
- BaseCommandLine.prototype.pushChore = function () {
1178
+ BaseGlobalCommandLine.prototype.pushChore = function () {
1145
1179
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1146
1180
  return tslib_1.__generator(this, function (_a) {
1147
1181
  switch (_a.label) {
@@ -1156,7 +1190,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1156
1190
  });
1157
1191
  });
1158
1192
  };
1159
- BaseCommandLine.prototype.pc = function () {
1193
+ BaseGlobalCommandLine.prototype.pc = function () {
1160
1194
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1161
1195
  return tslib_1.__generator(this, function (_a) {
1162
1196
  switch (_a.label) {
@@ -1170,7 +1204,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1170
1204
  };
1171
1205
  //#endregion
1172
1206
  //#region commands / push refactor
1173
- BaseCommandLine.prototype.pushRefactor = function () {
1207
+ BaseGlobalCommandLine.prototype.pushRefactor = function () {
1174
1208
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1175
1209
  return tslib_1.__generator(this, function (_a) {
1176
1210
  switch (_a.label) {
@@ -1185,7 +1219,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1185
1219
  });
1186
1220
  });
1187
1221
  };
1188
- BaseCommandLine.prototype.pushref = function () {
1222
+ BaseGlobalCommandLine.prototype.pushref = function () {
1189
1223
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1190
1224
  return tslib_1.__generator(this, function (_a) {
1191
1225
  switch (_a.label) {
@@ -1197,7 +1231,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1197
1231
  });
1198
1232
  });
1199
1233
  };
1200
- BaseCommandLine.prototype.pref = function () {
1234
+ BaseGlobalCommandLine.prototype.pref = function () {
1201
1235
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1202
1236
  return tslib_1.__generator(this, function (_a) {
1203
1237
  switch (_a.label) {
@@ -1211,7 +1245,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1211
1245
  };
1212
1246
  //#endregion
1213
1247
  //#region commands / push style
1214
- BaseCommandLine.prototype.pushStyle = function () {
1248
+ BaseGlobalCommandLine.prototype.pushStyle = function () {
1215
1249
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1216
1250
  return tslib_1.__generator(this, function (_a) {
1217
1251
  switch (_a.label) {
@@ -1226,7 +1260,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1226
1260
  });
1227
1261
  });
1228
1262
  };
1229
- BaseCommandLine.prototype.pstyl = function () {
1263
+ BaseGlobalCommandLine.prototype.pstyl = function () {
1230
1264
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1231
1265
  return tslib_1.__generator(this, function (_a) {
1232
1266
  switch (_a.label) {
@@ -1238,7 +1272,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1238
1272
  });
1239
1273
  });
1240
1274
  };
1241
- BaseCommandLine.prototype.pstyle = function () {
1275
+ BaseGlobalCommandLine.prototype.pstyle = function () {
1242
1276
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1243
1277
  return tslib_1.__generator(this, function (_a) {
1244
1278
  switch (_a.label) {
@@ -1252,7 +1286,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1252
1286
  };
1253
1287
  //#endregion
1254
1288
  //#region commands / push docs
1255
- BaseCommandLine.prototype.pushDocs = function () {
1289
+ BaseGlobalCommandLine.prototype.pushDocs = function () {
1256
1290
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1257
1291
  return tslib_1.__generator(this, function (_a) {
1258
1292
  switch (_a.label) {
@@ -1267,7 +1301,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1267
1301
  });
1268
1302
  });
1269
1303
  };
1270
- BaseCommandLine.prototype.pd = function () {
1304
+ BaseGlobalCommandLine.prototype.pd = function () {
1271
1305
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1272
1306
  return tslib_1.__generator(this, function (_a) {
1273
1307
  switch (_a.label) {
@@ -1279,7 +1313,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1279
1313
  });
1280
1314
  });
1281
1315
  };
1282
- BaseCommandLine.prototype.pdocs = function () {
1316
+ BaseGlobalCommandLine.prototype.pdocs = function () {
1283
1317
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1284
1318
  return tslib_1.__generator(this, function (_a) {
1285
1319
  switch (_a.label) {
@@ -1293,7 +1327,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1293
1327
  };
1294
1328
  //#endregion
1295
1329
  //#region commands / push test
1296
- BaseCommandLine.prototype.pushTest = function () {
1330
+ BaseGlobalCommandLine.prototype.pushTest = function () {
1297
1331
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1298
1332
  return tslib_1.__generator(this, function (_a) {
1299
1333
  switch (_a.label) {
@@ -1308,7 +1342,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1308
1342
  });
1309
1343
  });
1310
1344
  };
1311
- BaseCommandLine.prototype.pTest = function () {
1345
+ BaseGlobalCommandLine.prototype.pTest = function () {
1312
1346
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1313
1347
  return tslib_1.__generator(this, function (_a) {
1314
1348
  switch (_a.label) {
@@ -1320,7 +1354,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1320
1354
  });
1321
1355
  });
1322
1356
  };
1323
- BaseCommandLine.prototype.pTests = function () {
1357
+ BaseGlobalCommandLine.prototype.pTests = function () {
1324
1358
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1325
1359
  return tslib_1.__generator(this, function (_a) {
1326
1360
  switch (_a.label) {
@@ -1334,7 +1368,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1334
1368
  };
1335
1369
  //#endregion
1336
1370
  //#region commands / push perf
1337
- BaseCommandLine.prototype.pushPerf = function () {
1371
+ BaseGlobalCommandLine.prototype.pushPerf = function () {
1338
1372
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1339
1373
  return tslib_1.__generator(this, function (_a) {
1340
1374
  switch (_a.label) {
@@ -1354,7 +1388,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1354
1388
  };
1355
1389
  //#endregion
1356
1390
  //#region commands / push ci
1357
- BaseCommandLine.prototype.pushCi = function () {
1391
+ BaseGlobalCommandLine.prototype.pushCi = function () {
1358
1392
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1359
1393
  return tslib_1.__generator(this, function (_a) {
1360
1394
  switch (_a.label) {
@@ -1371,7 +1405,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1371
1405
  };
1372
1406
  //#endregion
1373
1407
  //#region commands / select branch
1374
- BaseCommandLine.prototype.branch = function () {
1408
+ BaseGlobalCommandLine.prototype.branch = function () {
1375
1409
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1376
1410
  var branchName, branches;
1377
1411
  return tslib_1.__generator(this, function (_a) {
@@ -1404,7 +1438,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1404
1438
  };
1405
1439
  //#endregion
1406
1440
  //#region commands / push build
1407
- BaseCommandLine.prototype.pushBuild = function () {
1441
+ BaseGlobalCommandLine.prototype.pushBuild = function () {
1408
1442
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1409
1443
  return tslib_1.__generator(this, function (_a) {
1410
1444
  switch (_a.label) {
@@ -1421,7 +1455,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1421
1455
  };
1422
1456
  //#endregion
1423
1457
  //#region commands / set origin
1424
- BaseCommandLine.prototype.SET_ORIGIN = function () {
1458
+ BaseGlobalCommandLine.prototype.SET_ORIGIN = function () {
1425
1459
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1426
1460
  var newOriginNameOrUrl, proj;
1427
1461
  return tslib_1.__generator(this, function (_a) {
@@ -1449,7 +1483,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1449
1483
  };
1450
1484
  //#endregion
1451
1485
  //#region commands / rename origin
1452
- BaseCommandLine.prototype.RENAME_ORIGIN = function () {
1486
+ BaseGlobalCommandLine.prototype.RENAME_ORIGIN = function () {
1453
1487
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1454
1488
  var newOriginNameOrUrl, proj;
1455
1489
  return tslib_1.__generator(this, function (_a) {
@@ -1475,7 +1509,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1475
1509
  };
1476
1510
  //#endregion
1477
1511
  //#region commands / last hash tag
1478
- BaseCommandLine.prototype.LAST_TAG_HASH = function () {
1512
+ BaseGlobalCommandLine.prototype.LAST_TAG_HASH = function () {
1479
1513
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1480
1514
  return tslib_1.__generator(this, function (_a) {
1481
1515
  switch (_a.label) {
@@ -1493,7 +1527,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1493
1527
  };
1494
1528
  //#endregion
1495
1529
  //#region commands / last tag
1496
- BaseCommandLine.prototype.LAST_TAG = function () {
1530
+ BaseGlobalCommandLine.prototype.LAST_TAG = function () {
1497
1531
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1498
1532
  var proj;
1499
1533
  return tslib_1.__generator(this, function (_a) {
@@ -1513,7 +1547,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1513
1547
  };
1514
1548
  //#endregion
1515
1549
  //#region commands / check tag exists
1516
- BaseCommandLine.prototype.CHECK_TAG_EXISTS = function () {
1550
+ BaseGlobalCommandLine.prototype.CHECK_TAG_EXISTS = function () {
1517
1551
  index_1.Helpers.info("tag \"".concat(this.firstArg, "\" exits = ").concat(index_1.Helpers.git.checkTagExists(this.firstArg), " "));
1518
1552
  this._exit();
1519
1553
  };
@@ -1522,7 +1556,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1522
1556
  /**
1523
1557
  * TODO move somewhere
1524
1558
  */
1525
- BaseCommandLine.prototype.lint = function () {
1559
+ BaseGlobalCommandLine.prototype.lint = function () {
1526
1560
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1527
1561
  return tslib_1.__generator(this, function (_a) {
1528
1562
  switch (_a.label) {
@@ -1544,7 +1578,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1544
1578
  /**
1545
1579
  * TODO move somewhere
1546
1580
  */
1547
- BaseCommandLine.prototype.version = function () {
1581
+ BaseGlobalCommandLine.prototype.version = function () {
1548
1582
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1549
1583
  return tslib_1.__generator(this, function (_a) {
1550
1584
  switch (_a.label) {
@@ -1565,7 +1599,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1565
1599
  /**
1566
1600
  * TODO move somewhere
1567
1601
  */
1568
- BaseCommandLine.prototype.init = function () {
1602
+ BaseGlobalCommandLine.prototype.init = function () {
1569
1603
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1570
1604
  return tslib_1.__generator(this, function (_a) {
1571
1605
  switch (_a.label) {
@@ -1583,12 +1617,62 @@ var BaseCommandLine = /** @class */ (function (_super) {
1583
1617
  });
1584
1618
  });
1585
1619
  };
1620
+ /**
1621
+ * init parent and first level children
1622
+ */
1623
+ BaseGlobalCommandLine.prototype.initAll = function () {
1624
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
1625
+ var _a, _b, child, e_3_1;
1626
+ var e_3, _c;
1627
+ return tslib_1.__generator(this, function (_d) {
1628
+ switch (_d.label) {
1629
+ case 0: return [4 /*yield*/, this.cwdIsProject({ requireProjectWithGitRoot: false })];
1630
+ case 1:
1631
+ if (!(_d.sent())) {
1632
+ return [2 /*return*/];
1633
+ }
1634
+ return [4 /*yield*/, this.project.init()];
1635
+ case 2:
1636
+ _d.sent();
1637
+ _d.label = 3;
1638
+ case 3:
1639
+ _d.trys.push([3, 8, 9, 10]);
1640
+ _a = tslib_1.__values(this.project.children), _b = _a.next();
1641
+ _d.label = 4;
1642
+ case 4:
1643
+ if (!!_b.done) return [3 /*break*/, 7];
1644
+ child = _b.value;
1645
+ return [4 /*yield*/, child.init()];
1646
+ case 5:
1647
+ _d.sent();
1648
+ _d.label = 6;
1649
+ case 6:
1650
+ _b = _a.next();
1651
+ return [3 /*break*/, 4];
1652
+ case 7: return [3 /*break*/, 10];
1653
+ case 8:
1654
+ e_3_1 = _d.sent();
1655
+ e_3 = { error: e_3_1 };
1656
+ return [3 /*break*/, 10];
1657
+ case 9:
1658
+ try {
1659
+ if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
1660
+ }
1661
+ finally { if (e_3) throw e_3.error; }
1662
+ return [7 /*endfinally*/];
1663
+ case 10:
1664
+ this._exit();
1665
+ return [2 /*return*/];
1666
+ }
1667
+ });
1668
+ });
1669
+ };
1586
1670
  //#endregion
1587
1671
  //#region commands / struct
1588
1672
  /**
1589
1673
  * TODO move somewhere
1590
1674
  */
1591
- BaseCommandLine.prototype.struct = function () {
1675
+ BaseGlobalCommandLine.prototype.struct = function () {
1592
1676
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1593
1677
  return tslib_1.__generator(this, function (_a) {
1594
1678
  switch (_a.label) {
@@ -1611,7 +1695,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1611
1695
  /**
1612
1696
  * TODO move somewhere
1613
1697
  */
1614
- BaseCommandLine.prototype.info = function () {
1698
+ BaseGlobalCommandLine.prototype.info = function () {
1615
1699
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1616
1700
  return tslib_1.__generator(this, function (_a) {
1617
1701
  switch (_a.label) {
@@ -1637,7 +1721,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1637
1721
  };
1638
1722
  //#endregion
1639
1723
  //#region commands / info
1640
- BaseCommandLine.prototype.modified = function () {
1724
+ BaseGlobalCommandLine.prototype.modified = function () {
1641
1725
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1642
1726
  var proj, libs;
1643
1727
  return tslib_1.__generator(this, function (_a) {
@@ -1670,7 +1754,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1670
1754
  };
1671
1755
  //#endregion
1672
1756
  //#region commands / update
1673
- BaseCommandLine.prototype.UPDATE = function () {
1757
+ BaseGlobalCommandLine.prototype.UPDATE = function () {
1674
1758
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1675
1759
  var linkedProjects;
1676
1760
  var _this = this;
@@ -1700,10 +1784,10 @@ var BaseCommandLine = /** @class */ (function (_super) {
1700
1784
  };
1701
1785
  //#endregion
1702
1786
  //#region commands / changes
1703
- BaseCommandLine.prototype.changes = function () {
1787
+ BaseGlobalCommandLine.prototype.changes = function () {
1704
1788
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1705
- var _a, _b, _c, _d, chil, _e, _f, e_3_1;
1706
- var e_3, _g;
1789
+ var _a, _b, _c, _d, chil, _e, _f, e_4_1;
1790
+ var e_4, _g;
1707
1791
  return tslib_1.__generator(this, function (_h) {
1708
1792
  switch (_h.label) {
1709
1793
  case 0:
@@ -1730,14 +1814,14 @@ var BaseCommandLine = /** @class */ (function (_super) {
1730
1814
  return [3 /*break*/, 3];
1731
1815
  case 6: return [3 /*break*/, 9];
1732
1816
  case 7:
1733
- e_3_1 = _h.sent();
1734
- e_3 = { error: e_3_1 };
1817
+ e_4_1 = _h.sent();
1818
+ e_4 = { error: e_4_1 };
1735
1819
  return [3 /*break*/, 9];
1736
1820
  case 8:
1737
1821
  try {
1738
1822
  if (_d && !_d.done && (_g = _c.return)) _g.call(_c);
1739
1823
  }
1740
- finally { if (e_3) throw e_3.error; }
1824
+ finally { if (e_4) throw e_4.error; }
1741
1825
  return [7 /*endfinally*/];
1742
1826
  case 9:
1743
1827
  this._exit();
@@ -1748,17 +1832,17 @@ var BaseCommandLine = /** @class */ (function (_super) {
1748
1832
  };
1749
1833
  //#endregion
1750
1834
  //#region commands / branch name
1751
- BaseCommandLine.prototype.BRANCH_NAME = function () {
1835
+ BaseGlobalCommandLine.prototype.BRANCH_NAME = function () {
1752
1836
  console.log("current branch name: \"".concat(index_1.Helpers.git.currentBranchName(process.cwd()), "\""));
1753
1837
  this._exit();
1754
1838
  };
1755
1839
  //#endregion
1756
1840
  //#region commands / remotes
1757
- BaseCommandLine.prototype.REMOTES = function () {
1841
+ BaseGlobalCommandLine.prototype.REMOTES = function () {
1758
1842
  console.log(index_1.Helpers.git.allOrigins(this.cwd));
1759
1843
  this._exit();
1760
1844
  };
1761
- BaseCommandLine.prototype.SET_REMOTE_SSH = function () {
1845
+ BaseGlobalCommandLine.prototype.SET_REMOTE_SSH = function () {
1762
1846
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1763
1847
  return tslib_1.__generator(this, function (_a) {
1764
1848
  switch (_a.label) {
@@ -1771,7 +1855,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1771
1855
  });
1772
1856
  });
1773
1857
  };
1774
- BaseCommandLine.prototype.SET_REMOTE_http = function () {
1858
+ BaseGlobalCommandLine.prototype.SET_REMOTE_http = function () {
1775
1859
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1776
1860
  return tslib_1.__generator(this, function (_a) {
1777
1861
  switch (_a.label) {
@@ -1784,7 +1868,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1784
1868
  });
1785
1869
  });
1786
1870
  };
1787
- BaseCommandLine.prototype.SET_REMOTE_https = function () {
1871
+ BaseGlobalCommandLine.prototype.SET_REMOTE_https = function () {
1788
1872
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1789
1873
  return tslib_1.__generator(this, function (_a) {
1790
1874
  switch (_a.label) {
@@ -1796,7 +1880,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1796
1880
  });
1797
1881
  });
1798
1882
  };
1799
- BaseCommandLine.prototype._resolveChildFromArg = function () {
1883
+ BaseGlobalCommandLine.prototype._resolveChildFromArg = function () {
1800
1884
  var _this = this;
1801
1885
  var _a = index_1.Helpers.cliTool.resolveItemFromArgsBegin(this.args, function (arg) {
1802
1886
  return _this.ins.From([_this.cwd, arg]);
@@ -1807,46 +1891,46 @@ var BaseCommandLine = /** @class */ (function (_super) {
1807
1891
  this.project = projFromArg;
1808
1892
  }
1809
1893
  };
1810
- BaseCommandLine.prototype.origin = function () {
1894
+ BaseGlobalCommandLine.prototype.origin = function () {
1811
1895
  this._resolveChildFromArg();
1812
1896
  console.log(index_1.Helpers.git.getOriginURL(this.cwd));
1813
1897
  this._exit();
1814
1898
  };
1815
- BaseCommandLine.prototype.remote = function () {
1899
+ BaseGlobalCommandLine.prototype.remote = function () {
1816
1900
  console.log(index_1.Helpers.git.getOriginURL(this.cwd));
1817
1901
  this._exit();
1818
1902
  };
1819
- BaseCommandLine.prototype.originHttp = function () {
1903
+ BaseGlobalCommandLine.prototype.originHttp = function () {
1820
1904
  console.log(index_1.Helpers.git.originSshToHttp(index_1.Helpers.git.getOriginURL(this.cwd)));
1821
1905
  this._exit();
1822
1906
  };
1823
- BaseCommandLine.prototype.originHttps = function () {
1907
+ BaseGlobalCommandLine.prototype.originHttps = function () {
1824
1908
  console.log(index_1.Helpers.git.originSshToHttp(index_1.Helpers.git.getOriginURL(this.cwd)));
1825
1909
  this._exit();
1826
1910
  };
1827
- BaseCommandLine.prototype.originssh = function () {
1911
+ BaseGlobalCommandLine.prototype.originssh = function () {
1828
1912
  console.log(index_1.Helpers.git.originHttpToSsh(index_1.Helpers.git.getOriginURL(this.cwd)));
1829
1913
  this._exit();
1830
1914
  };
1831
- BaseCommandLine.prototype.origins = function () {
1915
+ BaseGlobalCommandLine.prototype.origins = function () {
1832
1916
  this.REMOTES();
1833
1917
  };
1834
1918
  //#endregion
1835
1919
  //#region commands / git config
1836
- BaseCommandLine.prototype.gitConfig = function () {
1920
+ BaseGlobalCommandLine.prototype.gitConfig = function () {
1837
1921
  var root = index_1.Helpers.git.findGitRoot(this.cwd);
1838
1922
  index_1.Helpers.run("code ".concat((0, tnp_core_2.crossPlatformPath)([root, '.git', 'config']))).sync();
1839
1923
  this._exit();
1840
1924
  };
1841
1925
  //#endregion
1842
1926
  //#region commands / lastCommitHash
1843
- BaseCommandLine.prototype.LAST_COMMIT_HASH = function () {
1927
+ BaseGlobalCommandLine.prototype.LAST_COMMIT_HASH = function () {
1844
1928
  console.log(index_1.Helpers.git.lastCommitHash(this.cwd));
1845
1929
  this._exit();
1846
1930
  };
1847
1931
  //#endregion
1848
1932
  //#region commands / commit message by hash
1849
- BaseCommandLine.prototype.COMMIT_MESSAGE_BY_HASH = function () {
1933
+ BaseGlobalCommandLine.prototype.COMMIT_MESSAGE_BY_HASH = function () {
1850
1934
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1851
1935
  var hash, _a, _b;
1852
1936
  return tslib_1.__generator(this, function (_c) {
@@ -1865,7 +1949,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1865
1949
  };
1866
1950
  //#endregion
1867
1951
  //#region commands / last 5 commit hashes
1868
- BaseCommandLine.prototype.LAST_5_COMMITS = function () {
1952
+ BaseGlobalCommandLine.prototype.LAST_5_COMMITS = function () {
1869
1953
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1870
1954
  var index, hash;
1871
1955
  return tslib_1.__generator(this, function (_a) {
@@ -1892,7 +1976,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1892
1976
  };
1893
1977
  //#endregion
1894
1978
  //#region commands / update deps from
1895
- BaseCommandLine.prototype.updateDepsFrom = function () {
1979
+ BaseGlobalCommandLine.prototype.updateDepsFrom = function () {
1896
1980
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1897
1981
  var locations;
1898
1982
  var _this = this;
@@ -1914,13 +1998,13 @@ var BaseCommandLine = /** @class */ (function (_super) {
1914
1998
  };
1915
1999
  //#endregion
1916
2000
  //#region is terminal supported
1917
- BaseCommandLine.prototype.isTerminalSupported = function () {
2001
+ BaseGlobalCommandLine.prototype.isTerminalSupported = function () {
1918
2002
  console.log("Terminal is supported: ".concat(index_1.Helpers.isSupportedTaonTerminal));
1919
2003
  this._exit();
1920
2004
  };
1921
2005
  //#endregion
1922
2006
  //#region prox ext
1923
- BaseCommandLine.prototype.INSTALL_PROJECT_EXTENSIONS = function () {
2007
+ BaseGlobalCommandLine.prototype.INSTALL_PROJECT_EXTENSIONS = function () {
1924
2008
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1925
2009
  return tslib_1.__generator(this, function (_a) {
1926
2010
  switch (_a.label) {
@@ -1932,7 +2016,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1932
2016
  });
1933
2017
  });
1934
2018
  };
1935
- BaseCommandLine.prototype.INSTALL_PROJECT_EXT = function () {
2019
+ BaseGlobalCommandLine.prototype.INSTALL_PROJECT_EXT = function () {
1936
2020
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1937
2021
  return tslib_1.__generator(this, function (_a) {
1938
2022
  switch (_a.label) {
@@ -1944,7 +2028,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
1944
2028
  });
1945
2029
  });
1946
2030
  };
1947
- BaseCommandLine.prototype.INS_PROJ_EXT = function () {
2031
+ BaseGlobalCommandLine.prototype.INS_PROJ_EXT = function () {
1948
2032
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1949
2033
  return tslib_1.__generator(this, function (_a) {
1950
2034
  switch (_a.label) {
@@ -1956,9 +2040,9 @@ var BaseCommandLine = /** @class */ (function (_super) {
1956
2040
  });
1957
2041
  });
1958
2042
  };
1959
- BaseCommandLine.prototype.INSTALL_PROJ_EXT = function () {
2043
+ BaseGlobalCommandLine.prototype.INSTALL_PROJ_EXT = function () {
1960
2044
  return tslib_1.__awaiter(this, void 0, void 0, function () {
1961
- var p, extensions, menuItems, extensionsToInstall, index, extname;
2045
+ var p, extensions;
1962
2046
  return tslib_1.__generator(this, function (_a) {
1963
2047
  switch (_a.label) {
1964
2048
  case 0: return [4 /*yield*/, this.cwdIsProject({ requireProjectWithGitRoot: false })];
@@ -1969,38 +2053,10 @@ var BaseCommandLine = /** @class */ (function (_super) {
1969
2053
  this.project.vsCodeHelpers.recreateExtensions();
1970
2054
  p = this.project.pathFor('.vscode/extensions.json');
1971
2055
  extensions = index_1.Helpers.readJson(p, { recommendations: [] }, true);
1972
- menuItems = extensions.recommendations.map(function (r) {
1973
- return { name: r, value: r, enabled: true, selected: true };
1974
- });
1975
- extensionsToInstall = [];
1976
- _a.label = 2;
1977
- case 2:
1978
- if (!true) return [3 /*break*/, 5];
1979
2056
  index_1.Helpers.clearConsole();
1980
- return [4 /*yield*/, index_1.Helpers.consoleGui.multiselect('Select extensions to install', menuItems, true, menuItems)];
1981
- case 3:
1982
- extensionsToInstall = _a.sent();
1983
- index_1.Helpers.info(extensionsToInstall.join(', '));
1984
- return [4 /*yield*/, index_1.Helpers.questionYesNo("Install extensions ?")];
1985
- case 4:
1986
- if (!(_a.sent())) {
1987
- return [3 /*break*/, 2];
1988
- }
1989
- return [3 /*break*/, 5];
1990
- case 5:
1991
- for (index = 0; index < extensionsToInstall.length; index++) {
1992
- extname = extensionsToInstall[index];
1993
- try {
1994
- index_1.Helpers.taskStarted("Installing: ".concat(extname));
1995
- index_1.Helpers.run("code --install-extension ".concat(extname)).sync();
1996
- index_1.Helpers.taskDone("Installed: ".concat(extname));
1997
- }
1998
- catch (error) {
1999
- index_1.Helpers.warn("Not able to install ".concat(extname));
2000
- index_1.Helpers.pressKeyOrWait('Press any key to continue...');
2001
- }
2002
- }
2003
- index_1.Helpers.info('Done installing');
2057
+ return [4 /*yield*/, this.project.vsCodeHelpers.installExtensions(extensions.recommendations, true)];
2058
+ case 2:
2059
+ _a.sent();
2004
2060
  this._exit();
2005
2061
  return [2 /*return*/];
2006
2062
  }
@@ -2009,7 +2065,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2009
2065
  };
2010
2066
  //#endregion
2011
2067
  //#region proj db
2012
- BaseCommandLine.prototype.projdb = function () {
2068
+ BaseGlobalCommandLine.prototype.projdb = function () {
2013
2069
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2014
2070
  return tslib_1.__generator(this, function (_a) {
2015
2071
  switch (_a.label) {
@@ -2028,7 +2084,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2028
2084
  };
2029
2085
  //#endregion
2030
2086
  //#region filter all project branches by pattern
2031
- BaseCommandLine.prototype.__filterBranchesByPattern = function (branchPatternOrBranchName) {
2087
+ BaseGlobalCommandLine.prototype.__filterBranchesByPattern = function (branchPatternOrBranchName) {
2032
2088
  var branches = index_1.Helpers.arrays.uniqArray(this.project.git.getBranchesNamesBy(branchPatternOrBranchName) ||
2033
2089
  this.project.getMainBranches());
2034
2090
  // console.log('branches', branches);
@@ -2036,7 +2092,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2036
2092
  };
2037
2093
  //#endregion
2038
2094
  //#region select branch from list of branches
2039
- BaseCommandLine.prototype.__selectBrach = function (branches, task) {
2095
+ BaseGlobalCommandLine.prototype.__selectBrach = function (branches, task) {
2040
2096
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2041
2097
  var childrenMsg;
2042
2098
  return tslib_1.__generator(this, function (_a) {
@@ -2055,7 +2111,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2055
2111
  };
2056
2112
  //#endregion
2057
2113
  //#region commands / clone
2058
- BaseCommandLine.prototype.clone = function () {
2114
+ BaseGlobalCommandLine.prototype.clone = function () {
2059
2115
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2060
2116
  var url, originType;
2061
2117
  return tslib_1.__generator(this, function (_a) {
@@ -2080,7 +2136,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2080
2136
  };
2081
2137
  //#endregion
2082
2138
  //#region commands / ghtemp
2083
- BaseCommandLine.prototype.ghSave = function () {
2139
+ BaseGlobalCommandLine.prototype.ghSave = function () {
2084
2140
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2085
2141
  return tslib_1.__generator(this, function (_a) {
2086
2142
  switch (_a.label) {
@@ -2093,7 +2149,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2093
2149
  });
2094
2150
  });
2095
2151
  };
2096
- BaseCommandLine.prototype.ghRestore = function () {
2152
+ BaseGlobalCommandLine.prototype.ghRestore = function () {
2097
2153
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2098
2154
  return tslib_1.__generator(this, function (_a) {
2099
2155
  switch (_a.label) {
@@ -2108,7 +2164,7 @@ var BaseCommandLine = /** @class */ (function (_super) {
2108
2164
  };
2109
2165
  //#endregion
2110
2166
  //#region commands / start cli service ports worker
2111
- BaseCommandLine.prototype.startCliServicePortsWorker = function () {
2167
+ BaseGlobalCommandLine.prototype.startCliServicePortsWorker = function () {
2112
2168
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2113
2169
  return tslib_1.__generator(this, function (_a) {
2114
2170
  switch (_a.label) {
@@ -2122,13 +2178,13 @@ var BaseCommandLine = /** @class */ (function (_super) {
2122
2178
  };
2123
2179
  //#endregion
2124
2180
  //#region commands / pause terminal
2125
- BaseCommandLine.prototype.pauseTerminal = function () {
2181
+ BaseGlobalCommandLine.prototype.pauseTerminal = function () {
2126
2182
  index_1.Helpers.pressKeyAndContinue();
2127
2183
  this._exit();
2128
2184
  };
2129
2185
  //#endregion
2130
2186
  //#region commands / gh pages init
2131
- BaseCommandLine.prototype.ghPagesInit = function () {
2187
+ BaseGlobalCommandLine.prototype.ghPagesInit = function () {
2132
2188
  return tslib_1.__awaiter(this, void 0, void 0, function () {
2133
2189
  return tslib_1.__generator(this, function (_a) {
2134
2190
  switch (_a.label) {
@@ -2147,7 +2203,26 @@ var BaseCommandLine = /** @class */ (function (_super) {
2147
2203
  });
2148
2204
  });
2149
2205
  };
2150
- return BaseCommandLine;
2151
- }(command_line_feature_backend_1.CommandLineFeature));
2152
- exports.BaseCommandLine = BaseCommandLine;
2153
- //# sourceMappingURL=base-command-line.backend.js.map
2206
+ //#endregion
2207
+ BaseGlobalCommandLine.prototype.isPortInUse = function () {
2208
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
2209
+ var port, _a, _b, _c, _d;
2210
+ return tslib_1.__generator(this, function (_e) {
2211
+ switch (_e.label) {
2212
+ case 0:
2213
+ port = parseInt(this.firstArg);
2214
+ _b = (_a = console).log;
2215
+ _d = (_c = "Port ".concat(port, " is in use: ")).concat;
2216
+ return [4 /*yield*/, tnp_core_1.UtilsOs.isPortInUse(port)];
2217
+ case 1:
2218
+ _b.apply(_a, [_d.apply(_c, [_e.sent()])]);
2219
+ this._exit();
2220
+ return [2 /*return*/];
2221
+ }
2222
+ });
2223
+ });
2224
+ };
2225
+ return BaseGlobalCommandLine;
2226
+ }(base_command_line_feature_backend_1.BaseCommandLineFeature));
2227
+ exports.BaseGlobalCommandLine = BaseGlobalCommandLine;
2228
+ //# sourceMappingURL=base-global-command-line.backend.js.map