@storm-software/workspace-tools 1.267.19 → 1.267.21

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 (255) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +1 -1
  3. package/dist/chunk-22UY7NFX.js +41 -0
  4. package/dist/chunk-23BZQTB2.mjs +425 -0
  5. package/dist/{chunk-7O34DHUG.js → chunk-2AVWFUXP.js} +4 -19
  6. package/dist/{chunk-VW3PZOJ4.mjs → chunk-2M22JVJQ.mjs} +307 -192
  7. package/dist/{chunk-5RJOBRYL.mjs → chunk-3EDSGFA5.mjs} +63 -54
  8. package/dist/chunk-3RG5ZIWI.js +10 -0
  9. package/dist/{chunk-AC5SI4YZ.js → chunk-3TYXXJKV.js} +11 -8
  10. package/dist/{chunk-QSB5SLZS.mjs → chunk-3ZBMLG4D.mjs} +17 -14
  11. package/dist/chunk-437WGH2M.mjs +32 -0
  12. package/dist/{chunk-ULBTYC2B.js → chunk-4BECJRPP.js} +13 -42
  13. package/dist/chunk-4QRA66TH.mjs +379 -0
  14. package/dist/chunk-4S66IYQF.mjs +31 -0
  15. package/dist/{chunk-4JOIS7WW.js → chunk-4WHSR4FK.js} +24 -14
  16. package/dist/{chunk-JTAXCQX6.js → chunk-53DNHF7B.js} +7 -13
  17. package/dist/{chunk-GGGO542M.js → chunk-54FVHKCU.js} +36 -24
  18. package/dist/{chunk-B67R3JAF.mjs → chunk-5HUW3BTP.mjs} +37 -21
  19. package/dist/{chunk-GWYZDAH6.mjs → chunk-5LB2F3L4.mjs} +80 -65
  20. package/dist/{chunk-UF6KFXG5.js → chunk-5VY5IBBQ.js} +20 -17
  21. package/dist/{chunk-6QO3KMZA.js → chunk-5ZFTWEKB.js} +2 -16
  22. package/dist/chunk-6EMYX25V.js +7 -0
  23. package/dist/chunk-6QZSAZZ3.mjs +64 -0
  24. package/dist/{chunk-2JA7WAH7.mjs → chunk-7AN4JMFC.mjs} +2 -16
  25. package/dist/{chunk-N7XIQOHR.mjs → chunk-7HWV6U3E.mjs} +33 -18
  26. package/dist/{chunk-GKL4BY2Y.js → chunk-A5CKB6IJ.js} +7 -8
  27. package/dist/{chunk-Y5WKYMQB.mjs → chunk-ABE7UOMX.mjs} +24 -21
  28. package/dist/{chunk-L3WQZ3LY.mjs → chunk-AHLKRK7D.mjs} +33 -18
  29. package/dist/{chunk-6CGAYKQL.js → chunk-AJ3C2EDW.js} +69 -44
  30. package/dist/chunk-AMW7VHFM.mjs +52 -0
  31. package/dist/chunk-AOFWKOAI.js +31 -0
  32. package/dist/{chunk-7YRW5HNX.js → chunk-AX3RSZT7.js} +42 -31
  33. package/dist/chunk-BFD7HHVZ.mjs +32 -0
  34. package/dist/{chunk-ZMFVKBRM.js → chunk-BWGJVRAS.js} +2 -13
  35. package/dist/{chunk-M6NHJNGU.js → chunk-CWBHZBTN.js} +277 -169
  36. package/dist/{chunk-VGE6EHYW.mjs → chunk-EKWR7TBP.mjs} +36 -24
  37. package/dist/chunk-EU6N7QT3.js +32 -0
  38. package/dist/chunk-EYXDS7SG.js +105 -0
  39. package/dist/chunk-F66XEAID.mjs +113 -0
  40. package/dist/chunk-FOFNKU5G.js +379 -0
  41. package/dist/{chunk-7NNHBZC5.js → chunk-GNOIETZR.js} +28 -17
  42. package/dist/chunk-GQQLBQPQ.mjs +32 -0
  43. package/dist/{chunk-7PRHEOCT.js → chunk-H5NKKUPV.js} +31 -18
  44. package/dist/{chunk-5SVLMXLH.mjs → chunk-HMJTTE4A.mjs} +39 -30
  45. package/dist/{chunk-ZKMIASDR.mjs → chunk-HY3ZC5EZ.mjs} +10 -31
  46. package/dist/{chunk-OQPX75CG.js → chunk-I5MSPQMO.js} +31 -18
  47. package/dist/{chunk-L2DHGVS5.mjs → chunk-IEZKYJSF.mjs} +3 -6
  48. package/dist/{chunk-IWCQL3AQ.js → chunk-IL3R5ZVS.js} +10 -31
  49. package/dist/{chunk-P4OVFIT6.js → chunk-IZN2IVJ4.js} +19 -6
  50. package/dist/{chunk-UALZJZUK.js → chunk-J2Z4WP3E.js} +32 -16
  51. package/dist/{chunk-RBU35LQW.js → chunk-J4DYXH46.js} +70 -61
  52. package/dist/chunk-KP4RPOBI.mjs +105 -0
  53. package/dist/chunk-KR72GKIT.mjs +7 -0
  54. package/dist/chunk-L4NCVOB5.mjs +17 -0
  55. package/dist/{chunk-4Y6B6JDH.js → chunk-LBAVVYKU.js} +315 -136
  56. package/dist/{chunk-WMTEZ2PV.mjs → chunk-LSF4BHCI.mjs} +24 -14
  57. package/dist/chunk-M725BO42.mjs +32 -0
  58. package/dist/{chunk-7IAGL37F.mjs → chunk-MF6VZSIO.mjs} +30 -17
  59. package/dist/{chunk-7OOYI33U.mjs → chunk-MMBLGUC3.mjs} +311 -132
  60. package/dist/chunk-MZSZKV4N.mjs +47 -0
  61. package/dist/chunk-O6RRIC6I.js +32 -0
  62. package/dist/chunk-OKSECMVK.js +32 -0
  63. package/dist/chunk-Q2HYWACQ.mjs +50 -0
  64. package/dist/{chunk-62XRHQ44.mjs → chunk-QFWQZOVG.mjs} +14 -43
  65. package/dist/{chunk-DHGZTMND.js → chunk-QVYCDING.js} +4 -7
  66. package/dist/{chunk-Z4NKRWWJ.js → chunk-RJRBED5Q.js} +48 -32
  67. package/dist/chunk-S5Z4QGF3.js +64 -0
  68. package/dist/{chunk-CSHHIGIV.mjs → chunk-SITFTWPY.mjs} +23 -8
  69. package/dist/chunk-SNMXP6JV.mjs +41 -0
  70. package/dist/chunk-SPXJBMLY.js +50 -0
  71. package/dist/{chunk-7TLYMNLD.mjs → chunk-SW2E5MQJ.mjs} +4 -19
  72. package/dist/{chunk-OKW5O5P4.js → chunk-T7BALDKJ.js} +26 -22
  73. package/dist/chunk-TSYIV33W.js +32 -0
  74. package/dist/{chunk-H72YBOLR.mjs → chunk-U65XVJ4Y.mjs} +1 -12
  75. package/dist/{chunk-AVJVDD4L.mjs → chunk-U7JFVMCK.mjs} +6 -12
  76. package/dist/chunk-UIPUSUAB.js +425 -0
  77. package/dist/{chunk-LSG534D5.mjs → chunk-UYSJG2E5.mjs} +56 -31
  78. package/dist/{chunk-EHXSPF7W.mjs → chunk-VLOTOQYE.mjs} +11 -8
  79. package/dist/{chunk-EULJEPPD.mjs → chunk-W2C5IGWW.mjs} +3 -6
  80. package/dist/{chunk-G4QFSE5B.js → chunk-WE4HK4RN.js} +327 -212
  81. package/dist/{chunk-SUQKASD7.js → chunk-X2VJXJEF.js} +82 -67
  82. package/dist/{chunk-GY4AEA7P.mjs → chunk-X6PHOMFB.mjs} +32 -16
  83. package/dist/{chunk-PK2SUBWI.js → chunk-XZSS3YAB.js} +19 -16
  84. package/dist/chunk-YXBFVZ3K.js +47 -0
  85. package/dist/{chunk-CUPARBOS.js → chunk-ZP76EMBE.js} +41 -32
  86. package/dist/{chunk-HAXYCYZE.mjs → chunk-ZT4IIRQF.mjs} +254 -146
  87. package/dist/executors.js +21 -21
  88. package/dist/executors.mjs +20 -20
  89. package/dist/generators.js +17 -17
  90. package/dist/generators.mjs +18 -18
  91. package/dist/index.js +41 -41
  92. package/dist/index.mjs +42 -42
  93. package/dist/src/base/base-executor.js +7 -7
  94. package/dist/src/base/base-executor.mjs +6 -6
  95. package/dist/src/base/base-executor.untyped.js +1 -1
  96. package/dist/src/base/base-executor.untyped.mjs +1 -1
  97. package/dist/src/base/base-generator.js +7 -7
  98. package/dist/src/base/base-generator.mjs +6 -6
  99. package/dist/src/base/base-generator.untyped.js +1 -1
  100. package/dist/src/base/base-generator.untyped.mjs +1 -1
  101. package/dist/src/base/cargo-base-executor.untyped.js +3 -3
  102. package/dist/src/base/cargo-base-executor.untyped.mjs +2 -2
  103. package/dist/src/base/index.js +13 -13
  104. package/dist/src/base/index.mjs +12 -12
  105. package/dist/src/base/typescript-build-executor.untyped.js +3 -3
  106. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  107. package/dist/src/base/typescript-library-generator.untyped.js +3 -3
  108. package/dist/src/base/typescript-library-generator.untyped.mjs +2 -2
  109. package/dist/src/executors/cargo-build/executor.js +9 -9
  110. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  111. package/dist/src/executors/cargo-build/untyped.js +3 -3
  112. package/dist/src/executors/cargo-build/untyped.mjs +2 -2
  113. package/dist/src/executors/cargo-check/executor.js +9 -9
  114. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  115. package/dist/src/executors/cargo-check/untyped.js +3 -3
  116. package/dist/src/executors/cargo-check/untyped.mjs +2 -2
  117. package/dist/src/executors/cargo-clippy/executor.js +9 -9
  118. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  119. package/dist/src/executors/cargo-clippy/untyped.js +3 -3
  120. package/dist/src/executors/cargo-clippy/untyped.mjs +2 -2
  121. package/dist/src/executors/cargo-doc/executor.js +9 -9
  122. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  123. package/dist/src/executors/cargo-doc/untyped.js +3 -3
  124. package/dist/src/executors/cargo-doc/untyped.mjs +2 -2
  125. package/dist/src/executors/cargo-format/executor.js +9 -9
  126. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  127. package/dist/src/executors/cargo-format/untyped.js +3 -3
  128. package/dist/src/executors/cargo-format/untyped.mjs +2 -2
  129. package/dist/src/executors/cargo-publish/executor.js +4 -4
  130. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  131. package/dist/src/executors/cargo-publish/untyped.js +3 -3
  132. package/dist/src/executors/cargo-publish/untyped.mjs +2 -2
  133. package/dist/src/executors/clean-package/executor.js +84 -62
  134. package/dist/src/executors/clean-package/executor.mjs +84 -62
  135. package/dist/src/executors/clean-package/untyped.js +2 -4
  136. package/dist/src/executors/clean-package/untyped.mjs +2 -4
  137. package/dist/src/executors/esbuild/executor.js +8 -8
  138. package/dist/src/executors/esbuild/executor.mjs +7 -7
  139. package/dist/src/executors/esbuild/untyped.js +4 -8
  140. package/dist/src/executors/esbuild/untyped.mjs +3 -7
  141. package/dist/src/executors/npm-publish/executor.js +5 -5
  142. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  143. package/dist/src/executors/npm-publish/untyped.js +1 -1
  144. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  145. package/dist/src/executors/size-limit/executor.js +8 -8
  146. package/dist/src/executors/size-limit/executor.mjs +7 -7
  147. package/dist/src/executors/size-limit/untyped.js +1 -1
  148. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  149. package/dist/src/executors/typia/executor.js +8 -8
  150. package/dist/src/executors/typia/executor.mjs +7 -7
  151. package/dist/src/executors/typia/untyped.js +4 -12
  152. package/dist/src/executors/typia/untyped.mjs +4 -12
  153. package/dist/src/executors/unbuild/executor.js +8 -8
  154. package/dist/src/executors/unbuild/executor.mjs +7 -7
  155. package/dist/src/executors/unbuild/untyped.js +6 -13
  156. package/dist/src/executors/unbuild/untyped.mjs +5 -12
  157. package/dist/src/generators/browser-library/generator.js +10 -10
  158. package/dist/src/generators/browser-library/generator.mjs +9 -9
  159. package/dist/src/generators/browser-library/untyped.js +5 -11
  160. package/dist/src/generators/browser-library/untyped.mjs +4 -10
  161. package/dist/src/generators/config-schema/generator.js +8 -8
  162. package/dist/src/generators/config-schema/generator.mjs +7 -7
  163. package/dist/src/generators/config-schema/untyped.js +1 -1
  164. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  165. package/dist/src/generators/init/init.js +3 -3
  166. package/dist/src/generators/init/init.mjs +2 -2
  167. package/dist/src/generators/init/untyped.js +1 -1
  168. package/dist/src/generators/init/untyped.mjs +1 -1
  169. package/dist/src/generators/neutral-library/generator.js +10 -10
  170. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  171. package/dist/src/generators/neutral-library/untyped.js +5 -10
  172. package/dist/src/generators/neutral-library/untyped.mjs +4 -9
  173. package/dist/src/generators/node-library/generator.js +10 -10
  174. package/dist/src/generators/node-library/generator.mjs +9 -9
  175. package/dist/src/generators/node-library/untyped.js +5 -11
  176. package/dist/src/generators/node-library/untyped.mjs +4 -10
  177. package/dist/src/generators/preset/generator.js +8 -8
  178. package/dist/src/generators/preset/generator.mjs +7 -7
  179. package/dist/src/generators/preset/untyped.js +3 -11
  180. package/dist/src/generators/preset/untyped.mjs +3 -11
  181. package/dist/src/generators/release-version/generator.js +7 -7
  182. package/dist/src/generators/release-version/generator.mjs +6 -6
  183. package/dist/src/generators/release-version/untyped.js +3 -14
  184. package/dist/src/generators/release-version/untyped.mjs +3 -14
  185. package/dist/src/plugins/rust/cargo-toml.js +5 -5
  186. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  187. package/dist/src/plugins/rust/index.js +5 -5
  188. package/dist/src/plugins/rust/index.mjs +4 -4
  189. package/dist/src/plugins/typescript/index.js +5 -5
  190. package/dist/src/plugins/typescript/index.mjs +4 -4
  191. package/dist/src/plugins/typescript/project-config.js +5 -5
  192. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  193. package/dist/src/plugins/typescript/tsup.js +114 -109
  194. package/dist/src/plugins/typescript/tsup.mjs +116 -111
  195. package/dist/src/plugins/typescript/untyped-schema.js +93 -77
  196. package/dist/src/plugins/typescript/untyped-schema.mjs +96 -80
  197. package/dist/src/types.js +1 -1
  198. package/dist/src/types.mjs +1 -1
  199. package/dist/src/utils/apply-workspace-tokens.js +5 -5
  200. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  201. package/dist/src/utils/cargo.js +3 -3
  202. package/dist/src/utils/cargo.mjs +2 -2
  203. package/dist/src/utils/create-cli-options.js +3 -3
  204. package/dist/src/utils/create-cli-options.mjs +2 -2
  205. package/dist/src/utils/get-project-configurations.js +5 -5
  206. package/dist/src/utils/get-project-configurations.mjs +4 -4
  207. package/dist/src/utils/index.js +15 -15
  208. package/dist/src/utils/index.mjs +14 -14
  209. package/dist/src/utils/lock-file.js +3 -3
  210. package/dist/src/utils/lock-file.mjs +2 -2
  211. package/dist/src/utils/package-helpers.js +5 -5
  212. package/dist/src/utils/package-helpers.mjs +4 -4
  213. package/dist/src/utils/plugin-helpers.js +4 -4
  214. package/dist/src/utils/plugin-helpers.mjs +3 -3
  215. package/dist/src/utils/pnpm-deps-update.js +4 -4
  216. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  217. package/dist/src/utils/project-tags.js +3 -3
  218. package/dist/src/utils/project-tags.mjs +2 -2
  219. package/dist/src/utils/toml.js +3 -3
  220. package/dist/src/utils/toml.mjs +2 -2
  221. package/dist/src/utils/typia-transform.js +3 -3
  222. package/dist/src/utils/typia-transform.mjs +2 -2
  223. package/dist/src/utils/versions.js +1 -1
  224. package/dist/src/utils/versions.mjs +1 -1
  225. package/package.json +1 -1
  226. package/dist/chunk-3GQAWCBQ.js +0 -13
  227. package/dist/chunk-3IZ3O4OK.js +0 -30
  228. package/dist/chunk-6JJB5AYA.js +0 -51
  229. package/dist/chunk-6JTXR7YX.mjs +0 -18
  230. package/dist/chunk-6RHWGD7G.mjs +0 -48
  231. package/dist/chunk-7AXFMX2T.js +0 -37
  232. package/dist/chunk-A77TLQ44.mjs +0 -32
  233. package/dist/chunk-B3DVFXXD.js +0 -32
  234. package/dist/chunk-BC7L3S46.mjs +0 -51
  235. package/dist/chunk-BNMJYJOZ.mjs +0 -446
  236. package/dist/chunk-CUWWZLK7.mjs +0 -37
  237. package/dist/chunk-HOXPAVCL.js +0 -32
  238. package/dist/chunk-ICPUM2HS.js +0 -50
  239. package/dist/chunk-JJ4PSTY4.mjs +0 -32
  240. package/dist/chunk-JMCJJNBJ.mjs +0 -102
  241. package/dist/chunk-KEBNU3P2.js +0 -446
  242. package/dist/chunk-KTRA4YQT.mjs +0 -32
  243. package/dist/chunk-M2VZ44W7.mjs +0 -13
  244. package/dist/chunk-NG7BO4BF.mjs +0 -468
  245. package/dist/chunk-NSCWEC2S.js +0 -32
  246. package/dist/chunk-OQTJDGUH.js +0 -468
  247. package/dist/chunk-ORWCIVMB.mjs +0 -30
  248. package/dist/chunk-RUKOOSWL.js +0 -31
  249. package/dist/chunk-T6VIUVAL.mjs +0 -43
  250. package/dist/chunk-TET4GF3D.js +0 -43
  251. package/dist/chunk-XITP2BX2.js +0 -13
  252. package/dist/chunk-YMGMEPP5.mjs +0 -86
  253. package/dist/chunk-YW4UN25U.js +0 -86
  254. package/dist/chunk-ZJZOACSR.mjs +0 -31
  255. package/dist/chunk-ZTVHEV5N.mjs +0 -50
