@emulsify/cli 2.0.0 → 2.1.1

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 (303) hide show
  1. package/README.md +131 -12
  2. package/dist/handlers/componentInstall.js +65 -4
  3. package/dist/index.js +2 -0
  4. package/dist/node_modules/.package-lock.json +6 -216
  5. package/dist/node_modules/@types/node/README.md +1 -1
  6. package/dist/node_modules/@types/node/http2.d.ts +1 -0
  7. package/dist/node_modules/@types/node/package.json +2 -2
  8. package/dist/package-lock.json +61 -42
  9. package/dist/package.json +5 -6
  10. package/dist/schemas/emulsifyProjectConfig.json +80 -0
  11. package/dist/util/fs/executeScript.js +10 -4
  12. package/dist/util/fs/loadJsonFile.js +14 -4
  13. package/dist/util/fs/safeResolveWithin.js +22 -0
  14. package/dist/util/getRepositoryLatestTag.js +96 -13
  15. package/dist/util/project/buildComponentDependencyList.js +35 -10
  16. package/dist/util/project/generateComponent.js +52 -23
  17. package/dist/util/project/getEmulsifyConfig.js +35 -1
  18. package/dist/util/project/installComponentFromCache.js +3 -2
  19. package/dist/util/project/installGeneralAssetsFromCache.js +4 -2
  20. package/dist/util/system/getAvailableSystems.js +0 -5
  21. package/package.json +5 -6
  22. package/dist/node_modules/@babel/code-frame/LICENSE +0 -22
  23. package/dist/node_modules/@babel/code-frame/README.md +0 -19
  24. package/dist/node_modules/@babel/code-frame/lib/index.js +0 -217
  25. package/dist/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  26. package/dist/node_modules/@babel/code-frame/package.json +0 -32
  27. package/dist/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  28. package/dist/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  29. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  30. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  31. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  32. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  33. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  34. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  35. package/dist/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  36. package/dist/node_modules/@types/progress/LICENSE +0 -21
  37. package/dist/node_modules/@types/progress/README.md +0 -15
  38. package/dist/node_modules/@types/progress/index.d.ts +0 -143
  39. package/dist/node_modules/@types/progress/package.json +0 -27
  40. package/dist/node_modules/argparse/CHANGELOG.md +0 -216
  41. package/dist/node_modules/argparse/LICENSE +0 -254
  42. package/dist/node_modules/argparse/README.md +0 -84
  43. package/dist/node_modules/argparse/argparse.js +0 -3707
  44. package/dist/node_modules/argparse/lib/sub.js +0 -67
  45. package/dist/node_modules/argparse/lib/textwrap.js +0 -440
  46. package/dist/node_modules/argparse/package.json +0 -31
  47. package/dist/node_modules/callsites/index.d.ts +0 -96
  48. package/dist/node_modules/callsites/index.js +0 -13
  49. package/dist/node_modules/callsites/license +0 -9
  50. package/dist/node_modules/callsites/package.json +0 -39
  51. package/dist/node_modules/callsites/readme.md +0 -48
  52. package/dist/node_modules/cosmiconfig/LICENSE +0 -22
  53. package/dist/node_modules/cosmiconfig/README.md +0 -782
  54. package/dist/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
  55. package/dist/node_modules/cosmiconfig/dist/Explorer.js +0 -174
  56. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
  57. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
  58. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
  59. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -188
  60. package/dist/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
  61. package/dist/node_modules/cosmiconfig/dist/defaults.js +0 -105
  62. package/dist/node_modules/cosmiconfig/dist/index.d.ts +0 -6
  63. package/dist/node_modules/cosmiconfig/dist/index.js +0 -148
  64. package/dist/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
  65. package/dist/node_modules/cosmiconfig/dist/loaders.js +0 -150
  66. package/dist/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
  67. package/dist/node_modules/cosmiconfig/dist/merge.js +0 -44
  68. package/dist/node_modules/cosmiconfig/dist/types.d.ts +0 -98
  69. package/dist/node_modules/cosmiconfig/dist/types.js +0 -3
  70. package/dist/node_modules/cosmiconfig/dist/util.d.ts +0 -2
  71. package/dist/node_modules/cosmiconfig/dist/util.js +0 -108
  72. package/dist/node_modules/cosmiconfig/package.json +0 -103
  73. package/dist/node_modules/env-paths/index.d.ts +0 -101
  74. package/dist/node_modules/env-paths/index.js +0 -74
  75. package/dist/node_modules/env-paths/license +0 -9
  76. package/dist/node_modules/env-paths/package.json +0 -45
  77. package/dist/node_modules/env-paths/readme.md +0 -115
  78. package/dist/node_modules/error-ex/LICENSE +0 -21
  79. package/dist/node_modules/error-ex/README.md +0 -144
  80. package/dist/node_modules/error-ex/index.js +0 -141
  81. package/dist/node_modules/error-ex/package.json +0 -46
  82. package/dist/node_modules/import-fresh/index.d.ts +0 -30
  83. package/dist/node_modules/import-fresh/index.js +0 -34
  84. package/dist/node_modules/import-fresh/license +0 -9
  85. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.js +0 -47
  86. package/dist/node_modules/import-fresh/node_modules/resolve-from/license +0 -9
  87. package/dist/node_modules/import-fresh/node_modules/resolve-from/package.json +0 -34
  88. package/dist/node_modules/import-fresh/node_modules/resolve-from/readme.md +0 -72
  89. package/dist/node_modules/import-fresh/package.json +0 -48
  90. package/dist/node_modules/import-fresh/readme.md +0 -54
  91. package/dist/node_modules/is-arrayish/.editorconfig +0 -18
  92. package/dist/node_modules/is-arrayish/.istanbul.yml +0 -4
  93. package/dist/node_modules/is-arrayish/.travis.yml +0 -17
  94. package/dist/node_modules/is-arrayish/LICENSE +0 -21
  95. package/dist/node_modules/is-arrayish/README.md +0 -16
  96. package/dist/node_modules/is-arrayish/index.js +0 -10
  97. package/dist/node_modules/is-arrayish/package.json +0 -34
  98. package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
  99. package/dist/node_modules/js-tokens/LICENSE +0 -21
  100. package/dist/node_modules/js-tokens/README.md +0 -240
  101. package/dist/node_modules/js-tokens/index.js +0 -23
  102. package/dist/node_modules/js-tokens/package.json +0 -30
  103. package/dist/node_modules/js-yaml/LICENSE +0 -21
  104. package/dist/node_modules/js-yaml/README.md +0 -231
  105. package/dist/node_modules/js-yaml/bin/js-yaml.js +0 -117
  106. package/dist/node_modules/js-yaml/dist/js-yaml.js +0 -2404
  107. package/dist/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
  108. package/dist/node_modules/js-yaml/dist/js-yaml.min.js +0 -33
  109. package/dist/node_modules/js-yaml/dist/js-yaml.min.js.map +0 -1
  110. package/dist/node_modules/js-yaml/dist/js-yaml.mjs +0 -2382
  111. package/dist/node_modules/js-yaml/dist/js-yaml.mjs.map +0 -1
  112. package/dist/node_modules/js-yaml/index.js +0 -44
  113. package/dist/node_modules/js-yaml/lib/common.js +0 -50
  114. package/dist/node_modules/js-yaml/lib/dumper.js +0 -937
  115. package/dist/node_modules/js-yaml/lib/exception.js +0 -51
  116. package/dist/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +0 -37
  117. package/dist/node_modules/js-yaml/lib/loader.js +0 -1794
  118. package/dist/node_modules/js-yaml/lib/schema/core.js +0 -9
  119. package/dist/node_modules/js-yaml/lib/schema/default.js +0 -20
  120. package/dist/node_modules/js-yaml/lib/schema/failsafe.js +0 -14
  121. package/dist/node_modules/js-yaml/lib/schema/json.js +0 -17
  122. package/dist/node_modules/js-yaml/lib/schema.js +0 -109
  123. package/dist/node_modules/js-yaml/lib/snippet.js +0 -96
  124. package/dist/node_modules/js-yaml/lib/type/binary.js +0 -122
  125. package/dist/node_modules/js-yaml/lib/type/bool.js +0 -35
  126. package/dist/node_modules/js-yaml/lib/type/float.js +0 -99
  127. package/dist/node_modules/js-yaml/lib/type/int.js +0 -142
  128. package/dist/node_modules/js-yaml/lib/type/map.js +0 -8
  129. package/dist/node_modules/js-yaml/lib/type/merge.js +0 -12
  130. package/dist/node_modules/js-yaml/lib/type/null.js +0 -35
  131. package/dist/node_modules/js-yaml/lib/type/omap.js +0 -45
  132. package/dist/node_modules/js-yaml/lib/type/pairs.js +0 -50
  133. package/dist/node_modules/js-yaml/lib/type/seq.js +0 -8
  134. package/dist/node_modules/js-yaml/lib/type/set.js +0 -29
  135. package/dist/node_modules/js-yaml/lib/type/str.js +0 -8
  136. package/dist/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  137. package/dist/node_modules/js-yaml/lib/type.js +0 -66
  138. package/dist/node_modules/js-yaml/package.json +0 -77
  139. package/dist/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
  140. package/dist/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  141. package/dist/node_modules/json-parse-even-better-errors/README.md +0 -96
  142. package/dist/node_modules/json-parse-even-better-errors/index.js +0 -121
  143. package/dist/node_modules/json-parse-even-better-errors/package.json +0 -33
  144. package/dist/node_modules/lines-and-columns/LICENSE +0 -21
  145. package/dist/node_modules/lines-and-columns/README.md +0 -33
  146. package/dist/node_modules/lines-and-columns/build/index.d.ts +0 -13
  147. package/dist/node_modules/lines-and-columns/build/index.js +0 -62
  148. package/dist/node_modules/lines-and-columns/package.json +0 -49
  149. package/dist/node_modules/parent-module/index.js +0 -37
  150. package/dist/node_modules/parent-module/license +0 -9
  151. package/dist/node_modules/parent-module/package.json +0 -46
  152. package/dist/node_modules/parent-module/readme.md +0 -67
  153. package/dist/node_modules/parse-json/index.js +0 -54
  154. package/dist/node_modules/parse-json/license +0 -9
  155. package/dist/node_modules/parse-json/package.json +0 -45
  156. package/dist/node_modules/parse-json/readme.md +0 -119
  157. package/dist/node_modules/picocolors/LICENSE +0 -15
  158. package/dist/node_modules/picocolors/README.md +0 -21
  159. package/dist/node_modules/picocolors/package.json +0 -25
  160. package/dist/node_modules/picocolors/picocolors.browser.js +0 -4
  161. package/dist/node_modules/picocolors/picocolors.d.ts +0 -5
  162. package/dist/node_modules/picocolors/picocolors.js +0 -75
  163. package/dist/node_modules/picocolors/types.d.ts +0 -51
  164. package/dist/node_modules/typescript/LICENSE.txt +0 -55
  165. package/dist/node_modules/typescript/README.md +0 -50
  166. package/dist/node_modules/typescript/SECURITY.md +0 -39
  167. package/dist/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  168. package/dist/node_modules/typescript/bin/tsc +0 -2
  169. package/dist/node_modules/typescript/bin/tsserver +0 -2
  170. package/dist/node_modules/typescript/lib/_tsc.js +0 -134465
  171. package/dist/node_modules/typescript/lib/_tsserver.js +0 -659
  172. package/dist/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  173. package/dist/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2129
  174. package/dist/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2125
  175. package/dist/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2129
  176. package/dist/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2129
  177. package/dist/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2125
  178. package/dist/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2129
  179. package/dist/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2129
  180. package/dist/node_modules/typescript/lib/lib.d.ts +0 -20
  181. package/dist/node_modules/typescript/lib/lib.decorators.d.ts +0 -382
  182. package/dist/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -20
  183. package/dist/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -18
  184. package/dist/node_modules/typescript/lib/lib.dom.d.ts +0 -45125
  185. package/dist/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -18
  186. package/dist/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -150
  187. package/dist/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -595
  188. package/dist/node_modules/typescript/lib/lib.es2015.d.ts +0 -26
  189. package/dist/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -75
  190. package/dist/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -603
  191. package/dist/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -79
  192. package/dist/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -126
  193. package/dist/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -142
  194. package/dist/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -44
  195. package/dist/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  196. package/dist/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -114
  197. package/dist/node_modules/typescript/lib/lib.es2016.d.ts +0 -19
  198. package/dist/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -21
  199. package/dist/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -29
  200. package/dist/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -19
  201. package/dist/node_modules/typescript/lib/lib.es2017.d.ts +0 -24
  202. package/dist/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -29
  203. package/dist/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -21
  204. package/dist/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -42
  205. package/dist/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -47
  206. package/dist/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -133
  207. package/dist/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -43
  208. package/dist/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -51
  209. package/dist/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  210. package/dist/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -51
  211. package/dist/node_modules/typescript/lib/lib.es2018.d.ts +0 -22
  212. package/dist/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -22
  213. package/dist/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -81
  214. package/dist/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -28
  215. package/dist/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -35
  216. package/dist/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -77
  217. package/dist/node_modules/typescript/lib/lib.es2019.d.ts +0 -22
  218. package/dist/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -22
  219. package/dist/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -21
  220. package/dist/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -31
  221. package/dist/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -35
  222. package/dist/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -22
  223. package/dist/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -763
  224. package/dist/node_modules/typescript/lib/lib.es2020.d.ts +0 -25
  225. package/dist/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -40
  226. package/dist/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -22
  227. package/dist/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -472
  228. package/dist/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -26
  229. package/dist/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -45
  230. package/dist/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  231. package/dist/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  232. package/dist/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  233. package/dist/node_modules/typescript/lib/lib.es2021.d.ts +0 -21
  234. package/dist/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -22
  235. package/dist/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -164
  236. package/dist/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -46
  237. package/dist/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -31
  238. package/dist/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  239. package/dist/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -119
  240. package/dist/node_modules/typescript/lib/lib.es2022.d.ts +0 -23
  241. package/dist/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  242. package/dist/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -22
  243. package/dist/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -143
  244. package/dist/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -24
  245. package/dist/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -37
  246. package/dist/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -23
  247. package/dist/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -922
  248. package/dist/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -19
  249. package/dist/node_modules/typescript/lib/lib.es2023.d.ts +0 -20
  250. package/dist/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -22
  251. package/dist/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -62
  252. package/dist/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -63
  253. package/dist/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -27
  254. package/dist/node_modules/typescript/lib/lib.es2024.d.ts +0 -24
  255. package/dist/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -22
  256. package/dist/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -27
  257. package/dist/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -33
  258. package/dist/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -23
  259. package/dist/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -66
  260. package/dist/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -27
  261. package/dist/node_modules/typescript/lib/lib.es2025.collection.d.ts +0 -94
  262. package/dist/node_modules/typescript/lib/lib.es2025.d.ts +0 -23
  263. package/dist/node_modules/typescript/lib/lib.es2025.float16.d.ts +0 -443
  264. package/dist/node_modules/typescript/lib/lib.es2025.full.d.ts +0 -22
  265. package/dist/node_modules/typescript/lib/lib.es2025.intl.d.ts +0 -200
  266. package/dist/node_modules/typescript/lib/lib.es2025.iterator.d.ts +0 -146
  267. package/dist/node_modules/typescript/lib/lib.es2025.promise.d.ts +0 -32
  268. package/dist/node_modules/typescript/lib/lib.es2025.regexp.d.ts +0 -30
  269. package/dist/node_modules/typescript/lib/lib.es5.d.ts +0 -4599
  270. package/dist/node_modules/typescript/lib/lib.es6.d.ts +0 -21
  271. package/dist/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -33
  272. package/dist/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -47
  273. package/dist/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
  274. package/dist/node_modules/typescript/lib/lib.esnext.date.d.ts +0 -21
  275. package/dist/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -26
  276. package/dist/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -191
  277. package/dist/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -22
  278. package/dist/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -22
  279. package/dist/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -107
  280. package/dist/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -23
  281. package/dist/node_modules/typescript/lib/lib.esnext.temporal.d.ts +0 -485
  282. package/dist/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +0 -90
  283. package/dist/node_modules/typescript/lib/lib.scripthost.d.ts +0 -320
  284. package/dist/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -18
  285. package/dist/node_modules/typescript/lib/lib.webworker.d.ts +0 -15606
  286. package/dist/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -21
  287. package/dist/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -18
  288. package/dist/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2129
  289. package/dist/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2129
  290. package/dist/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2125
  291. package/dist/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2129
  292. package/dist/node_modules/typescript/lib/tsc.js +0 -8
  293. package/dist/node_modules/typescript/lib/tsserver.js +0 -8
  294. package/dist/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  295. package/dist/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  296. package/dist/node_modules/typescript/lib/typesMap.json +0 -497
  297. package/dist/node_modules/typescript/lib/typescript.d.ts +0 -11448
  298. package/dist/node_modules/typescript/lib/typescript.js +0 -201039
  299. package/dist/node_modules/typescript/lib/typingsInstaller.js +0 -8
  300. package/dist/node_modules/typescript/lib/watchGuard.js +0 -53
  301. package/dist/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2129
  302. package/dist/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2125
  303. package/dist/node_modules/typescript/package.json +0 -118
