@servicetitan/startup 35.2.0-far-1776.0 → 35.2.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 (359) hide show
  1. package/dist/cli/commands/build.d.ts +2 -70
  2. package/dist/cli/commands/build.d.ts.map +1 -1
  3. package/dist/cli/commands/build.js +0 -49
  4. package/dist/cli/commands/build.js.map +1 -1
  5. package/dist/cli/commands/bundle-package.d.ts +2 -54
  6. package/dist/cli/commands/bundle-package.d.ts.map +1 -1
  7. package/dist/cli/commands/bundle-package.js +0 -40
  8. package/dist/cli/commands/bundle-package.js.map +1 -1
  9. package/dist/cli/commands/clean.d.ts +2 -3
  10. package/dist/cli/commands/clean.d.ts.map +1 -1
  11. package/dist/cli/commands/clean.js +0 -15
  12. package/dist/cli/commands/clean.js.map +1 -1
  13. package/dist/cli/commands/convert-eslint-config.d.ts +2 -3
  14. package/dist/cli/commands/convert-eslint-config.d.ts.map +1 -1
  15. package/dist/cli/commands/convert-eslint-config.js +0 -2
  16. package/dist/cli/commands/convert-eslint-config.js.map +1 -1
  17. package/dist/cli/commands/eslint.d.ts +2 -34
  18. package/dist/cli/commands/eslint.d.ts.map +1 -1
  19. package/dist/cli/commands/eslint.js +0 -30
  20. package/dist/cli/commands/eslint.js.map +1 -1
  21. package/dist/cli/commands/init.d.ts +2 -16
  22. package/dist/cli/commands/init.d.ts.map +1 -1
  23. package/dist/cli/commands/init.js +0 -22
  24. package/dist/cli/commands/init.js.map +1 -1
  25. package/dist/cli/commands/install.d.ts +2 -36
  26. package/dist/cli/commands/install.d.ts.map +1 -1
  27. package/dist/cli/commands/install.js +0 -32
  28. package/dist/cli/commands/install.js.map +1 -1
  29. package/dist/cli/commands/kendo-ui-license.d.ts +2 -3
  30. package/dist/cli/commands/kendo-ui-license.d.ts.map +1 -1
  31. package/dist/cli/commands/kendo-ui-license.js +0 -15
  32. package/dist/cli/commands/kendo-ui-license.js.map +1 -1
  33. package/dist/cli/commands/lint.d.ts +2 -70
  34. package/dist/cli/commands/lint.d.ts.map +1 -1
  35. package/dist/cli/commands/lint.js +0 -49
  36. package/dist/cli/commands/lint.js.map +1 -1
  37. package/dist/cli/commands/mfe-check.d.ts +2 -44
  38. package/dist/cli/commands/mfe-check.d.ts.map +1 -1
  39. package/dist/cli/commands/mfe-check.js +0 -36
  40. package/dist/cli/commands/mfe-check.js.map +1 -1
  41. package/dist/cli/commands/mfe-generate-metadata.d.ts +2 -16
  42. package/dist/cli/commands/mfe-generate-metadata.d.ts.map +1 -1
  43. package/dist/cli/commands/mfe-generate-metadata.js +4 -28
  44. package/dist/cli/commands/mfe-generate-metadata.js.map +1 -1
  45. package/dist/cli/commands/mfe-list.d.ts +2 -70
  46. package/dist/cli/commands/mfe-list.d.ts.map +1 -1
  47. package/dist/cli/commands/mfe-list.js +0 -49
  48. package/dist/cli/commands/mfe-list.js.map +1 -1
  49. package/dist/cli/commands/mfe-package-clean.d.ts +2 -53
  50. package/dist/cli/commands/mfe-package-clean.d.ts.map +1 -1
  51. package/dist/cli/commands/mfe-package-clean.js +3 -51
  52. package/dist/cli/commands/mfe-package-clean.js.map +1 -1
  53. package/dist/cli/commands/mfe-package-publish.d.ts +2 -91
  54. package/dist/cli/commands/mfe-package-publish.d.ts.map +1 -1
  55. package/dist/cli/commands/mfe-package-publish.js +3 -70
  56. package/dist/cli/commands/mfe-package-publish.js.map +1 -1
  57. package/dist/cli/commands/mfe-package-rollback.d.ts +2 -43
  58. package/dist/cli/commands/mfe-package-rollback.d.ts.map +1 -1
  59. package/dist/cli/commands/mfe-package-rollback.js +3 -46
  60. package/dist/cli/commands/mfe-package-rollback.js.map +1 -1
  61. package/dist/cli/commands/mfe-publish.d.ts +9 -47
  62. package/dist/cli/commands/mfe-publish.d.ts.map +1 -1
  63. package/dist/cli/commands/mfe-publish.js +0 -69
  64. package/dist/cli/commands/mfe-publish.js.map +1 -1
  65. package/dist/cli/commands/mfe-purge-cache.d.ts +2 -46
  66. package/dist/cli/commands/mfe-purge-cache.d.ts.map +1 -1
  67. package/dist/cli/commands/mfe-purge-cache.js +0 -36
  68. package/dist/cli/commands/mfe-purge-cache.js.map +1 -1
  69. package/dist/cli/commands/prepare-package.d.ts +2 -14
  70. package/dist/cli/commands/prepare-package.d.ts.map +1 -1
  71. package/dist/cli/commands/prepare-package.js +0 -20
  72. package/dist/cli/commands/prepare-package.js.map +1 -1
  73. package/dist/cli/commands/registry/build.d.ts +38 -0
  74. package/dist/cli/commands/registry/build.d.ts.map +1 -0
  75. package/dist/cli/commands/registry/build.js +50 -0
  76. package/dist/cli/commands/registry/build.js.map +1 -0
  77. package/dist/cli/commands/registry/bundle-package.d.ts +29 -0
  78. package/dist/cli/commands/registry/bundle-package.d.ts.map +1 -0
  79. package/dist/cli/commands/registry/bundle-package.js +41 -0
  80. package/dist/cli/commands/registry/bundle-package.js.map +1 -0
  81. package/dist/cli/commands/registry/clean.d.ts +5 -0
  82. package/dist/cli/commands/registry/clean.d.ts.map +1 -0
  83. package/dist/cli/commands/registry/clean.js +17 -0
  84. package/dist/cli/commands/registry/clean.js.map +1 -0
  85. package/dist/cli/commands/registry/command-registry.d.ts +509 -0
  86. package/dist/cli/commands/registry/command-registry.d.ts.map +1 -0
  87. package/dist/cli/commands/registry/command-registry.js +138 -0
  88. package/dist/cli/commands/registry/command-registry.js.map +1 -0
  89. package/dist/cli/commands/registry/convert-eslint-config.d.ts +5 -0
  90. package/dist/cli/commands/registry/convert-eslint-config.d.ts.map +1 -0
  91. package/dist/cli/commands/registry/convert-eslint-config.js +17 -0
  92. package/dist/cli/commands/registry/convert-eslint-config.js.map +1 -0
  93. package/dist/cli/commands/registry/define-entry.d.ts +7 -0
  94. package/dist/cli/commands/registry/define-entry.d.ts.map +1 -0
  95. package/dist/cli/commands/registry/define-entry.js +15 -0
  96. package/dist/cli/commands/registry/define-entry.js.map +1 -0
  97. package/dist/cli/commands/registry/eslint.d.ts +19 -0
  98. package/dist/cli/commands/registry/eslint.d.ts.map +1 -0
  99. package/dist/cli/commands/registry/eslint.js +31 -0
  100. package/dist/cli/commands/registry/eslint.js.map +1 -0
  101. package/dist/cli/commands/registry/index.d.ts +3 -0
  102. package/dist/cli/commands/registry/index.d.ts.map +1 -0
  103. package/dist/cli/commands/registry/index.js +13 -0
  104. package/dist/cli/commands/registry/index.js.map +1 -0
  105. package/dist/cli/commands/registry/init.d.ts +11 -0
  106. package/dist/cli/commands/registry/init.d.ts.map +1 -0
  107. package/dist/cli/commands/registry/init.js +23 -0
  108. package/dist/cli/commands/registry/init.js.map +1 -0
  109. package/dist/cli/commands/registry/install.d.ts +21 -0
  110. package/dist/cli/commands/registry/install.d.ts.map +1 -0
  111. package/dist/cli/commands/registry/install.js +33 -0
  112. package/dist/cli/commands/registry/install.js.map +1 -0
  113. package/dist/cli/commands/registry/kendo-ui-license.d.ts +5 -0
  114. package/dist/cli/commands/registry/kendo-ui-license.d.ts.map +1 -0
  115. package/dist/cli/commands/registry/kendo-ui-license.js +17 -0
  116. package/dist/cli/commands/registry/kendo-ui-license.js.map +1 -0
  117. package/dist/cli/commands/registry/lint.d.ts +38 -0
  118. package/dist/cli/commands/registry/lint.d.ts.map +1 -0
  119. package/dist/cli/commands/registry/lint.js +50 -0
  120. package/dist/cli/commands/registry/lint.js.map +1 -0
  121. package/dist/cli/commands/registry/mfe-check.d.ts +25 -0
  122. package/dist/cli/commands/registry/mfe-check.d.ts.map +1 -0
  123. package/dist/cli/commands/registry/mfe-check.js +37 -0
  124. package/dist/cli/commands/registry/mfe-check.js.map +1 -0
  125. package/dist/cli/commands/registry/mfe-generate-metadata.d.ts +11 -0
  126. package/dist/cli/commands/registry/mfe-generate-metadata.d.ts.map +1 -0
  127. package/dist/cli/commands/registry/mfe-generate-metadata.js +23 -0
  128. package/dist/cli/commands/registry/mfe-generate-metadata.js.map +1 -0
  129. package/dist/cli/commands/registry/mfe-list.d.ts +38 -0
  130. package/dist/cli/commands/registry/mfe-list.d.ts.map +1 -0
  131. package/dist/cli/commands/registry/mfe-list.js +50 -0
  132. package/dist/cli/commands/registry/mfe-list.js.map +1 -0
  133. package/dist/cli/commands/registry/mfe-package-clean.d.ts +29 -0
  134. package/dist/cli/commands/registry/mfe-package-clean.d.ts.map +1 -0
  135. package/dist/cli/commands/registry/mfe-package-clean.js +41 -0
  136. package/dist/cli/commands/registry/mfe-package-clean.js.map +1 -0
  137. package/dist/cli/commands/registry/mfe-package-publish.d.ts +48 -0
  138. package/dist/cli/commands/registry/mfe-package-publish.d.ts.map +1 -0
  139. package/dist/cli/commands/registry/mfe-package-publish.js +60 -0
  140. package/dist/cli/commands/registry/mfe-package-publish.js.map +1 -0
  141. package/dist/cli/commands/registry/mfe-package-rollback.d.ts +24 -0
  142. package/dist/cli/commands/registry/mfe-package-rollback.d.ts.map +1 -0
  143. package/dist/cli/commands/registry/mfe-package-rollback.js +36 -0
  144. package/dist/cli/commands/registry/mfe-package-rollback.js.map +1 -0
  145. package/dist/cli/commands/registry/mfe-publish.d.ts +24 -0
  146. package/dist/cli/commands/registry/mfe-publish.d.ts.map +1 -0
  147. package/dist/cli/commands/registry/mfe-publish.js +72 -0
  148. package/dist/cli/commands/registry/mfe-publish.js.map +1 -0
  149. package/dist/cli/commands/registry/mfe-purge-cache.d.ts +25 -0
  150. package/dist/cli/commands/registry/mfe-purge-cache.d.ts.map +1 -0
  151. package/dist/cli/commands/registry/mfe-purge-cache.js +37 -0
  152. package/dist/cli/commands/registry/mfe-purge-cache.js.map +1 -0
  153. package/dist/cli/commands/registry/prepare-package.d.ts +9 -0
  154. package/dist/cli/commands/registry/prepare-package.d.ts.map +1 -0
  155. package/dist/cli/commands/registry/prepare-package.js +21 -0
  156. package/dist/cli/commands/registry/prepare-package.js.map +1 -0
  157. package/dist/cli/commands/registry/review.d.ts +16 -0
  158. package/dist/cli/commands/registry/review.d.ts.map +1 -0
  159. package/dist/cli/commands/registry/review.js +28 -0
  160. package/dist/cli/commands/registry/review.js.map +1 -0
  161. package/dist/cli/commands/registry/start.d.ts +30 -0
  162. package/dist/cli/commands/registry/start.d.ts.map +1 -0
  163. package/dist/cli/commands/registry/start.js +42 -0
  164. package/dist/cli/commands/registry/start.js.map +1 -0
  165. package/dist/cli/commands/registry/stylelint.d.ts +19 -0
  166. package/dist/cli/commands/registry/stylelint.d.ts.map +1 -0
  167. package/dist/cli/commands/registry/stylelint.js +31 -0
  168. package/dist/cli/commands/registry/stylelint.js.map +1 -0
  169. package/dist/cli/commands/registry/styles-check.d.ts +2 -0
  170. package/dist/cli/commands/registry/styles-check.d.ts.map +1 -0
  171. package/dist/cli/commands/registry/styles-check.js +14 -0
  172. package/dist/cli/commands/registry/styles-check.js.map +1 -0
  173. package/dist/cli/commands/registry/task.d.ts +19 -0
  174. package/dist/cli/commands/registry/task.d.ts.map +1 -0
  175. package/dist/cli/commands/registry/task.js +31 -0
  176. package/dist/cli/commands/registry/task.js.map +1 -0
  177. package/dist/cli/commands/registry/test-command.d.ts +22 -0
  178. package/dist/cli/commands/registry/test-command.d.ts.map +1 -0
  179. package/dist/cli/commands/registry/test-command.js +38 -0
  180. package/dist/cli/commands/registry/test-command.js.map +1 -0
  181. package/dist/cli/commands/registry/upload-sourcemaps.d.ts +15 -0
  182. package/dist/cli/commands/registry/upload-sourcemaps.d.ts.map +1 -0
  183. package/dist/cli/commands/registry/upload-sourcemaps.js +27 -0
  184. package/dist/cli/commands/registry/upload-sourcemaps.js.map +1 -0
  185. package/dist/cli/commands/review/review.d.ts +2 -26
  186. package/dist/cli/commands/review/review.d.ts.map +1 -1
  187. package/dist/cli/commands/review/review.js +0 -14
  188. package/dist/cli/commands/review/review.js.map +1 -1
  189. package/dist/cli/commands/run-task.d.ts +2 -34
  190. package/dist/cli/commands/run-task.d.ts.map +1 -1
  191. package/dist/cli/commands/run-task.js +0 -30
  192. package/dist/cli/commands/run-task.js.map +1 -1
  193. package/dist/cli/commands/start.d.ts +2 -54
  194. package/dist/cli/commands/start.d.ts.map +1 -1
  195. package/dist/cli/commands/start.js +0 -41
  196. package/dist/cli/commands/start.js.map +1 -1
  197. package/dist/cli/commands/stylelint.d.ts +2 -34
  198. package/dist/cli/commands/stylelint.d.ts.map +1 -1
  199. package/dist/cli/commands/stylelint.js +0 -30
  200. package/dist/cli/commands/stylelint.js.map +1 -1
  201. package/dist/cli/commands/styles-check.d.ts +2 -1
  202. package/dist/cli/commands/styles-check.d.ts.map +1 -1
  203. package/dist/cli/commands/styles-check.js.map +1 -1
  204. package/dist/cli/commands/test/tests.d.ts +2 -38
  205. package/dist/cli/commands/test/tests.d.ts.map +1 -1
  206. package/dist/cli/commands/test/tests.js +0 -36
  207. package/dist/cli/commands/test/tests.js.map +1 -1
  208. package/dist/cli/commands/types.d.ts +9 -7
  209. package/dist/cli/commands/types.d.ts.map +1 -1
  210. package/dist/cli/commands/types.js +0 -4
  211. package/dist/cli/commands/types.js.map +1 -1
  212. package/dist/cli/commands/upload-sourcemaps.d.ts +2 -26
  213. package/dist/cli/commands/upload-sourcemaps.d.ts.map +1 -1
  214. package/dist/cli/commands/upload-sourcemaps.js +0 -26
  215. package/dist/cli/commands/upload-sourcemaps.js.map +1 -1
  216. package/dist/cli/index.js +17 -16
  217. package/dist/cli/index.js.map +1 -1
  218. package/dist/cli/tasks/swc-compile-package/swc-compile-package.d.ts.map +1 -1
  219. package/dist/cli/tasks/swc-compile-package/swc-compile-package.js +1 -7
  220. package/dist/cli/tasks/swc-compile-package/swc-compile-package.js.map +1 -1
  221. package/dist/cli/utils/bundle.js +1 -1
  222. package/dist/cli/utils/bundle.js.map +1 -1
  223. package/dist/cli/utils/check-startup-location.d.ts +2 -2
  224. package/dist/cli/utils/check-startup-location.d.ts.map +1 -1
  225. package/dist/cli/utils/check-startup-location.js +1 -2
  226. package/dist/cli/utils/check-startup-location.js.map +1 -1
  227. package/dist/cli/utils/set-node-options.d.ts +3 -3
  228. package/dist/cli/utils/set-node-options.d.ts.map +1 -1
  229. package/dist/cli/utils/set-node-options.js +1 -2
  230. package/dist/cli/utils/set-node-options.js.map +1 -1
  231. package/dist/utils/find-up.js +4 -4
  232. package/dist/utils/find-up.js.map +1 -1
  233. package/dist/utils/get-package-data.d.ts.map +1 -1
  234. package/dist/utils/get-package-data.js +1 -28
  235. package/dist/utils/get-package-data.js.map +1 -1
  236. package/dist/utils/index.d.ts +0 -2
  237. package/dist/utils/index.d.ts.map +1 -1
  238. package/dist/utils/index.js +0 -2
  239. package/dist/utils/index.js.map +1 -1
  240. package/dist/webpack/configs/cache-config.d.ts.map +1 -1
  241. package/dist/webpack/configs/cache-config.js +14 -1
  242. package/dist/webpack/configs/cache-config.js.map +1 -1
  243. package/dist/webpack/configs/utils/get-launchdarkly-sdk-version.d.ts.map +1 -1
  244. package/dist/webpack/configs/utils/get-launchdarkly-sdk-version.js +11 -1
  245. package/dist/webpack/configs/utils/get-launchdarkly-sdk-version.js.map +1 -1
  246. package/dist/webpack/configs/utils/get-web-components-version.d.ts.map +1 -1
  247. package/dist/webpack/configs/utils/get-web-components-version.js +7 -5
  248. package/dist/webpack/configs/utils/get-web-components-version.js.map +1 -1
  249. package/package.json +12 -17
  250. package/src/cli/commands/__tests__/build.test.ts +2 -1
  251. package/src/cli/commands/__tests__/clean.test.ts +2 -1
  252. package/src/cli/commands/__tests__/convert-eslint-config.test.ts +2 -1
  253. package/src/cli/commands/__tests__/init.test.ts +4 -3
  254. package/src/cli/commands/__tests__/install.test.ts +2 -1
  255. package/src/cli/commands/__tests__/kendo-ui-license.test.ts +3 -2
  256. package/src/cli/commands/__tests__/lint.test.ts +3 -1
  257. package/src/cli/commands/__tests__/mfe-check.test.ts +2 -1
  258. package/src/cli/commands/__tests__/mfe-generate-metadata.test.ts +6 -24
  259. package/src/cli/commands/__tests__/mfe-list.test.ts +2 -1
  260. package/src/cli/commands/__tests__/mfe-publish.test.ts +8 -7
  261. package/src/cli/commands/__tests__/start.test.ts +2 -1
  262. package/src/cli/commands/build.ts +3 -16
  263. package/src/cli/commands/bundle-package.ts +3 -12
  264. package/src/cli/commands/clean.ts +2 -4
  265. package/src/cli/commands/convert-eslint-config.ts +2 -4
  266. package/src/cli/commands/eslint.ts +3 -10
  267. package/src/cli/commands/init.ts +3 -10
  268. package/src/cli/commands/install.ts +3 -12
  269. package/src/cli/commands/kendo-ui-license.ts +2 -4
  270. package/src/cli/commands/lint.ts +3 -15
  271. package/src/cli/commands/mfe-check.ts +3 -28
  272. package/src/cli/commands/mfe-generate-metadata.ts +9 -19
  273. package/src/cli/commands/mfe-list.ts +3 -23
  274. package/src/cli/commands/mfe-package-clean.ts +3 -27
  275. package/src/cli/commands/mfe-package-publish.ts +3 -46
  276. package/src/cli/commands/mfe-package-rollback.ts +3 -26
  277. package/src/cli/commands/mfe-publish.ts +11 -73
  278. package/src/cli/commands/mfe-purge-cache.ts +3 -27
  279. package/src/cli/commands/prepare-package.ts +3 -7
  280. package/src/cli/commands/registry/__tests__/command-registry.test.ts +13 -0
  281. package/src/cli/commands/registry/build.ts +16 -0
  282. package/src/cli/commands/registry/bundle-package.ts +13 -0
  283. package/src/cli/commands/registry/clean.ts +7 -0
  284. package/src/cli/commands/registry/command-registry.ts +98 -0
  285. package/src/cli/commands/registry/convert-eslint-config.ts +7 -0
  286. package/src/cli/commands/registry/define-entry.ts +11 -0
  287. package/src/cli/commands/registry/eslint.ts +12 -0
  288. package/src/cli/commands/registry/index.ts +2 -0
  289. package/src/cli/commands/registry/init.ts +10 -0
  290. package/src/cli/commands/registry/install.ts +12 -0
  291. package/src/cli/commands/registry/kendo-ui-license.ts +7 -0
  292. package/src/cli/commands/registry/lint.ts +17 -0
  293. package/src/cli/commands/registry/mfe-check.ts +28 -0
  294. package/src/cli/commands/registry/mfe-generate-metadata.ts +13 -0
  295. package/src/cli/commands/registry/mfe-list.ts +25 -0
  296. package/src/cli/commands/registry/mfe-package-clean.ts +27 -0
  297. package/src/cli/commands/registry/mfe-package-publish.ts +46 -0
  298. package/src/cli/commands/registry/mfe-package-rollback.ts +26 -0
  299. package/src/cli/commands/registry/mfe-publish.ts +55 -0
  300. package/src/cli/commands/registry/mfe-purge-cache.ts +27 -0
  301. package/src/cli/commands/registry/prepare-package.ts +8 -0
  302. package/src/cli/commands/registry/review.ts +11 -0
  303. package/src/cli/commands/registry/start.ts +14 -0
  304. package/src/cli/commands/registry/stylelint.ts +12 -0
  305. package/src/cli/commands/registry/styles-check.ts +4 -0
  306. package/src/cli/commands/registry/task.ts +12 -0
  307. package/src/cli/commands/registry/test-command.ts +19 -0
  308. package/src/cli/commands/registry/upload-sourcemaps.ts +14 -0
  309. package/src/cli/commands/review/__tests__/review.test.ts +2 -1
  310. package/src/cli/commands/review/review.ts +3 -11
  311. package/src/cli/commands/run-task.ts +3 -10
  312. package/src/cli/commands/start.ts +3 -14
  313. package/src/cli/commands/stylelint.ts +3 -10
  314. package/src/cli/commands/styles-check.ts +2 -1
  315. package/src/cli/commands/test/__tests__/tests.test.ts +2 -1
  316. package/src/cli/commands/test/tests.ts +3 -16
  317. package/src/cli/commands/types.ts +8 -6
  318. package/src/cli/commands/upload-sourcemaps.ts +3 -13
  319. package/src/cli/index.ts +21 -20
  320. package/src/cli/tasks/swc-compile-package/__tests__/swc-compile-package.test.ts +1 -8
  321. package/src/cli/tasks/swc-compile-package/swc-compile-package.ts +1 -11
  322. package/src/cli/utils/__tests__/bundle.test.ts +17 -0
  323. package/src/cli/utils/__tests__/check-startup-location.test.ts +5 -17
  324. package/src/cli/utils/__tests__/set-node-options.test.ts +5 -19
  325. package/src/cli/utils/bundle.ts +1 -1
  326. package/src/cli/utils/check-startup-location.ts +5 -3
  327. package/src/cli/utils/set-node-options.ts +3 -4
  328. package/src/utils/__tests__/get-package-data.test.ts +26 -97
  329. package/src/utils/find-up.ts +1 -1
  330. package/src/utils/get-package-data.ts +2 -27
  331. package/src/utils/index.ts +0 -2
  332. package/src/webpack/configs/cache-config.ts +10 -1
  333. package/src/webpack/configs/utils/__tests__/get-launchdarkly-sdk-version.test.ts +8 -24
  334. package/src/webpack/configs/utils/__tests__/get-web-components-version.test.ts +10 -30
  335. package/src/webpack/configs/utils/get-launchdarkly-sdk-version.ts +12 -2
  336. package/src/webpack/configs/utils/get-web-components-version.ts +5 -8
  337. package/dist/cli/commands/get-command.d.ts +0 -4
  338. package/dist/cli/commands/get-command.d.ts.map +0 -1
  339. package/dist/cli/commands/get-command.js +0 -68
  340. package/dist/cli/commands/get-command.js.map +0 -1
  341. package/dist/cli/commands/index.d.ts +0 -15
  342. package/dist/cli/commands/index.d.ts.map +0 -1
  343. package/dist/cli/commands/index.js +0 -32
  344. package/dist/cli/commands/index.js.map +0 -1
  345. package/dist/utils/find-package-lock.d.ts +0 -2
  346. package/dist/utils/find-package-lock.d.ts.map +0 -1
  347. package/dist/utils/find-package-lock.js +0 -26
  348. package/dist/utils/find-package-lock.js.map +0 -1
  349. package/dist/utils/get-package-version.d.ts +0 -2
  350. package/dist/utils/get-package-version.d.ts.map +0 -1
  351. package/dist/utils/get-package-version.js +0 -31
  352. package/dist/utils/get-package-version.js.map +0 -1
  353. package/src/cli/commands/__tests__/get-command.test.ts +0 -19
  354. package/src/cli/commands/get-command.ts +0 -59
  355. package/src/cli/commands/index.ts +0 -14
  356. package/src/utils/__tests__/find-package-lock.test.ts +0 -35
  357. package/src/utils/__tests__/get-package-version.test.ts +0 -120
  358. package/src/utils/find-package-lock.ts +0 -10
  359. package/src/utils/get-package-version.ts +0 -31