@@ -1,13 +1,10 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-WMTEZ2PV.mjs";
3
+ } from "./chunk-LSF4BHCI.mjs";
4
4
  import {
5
5
  correctPaths,
6
6
  joinPaths
7
- } from "./chunk-AVJVDD4L.mjs";
8
- import {
9
- __name
10
- } from "./chunk-L2DHGVS5.mjs";
7
+ } from "./chunk-U7JFVMCK.mjs";
11
8
 
12
9
  // ../config/src/schema.ts
13
10
  import z from "zod";
@@ -109,23 +106,39 @@ var RegistryConfigSchema = z.object({
109
106
  cyclone: RegistryUrlConfigSchema,
110
107
  container: RegistryUrlConfigSchema
111
108
  }).default({}).describe("A list of remote registry URLs used by Storm Software");
112
- var ColorConfigSchema = SingleThemeColorConfigSchema.or(MultiThemeColorConfigSchema).describe("Colors used for various workspace elements");
109
+ var ColorConfigSchema = SingleThemeColorConfigSchema.or(
110
+ MultiThemeColorConfigSchema
111
+ ).describe("Colors used for various workspace elements");
113
112
  var ColorConfigMapSchema = z.union([
114
- z.object({
115
- base: ColorConfigSchema
116
- }),
113
+ z.object({ base: ColorConfigSchema }),
117
114
  z.record(z.string(), ColorConfigSchema)
118
115
  ]);