@@ -1,23 +1,21 @@
1
1
  {
2
2
  "name": "@emulsify/cli",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@emulsify/cli",
9
- "version": "2.0.0",
9
+ "version": "2.1.0",
10
10
  "license": "GPL-2.0",
11
11
  "dependencies": {
12
12
  "@inquirer/prompts": "^8.5.2",
13
- "@types/progress": "^2.0.7",
14
13
  "ajv": "^8.20.0",
15
14
  "ajv-formats": "^3.0.1",
16
15
  "boxen": "^8.0.1",
17
16
  "colorette": "^2.0.20",
18
17
  "commander": "^15.0.0",
19
18
  "consola": "^3.4.2",
20
- "cosmiconfig": "^9.0.1",
21
19
  "fs-extra": "^11.3.5",
22
20
  "progress": "^2.0.3",
23
21
  "simple-git": "^3.36.0"
@@ -34,14 +32,15 @@
34
32
  "@semantic-release/release-notes-generator": "^14.1.1",
35
33
  "@types/fs-extra": "^11.0.4",
36
34
  "@types/jest": "^30.0.0",
37
- "@types/node": "^25.9.1",
35
+ "@types/node": "^25.9.3",
36
+ "@types/progress": "^2.0.7",
38
37
  "husky": "^9.1.7",
39
38
  "jest": "^30.4.2",
40
39
  "json-schema-to-typescript": "^15.0.4",
41
40
  "lint-staged": "^17.0.7",
42
41
  "nodemon": "^3.1.14",
43
- "prettier": "^3.8.3",
44
- "semantic-release": "^25.0.3",
42
+ "prettier": "^3.8.4",
43
+ "semantic-release": "^25.0.5",
45
44
  "ts-jest": "^29.4.11",
46
45
  "ts-node": "^10.9.2",
47
46
  "typescript": "^6.0.3"
@@ -121,6 +120,7 @@
121
120
  "version": "7.29.7",
122
121
  "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
123
122
  "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
123
+ "dev": true,
124
124
  "license": "MIT",
125
125
  "dependencies": {
126
126
  "@babel/helper-validator-identifier": "^7.29.7",
@@ -292,6 +292,7 @@
292
292
  "version": "7.29.7",
293
293
  "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
294
294
  "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
295
+ "dev": true,
295
296
  "license": "MIT",
296
297
  "engines": {
297
298
  "node": ">=6.9.0"
@@ -2282,9 +2283,9 @@
2282
2283
  "license": "ISC"
2283
2284
  },
2284
2285
  "node_modules/@pnpm/npm-conf": {
2285
- "version": "3.0.2",
2286
- "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-3.0.2.tgz",
2287
- "integrity": "sha512-h104Kh26rR8tm+a3Qkc5S4VLYint3FE48as7+/5oCEcKR2idC/pF1G6AhIXKI+eHPJa/3J9i5z0Al47IeGHPkA==",
2286
+ "version": "3.0.3",
2287
+ "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-3.0.3.tgz",
2288
+ "integrity": "sha512-//0sR/cow/s4ICQaYoAobOl4aU8cjU6x/V24V7XkKotb9+O+3zySIYp146vpaobYHnxa4pZX8NkV54Z5AwbDKA==",
2288
2289
  "dev": true,
2289
2290
  "license": "MIT",
2290
2291
  "dependencies": {
@@ -2676,9 +2677,10 @@
2676
2677
  "license": "MIT"
2677
2678
  },
2678
2679
  "node_modules/@types/node": {
2679
- "version": "25.9.2",
2680
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.2.tgz",
2681
- "integrity": "sha512-G05zqtJhcDLb8uslf5EjCxXg9G1KQxiV8OS0R26IC//Eoyitzqe8z37I7cqvnZlrlSfgocQRfSn/AHBZJJFyGw==",
2680
+ "version": "25.9.3",
2681
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz",
2682
+ "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==",
2683
+ "devOptional": true,
2682
2684
  "license": "MIT",
2683
2685
  "dependencies": {
2684
2686
  "undici-types": ">=7.24.0 <7.24.7"
@@ -2695,6 +2697,7 @@
2695
2697
  "version": "2.0.7",
2696
2698
  "resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.7.tgz",
2697
2699
  "integrity": "sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==",
2700
+ "dev": true,
2698
2701
  "license": "MIT",
2699
2702
  "dependencies": {
2700
2703
  "@types/node": "*"
@@ -3075,9 +3078,9 @@
3075
3078
  ]
3076
3079
  },
3077
3080
  "node_modules/acorn": {
3078
- "version": "8.16.0",
3079
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
3080
- "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
3081
+ "version": "8.17.0",
3082
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
3083
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
3081
3084
  "dev": true,
3082
3085
  "license": "MIT",
3083
3086
  "bin": {
@@ -3318,6 +3321,7 @@
3318
3321
  "version": "2.0.1",
3319
3322
  "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
3320
3323
  "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
3324
+ "dev": true,
3321
3325
  "license": "Python-2.0"
3322
3326
  },
3323
3327
  "node_modules/argv-formatter": {
@@ -3474,9 +3478,9 @@
3474
3478
  "license": "MIT"
3475
3479
  },
3476
3480
  "node_modules/baseline-browser-mapping": {
3477
- "version": "2.10.35",
3478
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.35.tgz",
3479
- "integrity": "sha512-honAfLBde0HAFLdNyBEfuuENkF6zR+ozxqxa/2zJKHBe1qzLqyTSeRKpdPEHAP03rlDGyQOPnCSxnVpVqQo9Mg==",
3481
+ "version": "2.10.37",
3482
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.37.tgz",
3483
+ "integrity": "sha512-girxaJ7WZssDOFhzCGZTDKoTa1gk6A1TbflaYTpykLJ4UU9Fz9kx1aREM8JCuoVHbL8X8T/mJg7w2oYSq72Oig==",
3480
3484
  "dev": true,
3481
3485
  "license": "Apache-2.0",
3482
3486
  "bin": {
@@ -3626,6 +3630,7 @@
3626
3630
  "version": "3.1.0",
3627
3631
  "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
3628
3632
  "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
3633
+ "dev": true,
3629
3634
  "license": "MIT",
3630
3635
  "engines": {
3631
3636
  "node": ">=6"
@@ -3644,9 +3649,9 @@
3644
3649
  }
3645
3650
  },
3646
3651
  "node_modules/caniuse-lite": {
3647
- "version": "1.0.30001797",
3648
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001797.tgz",
3649
- "integrity": "sha512-l8xKG+gwAIExZGl9FrF7KUwuOmk6wbEPC9Xoy/RtnWv1XG0Q4LFlagaLpUv3Kiza3W/wm27zy0yWJEieYKAP6w==",
3652
+ "version": "1.0.30001799",
3653
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz",
3654
+ "integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==",
3650
3655
  "dev": true,
3651
3656
  "funding": [
3652
3657
  {
@@ -4298,6 +4303,7 @@
4298
4303
  "version": "9.0.2",
4299
4304
  "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz",
4300
4305
  "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==",
4306
+ "dev": true,
4301
4307
  "license": "MIT",
4302
4308
  "dependencies": {
4303
4309
  "env-paths": "^2.2.1",
@@ -4505,9 +4511,9 @@
4505
4511
  "license": "MIT"
4506
4512
  },
4507
4513
  "node_modules/electron-to-chromium": {
4508
- "version": "1.5.371",
4509
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.371.tgz",
4510
- "integrity": "sha512-e9htk9mAYL6AzmkEhSvVVw7IWGSBJ/Bqdn2eRyRLrj1g6sncN4WbFt5qnILYoCktktr45pyjIrOiRvBThQ808w==",
4514
+ "version": "1.5.372",
4515
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.372.tgz",
4516
+ "integrity": "sha512-M3yhbAlilnwqC8D21t28UCDGHyitShTmmLRU/H+b74P6Ski16Nb9HONYEaVpMj/pwC7BEo5B95FpjODLCWbtfA==",
4511
4517
  "dev": true,
4512
4518
  "license": "ISC"
4513
4519
  },
@@ -4673,6 +4679,7 @@
4673
4679
  "version": "2.2.1",
4674
4680
  "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
4675
4681
  "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
4682
+ "dev": true,
4676
4683
  "license": "MIT",
4677
4684
  "engines": {
4678
4685
  "node": ">=6"
@@ -4695,15 +4702,16 @@
4695
4702
  "version": "1.3.4",
4696
4703
  "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
4697
4704
  "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
4705
+ "dev": true,
4698
4706
  "license": "MIT",
4699
4707
  "dependencies": {
4700
4708
  "is-arrayish": "^0.2.1"
4701
4709
  }
4702
4710
  },
4703
4711
  "node_modules/es-toolkit": {
4704
- "version": "1.47.0",
4705
- "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.47.0.tgz",
4706
- "integrity": "sha512-n1GuoD0WEQZMBk5tttoZSqwgyLx01oqa5XsBmCHwPyNe1S9jPBEmtR2pSgp2kJuWE3ciFZ6yRHmY4pM4C3OOkw==",
4712
+ "version": "1.47.1",
4713
+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.47.1.tgz",
4714
+ "integrity": "sha512-5RAqEwf4P4E17p+W75KLOWw/nOvKZzSQpxM32IpI2KZLaVonjTrZ0Ai5ghMaVI9eKC2p8eoQgcBdkEDgzFk6+Q==",
4707
4715
  "dev": true,
4708
4716
  "license": "MIT",
4709
4717
  "workspaces": [
@@ -5346,6 +5354,7 @@
5346
5354
  "version": "3.3.1",
5347
5355
  "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
5348
5356
  "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
5357
+ "dev": true,
5349
5358
  "license": "MIT",
5350
5359
  "dependencies": {
5351
5360
  "parent-module": "^1.0.0",
@@ -5362,6 +5371,7 @@
5362
5371
  "version": "4.0.0",
5363
5372
  "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
5364
5373
  "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
5374
+ "dev": true,
5365
5375
  "license": "MIT",
5366
5376
  "engines": {
5367
5377
  "node": ">=4"
@@ -5481,6 +5491,7 @@
5481
5491
  "version": "0.2.1",
5482
5492
  "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
5483
5493
  "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
5494
+ "dev": true,
5484
5495
  "license": "MIT"
5485
5496
  },
5486
5497
  "node_modules/is-binary-path": {
@@ -7011,12 +7022,14 @@
7011
7022
  "version": "4.0.0",
7012
7023
  "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
7013
7024
  "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
7025
+ "dev": true,
7014
7026
  "license": "MIT"
7015
7027
  },
7016
7028
  "node_modules/js-yaml": {
7017
7029
  "version": "4.2.0",
7018
7030
  "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
7019
7031
  "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
7032
+ "dev": true,
7020
7033
  "funding": [
7021
7034
  {
7022
7035
  "type": "github",
@@ -7059,6 +7072,7 @@
7059
7072
  "version": "2.3.1",
7060
7073
  "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
7061
7074
  "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
7075
+ "dev": true,
7062
7076
  "license": "MIT"
7063
7077
  },
7064
7078
  "node_modules/json-schema-to-typescript": {
@@ -7137,6 +7151,7 @@
7137
7151
  "version": "1.2.4",
7138
7152
  "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
7139
7153
  "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
7154
+ "dev": true,
7140
7155
  "license": "MIT"
7141
7156
  },
7142
7157
  "node_modules/lint-staged": {
@@ -7868,9 +7883,9 @@
7868
7883
  }
7869
7884
  },
7870
7885
  "node_modules/npm": {
7871
- "version": "11.16.0",
7872
- "resolved": "https://registry.npmjs.org/npm/-/npm-11.16.0.tgz",
7873
- "integrity": "sha512-A74XL8OxmcegZDMWPkWb5bEQppg8HdYwW3rBD2sPoS4UQHVajfaxBkqyzLeJ3wR0kZ+5xoTjItxXaF7eIXUsyw==",
7886
+ "version": "11.17.0",
7887
+ "resolved": "https://registry.npmjs.org/npm/-/npm-11.17.0.tgz",
7888
+ "integrity": "sha512-PurxiZexEHDTE4SSaLI3ZrnbAGiZfeyUcQcxcP5D+hfytNAze/D1IzDuInTn9XVLIbAQUnQuSPXJx02LHjLvQw==",
7874
7889
  "bundleDependencies": [
7875
7890
  "@isaacs/string-locale-compare",
7876
7891
  "@npmcli/arborist",
@@ -7949,8 +7964,8 @@
7949
7964
  ],
7950
7965
  "dependencies": {
7951
7966
  "@isaacs/string-locale-compare": "^1.1.0",
7952
- "@npmcli/arborist": "^9.7.0",
7953
- "@npmcli/config": "^10.10.0",
7967
+ "@npmcli/arborist": "^9.8.0",
7968
+ "@npmcli/config": "^10.11.0",
7954
7969
  "@npmcli/fs": "^5.0.0",
7955
7970
  "@npmcli/map-workspaces": "^5.0.3",
7956
7971
  "@npmcli/metavuln-calculator": "^9.0.3",
@@ -7974,11 +7989,11 @@
7974
7989
  "is-cidr": "^6.0.4",
7975
7990
  "json-parse-even-better-errors": "^5.0.0",
7976
7991
  "libnpmaccess": "^10.0.3",
7977
- "libnpmdiff": "^8.1.9",
7978
- "libnpmexec": "^10.2.9",
7979
- "libnpmfund": "^7.0.23",
7992
+ "libnpmdiff": "^8.1.10",
7993
+ "libnpmexec": "^10.3.0",
7994
+ "libnpmfund": "^7.0.24",
7980
7995
  "libnpmorg": "^8.0.1",
7981
- "libnpmpack": "^9.1.9",
7996
+ "libnpmpack": "^9.1.10",
7982
7997
  "libnpmpublish": "^11.2.0",
7983
7998
  "libnpmsearch": "^9.0.1",
7984
7999
  "libnpmteam": "^8.0.2",
@@ -7988,7 +8003,7 @@
7988
8003
  "minipass": "^7.1.3",
7989
8004
  "minipass-pipeline": "^1.2.4",
7990
8005
  "ms": "^2.1.2",
7991
- "node-gyp": "^12.3.0",
8006
+ "node-gyp": "^12.4.0",
7992
8007
  "nopt": "^9.0.0",
7993
8008
  "npm-audit-report": "^7.0.0",
7994
8009
  "npm-install-checks": "^8.0.0",
@@ -7998,16 +8013,16 @@
7998
8013
  "npm-registry-fetch": "^19.1.1",
7999
8014
  "npm-user-validate": "^4.0.0",
8000
8015
  "p-map": "^7.0.4",
8001
- "pacote": "^21.5.0",
8016
+ "pacote": "^21.5.1",
8002
8017
  "parse-conflict-json": "^5.0.1",
8003
8018
  "proc-log": "^6.1.0",
8004
8019
  "qrcode-terminal": "^0.12.0",
8005
8020
  "read": "^5.0.1",
8006
- "semver": "^7.8.1",
8021
+ "semver": "^7.8.4",
8007
8022
  "spdx-expression-parse": "^4.0.0",
8008
8023
  "ssri": "^13.0.1",
8009
8024
  "supports-color": "^10.2.2",
8010
- "tar": "^7.5.15",
8025
+ "tar": "^7.5.16",
8011
8026
  "text-table": "~0.2.0",
8012
8027
  "tiny-relative-date": "^2.0.2",
8013
8028
  "treeverse": "^3.0.0",
@@ -8238,6 +8253,7 @@
8238
8253
  "version": "1.0.1",
8239
8254
  "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
8240
8255
  "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
8256
+ "dev": true,
8241
8257
  "license": "MIT",
8242
8258
  "dependencies": {
8243
8259
  "callsites": "^3.0.0"
@@ -8250,6 +8266,7 @@
8250
8266
  "version": "5.2.0",
8251
8267
  "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
8252
8268
  "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
8269
+ "dev": true,
8253
8270
  "license": "MIT",
8254
8271
  "dependencies": {
8255
8272
  "@babel/code-frame": "^7.0.0",
@@ -8369,6 +8386,7 @@
8369
8386
  "version": "1.1.1",
8370
8387
  "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
8371
8388
  "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
8389
+ "dev": true,
8372
8390
  "license": "ISC"
8373
8391
  },
8374
8392
  "node_modules/picomatch": {
@@ -10098,7 +10116,7 @@
10098
10116
  "version": "6.0.3",
10099
10117
  "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
10100
10118
  "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
10101
- "devOptional": true,
10119
+ "dev": true,
10102
10120
  "license": "Apache-2.0",
10103
10121
  "bin": {
10104
10122
  "tsc": "bin/tsc",
@@ -10143,6 +10161,7 @@
10143
10161
  "version": "7.24.6",
10144
10162
  "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
10145
10163
  "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
10164
+ "devOptional": true,
10146
10165
  "license": "MIT"
10147
10166
  },
10148
10167
  "node_modules/unicode-emoji-modifier-base": {
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@emulsify/cli",
3
3
  "productName": "Emulsify CLI",
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
5
5
  "description": "Command line interface for Emulsify",
6
6
  "repository": "git@github.com:emulsify-ds/emulsify-cli.git",
7
7
  "author": "Patrick Coffey <patrickcoffey48@gmail.com>",
@@ -48,28 +48,27 @@
48
48
  "@semantic-release/release-notes-generator": "^14.1.1",
49
49
  "@types/fs-extra": "^11.0.4",
50
50
  "@types/jest": "^30.0.0",
51
- "@types/node": "^25.9.1",
51
+ "@types/node": "^25.9.3",
52
+ "@types/progress": "^2.0.7",
52
53
  "husky": "^9.1.7",
53
54
  "jest": "^30.4.2",
54
55
  "json-schema-to-typescript": "^15.0.4",
55
56
  "lint-staged": "^17.0.7",
56
57
  "nodemon": "^3.1.14",
57
- "prettier": "^3.8.3",
58
- "semantic-release": "^25.0.3",
58
+ "prettier": "^3.8.4",
59
+ "semantic-release": "^25.0.5",
59
60
  "ts-jest": "^29.4.11",
60
61
  "ts-node": "^10.9.2",
61
62
  "typescript": "^6.0.3"
62
63
  },
63
64
  "dependencies": {
64
65
  "@inquirer/prompts": "^8.5.2",
65
- "@types/progress": "^2.0.7",
66
66
  "ajv": "^8.20.0",
67
67
  "ajv-formats": "^3.0.1",
68
68
  "boxen": "^8.0.1",
69
69
  "colorette": "^2.0.20",
70
70
  "commander": "^15.0.0",
71
71
  "consola": "^3.4.2",
72
- "cosmiconfig": "^9.0.1",
73
72
  "fs-extra": "^11.3.5",
74
73
  "progress": "^2.0.3",
75
74
  "simple-git": "^3.36.0"
@@ -0,0 +1,80 @@
1
+ {
2
+ "$id": "emulsify.config",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Emulsify Project Configuration",
5
+ "type": "object",
6
+ "properties": {
7
+ "project": {
8
+ "type": "object",
9
+ "description": "Contains information about the Emulsify project.",
10
+ "properties": {
11
+ "platform": {
12
+ "type": "string",
13
+ "description": "Name of the platform Emulsify is being used within."
14
+ },
15
+ "name": {
16
+ "type": "string",
17
+ "description": "Name of the project, such as 'Carmen Sandiego'."
18
+ },
19
+ "machineName": {
20
+ "type": "string",
21
+ "description": "Machine-friendly name of the project, such as 'carmen-sandiego'."
22
+ }
23
+ },
24
+ "additionalProperties": false,
25
+ "required": ["platform", "name", "machineName"]
26
+ },
27
+ "starter": {
28
+ "type": "object",
29
+ "description": "Contains information about the Emulsify starter this project is based upon",
30
+ "properties": {
31
+ "repository": {
32
+ "type": "string",
33
+ "description": "Git repository containing the starter this project is based upon"
34
+ }
35
+ },
36
+ "additionalProperties": false,
37
+ "required": ["repository"]
38
+ },
39
+ "system": {
40
+ "type": "object",
41
+ "description": "Contains information about the Emulsify system this project is utilizing",
42
+ "properties": {
43
+ "repository": {
44
+ "type": "string",
45
+ "description": "Git repository containing the system this project is utilizing"
46
+ },
47
+ "checkout": {
48
+ "type": "string",
49
+ "description": "Commit, branch, or tag of the system this project is utilizing"
50
+ }
51
+ },
52
+ "additionalProperties": false,
53
+ "required": ["repository", "checkout"]
54
+ },
55
+ "variant": {
56
+ "type": "object",
57
+ "description": "Contains information about the Emulsify system this project is utilizing",
58
+ "properties": {
59
+ "platform": {
60
+ "$ref": "variant.json#/definitions/platform"
61
+ },
62
+ "structureImplementations": {
63
+ "$ref": "variant.json#/definitions/structureImplementations"
64
+ },
65
+ "repository": {
66
+ "type": "string",
67
+ "description": "Git repository containing the system this project is utilizing"
68
+ },
69
+ "checkout": {
70
+ "type": "string",
71
+ "description": "Commit, branch, or tag of the system this project is utilizing"
72
+ }
73
+ },
74
+ "additionalProperties": false,
75
+ "required": ["platform", "structureImplementations"]
76
+ }
77
+ },
78
+ "additionalProperties": false,
79
+ "required": ["project", "starter"]
80
+ }
@@ -1,11 +1,17 @@
1
- import { exec } from 'child_process';
1
+ import { execFile } from 'child_process';
2
+ import { dirname, resolve as resolvePath } from 'path';
2
3
  export default async function executeScript(scriptPath) {
4
+ const resolvedScriptPath = resolvePath(scriptPath);
3
5
  return new Promise((resolve, reject) => {
4
- exec(scriptPath, (error, stdout, stderr) => {
6
+ execFile(process.execPath, [resolvedScriptPath], {
7
+ cwd: dirname(resolvedScriptPath),
8
+ encoding: 'utf8',
9
+ }, (error, stdout, stderr) => {
5
10
  if (error) {
6
- return reject(error);
11
+ const output = stderr.trim() || error.message;
12
+ return reject(new Error(`Unable to execute hook script "${resolvedScriptPath}": ${output}`));
7
13
  }
8
- resolve(stdout ? stdout : stderr);
14
+ resolve(stdout || stderr || '');
9
15
  });
10
16
  });
11
17
  }
@@ -1,11 +1,21 @@
1
1
  import { promises as fs } from 'fs';
2
2
  export default async function loadJsonFile(path) {
3
3
  try {
4
- return JSON.parse(await fs.readFile(path, {
4
+ const json = await fs.readFile(path, {
5
5
  encoding: 'utf-8',
6
- }));
6
+ });
7
+ return JSON.parse(json);
7
8
  }
8
- catch {
9
- return undefined;
9
+ catch (error) {
10
+ if (error instanceof SyntaxError) {
11
+ throw new Error(`Invalid JSON in "${path}": ${error.message}`);
12
+ }
13
+ if (error &&
14
+ typeof error === 'object' &&
15
+ 'code' in error &&
16
+ error.code === 'ENOENT') {
17
+ return undefined;
18
+ }
19
+ throw error;
10
20
  }
11
21
  }
@@ -0,0 +1,22 @@
1
+ import { isAbsolute, relative, resolve } from 'path';
2
+ function formatTarget(target) {
3
+ return Array.isArray(target) ? target.join('/') : target;
4
+ }
5
+ export default function safeResolveWithin(rootPath, target, label, { allowRoot = false } = {}) {
6
+ const root = resolve(rootPath);
7
+ const resolvedTarget = Array.isArray(target)
8
+ ? resolve(root, ...target)
9
+ : resolve(root, target);
10
+ const targetLabel = formatTarget(target);
11
+ const relativePath = relative(root, resolvedTarget);
12
+ if (relativePath === '') {
13
+ if (allowRoot) {
14
+ return resolvedTarget;
15
+ }
16
+ throw new Error(`${label} "${targetLabel}" resolves to the expected root "${root}", but a path inside the root is required.`);
17
+ }
18
+ if (relativePath.startsWith('..') || isAbsolute(relativePath)) {
19
+ throw new Error(`${label} "${targetLabel}" resolves to "${resolvedTarget}", which is outside the expected root "${root}".`);
20
+ }
21
+ return resolvedTarget;
22
+ }