@storm-software/workspace-tools 1.277.19 → 1.277.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 (167) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-MLMJVWDN.js → chunk-2JHF5IS5.js} +2 -2
  4. package/dist/{chunk-VZRVKVAO.mjs → chunk-4BGG5KKQ.mjs} +2 -2
  5. package/dist/{chunk-64SHSYAR.js → chunk-4GLMTOQP.js} +16 -16
  6. package/dist/{chunk-5ZESKANL.mjs → chunk-4OXGU7IV.mjs} +1 -1
  7. package/dist/{chunk-LOWIHCCA.js → chunk-5N6TQ2Q7.js} +2 -2
  8. package/dist/{chunk-L3U7C6IX.js → chunk-67VOWLCO.js} +2 -2
  9. package/dist/{chunk-T7CP3UFW.js → chunk-7JRJ7ITN.js} +2 -2
  10. package/dist/{chunk-YNLVMQVP.js → chunk-AM2MMURU.js} +2 -2
  11. package/dist/{chunk-B5JNWTUG.js → chunk-BEW4BVPK.js} +16 -16
  12. package/dist/{chunk-XCCNQQVX.js → chunk-BGYHLARB.js} +2 -2
  13. package/dist/{chunk-X3ST5ZXI.mjs → chunk-C2LQVLTD.mjs} +1 -1
  14. package/dist/{chunk-4FSINBV3.mjs → chunk-DFI56II6.mjs} +1 -1
  15. package/dist/{chunk-XBDORAQU.mjs → chunk-DHSUCTQM.mjs} +1 -1
  16. package/dist/{chunk-XKAAYYJP.mjs → chunk-DVHD56A6.mjs} +16 -16
  17. package/dist/{chunk-RY74FLHL.mjs → chunk-EQCZYIUE.mjs} +1 -1
  18. package/dist/{chunk-YNB77CQX.js → chunk-F3T34ZU6.js} +21 -21
  19. package/dist/{chunk-NI6UCWBQ.mjs → chunk-GXYQMSLG.mjs} +2 -2
  20. package/dist/{chunk-DEGG3GC3.js → chunk-H6VAARZE.js} +4 -4
  21. package/dist/{chunk-WIFN7LM3.js → chunk-HHPL5ID6.js} +2 -2
  22. package/dist/{chunk-YXO7QCSQ.mjs → chunk-JC353UQP.mjs} +1 -1
  23. package/dist/{chunk-KOLNKKQ5.mjs → chunk-KXNKLBFZ.mjs} +1 -1
  24. package/dist/{chunk-KWQYMPVY.js → chunk-L7MNI24K.js} +2 -2
  25. package/dist/{chunk-ENUKNYFH.mjs → chunk-MYXJTOEI.mjs} +1 -1
  26. package/dist/{chunk-7BNGAODN.js → chunk-NCTBOEB6.js} +2 -2
  27. package/dist/{chunk-WVGU3B2X.mjs → chunk-NII223RE.mjs} +1 -1
  28. package/dist/{chunk-TI2SPALA.mjs → chunk-OP2XRYHG.mjs} +2 -2
  29. package/dist/{chunk-W765XU7F.mjs → chunk-ORHXWW6Z.mjs} +1 -1
  30. package/dist/{chunk-I5PFQ32U.js → chunk-PFRPFUED.js} +2 -2
  31. package/dist/{chunk-F2BM22QJ.mjs → chunk-QEX7AIDZ.mjs} +2 -2
  32. package/dist/{chunk-NQG6PZSU.mjs → chunk-QMJOVAWO.mjs} +1 -1
  33. package/dist/{chunk-INDS3IGH.js → chunk-RSHD75IJ.js} +20 -20
  34. package/dist/{chunk-GPAH2XUM.js → chunk-SXCUWNQO.js} +2 -2
  35. package/dist/{chunk-FVTAYG7C.js → chunk-TL226NUR.js} +5 -5
  36. package/dist/{chunk-BZLV3DUU.mjs → chunk-UP425XDF.mjs} +3 -3
  37. package/dist/{chunk-W46VGGTY.mjs → chunk-VCZQSV5V.mjs} +1 -1
  38. package/dist/{chunk-625KHBUR.js → chunk-VF6V3QCQ.js} +2 -2
  39. package/dist/{chunk-LJOPJGFV.js → chunk-VLYV2HRU.js} +9 -9
  40. package/dist/{chunk-OH7KAS54.js → chunk-XBWF35MS.js} +20 -20
  41. package/dist/{chunk-FD42BMRE.mjs → chunk-XFGAP6WH.mjs} +2 -2
  42. package/dist/{chunk-DAZ45RAJ.js → chunk-YAMPLW2G.js} +2 -2
  43. package/dist/{chunk-HIKE6ACN.mjs → chunk-YSFE5Q5D.mjs} +1 -1
  44. package/dist/{chunk-WXTBIQEB.mjs → chunk-YTQPCNAT.mjs} +1 -1
  45. package/dist/{chunk-LLXQNI4V.mjs → chunk-YXLNJX52.mjs} +2 -2
  46. package/dist/{chunk-WZBBSDC4.js → chunk-YYQJS6BL.js} +5 -5
  47. package/dist/{chunk-Z2XCY6HJ.mjs → chunk-Z6K5AW5Q.mjs} +3 -3
  48. package/dist/{chunk-ZBDSKCSB.js → chunk-Z6MR2GWS.js} +32 -32
  49. package/dist/{executor-CGjlyWgF.d.ts → executor-BGlih0Ou.d.ts} +1 -1
  50. package/dist/{executor-97Yxd9dE.d.mts → executor-BjcGDiSg.d.mts} +1 -1
  51. package/dist/{executor-9e4OKS-a.d.mts → executor-Bv_NOfBv.d.mts} +1 -1
  52. package/dist/{executor-Ba3KVE-E.d.mts → executor-CQPJHucD.d.mts} +1 -1
  53. package/dist/{executor-iDg2nqkl.d.mts → executor-DJt__8Y0.d.mts} +1 -1
  54. package/dist/{executor-D78UOdZp.d.ts → executor-RP1lAVyh.d.ts} +1 -1
  55. package/dist/{executor-DY-b5GfX.d.ts → executor-fRL7fcY1.d.ts} +1 -1
  56. package/dist/{executor-BWxkTnzl.d.ts → executor-or8S9oZd.d.ts} +1 -1
  57. package/dist/executors.d.mts +5 -5
  58. package/dist/executors.d.ts +5 -5
  59. package/dist/executors.js +17 -17
  60. package/dist/executors.mjs +18 -18
  61. package/dist/{generator-CDZ9jZ8e.d.mts → generator-BUI_P7Fb.d.mts} +2 -2
  62. package/dist/{generator-DXNeL8YG.d.mts → generator-BgBa6_si.d.mts} +2 -2
  63. package/dist/{generator-ATrapSkV.d.ts → generator-C43jwL2P.d.ts} +1 -1
  64. package/dist/{generator-BvBEzfvz.d.ts → generator-Cl_v4Cpk.d.ts} +1 -1
  65. package/dist/{generator-BCtSUPJx.d.ts → generator-CydFSI6G.d.ts} +2 -2
  66. package/dist/{generator-T6mKvAuP.d.mts → generator-DBdrS_hk.d.mts} +2 -2
  67. package/dist/{generator-lTDdrLpW.d.ts → generator-DJeUJqyi.d.ts} +2 -2
  68. package/dist/{generator-DppLXOou.d.mts → generator-Da0hA_sC.d.mts} +1 -1
  69. package/dist/{generator-qV7t2ZUx.d.ts → generator-DkyIj7DQ.d.ts} +2 -2
  70. package/dist/{generator-rPHWIoRk.d.mts → generator-jnNJJJQw.d.mts} +2 -2
  71. package/dist/{generator-D672VCu5.d.ts → generator-tOJG5CUs.d.ts} +2 -2
  72. package/dist/{generator-DCeTD30X.d.mts → generator-u2v0eSLY.d.mts} +1 -1
  73. package/dist/generators.d.mts +8 -8
  74. package/dist/generators.d.ts +8 -8
  75. package/dist/generators.js +12 -12
  76. package/dist/generators.mjs +15 -15
  77. package/dist/index.d.mts +12 -12
  78. package/dist/index.d.ts +12 -12
  79. package/dist/index.js +25 -25
  80. package/dist/index.mjs +30 -30
  81. package/dist/src/base/base-executor.d.mts +2 -2
  82. package/dist/src/base/base-executor.d.ts +2 -2
  83. package/dist/src/base/base-executor.js +4 -4
  84. package/dist/src/base/base-executor.mjs +3 -3
  85. package/dist/src/base/base-generator.d.mts +2 -2
  86. package/dist/src/base/base-generator.d.ts +2 -2
  87. package/dist/src/base/base-generator.js +4 -4
  88. package/dist/src/base/base-generator.mjs +3 -3
  89. package/dist/src/base/index.d.mts +2 -2
  90. package/dist/src/base/index.d.ts +2 -2
  91. package/dist/src/base/index.js +5 -5
  92. package/dist/src/base/index.mjs +4 -4
  93. package/dist/src/executors/cargo-build/executor.js +5 -5
  94. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  95. package/dist/src/executors/cargo-check/executor.js +5 -5
  96. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  97. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  98. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  99. package/dist/src/executors/cargo-doc/executor.js +5 -5
  100. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  101. package/dist/src/executors/cargo-format/executor.js +5 -5
  102. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  103. package/dist/src/executors/cargo-publish/executor.js +4 -4
  104. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  105. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  106. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  107. package/dist/src/executors/clean-package/executor.js +6 -6
  108. package/dist/src/executors/clean-package/executor.mjs +3 -3
  109. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  110. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  111. package/dist/src/executors/esbuild/executor.js +5 -5
  112. package/dist/src/executors/esbuild/executor.mjs +4 -4
  113. package/dist/src/executors/npm-publish/executor.js +5 -5
  114. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  115. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  116. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  117. package/dist/src/executors/size-limit/executor.js +5 -5
  118. package/dist/src/executors/size-limit/executor.mjs +4 -4
  119. package/dist/src/executors/typia/executor.d.mts +2 -2
  120. package/dist/src/executors/typia/executor.d.ts +2 -2
  121. package/dist/src/executors/typia/executor.js +5 -5
  122. package/dist/src/executors/typia/executor.mjs +4 -4
  123. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  124. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  125. package/dist/src/executors/unbuild/executor.js +5 -5
  126. package/dist/src/executors/unbuild/executor.mjs +4 -4
  127. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  128. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  129. package/dist/src/generators/browser-library/generator.js +5 -5
  130. package/dist/src/generators/browser-library/generator.mjs +4 -4
  131. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  132. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  133. package/dist/src/generators/config-schema/generator.js +5 -5
  134. package/dist/src/generators/config-schema/generator.mjs +4 -4
  135. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  136. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  137. package/dist/src/generators/neutral-library/generator.js +5 -5
  138. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  139. package/dist/src/generators/node-library/generator.d.mts +3 -3
  140. package/dist/src/generators/node-library/generator.d.ts +3 -3
  141. package/dist/src/generators/node-library/generator.js +5 -5
  142. package/dist/src/generators/node-library/generator.mjs +4 -4
  143. package/dist/src/generators/preset/generator.d.mts +3 -3
  144. package/dist/src/generators/preset/generator.d.ts +3 -3
  145. package/dist/src/generators/preset/generator.js +5 -5
  146. package/dist/src/generators/preset/generator.mjs +4 -4
  147. package/dist/src/generators/release-version/generator.d.mts +2 -2
  148. package/dist/src/generators/release-version/generator.d.ts +2 -2
  149. package/dist/src/generators/release-version/generator.js +5 -5
  150. package/dist/src/generators/release-version/generator.mjs +4 -4
  151. package/dist/src/types.d.mts +2 -2
  152. package/dist/src/types.d.ts +2 -2
  153. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  154. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  155. package/dist/src/utils/index.d.mts +2 -2
  156. package/dist/src/utils/index.d.ts +2 -2
  157. package/dist/src/utils/index.js +4 -4
  158. package/dist/src/utils/index.mjs +3 -3
  159. package/dist/src/utils/package-helpers.js +4 -4
  160. package/dist/src/utils/package-helpers.mjs +3 -3
  161. package/dist/src/utils/project-tags.d.mts +2 -2
  162. package/dist/src/utils/project-tags.d.ts +2 -2
  163. package/dist/{types-DscpeVRC.d.ts → types-BI3OX_IA.d.ts} +1 -1
  164. package/dist/{types-BXb2-oYY.d.ts → types-Dgd3Nqzi.d.mts} +19 -19
  165. package/dist/{types-BXb2-oYY.d.mts → types-Dgd3Nqzi.d.ts} +19 -19
  166. package/dist/{types-3slkSauM.d.mts → types-l0vW09YN.d.mts} +1 -1
  167. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.277.20](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.20) (2025-07-10)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate workspace artifacts