119
- var ExtendsItemSchema = z.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
120
- var ExtendsSchema = ExtendsItemSchema.or(z.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
116
+ var ExtendsItemSchema = z.string().trim().describe(
117
+ "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
118
+ );
119
+ var ExtendsSchema = ExtendsItemSchema.or(
120
+ z.array(ExtendsItemSchema)
121
+ ).describe(
122
+ "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
123
+ );
121
124
  var WorkspaceBotConfigSchema = z.object({
122
- name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
125
+ name: z.string().trim().default("stormie-bot").describe(
126
+ "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
127
+ ),
123
128
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
124
- }).describe("The workspace's bot user's config used to automated various operations tasks");
129
+ }).describe(
130
+ "The workspace's bot user's config used to automated various operations tasks"
131
+ );
125
132
  var WorkspaceReleaseConfigSchema = z.object({
126
- banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("A URL to a banner image used to display the workspace's release"),
127
- header: z.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
128
- footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
133
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
134
+ "A URL to a banner image used to display the workspace's release"
135
+ ),
136
+ header: z.string().trim().optional().describe(
137
+ "A header message appended to the start of the workspace's release notes"
138
+ ),
139
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
140
+ "A footer message appended to the end of the workspace's release notes"
141
+ )
129
142
  }).describe("The workspace's release config used during the release process");
