@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
package/README.md CHANGED
@@ -1,13 +1,15 @@
1
1
  [![Emulsify Design System](https://user-images.githubusercontent.com/409903/170579210-327abcdd-2c98-4922-87bb-36446a4cc013.svg)](https://www.emulsify.info/)
2
2
  ![npm](https://img.shields.io/npm/dm/@emulsify/cli?style=flat-square)
3
3
 
4
- # emulsify-cli
4
+ # Emulsify CLI
5
5
 
6
- Command line interface for Emulsify.
6
+ Command line interface for Emulsify projects.
7
7
 
8
8
  ## Installation
9
9
 
10
- This project is deployed to [npm](https://www.npmjs.com/package/@emulsify/cli). In order to use this CLI, install it as a global dependency:
10
+ Emulsify CLI requires Node 24 or newer.
11
+
12
+ Install Emulsify CLI globally from [npm](https://www.npmjs.com/package/@emulsify/cli):
11
13
 
12
14
  ```bash
13
15
  npm install -g @emulsify/cli
@@ -15,11 +17,118 @@ npm install -g @emulsify/cli
15
17
 
16
18
  ## Usage
17
19
 
18
- 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).
20
+ Run `emulsify --help` for the current command list.
21
+
22
+ ### Commands
23
+
24
+ | Command | Alias | Description |
25
+ | ----------------------------------- | ----------------------------- | ----------------------------------------------------------------- |
26
+ | `emulsify init [name] [path]` | | Initializes an Emulsify project from a starter. |
27
+ | `emulsify system list` | `emulsify system ls` | Lists built-in systems available for installation. |
28
+ | `emulsify system install [name]` | | Installs a system in the current Emulsify project. |
29
+ | `emulsify component list` | `emulsify component ls` | Lists components available from the installed system and variant. |
30
+ | `emulsify component install [name]` | `emulsify component i [name]` | Installs one component from the installed system and variant. |
31
+ | `emulsify component create [name]` | `emulsify component c [name]` | Creates a local component in the current Emulsify project. |
32
+
33
+ ### Initialize A Project
34
+
35
+ `emulsify init [name] [path]` clones a starter, writes the project configuration, installs dependencies, runs the starter init hook when present, and removes the starter Git history.
36
+
37
+ Options:
38
+
39
+ - `--machineName <machineName>`: Sets the machine-friendly project name. When omitted, Emulsify CLI derives it from the project name.
40
+ - `--starter <repository>`: Uses a specific starter repository.
41
+ - `--checkout <commit/branch/tag>`: Checks out a specific starter commit, branch, or tag.
42
+ - `--platform <platform>`: Sets the project platform when auto-detection is unavailable or should be overridden. For Drupal projects, pass `drupal`.
43
+ - `--yes`: Accepts default init values for missing options without prompting.
44
+
45
+ Current starter repositories:
46
+
47
+ - `https://github.com/emulsify-ds/emulsify-starter`
48
+ - `https://github.com/emulsify-ds/emulsify-drupal-starter`
49
+
50
+ Examples:
51
+
52
+ ```bash
53
+ emulsify init "My Project" ./projects
54
+ emulsify init "My Theme" ./web/themes/custom --platform drupal --yes
55
+ emulsify init "My Project" ./projects --starter https://github.com/emulsify-ds/emulsify-starter --checkout main
56
+ ```
57
+
58
+ ### Systems
59
+
60
+ `emulsify system list` lists the built-in systems that Emulsify CLI can install. `emulsify system ls` is the same command.
61
+
62
+ ```bash
63
+ emulsify system list
64
+ emulsify system ls
65
+ ```
66
+
67
+ `emulsify system install [name]` installs a system in the current Emulsify project. Use `compound` to install the built-in Compound system. The command installs required components by default.
68
+
69
+ Options:
70
+
71
+ - `--repository <repository>`: Installs a system from a specific Git repository.
72
+ - `--checkout <commit/branch/tag>`: Checks out a specific system commit, branch, or tag. This is required when `--repository` is used.
73
+ - `--all`: Installs all available components from the system instead of only required components.
19
74
 
20
- ### Customizing component templates
75
+ Examples:
76
+
77
+ ```bash
78
+ emulsify system install compound
79
+ emulsify system install compound --all
80
+ emulsify system install --repository https://github.com/example/example-system.git --checkout v1.0.0
81
+ ```
21
82
 
22
- Projects can override the built-in `component create` templates by adding files under `.cli/templates/` at the Emulsify project root. Overrides replace only the known artifacts that the CLI already generates; they do not add extra files or change which files are created.
83
+ ### Components
84
+
85
+ `emulsify component list` lists components available from the installed system and variant. `emulsify component ls` is the same command.
86
+
87
+ ```bash
88
+ emulsify component list
89
+ emulsify component ls
90
+ ```
91
+
92
+ `emulsify component install [name]` installs one component from the installed system and variant. `emulsify component i [name]` is the same command.
93
+
94
+ Options:
95
+
96
+ - `--force`: Replaces an installed component.
97
+ - `--all`: Installs all available components instead of one named component.
98
+ - `--dry-run`: Previews planned component installs, dependencies, destinations, and overwrite behavior without copying or removing files.
99
+
100
+ Examples:
101
+
102
+ ```bash
103
+ emulsify component install button
104
+ emulsify component install card --dry-run
105
+ emulsify component i card --force
106
+ emulsify component install --all
107
+ ```
108
+
109
+ `emulsify component create [name]` creates a local component in the current Emulsify project. `emulsify component c [name]` is the same command.
110
+
111
+ Options:
112
+
113
+ - `--directory <directory>`: Sets the variant structure directory where the component is created.
114
+ - `--format <format>`: Sets the component format. Supported values are `default` and `sdc`.
115
+ - `--yes`: Replaces an existing component without an overwrite confirmation prompt.
116
+ - `--dry-run`: Previews the destination and generated files without writing, removing, or creating files.
117
+
118
+ In non-interactive environments, pass both `--directory` and `--format`.
119
+
120
+ Examples:
121
+
122
+ ```bash
123
+ emulsify component create card --directory base --format default
124
+ emulsify component create card --directory base --format default --dry-run
125
+ emulsify component create teaser --directory molecules --format sdc --yes
126
+ emulsify component create teaser --directory molecules --format sdc --dry-run
127
+ ```
128
+
129
+ ### Component Template Overrides
130
+
131
+ Projects can override the built-in `component create` templates by adding component template override files under `.cli/templates/` at the Emulsify project root. Overrides replace only the known artifacts that Emulsify CLI already generates; they do not add extra files or change which files are created.
23
132
 
24
133
  Default component overrides:
25
134
 
@@ -36,13 +145,23 @@ SDC component overrides:
36
145
  - `.cli/templates/sdc/component.js`
37
146
  - `.cli/templates/sdc/component.stories.js`
38
147
 
39
- Override files can use double-brace tokens. Supported tokens are `{{ filename }}`, `{{ className }}`, `{{ camelName }}`, `{{ snakeName }}`, `{{ humanName }}`, `{{ directory }}`, and `{{ format }}`. Unknown tokens are left unchanged and logged as warnings.
148
+ Override files can use double-brace tokens:
149
+
150
+ - `{{ filename }}`
151
+ - `{{ className }}`
152
+ - `{{ camelName }}`
153
+ - `{{ snakeName }}`
154
+ - `{{ humanName }}`
155
+ - `{{ directory }}`
156
+ - `{{ format }}`
157
+
158
+ For each generated artifact, Emulsify CLI first checks for the matching override file. If the override is missing, the built-in template is used. If the override exists but is empty, the built-in template is used and a warning is logged. Unknown tokens are left unchanged and logged as warnings. Partial override sets are supported, so a project can override only `component.twig` and keep the built-in SCSS, data, and story templates. Extra arbitrary files are not generated by component template overrides.
40
159
 
41
- For each generated artifact, the CLI first checks for the matching override file. If the override is missing or empty, the built-in template is used. Partial override sets are supported, so a project can override only `component.twig` and keep the built-in SCSS, data, and story templates. Arbitrary extra files and template ejection helpers are future work.
160
+ For more documentation, see the [Emulsify CLI usage documentation](https://www.emulsify.info/docs/supporting-projects/emulsify-cli/emulsify-cli-usage).
42
161
 
43
162
  ## Development
44
163
 
45
- Emulsify-cli is developed using TypeScript. You can find all of the source files in the `src` directory, which is organized in the following manner:
164
+ Emulsify CLI is developed using TypeScript. You can find all of the source files in the `src` directory, which is organized in the following manner:
46
165
 
47
166
  - `src/index.ts` - uses Commander to compose the CLI.
48
167
  - `src/handlers` - contains all functions that handle CLI commands, such as `emulsify init`.
@@ -54,7 +173,7 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
54
173
 
55
174
  ### Setup
56
175
 
57
- - Install the version of node as specified in this project's `.nvmrc` file. If you are using nvm, simply run `nvm use`.
176
+ - Install the version of Node specified in this project's `.nvmrc` file. If you are using nvm, run `nvm use`.
58
177
  - Clone this repository into a directory of your choosing.
59
178
  - In the directory, run `npm install`.
60
179
  - Build the project: `npm run build`, or watch: `npm run watch`.
@@ -63,7 +182,7 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
63
182
  ### Scripts
64
183
 
65
184
  - `npm run build`: builds the project based on the configuration in `tsconfig.dist.json`.
66
- - `npm run build-schema-types`: Compiles the json-schema definitions within this project into ts types.
185
+ - `npm run build-schema-types`: Compiles the JSON Schema definitions within this project into TypeScript types.
67
186
  - `npm run watch`: watches the codebase, and re-compiles every time a change is made.
68
187
  - `npm run format`: uses prettier to format all ts files within the codebase.
69
188
  - `npm run lint`: runs the Jest test suite via the `test` script.
@@ -74,7 +193,7 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
74
193
 
75
194
  ## Deployment
76
195
 
77
- This project is automatically built and deployed to NPM via the release GitHub Actions workflow. Pushes to `main` run `npm run build` and then `npm run semantic-release`.
196
+ This project is automatically built and deployed to npm via the release GitHub Actions workflow. Pushes to `main` run `npm run build` and then `npm run semantic-release`.
78
197
 
79
198
  ### Contributors
80
199
 
@@ -8,17 +8,72 @@ import buildComponentDependencyList from '../util/project/buildComponentDependen
8
8
  import catchLater from '../util/catchLater.js';
9
9
  import findFileInCurrentPath from '../util/fs/findFileInCurrentPath.js';
10
10
  import { withEmulsifySystem } from './hofs/withEmulsifySystem.js';
11
- export default async function componentInstall(name, { force, all }) {
11
+ function getDryRunInstallAction(exists, force) {
12
+ if (!exists) {
13
+ return 'copy component';
14
+ }
15
+ if (force) {
16
+ return 'replace existing destination';
17
+ }
18
+ return 'prompt before replacing or skipping';
19
+ }
20
+ async function buildComponentInstallPlan(variant, componentNames, rootComponentName, force) {
21
+ const projectConfigPath = findFileInCurrentPath(EMULSIFY_PROJECT_CONFIG_FILE);
22
+ if (!projectConfigPath) {
23
+ throw new CliError('Unable to find an Emulsify project to preview component installation into.');
24
+ }
25
+ const plan = [];
26
+ for (const componentName of componentNames) {
27
+ const destination = getComponentDestination(variant, componentName, projectConfigPath);
28
+ const exists = await pathExists(destination);
29
+ plan.push({
30
+ name: componentName,
31
+ isDependency: Boolean(rootComponentName && componentName !== rootComponentName),
32
+ destination,
33
+ exists,
34
+ action: getDryRunInstallAction(exists, force),
35
+ });
36
+ }
37
+ return plan;
38
+ }
39
+ function logComponentInstallDryRun(targetLabel, dependencies, plan) {
40
+ const dependencyList = dependencies.length > 0
41
+ ? dependencies.map((dependency) => ` - ${dependency}`).join('\n')
42
+ : ' - none';
43
+ const plannedInstalls = plan
44
+ .map((item) => [
45
+ ` - ${item.name}${item.isDependency ? ` (dependency of "${targetLabel}")` : ''}`,
46
+ ` Destination: ${item.destination}`,
47
+ ` Destination exists: ${item.exists ? 'yes' : 'no'}`,
48
+ ` Real run would: ${item.action}`,
49
+ ].join('\n'))
50
+ .join('\n');
51
+ log('info', [
52
+ `Dry run: component install "${targetLabel}"`,
53
+ 'Dependencies:',
54
+ dependencyList,
55
+ 'Planned component installs:',
56
+ plannedInstalls,
57
+ 'No files were copied, removed, or overwritten.',
58
+ ].join('\n'));
59
+ }
60
+ export default async function componentInstall(name, { force, all, dryRun }) {
12
61
  if (!name && !all) {
13
62
  throw new CliError('Please specify a component to install, or pass --all to install all available components.');
14
63
  }
15
64
  const { systemConf, variantConf } = await withEmulsifySystem('install components');
16
65
  const components = [];
17
66
  if (all) {
18
- components.push(...variantConf.components.map((component) => [
19
- component.name,
67
+ const componentNames = variantConf.components.map((component) => component.name);
68
+ if (dryRun) {
69
+ const plan = await buildComponentInstallPlan(variantConf, componentNames, undefined, true);
70
+ logComponentInstallDryRun('all components', [], plan);
71
+ return;
72
+ }
73
+ components.push(...componentNames.map((component) => [
74
+ component,
20
75
  false,
21
- catchLater(installComponentFromCache(systemConf, variantConf, component.name, true)),
76
+ catchLater(installComponentFromCache(systemConf, variantConf, component, true)),
22
77
  ]));
23
78
  }
24
79
  else {
@@ -26,6 +81,12 @@ export default async function componentInstall(name, { force, all }) {
26
81
  if (componentsWithDependencies.length === 0) {
27
82
  throw new CliError(`Cannot find the definition for component "${name}".\n\nRun "emulsify component list" to see the full list.`);
28
83
  }
84
+ if (dryRun) {
85
+ const dependencies = componentsWithDependencies.filter((componentName) => componentName !== name);
86
+ const plan = await buildComponentInstallPlan(variantConf, componentsWithDependencies, name, Boolean(force));
87
+ logComponentInstallDryRun(name, dependencies, plan);
88
+ return;
89
+ }
29
90
  const projectConfigPath = findFileInCurrentPath(EMULSIFY_PROJECT_CONFIG_FILE);
30
91
  for (const componentName of componentsWithDependencies) {
31
92
  const isDependency = componentName !== name;
package/dist/index.js CHANGED
@@ -55,6 +55,7 @@ component
55
55
  .description("Install a component from within the current project's system and variant")
56
56
  .option('-f --force', 'Use this to overwrite a component that is already installed')
57
57
  .option('-a --all', 'Use this to install all available components, rather than specifying a single component to install')
58
+ .option('--dry-run', 'Preview component installs without copying or removing files.')
58
59
  .alias('i')
59
60
  .action(componentInstall);
60
61
  component
@@ -62,6 +63,7 @@ component
62
63
  .option('-d --directory <directory>', 'Used to set the directory where the new component is to be created')
63
64
  .option('-f --format <format>', 'Component format to generate. Supported values: default, sdc.')
64
65
  .option('-y --yes', 'Skip overwrite confirmation prompts and replace existing components.')
66
+ .option('--dry-run', 'Preview generated component files without writing or removing files.')
65
67
  .alias('c')
66
68
  .description("Create a component from within the current project's system and variant")
67
69
  .action(componentCreate);
@@ -1,32 +1,9 @@
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
- "node_modules/@babel/code-frame": {
8
- "version": "7.29.7",
9
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
10
- "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
11
- "license": "MIT",
12
- "dependencies": {
13
- "@babel/helper-validator-identifier": "^7.29.7",
14
- "js-tokens": "^4.0.0",
15
- "picocolors": "^1.1.1"
16
- },
17
- "engines": {
18
- "node": ">=6.9.0"
19
- }
20
- },
21
- "node_modules/@babel/helper-validator-identifier": {
22
- "version": "7.29.7",
23
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
24
- "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
25
- "license": "MIT",
26
- "engines": {
27
- "node": ">=6.9.0"
28
- }
29
- },
30
7
  "node_modules/@inquirer/ansi": {
31
8
  "version": "2.0.7",
32
9
  "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.7.tgz",
@@ -386,23 +363,15 @@
386
363
  }
387
364
  },
388
365
  "node_modules/@types/node": {
389
- "version": "25.9.2",
390
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.2.tgz",
391
- "integrity": "sha512-G05zqtJhcDLb8uslf5EjCxXg9G1KQxiV8OS0R26IC//Eoyitzqe8z37I7cqvnZlrlSfgocQRfSn/AHBZJJFyGw==",
366
+ "version": "25.9.3",
367
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz",
368
+ "integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==",
369
+ "devOptional": true,
392
370
  "license": "MIT",
393
371
  "dependencies": {
394
372
  "undici-types": ">=7.24.0 <7.24.7"
395
373
  }
396
374
  },
397
- "node_modules/@types/progress": {
398
- "version": "2.0.7",
399
- "resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.7.tgz",
400
- "integrity": "sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==",
401
- "license": "MIT",
402
- "dependencies": {
403
- "@types/node": "*"
404
- }
405
- },
406
375
  "node_modules/ajv": {
407
376
  "version": "8.20.0",
408
377
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
@@ -507,12 +476,6 @@
507
476
  "url": "https://github.com/chalk/ansi-regex?sponsor=1"
508
477
  }
509
478
  },
510
- "node_modules/argparse": {
511
- "version": "2.0.1",
512
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
513
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
514
- "license": "Python-2.0"
515
- },
516
479
  "node_modules/boxen": {
517
480
  "version": "8.0.1",
518
481
  "resolved": "https://registry.npmjs.org/boxen/-/boxen-8.0.1.tgz",
@@ -535,15 +498,6 @@
535
498
  "url": "https://github.com/sponsors/sindresorhus"
536
499
  }
537
500
  },
538
- "node_modules/callsites": {
539
- "version": "3.1.0",
540
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
541
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
542
- "license": "MIT",
543
- "engines": {
544
- "node": ">=6"
545
- }
546
- },
547
501
  "node_modules/camelcase": {
548
502
  "version": "8.0.0",
549
503
  "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-8.0.0.tgz",
@@ -619,32 +573,6 @@
619
573
  "node": "^14.18.0 || >=16.10.0"
620
574
  }
621
575
  },
622
- "node_modules/cosmiconfig": {
623
- "version": "9.0.2",
624
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz",
625
- "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==",
626
- "license": "MIT",
627
- "dependencies": {
628
- "env-paths": "^2.2.1",
629
- "import-fresh": "^3.3.0",
630
- "js-yaml": "^4.1.0",
631
- "parse-json": "^5.2.0"
632
- },
633
- "engines": {
634
- "node": ">=14"
635
- },
636
- "funding": {
637
- "url": "https://github.com/sponsors/d-fischer"
638
- },
639
- "peerDependencies": {
640
- "typescript": ">=4.9.5"
641
- },
642
- "peerDependenciesMeta": {
643
- "typescript": {
644
- "optional": true
645
- }
646
- }
647
- },
648
576
  "node_modules/debug": {
649
577
  "version": "4.4.3",
650
578
  "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
@@ -668,24 +596,6 @@
668
596
  "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
669
597
  "license": "MIT"
670
598
  },
671
- "node_modules/env-paths": {
672
- "version": "2.2.1",
673
- "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
674
- "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
675
- "license": "MIT",
676
- "engines": {
677
- "node": ">=6"
678
- }
679
- },
680
- "node_modules/error-ex": {
681
- "version": "1.3.4",
682
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
683
- "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
684
- "license": "MIT",
685
- "dependencies": {
686
- "is-arrayish": "^0.2.1"
687
- }
688
- },
689
599
  "node_modules/fast-deep-equal": {
690
600
  "version": "3.1.3",
691
601
  "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -780,71 +690,6 @@
780
690
  "url": "https://opencollective.com/express"
781
691
  }
782
692
  },
783
- "node_modules/import-fresh": {
784
- "version": "3.3.1",
785
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
786
- "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
787
- "license": "MIT",
788
- "dependencies": {
789
- "parent-module": "^1.0.0",
790
- "resolve-from": "^4.0.0"
791
- },
792
- "engines": {
793
- "node": ">=6"
794
- },
795
- "funding": {
796
- "url": "https://github.com/sponsors/sindresorhus"
797
- }
798
- },
799
- "node_modules/import-fresh/node_modules/resolve-from": {
800
- "version": "4.0.0",
801
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
802
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
803
- "license": "MIT",
804
- "engines": {
805
- "node": ">=4"
806
- }
807
- },
808
- "node_modules/is-arrayish": {
809
- "version": "0.2.1",
810
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
811
- "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
812
- "license": "MIT"
813
- },
814
- "node_modules/js-tokens": {
815
- "version": "4.0.0",
816
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
817
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
818
- "license": "MIT"
819
- },
820
- "node_modules/js-yaml": {
821
- "version": "4.2.0",
822
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
823
- "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
824
- "funding": [
825
- {
826
- "type": "github",
827
- "url": "https://github.com/sponsors/puzrin"
828
- },
829
- {
830
- "type": "github",
831
- "url": "https://github.com/sponsors/nodeca"
832
- }
833
- ],
834
- "license": "MIT",
835
- "dependencies": {
836
- "argparse": "^2.0.1"
837
- },
838
- "bin": {
839
- "js-yaml": "bin/js-yaml.js"
840
- }
841
- },
842
- "node_modules/json-parse-even-better-errors": {
843
- "version": "2.3.1",
844
- "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
845
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
846
- "license": "MIT"
847
- },
848
693
  "node_modules/json-schema-traverse": {
849
694
  "version": "1.0.0",
850
695
  "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
@@ -863,12 +708,6 @@
863
708
  "graceful-fs": "^4.1.6"
864
709
  }
865
710
  },
866
- "node_modules/lines-and-columns": {
867
- "version": "1.2.4",
868
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
869
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
870
- "license": "MIT"
871
- },
872
711
  "node_modules/ms": {
873
712
  "version": "2.1.3",
874
713
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -884,42 +723,6 @@
884
723
  "node": "^20.17.0 || >=22.9.0"
885
724
  }
886
725
  },
887
- "node_modules/parent-module": {
888
- "version": "1.0.1",
889
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
890
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
891
- "license": "MIT",
892
- "dependencies": {
893
- "callsites": "^3.0.0"
894
- },
895
- "engines": {
896
- "node": ">=6"
897
- }
898
- },
899
- "node_modules/parse-json": {
900
- "version": "5.2.0",
901
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
902
- "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
903
- "license": "MIT",
904
- "dependencies": {
905
- "@babel/code-frame": "^7.0.0",
906
- "error-ex": "^1.3.1",
907
- "json-parse-even-better-errors": "^2.3.0",
908
- "lines-and-columns": "^1.1.6"
909
- },
910
- "engines": {
911
- "node": ">=8"
912
- },
913
- "funding": {
914
- "url": "https://github.com/sponsors/sindresorhus"
915
- }
916
- },
917
- "node_modules/picocolors": {
918
- "version": "1.1.1",
919
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
920
- "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
921
- "license": "ISC"
922
- },
923
726
  "node_modules/progress": {
924
727
  "version": "2.0.3",
925
728
  "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
@@ -1017,24 +820,11 @@
1017
820
  "url": "https://github.com/sponsors/sindresorhus"
1018
821
  }
1019
822
  },
1020
- "node_modules/typescript": {
1021
- "version": "6.0.3",
1022
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
1023
- "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
1024
- "devOptional": true,
1025
- "license": "Apache-2.0",
1026
- "bin": {
1027
- "tsc": "bin/tsc",
1028
- "tsserver": "bin/tsserver"
1029
- },
1030
- "engines": {
1031
- "node": ">=14.17"
1032
- }
1033
- },
1034
823
  "node_modules/undici-types": {
1035
824
  "version": "7.24.6",
1036
825
  "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
1037
826
  "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
827
+ "devOptional": true,
1038
828
  "license": "MIT"
1039
829
  },
1040
830
  "node_modules/universalify": {
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 05 Jun 2026 22:33:07 GMT
11
+ * Last updated: Wed, 10 Jun 2026 22:15:09 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -20,6 +20,7 @@ declare module "node:http2" {
20
20
  ":method"?: string | undefined;
21
21
  ":authority"?: string | undefined;
22
22
  ":scheme"?: string | undefined;
23
+ ":protocol"?: string | undefined;
23
24
  }
24
25
  // Http2Stream
25
26
  interface StreamState {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "25.9.2",
3
+ "version": "25.9.3",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -150,6 +150,6 @@
150
150
  "undici-types": ">=7.24.0 <7.24.7"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "a4b1508fd78227ea41216c90a2f88a2fa4eeaefffb6c5d6334a18215ad38d681",
153
+ "typesPublisherContentHash": "b651099f0be23911446e6a283ee816760ef628511df23064b85b949a9ca68cf5",
154
154
  "typeScriptVersion": "5.3"
155
155
  }