@emulsify/cli 1.5.0 → 1.7.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 (344) hide show
  1. package/README.md +89 -1
  2. package/dist/handlers/componentInstall.js +9 -5
  3. package/dist/handlers/componentList.js +1 -1
  4. package/dist/handlers/init.js +1 -1
  5. package/dist/handlers/systemInstall.js +27 -11
  6. package/dist/index.js +13 -21
  7. package/dist/node_modules/.package-lock.json +34 -43
  8. package/dist/node_modules/@types/node/LICENSE +0 -0
  9. package/dist/node_modules/@types/node/README.md +3 -3
  10. package/dist/node_modules/@types/node/assert.d.ts +33 -31
  11. package/dist/node_modules/@types/node/async_hooks.d.ts +29 -21
  12. package/dist/node_modules/@types/node/buffer.d.ts +67 -3
  13. package/dist/node_modules/@types/node/child_process.d.ts +230 -62
  14. package/dist/node_modules/@types/node/cluster.d.ts +62 -27
  15. package/dist/node_modules/@types/node/console.d.ts +6 -6
  16. package/dist/node_modules/@types/node/constants.d.ts +12 -11
  17. package/dist/node_modules/@types/node/crypto.d.ts +338 -240
  18. package/dist/node_modules/@types/node/dgram.d.ts +50 -14
  19. package/dist/node_modules/@types/node/dns.d.ts +183 -54
  20. package/dist/node_modules/@types/node/domain.d.ts +4 -4
  21. package/dist/node_modules/@types/node/events.d.ts +4 -4
  22. package/dist/node_modules/@types/node/fs/promises.d.ts +105 -39
  23. package/dist/node_modules/@types/node/fs.d.ts +440 -126
  24. package/dist/node_modules/@types/node/globals.d.ts +176 -24
  25. package/dist/node_modules/@types/node/globals.global.d.ts +0 -0
  26. package/dist/node_modules/@types/node/http.d.ts +309 -218
  27. package/dist/node_modules/@types/node/http2.d.ts +345 -98
  28. package/dist/node_modules/@types/node/https.d.ts +250 -118
  29. package/dist/node_modules/@types/node/index.d.ts +1 -2
  30. package/dist/node_modules/@types/node/inspector.d.ts +2 -3
  31. package/dist/node_modules/@types/node/module.d.ts +4 -4
  32. package/dist/node_modules/@types/node/net.d.ts +42 -14
  33. package/dist/node_modules/@types/node/os.d.ts +5 -4
  34. package/dist/node_modules/@types/node/package.json +10 -8
  35. package/dist/node_modules/@types/node/path.d.ts +35 -24
  36. package/dist/node_modules/@types/node/perf_hooks.d.ts +5 -5
  37. package/dist/node_modules/@types/node/process.d.ts +62 -23
  38. package/dist/node_modules/@types/node/punycode.d.ts +3 -3
  39. package/dist/node_modules/@types/node/querystring.d.ts +15 -5
  40. package/dist/node_modules/@types/node/readline.d.ts +16 -6
  41. package/dist/node_modules/@types/node/repl.d.ts +13 -7
  42. package/dist/node_modules/@types/node/stream.d.ts +190 -31
  43. package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
  44. package/dist/node_modules/@types/node/timers.d.ts +6 -6
  45. package/dist/node_modules/@types/node/tls.d.ts +113 -30
  46. package/dist/node_modules/@types/node/trace_events.d.ts +3 -3
  47. package/dist/node_modules/@types/node/ts4.8/assert.d.ts +130 -0
  48. package/dist/node_modules/@types/node/ts4.8/async_hooks.d.ts +237 -0
  49. package/dist/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
  50. package/dist/node_modules/@types/node/ts4.8/child_process.d.ts +682 -0
  51. package/dist/node_modules/@types/node/ts4.8/cluster.d.ts +300 -0
  52. package/dist/node_modules/@types/node/ts4.8/console.d.ts +142 -0
  53. package/dist/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
  54. package/dist/node_modules/@types/node/ts4.8/crypto.d.ts +1287 -0
  55. package/dist/node_modules/@types/node/ts4.8/dgram.d.ts +180 -0
  56. package/dist/node_modules/@types/node/ts4.8/dns.d.ts +516 -0
  57. package/dist/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
  58. package/dist/node_modules/@types/node/ts4.8/events.d.ts +82 -0
  59. package/dist/node_modules/@types/node/ts4.8/fs/promises.d.ts +634 -0
  60. package/dist/node_modules/@types/node/ts4.8/fs.d.ts +2587 -0
  61. package/dist/node_modules/@types/node/ts4.8/globals.d.ts +763 -0
  62. package/dist/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  63. package/dist/node_modules/@types/node/ts4.8/http.d.ts +580 -0
  64. package/dist/node_modules/@types/node/ts4.8/http2.d.ts +1208 -0
  65. package/dist/node_modules/@types/node/ts4.8/https.d.ts +274 -0
  66. package/dist/node_modules/@types/node/ts4.8/index.d.ts +53 -0
  67. package/dist/node_modules/@types/node/ts4.8/inspector.d.ts +3050 -0
  68. package/dist/node_modules/@types/node/ts4.8/module.d.ts +56 -0
  69. package/dist/node_modules/@types/node/ts4.8/net.d.ts +324 -0
  70. package/dist/node_modules/@types/node/ts4.8/os.d.ts +243 -0
  71. package/dist/node_modules/@types/node/ts4.8/path.d.ts +168 -0
  72. package/dist/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
  73. package/dist/node_modules/@types/node/ts4.8/process.d.ts +452 -0
  74. package/dist/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
  75. package/dist/node_modules/@types/node/ts4.8/querystring.d.ts +41 -0
  76. package/dist/node_modules/@types/node/ts4.8/readline.d.ts +184 -0
  77. package/dist/node_modules/@types/node/ts4.8/repl.d.ts +404 -0
  78. package/dist/node_modules/@types/node/ts4.8/stream.d.ts +518 -0
  79. package/dist/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
  80. package/dist/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
  81. package/dist/node_modules/@types/node/ts4.8/tls.d.ts +866 -0
  82. package/dist/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
  83. package/dist/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
  84. package/dist/node_modules/@types/node/ts4.8/url.d.ts +187 -0
  85. package/dist/node_modules/@types/node/ts4.8/util.d.ts +278 -0
  86. package/dist/node_modules/@types/node/ts4.8/v8.d.ts +189 -0
  87. package/dist/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
  88. package/dist/node_modules/@types/node/ts4.8/wasi.d.ts +88 -0
  89. package/dist/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
  90. package/dist/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
  91. package/dist/node_modules/@types/node/tty.d.ts +4 -4
  92. package/dist/node_modules/@types/node/url.d.ts +75 -7
  93. package/dist/node_modules/@types/node/util.d.ts +103 -41
  94. package/dist/node_modules/@types/node/v8.d.ts +4 -5
  95. package/dist/node_modules/@types/node/vm.d.ts +7 -7
  96. package/dist/node_modules/@types/node/wasi.d.ts +3 -4
  97. package/dist/node_modules/@types/node/worker_threads.d.ts +8 -8
  98. package/dist/node_modules/@types/node/zlib.d.ts +13 -13
  99. package/dist/node_modules/@types/progress/LICENSE +0 -0
  100. package/dist/node_modules/@types/progress/README.md +2 -3
  101. package/dist/node_modules/@types/progress/index.d.ts +0 -5
  102. package/dist/node_modules/@types/progress/package.json +6 -6
  103. package/dist/node_modules/ajv-formats/node_modules/ajv/README.md +20 -5
  104. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.d.ts +3 -1
  105. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js +7 -1
  106. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2019.js.map +1 -1
  107. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.d.ts +3 -1
  108. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js +7 -1
  109. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/2020.js.map +1 -1
  110. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.d.ts +3 -1
  111. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js +7 -1
  112. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/ajv.js.map +1 -1
  113. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.d.ts +6 -5
  114. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js +9 -1
  115. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
  116. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.d.ts +2 -2
  117. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
  118. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.d.ts +5 -5
  119. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js +1 -1
  120. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
  121. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js +1 -1
  122. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/errors.js.map +1 -1
  123. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.d.ts +1 -1
  124. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js +9 -10
  125. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/index.js.map +1 -1
  126. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js +1 -1
  127. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -1
  128. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js +19 -8
  129. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -1
  130. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/jtd/types.d.ts +2 -2
  131. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js +6 -6
  132. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/names.js.map +1 -1
  133. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.d.ts +2 -1
  134. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js +3 -3
  135. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
  136. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.d.ts +6 -6
  137. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js +16 -14
  138. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/resolve.js.map +1 -1
  139. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/rules.d.ts +2 -2
  140. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.d.ts +2 -2
  141. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js +1 -1
  142. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/util.js.map +1 -1
  143. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
  144. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.d.ts +1 -1
  145. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js +2 -1
  146. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
  147. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
  148. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js +12 -2
  149. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
  150. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
  151. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.d.ts +1 -1
  152. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
  153. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.d.ts +7 -5
  154. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js +22 -18
  155. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/core.js.map +1 -1
  156. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.d.ts +4 -2
  157. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js +7 -1
  158. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/jtd.js.map +1 -1
  159. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/equal.d.ts +1 -1
  160. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js +2 -1
  161. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/parseJson.js.map +1 -1
  162. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/re2.d.ts +1 -1
  163. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
  164. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  165. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js +6 -0
  166. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  167. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js +8 -1
  168. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/standalone/index.js.map +1 -1
  169. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/index.d.ts +25 -19
  170. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/json-schema.d.ts +15 -14
  171. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/types/jtd-schema.d.ts +31 -25
  172. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +1 -1
  173. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
  174. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +1 -1
  175. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
  176. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +1 -1
  177. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +1 -1
  178. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
  179. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +2 -2
  180. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
  181. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +1 -1
  182. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
  183. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +1 -1
  184. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
  185. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +1 -1
  186. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +1 -1
  187. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
  188. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +1 -1
  189. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
  190. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
  191. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
  192. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +1 -1
  193. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
  194. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js +1 -1
  195. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
  196. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +1 -1
  197. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js +10 -3
  198. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
  199. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +1 -1
  200. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -1
  201. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
  202. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -1
  203. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/errors.d.ts +1 -1
  204. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.d.ts +1 -1
  205. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
  206. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +1 -1
  207. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -1
  208. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +1 -1
  209. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +1 -1
  210. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -1
  211. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +1 -1
  212. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +1 -1
  213. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -1
  214. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -1
  215. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +3 -3
  216. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js +8 -5
  217. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -1
  218. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js +3 -2
  219. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -1
  220. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +3 -3
  221. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -1
  222. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +1 -1
  223. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js +10 -7
  224. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -1
  225. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +1 -1
  226. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -1
  227. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +1 -1
  228. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -1
  229. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.d.ts +1 -1
  230. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
  231. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +1 -1
  232. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +1 -1
  233. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js +4 -3
  234. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
  235. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.d.ts +2 -2
  236. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -1
  237. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +3 -3
  238. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +1 -1
  239. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
  240. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +1 -1
  241. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +1 -1
  242. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.d.ts +1 -1
  243. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
  244. package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +1 -1
  245. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2019.ts +4 -1
  246. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/2020.ts +4 -1
  247. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/ajv.ts +4 -1
  248. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/code.ts +8 -0
  249. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/codegen/index.ts +25 -5
  250. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/index.ts +8 -8
  251. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/parse.ts +1 -1
  252. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/serialize.ts +21 -15
  253. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/jtd/types.ts +1 -1
  254. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/ref_error.ts +4 -3
  255. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/resolve.ts +18 -15
  256. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/rules.ts +1 -1
  257. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/dataType.ts +1 -0
  258. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/compile/validate/index.ts +11 -2
  259. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/core.ts +13 -2
  260. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/jtd.ts +4 -1
  261. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/parseJson.ts +2 -1
  262. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/runtime/uri.ts +6 -0
  263. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/standalone/index.ts +9 -2
  264. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/index.ts +14 -3
  265. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/json-schema.ts +2 -4
  266. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/types/jtd-schema.ts +25 -16
  267. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/core/ref.ts +1 -1
  268. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/discriminator/index.ts +11 -3
  269. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/properties.ts +13 -6
  270. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/ref.ts +3 -1
  271. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/jtd/values.ts +10 -7
  272. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/enum.ts +5 -3
  273. package/dist/node_modules/ajv-formats/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +1 -1
  274. package/dist/node_modules/ajv-formats/node_modules/ajv/package.json +40 -38
  275. package/dist/node_modules/commander/Readme.md +407 -169
  276. package/dist/node_modules/commander/esm.mjs +13 -1
  277. package/dist/node_modules/commander/index.js +13 -2206
  278. package/dist/node_modules/commander/lib/argument.js +145 -0
  279. package/dist/node_modules/commander/lib/command.js +2299 -0
  280. package/dist/node_modules/commander/lib/error.js +43 -0
  281. package/dist/node_modules/commander/lib/help.js +457 -0
  282. package/dist/node_modules/commander/lib/option.js +327 -0
  283. package/dist/node_modules/commander/lib/suggestSimilar.js +100 -0
  284. package/dist/node_modules/commander/package.json +46 -34
  285. package/dist/node_modules/commander/typings/esm.d.mts +3 -0
  286. package/dist/node_modules/commander/typings/index.d.ts +889 -617
  287. package/dist/node_modules/debug/README.md +3 -0
  288. package/dist/node_modules/debug/package.json +1 -1
  289. package/dist/node_modules/debug/src/common.js +1 -1
  290. package/dist/node_modules/fs-extra/README.md +3 -5
  291. package/dist/node_modules/fs-extra/lib/{copy-sync → copy}/copy-sync.js +11 -8
  292. package/dist/node_modules/fs-extra/lib/copy/copy.js +12 -9
  293. package/dist/node_modules/fs-extra/lib/copy/index.js +2 -1
  294. package/dist/node_modules/fs-extra/lib/empty/index.js +10 -19
  295. package/dist/node_modules/fs-extra/lib/ensure/index.js +15 -15
  296. package/dist/node_modules/fs-extra/lib/ensure/link.js +10 -7
  297. package/dist/node_modules/fs-extra/lib/ensure/symlink.js +34 -15
  298. package/dist/node_modules/fs-extra/lib/fs/index.js +8 -10
  299. package/dist/node_modules/fs-extra/lib/index.js +1 -12
  300. package/dist/node_modules/fs-extra/lib/json/output-json-sync.js +1 -1
  301. package/dist/node_modules/fs-extra/lib/json/output-json.js +1 -1
  302. package/dist/node_modules/fs-extra/lib/mkdirs/make-dir.js +16 -130
  303. package/dist/node_modules/fs-extra/lib/mkdirs/utils.js +21 -0
  304. package/dist/node_modules/fs-extra/lib/move/index.js +2 -1
  305. package/dist/node_modules/fs-extra/lib/{move-sync → move}/move-sync.js +12 -5
  306. package/dist/node_modules/fs-extra/lib/move/move.js +14 -4
  307. package/dist/node_modules/fs-extra/lib/remove/index.js +15 -2
  308. package/dist/node_modules/fs-extra/lib/util/stat.js +60 -45
  309. package/dist/node_modules/fs-extra/package.json +7 -10
  310. package/dist/node_modules/graceful-fs/LICENSE +1 -1
  311. package/dist/node_modules/graceful-fs/graceful-fs.js +23 -4
  312. package/dist/node_modules/graceful-fs/package.json +6 -3
  313. package/dist/node_modules/graceful-fs/polyfills.js +39 -30
  314. package/dist/node_modules/punycode/README.md +29 -3
  315. package/dist/node_modules/punycode/package.json +7 -7
  316. package/dist/node_modules/punycode/punycode.es6.js +25 -22
  317. package/dist/node_modules/punycode/punycode.js +25 -22
  318. package/dist/node_modules/ramda/dist/ramda.js +4 -4
  319. package/dist/node_modules/ramda/dist/ramda.min.js +1 -1
  320. package/dist/node_modules/ramda/es/trim.js +1 -1
  321. package/dist/node_modules/ramda/package.json +1 -1
  322. package/dist/node_modules/ramda/src/trim.js +1 -1
  323. package/dist/node_modules/universalify/README.md +1 -1
  324. package/dist/node_modules/universalify/index.js +6 -6
  325. package/dist/node_modules/universalify/package.json +2 -2
  326. package/dist/package.json +5 -6
  327. package/dist/schemas/variant.json +28 -5
  328. package/dist/util/cache/cloneIntoCache.js +1 -1
  329. package/dist/util/cache/getCachedItemPath.js +4 -2
  330. package/dist/util/cache/getJsonFromCachedFile.js +2 -2
  331. package/dist/util/getGitRepoNameFromUrl.js +1 -1
  332. package/dist/util/getRepositoryLatestTag.js +16 -0
  333. package/dist/util/platform/getInitSuccessMessageForPlatform.js +4 -3
  334. package/dist/util/project/buildComponentDependencyList.js +20 -0
  335. package/package.json +6 -7
  336. package/dist/node_modules/at-least-node/LICENSE +0 -6
  337. package/dist/node_modules/at-least-node/README.md +0 -25
  338. package/dist/node_modules/at-least-node/index.js +0 -5
  339. package/dist/node_modules/at-least-node/package.json +0 -32
  340. package/dist/node_modules/commander/CHANGELOG.md +0 -440
  341. package/dist/node_modules/fs-extra/CHANGELOG.md +0 -902
  342. package/dist/node_modules/fs-extra/lib/copy-sync/index.js +0 -5
  343. package/dist/node_modules/fs-extra/lib/move-sync/index.js +0 -5
  344. /package/dist/node_modules/fs-extra/lib/{output → output-file}/index.js +0 -0
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Emulsify Design System](https://user-images.githubusercontent.com/409903/170579210-327abcdd-2c98-4922-87bb-36446a4cc013.svg)](https://www.emulsify.info/)
2
+ ![npm](https://img.shields.io/npm/dm/@emulsify/cli?style=flat-square)
1
3
  # emulsify-cli
2
4
 
3
5
  Command line interface for Emulsify.
@@ -12,7 +14,7 @@ npm install -g @emulsify/cli
12
14
 
13
15
  ## Usage
14
16
 
15
- For more information on how to use emulsify-cli, please see the [usage documentation](USAGE.md).
17
+ For more information on how to use emulsify-cli, please see the [usage documentation](https://www.emulsify.info/docs/supporting-projects/emulsify-cli/emulsify-cli-usage).
16
18
 
17
19
  ## Development
18
20
 
@@ -48,3 +50,89 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
48
50
  ## Deployment
49
51
 
50
52
  This project is automatically built and deployed to NPM via a GitHub Actions workflow. In order to deploy changes merged into the `develop` branch, simply merge `develop` into `main`, and call it a day.
53
+
54
+ ### Contributors
55
+
56
+ <table>
57
+ <tr>
58
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
59
+ <a href=https://github.com/patrickocoffeyo>
60
+ <img src=https://avatars.githubusercontent.com/u/1107871?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Patrick Coffey/>
61
+ <br />
62
+ <sub style="font-size:14px"><b>Patrick Coffey</b></sub>
63
+ </a>
64
+ </td>
65
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
66
+ <a href=https://github.com/ModulesUnraveled>
67
+ <img src=https://avatars.githubusercontent.com/u/1663810?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Brian Lewis/>
68
+ <br />
69
+ <sub style="font-size:14px"><b>Brian Lewis</b></sub>
70
+ </a>
71
+ </td>
72
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
73
+ <a href=https://github.com/JeffTomlinson>
74
+ <img src=https://avatars.githubusercontent.com/u/2602202?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Jeff Tomlinson/>
75
+ <br />
76
+ <sub style="font-size:14px"><b>Jeff Tomlinson</b></sub>
77
+ </a>
78
+ </td>
79
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
80
+ <a href=https://github.com/callinmullaney>
81
+ <img src=https://avatars.githubusercontent.com/u/369018?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Callin Mullaney/>
82
+ <br />
83
+ <sub style="font-size:14px"><b>Callin Mullaney</b></sub>
84
+ </a>
85
+ </td>
86
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
87
+ <a href=https://github.com/amazingrando>
88
+ <img src=https://avatars.githubusercontent.com/u/409903?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Randy Oest/>
89
+ <br />
90
+ <sub style="font-size:14px"><b>Randy Oest</b></sub>
91
+ </a>
92
+ </td>
93
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
94
+ <a href=https://github.com/mikeethedude>
95
+ <img src=https://avatars.githubusercontent.com/u/15275301?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=mikeethedude/>
96
+ <br />
97
+ <sub style="font-size:14px"><b>mikeethedude</b></sub>
98
+ </a>
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
103
+ <a href=https://github.com/fertant>
104
+ <img src=https://avatars.githubusercontent.com/u/3853492?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Andrii Shutov/>
105
+ <br />
106
+ <sub style="font-size:14px"><b>Andrii Shutov</b></sub>
107
+ </a>
108
+ </td>
109
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
110
+ <a href=https://github.com/ryanhagerty>
111
+ <img src=https://avatars.githubusercontent.com/u/8405274?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Ryan Hagerty/>
112
+ <br />
113
+ <sub style="font-size:14px"><b>Ryan Hagerty</b></sub>
114
+ </a>
115
+ </td>
116
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
117
+ <a href=https://github.com/nJim>
118
+ <img src=https://avatars.githubusercontent.com/u/9594124?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Jim Vomero/>
119
+ <br />
120
+ <sub style="font-size:14px"><b>Jim Vomero</b></sub>
121
+ </a>
122
+ </td>
123
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
124
+ <a href=https://github.com/calebtr-metro>
125
+ <img src=https://avatars.githubusercontent.com/u/43386533?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Caleb Tucker-Raymond/>
126
+ <br />
127
+ <sub style="font-size:14px"><b>Caleb Tucker-Raymond</b></sub>
128
+ </a>
129
+ </td>
130
+ <td align="center" style="word-wrap: break-word; width: 150.0; height: 150.0">
131
+ <a href=https://github.com/iryston>
132
+ <img src=https://avatars.githubusercontent.com/u/1258460?v=4 width="100;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Igor R. Plity/>
133
+ <br />
134
+ <sub style="font-size:14px"><b>Igor R. Plity</b></sub>
135
+ </a>
136
+ </td>
137
+ </tr>
138
+ </table>
@@ -9,6 +9,7 @@ const getGitRepoNameFromUrl_1 = __importDefault(require("../util/getGitRepoNameF
9
9
  const getEmulsifyConfig_1 = __importDefault(require("../util/project/getEmulsifyConfig"));
10
10
  const getJsonFromCachedFile_1 = __importDefault(require("../util/cache/getJsonFromCachedFile"));
11
11
  const installComponentFromCache_1 = __importDefault(require("../util/project/installComponentFromCache"));
12
+ const buildComponentDependencyList_1 = __importDefault(require("../util/project/buildComponentDependencyList"));
12
13
  const cloneIntoCache_1 = __importDefault(require("../util/cache/cloneIntoCache"));
13
14
  const catchLater_1 = __importDefault(require("../util/catchLater"));
14
15
  async function componentInstall(name, { force, all }) {
@@ -30,7 +31,7 @@ async function componentInstall(name, { force, all }) {
30
31
  catch (e) {
31
32
  return (0, log_1.default)('error', 'The system specified in your project configuration is not clone-able, or has an invalid checkout value.', constants_1.EXIT_ERROR);
32
33
  }
33
- const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
34
+ const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], emulsifyConfig.system.checkout, constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
34
35
  if (!systemConf) {
35
36
  return (0, log_1.default)('error', `Unable to load configuration for the ${systemName} system. Please make sure the system is installed.`, constants_1.EXIT_ERROR);
36
37
  }
@@ -50,10 +51,13 @@ async function componentInstall(name, { force, all }) {
50
51
  ]));
51
52
  }
52
53
  else {
53
- components.push([
54
- name,
55
- (0, catchLater_1.default)((0, installComponentFromCache_1.default)(systemConf, variantConf, name, force)),
56
- ]);
54
+ const componentsWithDependencies = (0, buildComponentDependencyList_1.default)(variantConf.components, name);
55
+ componentsWithDependencies.forEach((componentName) => {
56
+ components.push([
57
+ componentName,
58
+ (0, catchLater_1.default)((0, installComponentFromCache_1.default)(systemConf, variantConf, componentName, force)),
59
+ ]);
60
+ });
57
61
  }
58
62
  for (const [cname, promise] of components) {
59
63
  try {
@@ -29,7 +29,7 @@ async function componentList() {
29
29
  console.log(e);
30
30
  return (0, log_1.default)('error', 'The system specified in your project configuration is not clone-able, or has an invalid checkout value.', constants_1.EXIT_ERROR);
31
31
  }
32
- const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
32
+ const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [systemName], emulsifyConfig.system.checkout, constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
33
33
  if (!systemConf) {
34
34
  return (0, log_1.default)('error', `Unable to load configuration for the ${systemName} system. Please make sure the system is installed.`, constants_1.EXIT_ERROR);
35
35
  }
@@ -75,7 +75,7 @@ function init(progress) {
75
75
  message: 'init script executed, initialization complete',
76
76
  });
77
77
  (0, log_1.default)('success', `Created an Emulsify project in ${target}.`);
78
- (0, getInitSuccessMessageForPlatform_1.default)(platformName).map(({ method, message }) => (0, log_1.default)(method, message));
78
+ (0, getInitSuccessMessageForPlatform_1.default)(platformName, target).map(({ method, message }) => (0, log_1.default)(method, message));
79
79
  }
80
80
  catch (e) {
81
81
  (0, log_1.default)('error', `Unable to pull down ${repository}: ${String(e)}`, constants_2.EXIT_ERROR);
@@ -15,6 +15,7 @@ const getAvailableSystems_1 = __importDefault(require("../util/system/getAvailab
15
15
  const getGitRepoNameFromUrl_1 = __importDefault(require("../util/getGitRepoNameFromUrl"));
16
16
  const cloneIntoCache_1 = __importDefault(require("../util/cache/cloneIntoCache"));
17
17
  const getCachedItemCheckout_1 = __importDefault(require("../util/cache/getCachedItemCheckout"));
18
+ const getRepositoryLatestTag_1 = __importDefault(require("../util/getRepositoryLatestTag"));
18
19
  const installComponentFromCache_1 = __importDefault(require("../util/project/installComponentFromCache"));
19
20
  const installGeneralAssetsFromCache_1 = __importDefault(require("../util/project/installGeneralAssetsFromCache"));
20
21
  const getJsonFromCachedFile_1 = __importDefault(require("../util/cache/getJsonFromCachedFile"));
@@ -26,13 +27,23 @@ const system_json_1 = __importDefault(require("../schemas/system.json"));
26
27
  const variant_json_1 = __importDefault(require("../schemas/variant.json"));
27
28
  async function getSystemRepoInfo(name, { repository, checkout }) {
28
29
  if (repository && checkout) {
29
- const repoName = (0, getGitRepoNameFromUrl_1.default)(repository);
30
- if (repoName) {
31
- return {
32
- name: repoName,
33
- repository,
34
- checkout,
35
- };
30
+ try {
31
+ const repoName = (0, getGitRepoNameFromUrl_1.default)(repository);
32
+ if (repoName) {
33
+ return {
34
+ name: repoName,
35
+ repository,
36
+ checkout,
37
+ };
38
+ }
39
+ }
40
+ catch (error) {
41
+ if (error instanceof Error) {
42
+ return (0, log_1.default)('error', error.message, constants_1.EXIT_ERROR);
43
+ }
44
+ else {
45
+ throw error;
46
+ }
36
47
  }
37
48
  }
38
49
  if (name) {
@@ -60,11 +71,15 @@ async function systemInstall(name, options) {
60
71
  if (!repo) {
61
72
  return (0, log_1.default)('error', 'Unable to download specified system. You must either specify a valid name of an out-of-the-box system using the --name flag, or specify a valid repository and branch/tag/commit using the --repository and --checkout flags.', constants_1.EXIT_ERROR);
62
73
  }
74
+ let checkout = repo.checkout;
75
+ if (!checkout) {
76
+ checkout = await (0, getRepositoryLatestTag_1.default)(repo.repository);
77
+ }
63
78
  await (0, cloneIntoCache_1.default)('systems', [repo.name])({
64
79
  repository: repo.repository,
65
- checkout: repo.checkout,
80
+ checkout: checkout,
66
81
  });
67
- const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [repo.name], constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
82
+ const systemConf = await (0, getJsonFromCachedFile_1.default)('systems', [repo.name], repo.checkout, constants_1.EMULSIFY_SYSTEM_CONFIG_FILE);
68
83
  if (!systemConf) {
69
84
  return (0, log_1.default)('error', `The system you attempted to install (${repo.name}) is invalid, as it does not contain a valid configuration file.`, constants_1.EXIT_ERROR);
70
85
  }
@@ -109,8 +124,9 @@ async function systemInstall(name, options) {
109
124
  return (0, log_1.default)('error', 'Unable to update your Emulsify project configuration.', constants_1.EXIT_ERROR);
110
125
  }
111
126
  try {
112
- const requiredComponents = variantConf.components.filter(({ required }) => required === true);
113
- for (const component of requiredComponents) {
127
+ const componentsList = variantConf.components;
128
+ const requiredComponents = componentsList.filter(({ required }) => required === true);
129
+ for (const component of options.all ? componentsList : requiredComponents) {
114
130
  await (0, installComponentFromCache_1.default)(systemConf, variantConf, component.name, true);
115
131
  }
116
132
  await (0, installGeneralAssetsFromCache_1.default)(systemConf, variantConf);
package/dist/index.js CHANGED
@@ -12,45 +12,37 @@ const systemInstall_1 = __importDefault(require("./handlers/systemInstall"));
12
12
  const componentList_1 = __importDefault(require("./handlers/componentList"));
13
13
  const componentInstall_1 = __importDefault(require("./handlers/componentInstall"));
14
14
  commander_1.program
15
- .command('init <name> [path]')
15
+ .enablePositionalOptions()
16
+ .option('-c --checkout <commit/branch/tag>', 'Commit, branch or tag of the base repository that should be checked out');
17
+ commander_1.program
18
+ .command('init <name> [path]', 'Initialize an Emulsify project', {
19
+ isDefault: true,
20
+ })
16
21
  .option('-m --machineName <machineName>', 'Machine-friendly name of the project you are initializing. If not provided, this will be automatically generated.')
17
22
  .option('-s --starter <repository>', 'Git repository of the Emulsify starter you would like to use, such as the Emulsify Drupal theme: https://github.com/emulsify-ds/emulsify-drupal.git')
18
23
  .option('-c --checkout <commit/branch/tag>', 'Commit, branch or tag of the base repository that should be checked out')
19
24
  .option('-p --platform <drupal/wordpress/etc>', 'Name of the platform Emulsify is being within. In some cases, Emulsify is able to automatically detect this. If it is not, Emulsify will prompt you to specify.')
20
- .description('Initialize an Emulsify project', {
21
- name: 'Name of the Emulsify project you are initializing. This should be a proper name, such as "Carmen Sandiego".',
22
- path: 'Path to the folder in which you would like to to create your Emulsify project. For example, "./themes" will result in the Emulsify project being placed in ./themes/{name}',
23
- })
24
25
  .action((0, withProgressBar_1.default)(init_1.default));
25
- const system = commander_1.program
26
- .command('system')
27
- .description('Parent command that contains sub-commands pertaining to systems');
26
+ const system = commander_1.program.command('system', 'Parent command that contains sub-commands pertaining to systems');
28
27
  system
29
- .command('list')
28
+ .command('list', 'Lists all of the available systems that Emulsify supports out-of-the-box')
30
29
  .alias('ls')
31
- .description('Lists all of the available systems that Emulsify supports out-of-the-box')
32
30
  .action(systemList_1.default);
33
31
  system
34
- .command('install [name]')
32
+ .command('install [name]', 'Install a system within an Emulsify project. You must specify either the name of an out-of-the-box system (such as compound), or a link to a git repository containing the system you want to install')
35
33
  .option('-r --repository <repository>', 'Git repository containing the system you would like to install')
36
34
  .option('-c --checkout <commit/branch/tag>', 'Commit, branch or tag of the base repository that should be checked out. MUST be provided if you are passing along a repository (-r or --repository). Tags or commit hashes are strongly preferable, because you want to ensure that you are using the same version of the system every time you install components, etc')
37
- .description('Install a system within an Emulsify project. You must specify either the name of an out-of-the-box system (such as compound), or a link to a git repository containing the system you want to install', {
38
- name: 'Name of the out-of-the-box system you would like to install',
39
- })
35
+ .option('-a --all', 'Use this to install all available components within the specified system. Without this flag, only the required system components will be installed.')
40
36
  .action(systemInstall_1.default);
41
- const component = commander_1.program
42
- .command('component')
43
- .description('Parent command that contains sub-commands pertaining to components');
37
+ const component = commander_1.program.command('component', 'Parent command that contains sub-commands pertaining to components');
44
38
  component
45
- .command('list')
39
+ .command('list', 'Lists all of the components that are available for installation within your project based on the system and variant you selected')
46
40
  .alias('ls')
47
- .description('Lists all of the components that are available for installation within your project based on the system and variant you selected')
48
41
  .action(componentList_1.default);
49
42
  component
50
- .command('install [name]')
43
+ .command('install [name]', "Install a component from within the current project's system and variant")
51
44
  .option('-f --force', 'Use this to overwrite a component that is already installed')
52
45
  .option('-a --all', 'Use this to install all available components, rather than specifying a single component to install')
53
46
  .alias('i')
54
- .description("Install a component from within the current project's system and variant")
55
47
  .action(componentInstall_1.default);
56
48
  void commander_1.program.parseAsync(process.argv);
@@ -18,14 +18,14 @@
18
18
  "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw=="
19
19
  },
20
20
  "node_modules/@types/node": {
21
- "version": "14.18.2",
22
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.2.tgz",
23
- "integrity": "sha512-fqtSN5xn/bBzDxMT77C1rJg6CsH/R49E7qsGuvdPJa20HtV5zSTuLJPNfnlyVH3wauKnkHdLggTVkOW/xP9oQg=="
21
+ "version": "14.18.63",
22
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz",
23
+ "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ=="
24
24
  },
25
25
  "node_modules/@types/progress": {
26
- "version": "2.0.5",
27
- "resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.5.tgz",
28
- "integrity": "sha512-ZYYVc/kSMkhH9W/4dNK/sLNra3cnkfT2nJyOAIDY+C2u6w72wa0s1aXAezVtbTsnN8HID1uhXCrLwDE2ZXpplg==",
26
+ "version": "2.0.7",
27
+ "resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.7.tgz",
28
+ "integrity": "sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==",
29
29
  "dependencies": {
30
30
  "@types/node": "*"
31
31
  }
@@ -62,14 +62,14 @@
62
62
  }
63
63
  },
64
64
  "node_modules/ajv-formats/node_modules/ajv": {
65
- "version": "8.8.2",
66
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz",
67
- "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==",
65
+ "version": "8.13.0",
66
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz",
67
+ "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==",
68
68
  "dependencies": {
69
- "fast-deep-equal": "^3.1.1",
69
+ "fast-deep-equal": "^3.1.3",
70
70
  "json-schema-traverse": "^1.0.0",
71
71
  "require-from-string": "^2.0.2",
72
- "uri-js": "^4.2.2"
72
+ "uri-js": "^4.4.1"
73
73
  },
74
74
  "funding": {
75
75
  "type": "github",
@@ -90,14 +90,6 @@
90
90
  "url": "https://github.com/chalk/ansi-styles?sponsor=1"
91
91
  }
92
92
  },
93
- "node_modules/at-least-node": {
94
- "version": "1.0.0",
95
- "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
96
- "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
97
- "engines": {
98
- "node": ">= 4.0.0"
99
- }
100
- },
101
93
  "node_modules/chalk": {
102
94
  "version": "4.1.2",
103
95
  "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
@@ -130,11 +122,11 @@
130
122
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
131
123
  },
132
124
  "node_modules/commander": {
133
- "version": "7.2.0",
134
- "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
135
- "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
125
+ "version": "12.0.0",
126
+ "resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz",
127
+ "integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==",
136
128
  "engines": {
137
- "node": ">= 10"
129
+ "node": ">=18"
138
130
  }
139
131
  },
140
132
  "node_modules/consola": {
@@ -143,9 +135,9 @@
143
135
  "integrity": "sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw=="
144
136
  },
145
137
  "node_modules/debug": {
146
- "version": "4.3.3",
147
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
148
- "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
138
+ "version": "4.3.4",
139
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
140
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
149
141
  "dependencies": {
150
142
  "ms": "2.1.2"
151
143
  },
@@ -164,23 +156,22 @@
164
156
  "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
165
157
  },
166
158
  "node_modules/fs-extra": {
167
- "version": "9.1.0",
168
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
169
- "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
159
+ "version": "10.1.0",
160
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
161
+ "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
170
162
  "dependencies": {
171
- "at-least-node": "^1.0.0",
172
163
  "graceful-fs": "^4.2.0",
173
164
  "jsonfile": "^6.0.1",
174
165
  "universalify": "^2.0.0"
175
166
  },
176
167
  "engines": {
177
- "node": ">=10"
168
+ "node": ">=12"
178
169
  }
179
170
  },
180
171
  "node_modules/graceful-fs": {
181
- "version": "4.2.8",
182
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz",
183
- "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="
172
+ "version": "4.2.11",
173
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
174
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
184
175
  },
185
176
  "node_modules/has-flag": {
186
177
  "version": "4.0.0",
@@ -220,17 +211,17 @@
220
211
  }
221
212
  },
222
213
  "node_modules/punycode": {
223
- "version": "2.1.1",
224
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
225
- "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
214
+ "version": "2.3.1",
215
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
216
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
226
217
  "engines": {
227
218
  "node": ">=6"
228
219
  }
229
220
  },
230
221
  "node_modules/ramda": {
231
- "version": "0.27.1",
232
- "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.1.tgz",
233
- "integrity": "sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw=="
222
+ "version": "0.27.2",
223
+ "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.2.tgz",
224
+ "integrity": "sha512-SbiLPU40JuJniHexQSAgad32hfwd+DRUdwF2PlVuI5RZD0/vahUco7R8vD86J/tcEKKF9vZrUVwgtmGCqlCKyA=="
234
225
  },
235
226
  "node_modules/require-from-string": {
236
227
  "version": "2.0.2",
@@ -266,9 +257,9 @@
266
257
  }
267
258
  },
268
259
  "node_modules/universalify": {
269
- "version": "2.0.0",
270
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
271
- "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
260
+ "version": "2.0.1",
261
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
262
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
272
263
  "engines": {
273
264
  "node": ">= 10.0.0"
274
265
  }
File without changes
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 20 Dec 2021 23:01:23 GMT
11
+ * Last updated: Sat, 23 Sep 2023 20:38:33 GMT
12
12
  * Dependencies: none
13
- * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
13
+ * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
15
15
  # Credits
16
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [Bond](https://github.com/bondz), and [Linus Unnebäck](https://github.com/LinusU).
16
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [Bond](https://github.com/bondz), and [Linus Unnebäck](https://github.com/LinusU).
@@ -1,4 +1,4 @@
1
- declare module 'assert' {
1
+ declare module "assert" {
2
2
  /** An alias of `assert.ok()`. */
3
3
  function assert(value: any, message?: string | Error): asserts value;
4
4
  namespace assert {
@@ -7,7 +7,7 @@ declare module 'assert' {
7
7
  expected: any;
8
8
  operator: string;
9
9
  generatedMessage: boolean;
10
- code: 'ERR_ASSERTION';
10
+ code: "ERR_ASSERTION";
11
11
 
12
12
  constructor(options?: {
13
13
  /** If provided, the error message is set to this value. */
@@ -42,7 +42,7 @@ declare module 'assert' {
42
42
  stack: object;
43
43
  }
44
44
 
45
- type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error;
45
+ type AssertPredicate = RegExp | (new() => object) | ((thrown: any) => boolean) | object | Error;
46
46
 
47
47
  function fail(message?: string | Error): never;
48
48
  /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
@@ -91,38 +91,40 @@ declare module 'assert' {
91
91
  function match(value: string, regExp: RegExp, message?: string | Error): void;
92
92
  function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
93
93
 
94
- const strict: Omit<
95
- typeof assert,
96
- | 'equal'
97
- | 'notEqual'
98
- | 'deepEqual'
99
- | 'notDeepEqual'
100
- | 'ok'
101
- | 'strictEqual'
102
- | 'deepStrictEqual'
103
- | 'ifError'
104
- | 'strict'
105
- > & {
106
- (value: any, message?: string | Error): asserts value;
107
- equal: typeof strictEqual;
108
- notEqual: typeof notStrictEqual;
109
- deepEqual: typeof deepStrictEqual;
110
- notDeepEqual: typeof notDeepStrictEqual;
94
+ const strict:
95
+ & Omit<
96
+ typeof assert,
97
+ | "equal"
98
+ | "notEqual"
99
+ | "deepEqual"
100
+ | "notDeepEqual"
101
+ | "ok"
102
+ | "strictEqual"
103
+ | "deepStrictEqual"
104
+ | "ifError"
105
+ | "strict"
106
+ >
107
+ & {
108
+ (value: any, message?: string | Error): asserts value;
109
+ equal: typeof strictEqual;
110
+ notEqual: typeof notStrictEqual;
111
+ deepEqual: typeof deepStrictEqual;
112
+ notDeepEqual: typeof notDeepStrictEqual;
111
113
 
112
- // Mapped types and assertion functions are incompatible?
113
- // TS2775: Assertions require every name in the call target
114
- // to be declared with an explicit type annotation.
115
- ok: typeof ok;
116
- strictEqual: typeof strictEqual;
117
- deepStrictEqual: typeof deepStrictEqual;
118
- ifError: typeof ifError;
119
- strict: typeof strict;
120
- };
114
+ // Mapped types and assertion functions are incompatible?
115
+ // TS2775: Assertions require every name in the call target
116
+ // to be declared with an explicit type annotation.
117
+ ok: typeof ok;
118
+ strictEqual: typeof strictEqual;
119
+ deepStrictEqual: typeof deepStrictEqual;
120
+ ifError: typeof ifError;
121
+ strict: typeof strict;
122
+ };
121
123
  }
122
124
 
123
125
  export = assert;
124
126
  }
125
- declare module 'node:assert' {
126
- import assert = require('assert');
127
+ declare module "node:assert" {
128
+ import assert = require("assert");
127
129
  export = assert;
128
130
  }