130
143
  var WorkspaceAccountConfigSchema = z.object({
131
144
  twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
@@ -134,23 +147,41 @@ var WorkspaceAccountConfigSchema = z.object({
134
147
  slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
135
148
  medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
136
149
  github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
137
- }).describe("The workspace's account config used to store various social media links");
150
+ }).describe(
151
+ "The workspace's account config used to store various social media links"
152
+ );
138
153
  var WorkspaceDirectoryConfigSchema = z.object({
139
- cache: z.string().trim().optional().describe("The directory used to store the environment's cached file data"),
154
+ cache: z.string().trim().optional().describe(
155
+ "The directory used to store the environment's cached file data"
156
+ ),
140
157
  data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
141
- config: z.string().trim().optional().describe("The directory used to store the environment's configuration files"),
158
+ config: z.string().trim().optional().describe(
159
+ "The directory used to store the environment's configuration files"
160
+ ),
142
161
  temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
143
162
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
144
- build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
145
- }).describe("Various directories used by the workspace to store data, cache, and configuration files");
163
+ build: z.string().trim().default("dist").describe(
164
+ "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
165
+ )
166
+ }).describe(
167
+ "Various directories used by the workspace to store data, cache, and configuration files"
168
+ );
146
169
  var errorConfigSchema = z.object({
147
170
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
148
- url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
171
+ url: z.string().trim().url().optional().describe(
172
+ "A URL to a page that looks up the workspace's error messages given a specific error code"
173
+ )
149
174
  }).describe("The workspace's error config used during the error process");
150
175
  var stormWorkspaceConfigSchema = z.object({
151
- $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
176
+ $schema: z.string().trim().default(
177
+ "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
178
+ ).optional().nullish().describe(
179
+ "The URL to the JSON schema file that describes the Storm configuration file"
180
+ ),
152
181
  extends: ExtendsSchema.optional(),
153
- name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
182
+ name: z.string().trim().toLowerCase().optional().describe(
183
+ "The name of the service/package/scope using this configuration"
184
+ ),
154
185
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
155
186
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
156
187
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
@@ -166,21 +197,16 @@ var stormWorkspaceConfigSchema = z.object({
166
197
  release: WorkspaceReleaseConfigSchema,
167
198
  account: WorkspaceAccountConfigSchema,
168
199
  error: errorConfigSchema,
169
- mode: z.enum([
170
- "development",
171
- "staging",
172
- "production"
173
- ]).default("production").describe("The current runtime environment mode for the package"),
200
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
174
201
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
175
- externalPackagePatterns: z.array(z.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
202
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
203
+ "The build will use these package patterns to determine if they should be external to the bundle"
204
+ ),
176
205
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
177
206
  directories: WorkspaceDirectoryConfigSchema,
178
- packageManager: z.enum([
179
- "npm",
180
- "yarn",
181
- "pnpm",
182
- "bun"
183
- ]).default("npm").describe("The JavaScript/TypeScript package manager used by the repository"),
207
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
208
+ "The JavaScript/TypeScript package manager used by the repository"
209
+ ),
184
210
  timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
185
211
  locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
186
212
  logLevel: z.enum([
@@ -193,13 +219,23 @@ var stormWorkspaceConfigSchema = z.object({
193
219
  "debug",
194
220
  "trace",
195
221
  "all"
196
- ]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
197
- skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
222
+ ]).default("info").describe(
223
+ "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
224
+ ),
225
+ skipConfigLogging: z.boolean().optional().describe(
226
+ "Should the logging of the current Storm Workspace configuration be skipped?"
227
+ ),
198
228
  registry: RegistryConfigSchema,
199
- configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
200
- colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
229
+ configFile: z.string().trim().nullable().default(null).describe(
230
+ "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
231
+ ),
232
+ colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
233
+ "Storm theme config values used for styling various package elements"
234
+ ),
201
235
  extensions: z.record(z.any()).optional().default({}).describe("Configuration of each used extension")
202
- }).describe("Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo.");
236
+ }).describe(
237
+ "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
238
+ );
203
239
 
204
240
  // ../config/src/types.ts
205
241
  var COLOR_KEYS = [
@@ -276,7 +312,7 @@ var DEFAULT_COLOR_CONFIG = {
276
312
  negative: "#dc2626"
277
313
  }
278
314
  };