@@ -0,0 +1,509 @@
1
+ import { Command, CommandEntry, Newable } from '../types';
2
+ export interface CommandRegistryEntry extends CommandEntry {
3
+ load: () => Promise<Newable<Command>>;
4
+ }
5
+ export declare const commandRegistry: {
6
+ "upload-sourcemaps": {
7
+ options: {
8
+ dry: {
9
+ boolean: true;
10
+ description: string;
11
+ };
12
+ releaseVersion: {
13
+ string: true;
14
+ demandOption: true;
15
+ requiresArg: true;
16
+ description: string;
17
+ };
18
+ };
19
+ } & CommandRegistryEntry;
20
+ test: {
21
+ description: string;
22
+ greedy: true;
23
+ options: {
24
+ _: {
25
+ description: string;
26
+ array: true;
27
+ string: true;
28
+ };
29
+ runner: {
30
+ choices: readonly ["jest", "vitest"];
31
+ description: string;
32
+ defaultDescription: string;
33
+ };
34
+ runnerArgs: {
35
+ array: true;
36
+ string: true;
37
+ hidden: true;
38
+ };
39
+ };
40
+ } & CommandRegistryEntry;
41
+ task: {
42
+ options: {
43
+ _: {
44
+ description: string;
45
+ array: true;
46
+ string: true;
47
+ };
48
+ taskName: {
49
+ string: true;
50
+ hidden: true;
51
+ };
52
+ taskArgs: {
53
+ array: true;
54
+ string: true;
55
+ hidden: true;
56
+ };
57
+ };
58
+ } & CommandRegistryEntry;
59
+ "styles-check": CommandRegistryEntry;
60
+ stylelint: {
61
+ options: {
62
+ _: {
63
+ description: string;
64
+ array: true;
65
+ string: true;
66
+ };
67
+ fix: {
68
+ boolean: true;
69
+ hidden: true;
70
+ };
71
+ paths: {
72
+ array: true;
73
+ string: true;
74
+ hidden: true;
75
+ };
76
+ };
77
+ } & CommandRegistryEntry;
78
+ start: {
79
+ description: string;
80
+ greedy: true;
81
+ options: {
82
+ codeCoverage: {
83
+ boolean: true;
84
+ description: string;
85
+ };
86
+ config: {
87
+ string: true;
88
+ hidden: true;
89
+ description: string;
90
+ };
91
+ ignore: {
92
+ array: true;
93
+ string: true;
94
+ description: string;
95
+ };
96
+ scope: {
97
+ array: true;
98
+ string: true;
99
+ description: string;
100
+ };
101
+ useTsc: {
102
+ boolean: true;
103
+ description: string;
104
+ };
105
+ };
106
+ } & CommandRegistryEntry;
107
+ review: {
108
+ allowRunFromGlobal: true;
109
+ description: string;
110
+ options: {
111
+ fix: {
112
+ boolean: true;
113
+ description: string;
114
+ };
115
+ rule: {
116
+ array: true;
117
+ string: true;
118
+ description: string;
119
+ };
120
+ };
121
+ } & CommandRegistryEntry;
122
+ "prepare-package": {
123
+ options: {
124
+ watch: {
125
+ boolean: true;
126
+ hidden: true;
127
+ };
128
+ };
129
+ } & CommandRegistryEntry;
130
+ "mfe-purge-cache": {
131
+ options: {
132
+ host: {
133
+ string: true;
134
+ description: string;
135
+ demandOption: true;
136
+ };
137
+ packageName: {
138
+ string: true;
139
+ description: string;
140
+ demandOption: true;
141
+ };
142
+ tag: {
143
+ string: true;
144
+ description: string;
145
+ demandOption: true;
146
+ };
147
+ token: {
148
+ string: true;
149
+ description: string;
150
+ defaultDescription: string;
151
+ };
152
+ };
153
+ } & CommandRegistryEntry;
154
+ "mfe-publish": {
155
+ description: string;
156
+ options: {
157
+ clean: {
158
+ boolean: true;
159
+ description: string;
160
+ };
161
+ concurrency: {
162
+ number: true;
163
+ description: string;
164
+ defaultDescription: string;
165
+ };
166
+ rollback: {
167
+ boolean: true;
168
+ description: string;
169
+ };
170
+ scope: {
171
+ array: true;
172
+ string: true;
173
+ description: string;
174
+ };
175
+ };
176
+ } & CommandRegistryEntry;
177
+ "mfe-package-rollback": {
178
+ options: {
179
+ dry: {
180
+ boolean: true;
181
+ description: string;
182
+ };
183
+ registry: {
184
+ string: true;
185
+ hidden: true;
186
+ description: string;
187
+ };
188
+ tag: {
189
+ string: true;
190
+ description: string;
191
+ required: true;
192
+ };
193
+ purgeCache: {
194
+ boolean: true;
195
+ description: string;
196
+ defaultDescription: string;
197
+ };
198
+ };
199
+ } & CommandRegistryEntry;
200
+ "mfe-package-publish": {
201
+ options: {
202
+ branch: {
203
+ string: true;
204
+ description: string;
205
+ defaultDescription: string;
206
+ };
207
+ build: {
208
+ string: true;
209
+ description: string;
210
+ defaultDescription: string;
211
+ };
212
+ dry: {
213
+ boolean: true;
214
+ description: string;
215
+ };
216
+ force: {
217
+ boolean: true;
218
+ description: string;
219
+ };
220
+ registry: {
221
+ string: true;
222
+ hidden: true;
223
+ description: string;
224
+ };
225
+ trackHistory: {
226
+ boolean: true;
227
+ description: string;
228
+ defaultDescription: string;
229
+ hidden: true;
230
+ };
231
+ tag: {
232
+ string: true;
233
+ description: string;
234
+ };
235
+ uploadSourcemaps: {
236
+ boolean: true;
237
+ description: string;
238
+ defaultDescription: string;
239
+ };
240
+ purgeCache: {
241
+ boolean: true;
242
+ description: string;
243
+ defaultDescription: string;
244
+ };
245
+ };
246
+ } & CommandRegistryEntry;
247
+ "mfe-package-clean": {
248
+ options: {
249
+ all: {
250
+ boolean: true;
251
+ description: string;
252
+ defaultDescription: string;
253
+ };
254
+ branch: {
255
+ string: true;
256
+ description: string;
257
+ defaultDescription: string;
258
+ };
259
+ count: {
260
+ number: true;
261
+ description: string;
262
+ defaultDescription: string;
263
+ };
264
+ dry: {
265
+ boolean: true;
266
+ description: string;
267
+ };
268
+ registry: {
269
+ string: true;
270
+ hidden: true;
271
+ description: string;
272
+ };
273
+ };
274
+ } & CommandRegistryEntry;
275
+ "mfe-list": {
276
+ allowRunFromGlobal: true;
277
+ description: string;
278
+ options: {
279
+ _: {
280
+ description: string;
281
+ array: true;
282
+ string: true;
283
+ };
284
+ all: {
285
+ boolean: true;
286
+ description: string;
287
+ };
288
+ ignore: {
289
+ array: true;
290
+ string: true;
291
+ description: string;
292
+ };
293
+ limit: {
294
+ number: true;
295
+ description: string;
296
+ };
297
+ packageNames: {
298
+ array: true;
299
+ string: true;
300
+ hidden: true;
301
+ };
302
+ registry: {
303
+ string: true;
304
+ hidden: true;
305
+ };
306
+ tagged: {
307
+ boolean: true;
308
+ description: string;
309
+ };
310
+ };
311
+ } & CommandRegistryEntry;
312
+ "mfe-generate-metadata": {
313
+ allowRunFromGlobal: true;
314
+ description: string;
315
+ options: {
316
+ output: {
317
+ description: string;
318
+ string: true;
319
+ };
320
+ };
321
+ } & CommandRegistryEntry;
322
+ "mfe-check": {
323
+ allowRunFromGlobal: true;
324
+ description: string;
325
+ options: {
326
+ metadata: {
327
+ description: string;
328
+ string: true;
329
+ demandOption: true;
330
+ requiresArg: true;
331
+ };
332
+ hostPackageJson: {
333
+ description: string;
334
+ array: true;
335
+ string: true;
336
+ demandOption: true;
337
+ requiresArg: true;
338
+ };
339
+ json: {
340
+ description: string;
341
+ boolean: true;
342
+ default: boolean;
343
+ };
344
+ };
345
+ } & CommandRegistryEntry;
346
+ lint: {
347
+ description: string;
348
+ greedy: true;
349
+ options: {
350
+ _: {
351
+ description: string;
352
+ array: true;
353
+ string: true;
354
+ };
355
+ fix: {
356
+ boolean: true;
357
+ description: string;
358
+ };
359
+ scope: {
360
+ array: true;
361
+ string: true;
362
+ hidden: true;
363
+ description: string;
364
+ };
365
+ ignore: {
366
+ array: true;
367
+ string: true;
368
+ hidden: true;
369
+ description: string;
370
+ };
371
+ parallel: {
372
+ boolean: true;
373
+ hidden: true;
374
+ description: string;
375
+ };
376
+ paths: {
377
+ array: true;
378
+ string: true;
379
+ hidden: true;
380
+ };
381
+ };
382
+ } & CommandRegistryEntry;
383
+ "kendo-ui-license": {
384
+ allowRunFromGlobal: true;
385
+ description: string;
386
+ } & CommandRegistryEntry;
387
+ install: {
388
+ allowRunFromGlobal: true;
389
+ description: string;
390
+ options: {
391
+ fix: {
392
+ boolean: true;
393
+ description: string;
394
+ hidden: true;
395
+ };
396
+ quiet: {
397
+ boolean: true;
398
+ description: string;
399
+ hidden: true;
400
+ };
401
+ token: {
402
+ boolean: true;
403
+ description: string;
404
+ };
405
+ };
406
+ } & CommandRegistryEntry;
407
+ init: {
408
+ description: string;
409
+ allowRunFromGlobal: true;
410
+ options: {
411
+ output: {
412
+ string: true;
413
+ description: string;
414
+ };
415
+ };
416
+ } & CommandRegistryEntry;
417
+ eslint: {
418
+ options: {
419
+ _: {
420
+ description: string;
421
+ array: true;
422
+ string: true;
423
+ };
424
+ fix: {
425
+ boolean: true;
426
+ hidden: true;
427
+ };
428
+ paths: {
429
+ array: true;
430
+ string: true;
431
+ hidden: true;
432
+ };
433
+ };
434
+ } & CommandRegistryEntry;
435
+ "convert-eslint-config": {
436
+ allowRunFromGlobal: true;
437
+ description: string;
438
+ } & CommandRegistryEntry;
439
+ clean: {
440
+ allowRunFromGlobal: true;
441
+ description: string;
442
+ } & CommandRegistryEntry;
443
+ "bundle-package": {
444
+ options: {
445
+ codeCoverage: {
446
+ boolean: true;
447
+ hidden: true;
448
+ };
449
+ config: {
450
+ string: true;
451
+ hidden: true;
452
+ };
453
+ exposedDependencies: {
454
+ boolean: true;
455
+ hidden: true;
456
+ };
457
+ stat: {
458
+ boolean: true;
459
+ hidden: true;
460
+ };
461
+ useWatchConfig: {
462
+ boolean: true;
463
+ hidden: true;
464
+ };
465
+ watch: {
466
+ boolean: true;
467
+ hidden: true;
468
+ };
469
+ };
470
+ } & CommandRegistryEntry;
471
+ build: {
472
+ description: string;
473
+ greedy: true;
474
+ options: {
475
+ cdnPath: {
476
+ string: true;
477
+ description: string;
478
+ };
479
+ codeCoverage: {
480
+ boolean: true;
481
+ description: string;
482
+ };
483
+ config: {
484
+ string: true;
485
+ hidden: true;
486
+ description: string;
487
+ };
488
+ ignore: {
489
+ array: true;
490
+ string: true;
491
+ description: string;
492
+ };
493
+ scope: {
494
+ array: true;
495
+ string: true;
496
+ description: string;
497
+ };
498
+ stat: {
499
+ boolean: true;
500
+ description: string;
501
+ };
502
+ useTsc: {
503
+ boolean: true;
504
+ description: string;
505
+ };
506
+ };
507
+ } & CommandRegistryEntry;
508
+ };
509
+ //# sourceMappingURL=command-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-registry.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/command-registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AA2B1D,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACtD,IAAI,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;CACzC;AAiCD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCyB,CAAC"}
@@ -0,0 +1,138 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "commandRegistry", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return commandRegistry;
9
+ }
10
+ });
11
+ const _utils = require("../../../utils");
12
+ const _build = require("./build");
13
+ const _bundlepackage = require("./bundle-package");
14
+ const _clean = require("./clean");
15
+ const _converteslintconfig = require("./convert-eslint-config");
16
+ const _eslint = require("./eslint");
17
+ const _init = require("./init");
18
+ const _install = require("./install");
19
+ const _kendouilicense = require("./kendo-ui-license");
20
+ const _lint = require("./lint");
21
+ const _mfecheck = require("./mfe-check");
22
+ const _mfegeneratemetadata = require("./mfe-generate-metadata");
23
+ const _mfelist = require("./mfe-list");
24
+ const _mfepackageclean = require("./mfe-package-clean");
25
+ const _mfepackagepublish = require("./mfe-package-publish");
26
+ const _mfepackagerollback = require("./mfe-package-rollback");
27
+ const _mfepublish = require("./mfe-publish");
28
+ const _mfepurgecache = require("./mfe-purge-cache");
29
+ const _preparepackage = require("./prepare-package");
30
+ const _review = require("./review");
31
+ const _start = require("./start");
32
+ const _stylelint = require("./stylelint");
33
+ const _stylescheck = require("./styles-check");
34
+ const _task = require("./task");
35
+ const _testcommand = require("./test-command");
36
+ const _uploadsourcemaps = require("./upload-sourcemaps");
37
+ function _getRequireWildcardCache(nodeInterop) {
38
+ if (typeof WeakMap !== "function") return null;
39
+ var cacheBabelInterop = new WeakMap();
40
+ var cacheNodeInterop = new WeakMap();
41
+ return (_getRequireWildcardCache = function(nodeInterop) {
42
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
43
+ })(nodeInterop);
44
+ }
45
+ function _interop_require_wildcard(obj, nodeInterop) {
46
+ if (!nodeInterop && obj && obj.__esModule) {
47
+ return obj;
48
+ }
49
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
50
+ return {
51
+ default: obj
52
+ };
53
+ }
54
+ var cache = _getRequireWildcardCache(nodeInterop);
55
+ if (cache && cache.has(obj)) {
56
+ return cache.get(obj);
57
+ }
58
+ var newObj = {
59
+ __proto__: null
60
+ };
61
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
62
+ for(var key in obj){
63
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
64
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
65
+ if (desc && (desc.get || desc.set)) {
66
+ Object.defineProperty(newObj, key, desc);
67
+ } else {
68
+ newObj[key] = obj[key];
69
+ }
70
+ }
71
+ }
72
+ newObj.default = obj;
73
+ if (cache) {
74
+ cache.set(obj, newObj);
75
+ }
76
+ return newObj;
77
+ }
78
+ function toPascalCase(name) {
79
+ return name.split('-').map((part)=>part[0].toUpperCase() + part.slice(1)).join('');
80
+ }
81
+ function makeEntry(key, entry, options = {}) {
82
+ const { path = key, className = toPascalCase(path) } = options;
83
+ return {
84
+ [key]: {
85
+ ...entry,
86
+ load: ()=>Promise.resolve(`../${path}`).then((p)=>/*#__PURE__*/ _interop_require_wildcard(require(p))).then((m)=>m[className])
87
+ }
88
+ };
89
+ }
90
+ const commandRegistry = {
91
+ ...makeEntry(_utils.CommandName.build, _build.entry),
92
+ ...makeEntry(_utils.CommandName['bundle-package'], _bundlepackage.entry),
93
+ ...makeEntry(_utils.CommandName.clean, _clean.entry),
94
+ ...makeEntry(_utils.CommandName['convert-eslint-config'], _converteslintconfig.entry),
95
+ ...makeEntry(_utils.CommandName.eslint, _eslint.entry, {
96
+ className: 'ESLintCommand'
97
+ }),
98
+ ...makeEntry(_utils.CommandName.init, _init.entry),
99
+ ...makeEntry(_utils.CommandName.install, _install.entry),
100
+ ...makeEntry(_utils.CommandName['kendo-ui-license'], _kendouilicense.entry, {
101
+ className: 'KendoUILicense'
102
+ }),
103
+ ...makeEntry(_utils.CommandName.lint, _lint.entry),
104
+ ...makeEntry(_utils.CommandName['mfe-check'], _mfecheck.entry),
105
+ ...makeEntry(_utils.CommandName['mfe-generate-metadata'], _mfegeneratemetadata.entry),
106
+ ...makeEntry(_utils.CommandName['mfe-list'], _mfelist.entry, {
107
+ className: 'MFEList'
108
+ }),
109
+ ...makeEntry(_utils.CommandName['mfe-package-clean'], _mfepackageclean.entry, {
110
+ className: 'MFEPackageClean'
111
+ }),
112
+ ...makeEntry(_utils.CommandName['mfe-package-publish'], _mfepackagepublish.entry, {
113
+ className: 'MFEPackagePublish'
114
+ }),
115
+ ...makeEntry(_utils.CommandName['mfe-package-rollback'], _mfepackagerollback.entry, {
116
+ className: 'MFEPackageRollback'
117
+ }),
118
+ ...makeEntry(_utils.CommandName['mfe-publish'], _mfepublish.entry, {
119
+ className: 'MFEPublish'
120
+ }),
121
+ ...makeEntry(_utils.CommandName['mfe-purge-cache'], _mfepurgecache.entry, {
122
+ className: 'MFEPurgeCache'
123
+ }),
124
+ ...makeEntry(_utils.CommandName['prepare-package'], _preparepackage.entry),
125
+ ...makeEntry(_utils.CommandName.review, _review.entry),
126
+ ...makeEntry(_utils.CommandName.start, _start.entry),
127
+ ...makeEntry(_utils.CommandName.stylelint, _stylelint.entry),
128
+ ...makeEntry(_utils.CommandName['styles-check'], _stylescheck.entry),
129
+ ...makeEntry(_utils.CommandName.task, _task.entry, {
130
+ path: 'run-task'
131
+ }),
132
+ ...makeEntry(_utils.CommandName.test, _testcommand.entry, {
133
+ className: 'Tests'
134
+ }),
135
+ ...makeEntry(_utils.CommandName['upload-sourcemaps'], _uploadsourcemaps.entry)
136
+ };
137
+
138
+ //# sourceMappingURL=command-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/cli/commands/registry/command-registry.ts"],"sourcesContent":["import { CommandName } from '../../../utils';\nimport { Command, CommandEntry, Newable } from '../types';\nimport { entry as build } from './build';\nimport { entry as bundlePackage } from './bundle-package';\nimport { entry as clean } from './clean';\nimport { entry as convertEslintConfig } from './convert-eslint-config';\nimport { entry as eslint } from './eslint';\nimport { entry as init } from './init';\nimport { entry as install } from './install';\nimport { entry as kendoUiLicense } from './kendo-ui-license';\nimport { entry as lint } from './lint';\nimport { entry as mfeCheck } from './mfe-check';\nimport { entry as mfeGenerateMetadata } from './mfe-generate-metadata';\nimport { entry as mfeList } from './mfe-list';\nimport { entry as mfePackageClean } from './mfe-package-clean';\nimport { entry as mfePackagePublish } from './mfe-package-publish';\nimport { entry as mfePackageRollback } from './mfe-package-rollback';\nimport { entry as mfePublish } from './mfe-publish';\nimport { entry as mfePurgeCache } from './mfe-purge-cache';\nimport { entry as preparePackage } from './prepare-package';\nimport { entry as review } from './review';\nimport { entry as start } from './start';\nimport { entry as stylelint } from './stylelint';\nimport { entry as stylesCheck } from './styles-check';\nimport { entry as task } from './task';\nimport { entry as test } from './test-command';\nimport { entry as uploadSourcemaps } from './upload-sourcemaps';\n\nexport interface CommandRegistryEntry extends CommandEntry {\n load: () => Promise<Newable<Command>>;\n}\n\nfunction toPascalCase(name: string): string {\n return name\n .split('-')\n .map(part => part[0].toUpperCase() + part.slice(1))\n .join('');\n}\n\ninterface MakeEntryOptions {\n path?: string;\n className?: string;\n}\n\nfunction makeEntry<K extends CommandName, T extends CommandEntry>(\n key: K,\n entry: T,\n options: MakeEntryOptions = {}\n) {\n const { path = key, className = toPascalCase(path) } = options;\n return {\n [key]: {\n ...entry,\n load: () => import(`../${path}`).then(m => m[className]),\n },\n } as { [k in K]: T & CommandRegistryEntry };\n}\n\n/*\n * Each makeEntry call returns a single-key object. Spreading them preserves the\n * per-command type information, as opposed to widening each value to the union\n * return type.\n */\nexport const commandRegistry = {\n ...makeEntry(CommandName.build, build),\n ...makeEntry(CommandName['bundle-package'], bundlePackage),\n ...makeEntry(CommandName.clean, clean),\n ...makeEntry(CommandName['convert-eslint-config'], convertEslintConfig),\n ...makeEntry(CommandName.eslint, eslint, { className: 'ESLintCommand' }),\n ...makeEntry(CommandName.init, init),\n ...makeEntry(CommandName.install, install),\n ...makeEntry(CommandName['kendo-ui-license'], kendoUiLicense, { className: 'KendoUILicense' }),\n ...makeEntry(CommandName.lint, lint),\n ...makeEntry(CommandName['mfe-check'], mfeCheck),\n ...makeEntry(CommandName['mfe-generate-metadata'], mfeGenerateMetadata),\n ...makeEntry(CommandName['mfe-list'], mfeList, { className: 'MFEList' }),\n ...makeEntry(CommandName['mfe-package-clean'], mfePackageClean, {\n className: 'MFEPackageClean',\n }),\n ...makeEntry(CommandName['mfe-package-publish'], mfePackagePublish, {\n className: 'MFEPackagePublish',\n }),\n ...makeEntry(CommandName['mfe-package-rollback'], mfePackageRollback, {\n className: 'MFEPackageRollback',\n }),\n ...makeEntry(CommandName['mfe-publish'], mfePublish, { className: 'MFEPublish' }),\n ...makeEntry(CommandName['mfe-purge-cache'], mfePurgeCache, {\n className: 'MFEPurgeCache',\n }),\n ...makeEntry(CommandName['prepare-package'], preparePackage),\n ...makeEntry(CommandName.review, review),\n ...makeEntry(CommandName.start, start),\n ...makeEntry(CommandName.stylelint, stylelint),\n ...makeEntry(CommandName['styles-check'], stylesCheck),\n ...makeEntry(CommandName.task, task, { path: 'run-task' }),\n ...makeEntry(CommandName.test, test, { className: 'Tests' }),\n ...makeEntry(CommandName['upload-sourcemaps'], uploadSourcemaps),\n} satisfies Record<CommandName, CommandRegistryEntry>;\n"],"names":["commandRegistry","toPascalCase","name","split","map","part","toUpperCase","slice","join","makeEntry","key","entry","options","path","className","load","then","m","CommandName","build","bundlePackage","clean","convertEslintConfig","eslint","init","install","kendoUiLicense","lint","mfeCheck","mfeGenerateMetadata","mfeList","mfePackageClean","mfePackagePublish","mfePackageRollback","mfePublish","mfePurgeCache","preparePackage","review","start","stylelint","stylesCheck","task","test","uploadSourcemaps"],"mappings":"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"}
@@ -0,0 +1,5 @@
1
+ export declare const entry: {
2
+ allowRunFromGlobal: true;
3
+ description: string;
4
+ };
5
+ //# sourceMappingURL=convert-eslint-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convert-eslint-config.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/convert-eslint-config.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;CAGO,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "entry", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return entry;
9
+ }
10
+ });
11
+ const _defineentry = require("./define-entry");
12
+ const entry = (0, _defineentry.defineEntry)({
13
+ allowRunFromGlobal: true,
14
+ description: 'Convert v8.x eslintrc.json to v9.x flat config'
15
+ });
16
+
17
+ //# sourceMappingURL=convert-eslint-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/cli/commands/registry/convert-eslint-config.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n allowRunFromGlobal: true,\n description: 'Convert v8.x eslintrc.json to v9.x flat config',\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","allowRunFromGlobal","description"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,oBAAoB;IACpBC,aAAa;AACjB"}