10
+ ([f45c14e5f](https://github.com/storm-software/storm-ops/commit/f45c14e5f))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated prettier to 0.51.46
15
+ - Updated esbuild to 0.45.33
16
+ - Updated unbuild to 0.49.44
17
+
18
+ ## [1.277.19](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.19) (2025-07-10)
19
+
20
+ ### Miscellaneous
21
+
22
+ - **config:** Update implementation to use `zod` v4
23
+ ([7ad01d561](https://github.com/storm-software/storm-ops/commit/7ad01d561))
24
+ - **monorepo:** Update links and `zod` to v4
25
+ ([fbdb2f1e6](https://github.com/storm-software/storm-ops/commit/fbdb2f1e6))
26
+ - **monorepo:** Regenerate README markdown files
27
+ ([113ca7595](https://github.com/storm-software/storm-ops/commit/113ca7595))
28
+
29
+ ### Updated Dependencies
30
+
31
+ - Updated prettier to 0.51.45
32
+ - Updated esbuild to 0.45.32
33
+ - Updated unbuild to 0.49.43
34
+
5
35
  ## [1.277.18](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.18) (2025-07-10)
6
36
 
7
37
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.277.17-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.277.19-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.js');
7
+ var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
15
15
  "Cargo - Format",
16
16
  cargoFormatExecutor,
17
17
  {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-F2BM22QJ.mjs";
3
+ } from "./chunk-QEX7AIDZ.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-XKAAYYJP.mjs";
6
+ } from "./chunk-DVHD56A6.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-U7JFVMCK.mjs";
@@ -14,7 +14,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
14
14
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
15
15
  var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
16
16
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
17
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
18
17
  var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
19
18
  var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
20
19
  var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
@@ -97,7 +96,7 @@ var SingleThemeColorConfigSchema = z.object({
97
96
  positive: PositiveColorSchema,
98
97
  negative: NegativeColorSchema
99
98
  });
100
- var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
99
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
101
100
  var RegistryConfigSchema = z.object({
102
101
  github: RegistryUrlConfigSchema,
103
102
  npm: RegistryUrlConfigSchema,
@@ -124,18 +123,18 @@ var WorkspaceBotConfigSchema = z.object({
124
123
  name: z.string().trim().default("stormie-bot").describe(
125
124
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
126
125
  ),
127
- email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
126
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
128
127
  }).describe(
129
128
  "The workspace's bot user's config used to automated various operations tasks"
130
129
  );
131
130
  var WorkspaceReleaseConfigSchema = z.object({
132
- banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
131
+ banner: z.string().trim().optional().describe(
133
132
  "A URL to a banner image used to display the workspace's release"
134
133
  ),
135
134
  header: z.string().trim().optional().describe(
136
135
  "A header message appended to the start of the workspace's release notes"
137
136
  ),
138
- footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
137
+ footer: z.string().trim().optional().describe(
139
138
  "A footer message appended to the end of the workspace's release notes"
140
139
  )
141
140
  }).describe("The workspace's release config used during the release process");
@@ -167,19 +166,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
167
166
  );
168
167
  var errorConfigSchema = z.object({
169
168
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
170
- url: z.string().trim().url().optional().describe(
169
+ url: z.url().optional().describe(
171
170
  "A URL to a page that looks up the workspace's error messages given a specific error code"
172
171
  )
173
172
  }).describe("The workspace's error config used during the error process");
174
173
  var organizationConfigSchema = z.object({
175
174
  name: z.string().trim().describe("The name of the organization"),
176
175
  description: z.string().trim().optional().describe("A description of the organization"),
177
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
178
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
179
- url: z.string().trim().url().optional().describe(
176
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
177
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
178
+ url: z.url().optional().describe(
180
179
  "A URL to a page that provides more information about the organization"
181
180
  )
182
181
  }).describe("The workspace's organization details");
182
+ var MODE_OPTIONS = ["development", "staging", "production"];
183
183
  var stormWorkspaceConfigSchema = z.object({
184
184
  $schema: z.string().trim().default(
185
185
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -196,12 +196,12 @@ var stormWorkspaceConfigSchema = z.object({
196
196
  ),
197
197
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
198
198
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
199
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
200
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
201
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
202
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
203
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
204
- support: z.string().trim().url().optional().describe(
199
+ homepage: z.url().optional().describe("The homepage of the workspace"),
200
+ docs: z.url().optional().describe("The documentation site for the workspace"),
201
+ portal: z.url().optional().describe("The development portal site for the workspace"),
202
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
203
+ contact: z.url().optional().describe("The contact site for the workspace"),
204
+ support: z.url().optional().describe(
205
205
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
206
206
  ),
207
207
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -211,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
211
211
  release: WorkspaceReleaseConfigSchema,
212
212
  socials: WorkspaceSocialsConfigSchema,
213
213
  error: errorConfigSchema,
214
- mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
214
+ mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
215
215
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
216
216
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
217
217
  directories: WorkspaceDirectoryConfigSchema,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-CNBBZVVG.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-NI6UCWBQ.mjs";
7
+ } from "./chunk-GXYQMSLG.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.js');
7
+ var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
14
14
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
15
15
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
- var executor_default = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
17
+ var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
18
18
  "Cargo - Doc",
19
19
  cargoDocExecutor,
20
20
  {
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
3
+ var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
7
7
  function parseCargoTomlWithTree(tree, projectRoot, projectName) {
8
8
  const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
9
9
  if (!cargoTomlString) {
10
- _chunk64SHSYARjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunk4GLMTOQPjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
11
11
  throw new Error();
12
12
  }
13
13
  return parseCargoToml(cargoTomlString);
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkYNB77CQXjs = require('./chunk-YNB77CQX.js');
7
+ var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkYNB77CQXjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkXCCNQQVXjs = require('./chunk-XCCNQQVX.js');
3
+ var _chunkBGYHLARBjs = require('./chunk-BGYHLARB.js');
4
4
 
5
5
 
6
6
  var _chunkF6X43VUXjs = require('./chunk-F6X43VUX.js');
@@ -86,7 +86,7 @@ async function npmPublishExecutorFn(options, context) {
86
86
  return { success: true };
87
87
  }
88
88
  await _chunkF6X43VUXjs.pnpmUpdate.call(void 0, packageRoot, context.root);
89
- await _chunkXCCNQQVXjs.addPackageJsonGitHead.call(void 0, packageRoot);
89
+ await _chunkBGYHLARBjs.addPackageJsonGitHead.call(void 0, packageRoot);
90
90
  const npmPublishCommandSegments = [`npm publish --json`];
91
91
  const npmViewCommandSegments = [
92
92
  `npm view ${packageName} versions dist-tags --json`
@@ -4,7 +4,7 @@
4
4
  var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
5
5
 
6
6
 
7
- var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
7
+ var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
16
+ var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
17
17
 
18
18
 
19
19
  var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
@@ -22,30 +22,30 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
22
22
  var withRunGenerator = (name, generatorFn, generatorOptions = {
23
23
  skipReadingConfig: false
24
24
  }) => async (tree, _options) => {
25
- const stopwatch = _chunk64SHSYARjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunk4GLMTOQPjs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config;
28
28
  try {
29
- _chunk64SHSYARjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
29
+ _chunk4GLMTOQPjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
30
 
31
31
  `, config);
32
32
  const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
33
33
  if (!generatorOptions.skipReadingConfig) {
34
- _chunk64SHSYARjs.writeDebug.call(void 0,
34
+ _chunk4GLMTOQPjs.writeDebug.call(void 0,
35
35
  `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`,
37
37
  config
38
38
  );
39
- config = await _chunkOH7KAS54js.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunkXBWF35MSjs.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
- _chunk64SHSYARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
42
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
43
43
  options = await Promise.resolve(
44
44
  generatorOptions.hooks.applyDefaultOptions(options, config)
45
45
  );
46
- _chunk64SHSYARjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
46
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
47
47
  }
48
- _chunk64SHSYARjs.writeTrace.call(void 0,
48
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
49
49
  `Generator schema options \u2699\uFE0F
50
50
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
51
51
  config
@@ -56,11 +56,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
56
56
  _chunkJ2Z4WP3Ejs.applyWorkspaceBaseTokens
57
57
  );
58
58
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
59
- _chunk64SHSYARjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
59
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
60
60
  await Promise.resolve(
61
61
  generatorOptions.hooks.preProcess(tokenized, config)
62
62
  );
63
- _chunk64SHSYARjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
63
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
64
64
  }
65
65
  const result = await Promise.resolve(
66
66
  generatorFn(tree, tokenized, config)
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
75
75
  }
76
76
  }
77
77
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
78
- _chunk64SHSYARjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
78
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
79
79
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
80
- _chunk64SHSYARjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
80
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
81
81
  }
82
82
  return () => {
83
- _chunk64SHSYARjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
83
+ _chunk4GLMTOQPjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
84
84
  `, config);
85
85
  };
86
86
  } catch (error) {
87
87
  return () => {
88
- _chunk64SHSYARjs.writeFatal.call(void 0,
88
+ _chunk4GLMTOQPjs.writeFatal.call(void 0,
89
89
  "A fatal error occurred while running the generator - the process was forced to terminate",
90
90
  config
91
91
  );
92
- _chunk64SHSYARjs.writeError.call(void 0,
92
+ _chunk4GLMTOQPjs.writeError.call(void 0,
93
93
  `An exception was thrown in the generator's process
94
94
  - Details: ${error.message}
95
95
  - Stacktrace: ${error.stack}`,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL3U7C6IXjs = require('./chunk-L3U7C6IX.js');
3
+ var _chunk67VOWLCOjs = require('./chunk-67VOWLCO.js');
4
4
 
5
5
 
6
6
 
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
31
31
  ) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
32
32
  return {
33
33
  type: "Cargo.toml",
34
- content: _chunkL3U7C6IXjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
34
+ content: _chunk67VOWLCOjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
35
35
  };
36
36
  } else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
37
37
  project,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-F2BM22QJ.mjs";
7
+ } from "./chunk-QEX7AIDZ.mjs";
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-XKAAYYJP.mjs";
3
+ } from "./chunk-DVHD56A6.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-CNBBZVVG.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-NI6UCWBQ.mjs";
7
+ } from "./chunk-GXYQMSLG.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -14,7 +14,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
14
14
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
15
15
  var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
16
16
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
17
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
18
17
  var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
19
18
  var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
20
19
  var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
@@ -97,7 +96,7 @@ var SingleThemeColorConfigSchema = z.object({
97
96
  positive: PositiveColorSchema,
98
97
  negative: NegativeColorSchema
99
98
  });
100
- var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
99
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
101
100
  var RegistryConfigSchema = z.object({
102
101
  github: RegistryUrlConfigSchema,
103
102
  npm: RegistryUrlConfigSchema,
@@ -124,18 +123,18 @@ var WorkspaceBotConfigSchema = z.object({
124
123
  name: z.string().trim().default("stormie-bot").describe(
125
124
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
126
125
  ),
127
- email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
126
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
128
127
  }).describe(
129
128
  "The workspace's bot user's config used to automated various operations tasks"
130
129
  );
131
130
  var WorkspaceReleaseConfigSchema = z.object({
132
- banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
131
+ banner: z.string().trim().optional().describe(
133
132
  "A URL to a banner image used to display the workspace's release"
134
133
  ),
135
134
  header: z.string().trim().optional().describe(
136
135
  "A header message appended to the start of the workspace's release notes"
137
136
  ),
138
- footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
137
+ footer: z.string().trim().optional().describe(
139
138
  "A footer message appended to the end of the workspace's release notes"
140
139
  )
141
140
  }).describe("The workspace's release config used during the release process");
@@ -167,19 +166,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
167
166
  );
168
167
  var errorConfigSchema = z.object({
169
168
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
170
- url: z.string().trim().url().optional().describe(
169
+ url: z.url().optional().describe(
171
170
  "A URL to a page that looks up the workspace's error messages given a specific error code"
172
171
  )
173
172
  }).describe("The workspace's error config used during the error process");
174
173
  var organizationConfigSchema = z.object({
175
174
  name: z.string().trim().describe("The name of the organization"),
176
175
  description: z.string().trim().optional().describe("A description of the organization"),
177
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
178
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
179
- url: z.string().trim().url().optional().describe(
176
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
177
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
178
+ url: z.url().optional().describe(
180
179
  "A URL to a page that provides more information about the organization"
181
180
  )
182
181
  }).describe("The workspace's organization details");
182
+ var MODE_OPTIONS = ["development", "staging", "production"];
183
183
  var stormWorkspaceConfigSchema = z.object({
184
184
  $schema: z.string().trim().default(
185
185
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -196,12 +196,12 @@ var stormWorkspaceConfigSchema = z.object({
196
196
  ),
197
197
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
198
198
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
199
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
200
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
201
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
202
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
203
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
204
- support: z.string().trim().url().optional().describe(
199
+ homepage: z.url().optional().describe("The homepage of the workspace"),
200
+ docs: z.url().optional().describe("The documentation site for the workspace"),
201
+ portal: z.url().optional().describe("The development portal site for the workspace"),
202
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
203
+ contact: z.url().optional().describe("The contact site for the workspace"),
204
+ support: z.url().optional().describe(
205
205
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
206
206
  ),
207
207
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -211,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
211
211
  release: WorkspaceReleaseConfigSchema,
212
212
  socials: WorkspaceSocialsConfigSchema,
213
213
  error: errorConfigSchema,
214
- mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
214
+ mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
215
215
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
216
216
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
217
217
  directories: WorkspaceDirectoryConfigSchema,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-NI6UCWBQ.mjs";
7
+ } from "./chunk-GXYQMSLG.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-LPNTTZ7I.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
5
5
 
6
6
 
7
- var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
7
+ var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk64SHSYARjs = require('./chunk-64SHSYAR.js');
17
+ var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
18
18
 
19
19
 
20
20
  var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
@@ -22,7 +22,7 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
22
22
  // src/base/base-executor.ts
23
23
  var _defu = require('defu');
24
24
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
25
- const stopwatch = _chunk64SHSYARjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunk4GLMTOQPjs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config = {};
28
28
  try {
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
36
36
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
37
  const projectName = context.projectName;
38
38
  config.workspaceRoot = workspaceRoot;
39
- _chunk64SHSYARjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
+ _chunk4GLMTOQPjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
40
40
  if (!executorOptions.skipReadingConfig) {
41
- _chunk64SHSYARjs.writeTrace.call(void 0,
41
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
42
42
  `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunkOH7KAS54js.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkXBWF35MSjs.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
- _chunk64SHSYARjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
53
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
54
54
  options = await Promise.resolve(
55
55
  executorOptions.hooks.applyDefaultOptions(options, config)
56
56
  );
57
- _chunk64SHSYARjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
57
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
58
  }
59
- _chunk64SHSYARjs.writeTrace.call(void 0,
59
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
60
60
  `Executor schema options \u2699\uFE0F
61
- ${_chunk64SHSYARjs.formatLogMessage.call(void 0, options)}
61
+ ${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
@@ -71,18 +71,18 @@ ${_chunk64SHSYARjs.formatLogMessage.call(void 0, options)}
71
71
  ),
72
72
  _chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
73
73
  );
74
- _chunk64SHSYARjs.writeTrace.call(void 0,
74
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunk64SHSYARjs.formatLogMessage.call(void 0, tokenized)}
76
+ ${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, tokenized)}
77
77
  `,
78
78
  config
79
79
  );
80
80
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
81
- _chunk64SHSYARjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
81
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
82
82
  await Promise.resolve(
83
83
  executorOptions.hooks.preProcess(tokenized, config)
84
84
  );
85
- _chunk64SHSYARjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
85
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
86
86
  }
87
87
  const ret = executorFn(tokenized, context, config);
88
88
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -95,9 +95,9 @@ ${_chunk64SHSYARjs.formatLogMessage.call(void 0, tokenized)}
95
95
  ret
96
96
  );
97
97
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
98
- _chunk64SHSYARjs.writeTrace.call(void 0,
98
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
99
99
  `Failure determined by the ${name} executor
100
- ${_chunk64SHSYARjs.formatLogMessage.call(void 0, result)}`,
100
+ ${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, result)}`,
101
101
  config
102
102
  );
103
103
  console.error(result);
@@ -106,21 +106,21 @@ ${_chunk64SHSYARjs.formatLogMessage.call(void 0, result)}`,
106
106
  });
107
107
  }
108
108
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunk64SHSYARjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
109
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
110
110
  await Promise.resolve(executorOptions.hooks.postProcess(config));
111
- _chunk64SHSYARjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
111
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
112
  }
113
- _chunk64SHSYARjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
113
+ _chunk4GLMTOQPjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
114
114
  `, config);
115
115
  return {
116
116
  success: true
117
117
  };
118
118
  } catch (error) {
119
- _chunk64SHSYARjs.writeFatal.call(void 0,
119
+ _chunk4GLMTOQPjs.writeFatal.call(void 0,
120
120
  "A fatal error occurred while running the executor - the process was forced to terminate",
121
121
  config
122
122
  );
123
- _chunk64SHSYARjs.writeError.call(void 0,
123
+ _chunk4GLMTOQPjs.writeError.call(void 0,
124
124
  `An exception was thrown in the executor's process
125
125
  - Details: ${error.message}
126
126
  - Stacktrace: ${error.stack}`,