279
- var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
315
+ var getDefaultConfig = async (root) => {
280
316
  let license = STORM_DEFAULT_LICENSE;
281
317
  let homepage = STORM_DEFAULT_HOMEPAGE;
282
318
  let name = void 0;
@@ -284,7 +320,10 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
284
320
  let repository = void 0;
285
321
  const workspaceRoot = findWorkspaceRoot(root);
286
322
  if (existsSync(join(workspaceRoot, "package.json"))) {
287
- const file = await readFile(joinPaths(workspaceRoot, "package.json"), "utf8");
323
+ const file = await readFile(
324
+ joinPaths(workspaceRoot, "package.json"),
325
+ "utf8"
326
+ );
288
327
  if (file) {
289
328
  const packageJson = JSON.parse(file);
290
329
  if (packageJson.name) {
@@ -321,36 +360,36 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
321
360
  url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
322
361
  }
323
362
  };
324
- }, "getDefaultConfig");
363
+ };
325
364
 
326
365
  // ../config-tools/src/logger/chalk.ts
327
366
  import chalk from "chalk";
328
367
  var chalkDefault = {
329
- hex: /* @__PURE__ */ __name((_) => (message) => message, "hex"),
330
- bgHex: /* @__PURE__ */ __name((_) => ({
331
- whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright")
332
- }), "bgHex"),
333
- whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright"),
334
- gray: /* @__PURE__ */ __name((message) => message, "gray"),
368
+ hex: (_) => (message) => message,
369
+ bgHex: (_) => ({
370
+ whiteBright: (message) => message
371
+ }),
372
+ whiteBright: (message) => message,
373
+ gray: (message) => message,
335
374
  bold: {
336
- hex: /* @__PURE__ */ __name((_) => (message) => message, "hex"),
337
- bgHex: /* @__PURE__ */ __name((_) => ({
338
- whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright")
339
- }), "bgHex"),
340
- whiteBright: /* @__PURE__ */ __name((message) => message, "whiteBright")
375
+ hex: (_) => (message) => message,
376
+ bgHex: (_) => ({
377
+ whiteBright: (message) => message
378
+ }),
379
+ whiteBright: (message) => message
341
380
  },
342
381
  dim: {
343
- hex: /* @__PURE__ */ __name((_) => (message) => message, "hex"),
344
- gray: /* @__PURE__ */ __name((message) => message, "gray")
382
+ hex: (_) => (message) => message,
383
+ gray: (message) => message
345
384
  }
346
385
  };
347
- var getChalk = /* @__PURE__ */ __name(() => {
386
+ var getChalk = () => {
348
387
  let _chalk = chalk;
349
388
  if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright) {
350
389
  _chalk = chalkDefault;
351
390
  }
352
391
  return _chalk;
353
- }, "getChalk");
392
+ };
354
393
 
355
394
  // ../config-tools/src/logger/is-unicode-supported.ts
356
395
  function isUnicodeSupported() {
@@ -362,10 +401,9 @@ function isUnicodeSupported() {
362
401
  process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
363
402
  process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
364
403
  }
365
- __name(isUnicodeSupported, "isUnicodeSupported");
366
404
 
367
405
  // ../config-tools/src/logger/console-icons.ts
368
- var useIcon = /* @__PURE__ */ __name((c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
406
+ var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
369
407
  var CONSOLE_ICONS = {
370
408
  [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
371
409
  [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
@@ -378,12 +416,12 @@ var CONSOLE_ICONS = {
378
416
  };
379
417
 
380
418
  // ../config-tools/src/logger/format-timestamp.ts
381
- var formatTimestamp = /* @__PURE__ */ __name((date = /* @__PURE__ */ new Date()) => {
419
+ var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
382
420
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
383
- }, "formatTimestamp");
421
+ };
384
422
 
385
423
  // ../config-tools/src/logger/get-log-level.ts
386
- var getLogLevel = /* @__PURE__ */ __name((label) => {
424
+ var getLogLevel = (label) => {
387
425
  switch (label) {
388
426
  case "all":
389
427
  return LogLevel.ALL;
@@ -404,8 +442,8 @@ var getLogLevel = /* @__PURE__ */ __name((label) => {
404
442
  default:
405
443
  return LogLevel.INFO;
406
444
  }
407
- }, "getLogLevel");
408
- var getLogLevelLabel = /* @__PURE__ */ __name((logLevel = LogLevel.INFO) => {
445
+ };
446
+ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
409
447
  if (logLevel >= LogLevel.ALL) {
410
448
  return LogLevelLabel.ALL;
411
449
  }
@@ -431,10 +469,10 @@ var getLogLevelLabel = /* @__PURE__ */ __name((logLevel = LogLevel.INFO) => {
431
469
  return LogLevelLabel.SILENT;
432
470
  }
433
471
  return LogLevelLabel.INFO;
434
- }, "getLogLevelLabel");
472
+ };
435
473
 
436
474
  // ../config-tools/src/logger/console.ts
437
- var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
475
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
438
476
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
439
477
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
440
478
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -443,99 +481,119 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
443
481
  }
444
482
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
445
483
  return (message) => {
446
- console.error(`
484
+ console.error(
485
+ `
447
486
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
448
- `);
487
+ `
488
+ );
449
489
  };
450
490
  }
451
491
  if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
452
492
  return (message) => {
453
- console.error(`
493
+ console.error(
494
+ `
454
495
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
455
- `);
496
+ `
497
+ );
456
498
  };
457
499
  }
458
500
  if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
459
501
  return (message) => {
460
- console.warn(`
502
+ console.warn(
503
+ `
461
504
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
462
- `);
505
+ `
506
+ );
463
507
  };
464
508
  }
465
509
  if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
466
510
  return (message) => {
467
- console.info(`
511
+ console.info(
512
+ `
468
513
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
469
- `);
514
+ `
515
+ );
470
516
  };
471
517
  }
472
518
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
473
519
  return (message) => {
474
- console.info(`
520
+ console.info(
521
+ `
475
522
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
476
- `);
523
+ `
524
+ );
477
525
  };
478
526
  }
479
527
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
480
528
  return (message) => {
481
- console.debug(`
529
+ console.debug(
530
+ `
482
531
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
483
- `);
532
+ `
533
+ );
484
534
  };
485
535
  }
486
536
  if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
487
537
  return (message) => {
488
- console.debug(`
538
+ console.debug(
539
+ `
489
540
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
490
- `);
541
+ `
542
+ );
491
543
  };
492
544
  }
493
545
  return (message) => {
494
- console.log(`
546
+ console.log(
547
+ `
495
548
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
496
- `);
549
+ `
550
+ );
497
551
  };
498
- }, "getLogFn");
499
- var writeFatal = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.FATAL, config)(message), "writeFatal");
500
- var writeError = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.ERROR, config)(message), "writeError");
501
- var writeWarning = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.WARN, config)(message), "writeWarning");
502
- var writeInfo = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.INFO, config)(message), "writeInfo");
503
- var writeSuccess = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.SUCCESS, config)(message), "writeSuccess");
504
- var writeDebug = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.DEBUG, config)(message), "writeDebug");
505
- var writeTrace = /* @__PURE__ */ __name((message, config) => getLogFn(LogLevel.TRACE, config)(message), "writeTrace");
506
- var getStopwatch = /* @__PURE__ */ __name((name) => {
552
+ };
553
+ var writeFatal = (message, config) => getLogFn(LogLevel.FATAL, config)(message);
554
+ var writeError = (message, config) => getLogFn(LogLevel.ERROR, config)(message);
555
+ var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message);
556
+ var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
557
+ var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
558
+ var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
559
+ var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
560
+ var getStopwatch = (name) => {
507
561
  const start = process.hrtime();
508
562
  return () => {
509
563
  const end = process.hrtime(start);
510
- console.info(`
511
- > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${Math.round(end[0] * 1e3 + end[1] / 1e6)}ms to complete
512
- `);
564
+ console.info(
565
+ `
566
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${Math.round(
567
+ end[0] * 1e3 + end[1] / 1e6
568
+ )}ms to complete
569
+ `
570
+ );
513
571
  };
514
- }, "getStopwatch");
572
+ };
515
573
  var MAX_DEPTH = 4;
516
- var formatLogMessage = /* @__PURE__ */ __name((message, options = {}, depth = 0) => {
574
+ var formatLogMessage = (message, options = {}, depth = 0) => {
517
575
  if (depth > MAX_DEPTH) {
518
576
  return "<max depth>";
519
577
  }
520
578
  const prefix = options.prefix ?? "-";
521
579
  const skip = options.skip ?? [];
522
580
  return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
523
- ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, {
524
- prefix: `${prefix}-`,
525
- skip
526
- }, depth + 1)}`).join("\n")}` : typeof message === "object" ? `
527
- ${Object.keys(message).filter((key) => !skip.includes(key)).map((key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(message[key], {
528
- prefix: `${prefix}-`,
529
- skip
530
- }, depth + 1) : message[key]}`).join("\n")}` : message;
531
- }, "formatLogMessage");
532
- var _isFunction = /* @__PURE__ */ __name((value) => {
581
+ ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip }, depth + 1)}`).join("\n")}` : typeof message === "object" ? `
582
+ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
583
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
584
+ message[key],
585
+ { prefix: `${prefix}-`, skip },
586
+ depth + 1
587
+ ) : message[key]}`
588
+ ).join("\n")}` : message;
589
+ };
590
+ var _isFunction = (value) => {
533
591
  try {
534
592
  return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
535
593
  } catch (e) {
536
594
  return false;
537
595
  }
538
- }, "_isFunction");
596
+ };
539
597
 
540
598
  // ../config-tools/src/create-storm-config.ts
541
599
  import defu2 from "defu";
@@ -543,7 +601,7 @@ import defu2 from "defu";
543
601
  // ../config-tools/src/config-file/get-config-file.ts
544
602
  import { loadConfig } from "c12";
545
603
  import defu from "defu";
546
- var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, options = {}) => {
604
+ var getConfigFileByName = async (fileName, filePath, options = {}) => {
547
605
  const workspacePath = filePath || findWorkspaceRoot(filePath);
548
606
  const configs = await Promise.all([
549
607
  loadConfig({
@@ -553,7 +611,10 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
553
611
  envName: fileName?.toUpperCase(),
554
612
  jitiOptions: {
555
613
  debug: false,
556
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
614
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(
615
+ process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
616
+ "jiti"
617
+ )
557
618
  },
558
619
  ...options
559
620
  }),
@@ -564,32 +625,45 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
564
625
  envName: fileName?.toUpperCase(),
565
626
  jitiOptions: {
566
627
  debug: false,
567
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
628
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(
629
+ process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
630
+ "jiti"
631
+ )
568
632
  },
569
633
  configFile: fileName,
570
634
  ...options
571
635
  })
572
636
  ]);
573
637
  return defu(configs[0] ?? {}, configs[1] ?? {});
574
- }, "getConfigFileByName");
575
- var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames = []) => {
638
+ };
639
+ var getConfigFile = async (filePath, additionalFileNames = []) => {
576
640
  const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
577
641
  const result = await getConfigFileByName("storm-workspace", workspacePath);
578
642
  let config = result.config;
579
643
  const configFile = result.configFile;
580
644
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
581
- writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
582
- logLevel: "all"
583
- });
645
+ writeTrace(
646
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
647
+ {
648
+ logLevel: "all"
649
+ }
650
+ );
584
651
  }
585
652
  if (additionalFileNames && additionalFileNames.length > 0) {
586
- const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
653
+ const results = await Promise.all(
654
+ additionalFileNames.map(
655
+ (fileName) => getConfigFileByName(fileName, workspacePath)
656
+ )
657
+ );
587
658
  for (const result2 of results) {
588
659
  if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
589
660
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
590
- writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
591
- logLevel: "all"
592
- });
661
+ writeTrace(
662
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
663
+ {
664
+ logLevel: "all"
665
+ }
666
+ );
593
667
  }
594
668
  config = defu(result2.config ?? {}, config ?? {});
595
669
  }
@@ -600,20 +674,22 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
600
674
  }
601
675
  config.configFile = configFile;
602
676
  return config;
603
- }, "getConfigFile");
677
+ };
604
678
 
605
679
  // ../config-tools/src/env/get-env.ts
606
- var getExtensionEnv = /* @__PURE__ */ __name((extensionName) => {
680
+ var getExtensionEnv = (extensionName) => {
607
681
  const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
608
682
  return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
609
- const name = key.replace(prefix, "").split("_").map((i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : "").join("");
683
+ const name = key.replace(prefix, "").split("_").map(
684
+ (i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : ""
685
+ ).join("");
610
686
  if (name) {
611
687
  ret[name] = process.env[key];
612
688
  }
613
689
  return ret;
614
690
  }, {});
615
- }, "getExtensionEnv");
616
- var getConfigEnv = /* @__PURE__ */ __name(() => {
691
+ };
692
+ var getConfigEnv = () => {
617
693
  const prefix = "STORM_";
618
694
  let config = {
619
695
  extends: process.env[`${prefix}EXTENDS`] || void 0,
@@ -681,14 +757,25 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
681
757
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
682
758
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
683
759
  },
684
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
760
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
761
+ Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
762
+ ) ? getLogLevelLabel(
763
+ Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
764
+ ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
685
765
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
686
766
  };
687
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
688
- config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
689
- ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
690
- return ret;
691
- }, {}) : getThemeColorConfigEnv(prefix);
767
+ const themeNames = Object.keys(process.env).filter(
768
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every(
769
+ (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
770
+ )
771
+ );
772
+ config.colors = themeNames.length > 0 ? themeNames.reduce(
773
+ (ret, themeName) => {
774
+ ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
775
+ return ret;
776
+ },
777
+ {}
778
+ ) : getThemeColorConfigEnv(prefix);
692
779
  if (config.docs === STORM_DEFAULT_DOCS) {
693
780
  if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
694
781
  config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
@@ -709,23 +796,17 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
709
796
  config = {
710
797
  ...config,
711
798
  ...parsed,
712
- colors: {
713
- ...config.colors,
714
- ...parsed.colors
715
- },
716
- extensions: {
717
- ...config.extensions,
718
- ...parsed.extensions
719
- }
799
+ colors: { ...config.colors, ...parsed.colors },
800
+ extensions: { ...config.extensions, ...parsed.extensions }
720
801
  };
721
802
  }
722
803
  return config;
723
- }, "getConfigEnv");
724
- var getThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, theme) => {
804
+ };
805
+ var getThemeColorConfigEnv = (prefix, theme) => {
725
806
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
726
807
  return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
727
- }, "getThemeColorConfigEnv");
728
- var getSingleThemeColorConfigEnv = /* @__PURE__ */ __name((prefix) => {
808
+ };
809
+ var getSingleThemeColorConfigEnv = (prefix) => {
729
810
  return {
730
811
  dark: process.env[`${prefix}DARK`],
731
812
  light: process.env[`${prefix}LIGHT`],
@@ -742,14 +823,16 @@ var getSingleThemeColorConfigEnv = /* @__PURE__ */ __name((prefix) => {
742
823
  positive: process.env[`${prefix}POSITIVE`],
743
824
  negative: process.env[`${prefix}NEGATIVE`]
744
825
  };
745
- }, "getSingleThemeColorConfigEnv");
746
- var getMultiThemeColorConfigEnv = /* @__PURE__ */ __name((prefix) => {
826
+ };
827
+ var getMultiThemeColorConfigEnv = (prefix) => {
747
828
  return {
748
- light: getBaseThemeColorConfigEnv(`${prefix}_LIGHT_`),
829
+ light: getBaseThemeColorConfigEnv(
830
+ `${prefix}_LIGHT_`
831
+ ),
749
832
  dark: getBaseThemeColorConfigEnv(`${prefix}_DARK_`)
750
833
  };
751
- }, "getMultiThemeColorConfigEnv");
752
- var getBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix) => {
834
+ };
835
+ var getBaseThemeColorConfigEnv = (prefix) => {
753
836
  return {
754
837
  foreground: process.env[`${prefix}FOREGROUND`],
755
838
  background: process.env[`${prefix}BACKGROUND`],
@@ -766,13 +849,16 @@ var getBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix) => {
766
849
  positive: process.env[`${prefix}POSITIVE`],
767
850
  negative: process.env[`${prefix}NEGATIVE`]
768
851
  };
769
- }, "getBaseThemeColorConfigEnv");
852
+ };
770
853
 
771
854
  // ../config-tools/src/env/set-env.ts
772
- var setExtensionEnv = /* @__PURE__ */ __name((extensionName, extension) => {
855
+ var setExtensionEnv = (extensionName, extension) => {
773
856
  for (const key of Object.keys(extension ?? {})) {
774
857
  if (extension[key]) {
775
- const result = key?.replace(/([A-Z])+/g, (input) => input ? input[0]?.toUpperCase() + input.slice(1) : "").split(/(?=[A-Z])|[.\-\s_]/).map((x) => x.toLowerCase()) ?? [];
858
+ const result = key?.replace(
859
+ /([A-Z])+/g,
860
+ (input) => input ? input[0]?.toUpperCase() + input.slice(1) : ""
861
+ ).split(/(?=[A-Z])|[.\-\s_]/).map((x) => x.toLowerCase()) ?? [];
776
862
  let extensionKey;
777
863
  if (result.length === 0) {
778
864
  return;
@@ -787,8 +873,8 @@ var setExtensionEnv = /* @__PURE__ */ __name((extensionName, extension) => {
787
873
  process.env[`STORM_EXTENSION_${extensionName.toUpperCase()}_${extensionKey.toUpperCase()}`] = extension[key];
788
874
  }
789
875
  }
790
- }, "setExtensionEnv");
791
- var setConfigEnv = /* @__PURE__ */ __name((config) => {
876
+ };
877
+ var setConfigEnv = (config) => {
792
878
  const prefix = "STORM_";
793
879
  if (config.extends) {
794
880
  process.env[`${prefix}EXTENDS`] = Array.isArray(config.extends) ? JSON.stringify(config.extends) : config.extends;
@@ -877,7 +963,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
877
963
  }
878
964
  if (config.directories) {
879
965
  if (!config.skipCache && config.directories.cache) {
880
- process.env[`${prefix}CACHE_DIR`] = correctPaths(config.directories.cache);
966
+ process.env[`${prefix}CACHE_DIR`] = correctPaths(
967
+ config.directories.cache
968
+ );
881
969
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
882
970
  }
883
971
  if (config.directories.data) {
@@ -885,7 +973,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
885
973
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
886
974
  }
887
975
  if (config.directories.config) {
888
- process.env[`${prefix}CONFIG_DIR`] = correctPaths(config.directories.config);
976
+ process.env[`${prefix}CONFIG_DIR`] = correctPaths(
977
+ config.directories.config
978
+ );
889
979
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
890
980
  }
891
981
  if (config.directories.temp) {
@@ -897,7 +987,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
897
987
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
898
988
  }
899
989
  if (config.directories.build) {
900
- process.env[`${prefix}BUILD_DIR`] = correctPaths(config.directories.build);
990
+ process.env[`${prefix}BUILD_DIR`] = correctPaths(
991
+ config.directories.build
992
+ );
901
993
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
902
994
  }
903
995
  }
@@ -918,7 +1010,10 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
918
1010
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
919
1011
  }
920
1012
  } else {
921
- setThemeColorConfigEnv(`${prefix}COLOR_`, config.colors);
1013
+ setThemeColorConfigEnv(
1014
+ `${prefix}COLOR_`,
1015
+ config.colors
1016
+ );
922
1017
  }
923
1018
  if (config.repository) {
924
1019
  process.env[`${prefix}REPOSITORY`] = config.repository;
@@ -930,7 +1025,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
930
1025
  process.env[`${prefix}PRE_ID`] = String(config.preid);
931
1026
  }
932
1027
  if (config.externalPackagePatterns) {
933
- process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(config.externalPackagePatterns);
1028
+ process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(
1029
+ config.externalPackagePatterns
1030
+ );
934
1031
  }
935
1032
  if (config.registry) {
936
1033
  if (config.registry.github) {
@@ -943,20 +1040,28 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
943
1040
  process.env[`${prefix}REGISTRY_CARGO`] = String(config.registry.cargo);
944
1041
  }
945
1042
  if (config.registry.cyclone) {
946
- process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
1043
+ process.env[`${prefix}REGISTRY_CYCLONE`] = String(
1044
+ config.registry.cyclone
1045
+ );
947
1046
  }
948
1047
  if (config.registry.container) {
949
- process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
1048
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
1049
+ config.registry.container
1050
+ );
950
1051
  }
951
1052
  }
952
1053
  if (config.logLevel) {
953
1054
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
954
1055
  process.env.LOG_LEVEL = String(config.logLevel);
955
- process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
1056
+ process.env.NX_VERBOSE_LOGGING = String(
1057
+ getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false
1058
+ );
956
1059
  process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
957
1060
  }
958
1061
  if (config.skipConfigLogging !== void 0) {
959
- process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
1062
+ process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
1063
+ config.skipConfigLogging
1064
+ );
960
1065
  }
961
1066
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
962
1067
  for (const key of Object.keys(config.extensions ?? {})) {
@@ -964,11 +1069,11 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
964
1069
  setExtensionEnv(key, config.extensions[key]);
965
1070
  }
966
1071
  }
967
- }, "setConfigEnv");
968
- var setThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1072
+ };
1073
+ var setThemeColorConfigEnv = (prefix, config) => {
969
1074
  return config?.light?.brand || config?.dark?.brand ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
970
- }, "setThemeColorConfigEnv");
971
- var setSingleThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1075
+ };
1076
+ var setSingleThemeColorConfigEnv = (prefix, config) => {
972
1077
  if (config.dark) {
973
1078
  process.env[`${prefix}DARK`] = config.dark;
974
1079
  }
@@ -1011,14 +1116,14 @@ var setSingleThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1011
1116
  if (config.negative) {
1012
1117
  process.env[`${prefix}NEGATIVE`] = config.negative;
1013
1118
  }
1014
- }, "setSingleThemeColorConfigEnv");
1015
- var setMultiThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1119
+ };
1120
+ var setMultiThemeColorConfigEnv = (prefix, config) => {
1016
1121
  return {
1017
1122
  light: setBaseThemeColorConfigEnv(`${prefix}LIGHT_`, config.light),
1018
1123
  dark: setBaseThemeColorConfigEnv(`${prefix}DARK_`, config.dark)
1019
1124
  };
1020
- }, "setMultiThemeColorConfigEnv");
1021
- var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1125
+ };
1126
+ var setBaseThemeColorConfigEnv = (prefix, config) => {
1022
1127
  if (config.foreground) {
1023
1128
  process.env[`${prefix}FOREGROUND`] = config.foreground;
1024
1129
  }
@@ -1061,12 +1166,12 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1061
1166
  if (config.negative) {
1062
1167
  process.env[`${prefix}NEGATIVE`] = config.negative;
1063
1168
  }
1064
- }, "setBaseThemeColorConfigEnv");
1169
+ };
1065
1170
 
1066
1171
  // ../config-tools/src/create-storm-config.ts
1067
1172
  var _extension_cache = /* @__PURE__ */ new WeakMap();
1068
1173
  var _static_cache = void 0;
1069
- var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
1174
+ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
1070
1175
  let result;
1071
1176
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
1072
1177
  let _workspaceRoot = workspaceRoot;
@@ -1077,16 +1182,19 @@ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, sc
1077
1182
  const configFile = await getConfigFile(_workspaceRoot);
1078
1183
  if (!configFile) {
1079
1184
  if (!skipLogs) {
1080
- writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
1081
- logLevel: "all"
1082
- });
1185
+ writeWarning(
1186
+ "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
1187
+ { logLevel: "all" }
1188
+ );
1083
1189
  }
1084
1190
  if (useDefault === false) {
1085
1191
  return void 0;
1086
1192
  }
1087
1193
  }
1088
1194
  const defaultConfig = await getDefaultConfig(_workspaceRoot);
1089
- result = await stormWorkspaceConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
1195
+ result = await stormWorkspaceConfigSchema.parseAsync(
1196
+ defu2(configEnv, configFile, defaultConfig)
1197
+ );
1090
1198
  result.workspaceRoot ??= _workspaceRoot;
1091
1199
  } else {
1092
1200
  result = _static_cache.data;
@@ -1102,11 +1210,9 @@ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, sc
1102
1210
  data: result
1103
1211
  };
1104
1212
  return result;
1105
- }, "createStormWorkspaceConfig");
1106
- var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1107
- const extension_cache_key = {
1108
- extensionName
1109
- };
1213
+ };
1214
+ var createConfigExtension = (extensionName, schema) => {
1215
+ const extension_cache_key = { extensionName };
1110
1216
  if (_extension_cache.has(extension_cache_key)) {
1111
1217
  return _extension_cache.get(extension_cache_key);
1112
1218
  }
@@ -1116,28 +1222,37 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1116
1222
  }
1117
1223
  _extension_cache.set(extension_cache_key, extension);
1118
1224
  return extension;
1119
- }, "createConfigExtension");
1120
- var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
1121
- const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs, true);
1225
+ };
1226
+ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
1227
+ const config = await createStormWorkspaceConfig(
1228
+ void 0,
1229
+ void 0,
1230
+ workspaceRoot,
1231
+ skipLogs,
1232
+ true
1233
+ );
1122
1234
  setConfigEnv(config);
1123
1235
  if (!skipLogs && !config.skipConfigLogging) {
1124
- writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
1125
- ${formatLogMessage(config)}`, config);
1236
+ writeTrace(
1237
+ `\u2699\uFE0F Using Storm Workspace configuration:
1238
+ ${formatLogMessage(config)}`,
1239
+ config
1240
+ );
1126
1241
  }
1127
1242
  return config;
1128
- }, "loadStormWorkspaceConfig");
1243
+ };
1129
1244
 
1130
1245
  // ../config-tools/src/get-config.ts
1131
- var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
1246
+ var getConfig = (workspaceRoot, skipLogs = false) => {
1132
1247
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
1133
- }, "getConfig");
1134
- var getWorkspaceConfig = /* @__PURE__ */ __name((skipLogs = false, options = {}) => {
1248
+ };
1249
+ var getWorkspaceConfig = (skipLogs = false, options = {}) => {
1135
1250
  let workspaceRoot = options.workspaceRoot;
1136
1251
  if (!workspaceRoot) {
1137
1252
  workspaceRoot = findWorkspaceRoot(options.cwd);
1138
1253
  }
1139
1254
  return getConfig(workspaceRoot, skipLogs);
1140
- }, "getWorkspaceConfig");
1255
+ };
1141
1256
 
1142
1257
  export {
1143
1258
  stormWorkspaceConfigSchema,