@storm-software/workspace-tools 1.277.20 → 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 +13 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-VNFKHT7G.js → chunk-2JHF5IS5.js} +2 -2
  4. package/dist/{chunk-4H77H37J.mjs → chunk-4BGG5KKQ.mjs} +2 -2
  5. package/dist/{chunk-HA4W5J3L.js → chunk-4GLMTOQP.js} +14 -13
  6. package/dist/{chunk-S63NJ54N.mjs → chunk-4OXGU7IV.mjs} +1 -1
  7. package/dist/{chunk-BUYGDZSJ.js → chunk-5N6TQ2Q7.js} +2 -2
  8. package/dist/{chunk-LKEZCTL4.js → chunk-67VOWLCO.js} +2 -2
  9. package/dist/{chunk-FWDXHMEK.js → chunk-7JRJ7ITN.js} +2 -2
  10. package/dist/{chunk-Q2LFHRXR.js → chunk-AM2MMURU.js} +2 -2
  11. package/dist/{chunk-6YH3FSFC.js → chunk-BEW4BVPK.js} +16 -16
  12. package/dist/{chunk-AM4B2KNF.js → chunk-BGYHLARB.js} +2 -2
  13. package/dist/{chunk-HXYWGXOB.mjs → chunk-C2LQVLTD.mjs} +1 -1
  14. package/dist/{chunk-6JODU3UZ.mjs → chunk-DFI56II6.mjs} +1 -1
  15. package/dist/{chunk-YJWSOLY6.mjs → chunk-DHSUCTQM.mjs} +1 -1
  16. package/dist/{chunk-SOAXLDDB.mjs → chunk-DVHD56A6.mjs} +14 -13
  17. package/dist/{chunk-THCFFGCH.mjs → chunk-EQCZYIUE.mjs} +1 -1
  18. package/dist/{chunk-WC6B6ERL.js → chunk-F3T34ZU6.js} +21 -21
  19. package/dist/{chunk-D6UJ4HUZ.mjs → chunk-GXYQMSLG.mjs} +2 -2
  20. package/dist/{chunk-Y3FGWNNB.js → chunk-H6VAARZE.js} +4 -4
  21. package/dist/{chunk-DM7RP67R.js → chunk-HHPL5ID6.js} +2 -2
  22. package/dist/{chunk-3ELPBLDU.mjs → chunk-JC353UQP.mjs} +1 -1
  23. package/dist/{chunk-YLB53OQG.mjs → chunk-KXNKLBFZ.mjs} +1 -1
  24. package/dist/{chunk-H4NK5SAE.js → chunk-L7MNI24K.js} +2 -2
  25. package/dist/{chunk-CUDLNZFJ.mjs → chunk-MYXJTOEI.mjs} +1 -1
  26. package/dist/{chunk-U4NE2FOI.js → chunk-NCTBOEB6.js} +2 -2
  27. package/dist/{chunk-EWMCP653.mjs → chunk-NII223RE.mjs} +1 -1
  28. package/dist/{chunk-WFF5YHRP.mjs → chunk-OP2XRYHG.mjs} +2 -2
  29. package/dist/{chunk-CBMBAS6W.mjs → chunk-ORHXWW6Z.mjs} +1 -1
  30. package/dist/{chunk-FDZOCMGE.js → chunk-PFRPFUED.js} +2 -2
  31. package/dist/{chunk-XOL2OC2B.mjs → chunk-QEX7AIDZ.mjs} +2 -2
  32. package/dist/{chunk-PPI665B7.mjs → chunk-QMJOVAWO.mjs} +1 -1
  33. package/dist/{chunk-YTALFDTV.js → chunk-RSHD75IJ.js} +20 -20
  34. package/dist/{chunk-JY3FVWEU.js → chunk-SXCUWNQO.js} +2 -2
  35. package/dist/{chunk-4OOJ3GQ6.js → chunk-TL226NUR.js} +5 -5
  36. package/dist/{chunk-B763DIW7.mjs → chunk-UP425XDF.mjs} +3 -3
  37. package/dist/{chunk-BKARW2WP.mjs → chunk-VCZQSV5V.mjs} +1 -1
  38. package/dist/{chunk-HS7VVWGE.js → chunk-VF6V3QCQ.js} +2 -2
  39. package/dist/{chunk-7XMK3ECW.js → chunk-VLYV2HRU.js} +9 -9
  40. package/dist/{chunk-APTVAHTM.js → chunk-XBWF35MS.js} +20 -20
  41. package/dist/{chunk-2ZQMKGGX.mjs → chunk-XFGAP6WH.mjs} +2 -2
  42. package/dist/{chunk-MEWDABJB.js → chunk-YAMPLW2G.js} +2 -2
  43. package/dist/{chunk-GACEKLVS.mjs → chunk-YSFE5Q5D.mjs} +1 -1
  44. package/dist/{chunk-OTPG33ZD.mjs → chunk-YTQPCNAT.mjs} +1 -1
  45. package/dist/{chunk-H7K7JUH3.mjs → chunk-YXLNJX52.mjs} +2 -2
  46. package/dist/{chunk-67OBU6I4.js → chunk-YYQJS6BL.js} +5 -5
  47. package/dist/{chunk-R4RBCES4.mjs → chunk-Z6K5AW5Q.mjs} +3 -3
  48. package/dist/{chunk-CRY4A4IS.js → chunk-Z6MR2GWS.js} +32 -32
  49. package/dist/{executor-CNcQpUFx.d.ts → executor-BGlih0Ou.d.ts} +1 -1
  50. package/dist/{executor-DFhr-0jt.d.mts → executor-BjcGDiSg.d.mts} +1 -1
  51. package/dist/{executor-CtA9vyAd.d.mts → executor-Bv_NOfBv.d.mts} +1 -1
  52. package/dist/{executor-CZZ9eBEt.d.mts → executor-CQPJHucD.d.mts} +1 -1
  53. package/dist/{executor-CGTsha7t.d.mts → executor-DJt__8Y0.d.mts} +1 -1
  54. package/dist/{executor-BKGHjrPT.d.ts → executor-RP1lAVyh.d.ts} +1 -1
  55. package/dist/{executor-D6Hqra7r.d.ts → executor-fRL7fcY1.d.ts} +1 -1
  56. package/dist/{executor-LR45XLVO.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 +23 -23
  61. package/dist/{generator-A3oNtvrm.d.mts → generator-BUI_P7Fb.d.mts} +2 -2
  62. package/dist/{generator-Ckkhxzbg.d.mts → generator-BgBa6_si.d.mts} +2 -2
  63. package/dist/{generator-CHMsjcnn.d.ts → generator-C43jwL2P.d.ts} +1 -1
  64. package/dist/{generator-Dqd1O04H.d.ts → generator-Cl_v4Cpk.d.ts} +1 -1
  65. package/dist/{generator-CLozYalA.d.ts → generator-CydFSI6G.d.ts} +2 -2
  66. package/dist/{generator-DA5lU8Ks.d.mts → generator-DBdrS_hk.d.mts} +2 -2
  67. package/dist/{generator-LxyZX4w_.d.ts → generator-DJeUJqyi.d.ts} +2 -2
  68. package/dist/{generator-BN6dvDuW.d.mts → generator-Da0hA_sC.d.mts} +1 -1
  69. package/dist/{generator-Ca_o3ijT.d.ts → generator-DkyIj7DQ.d.ts} +2 -2
  70. package/dist/{generator-B6WLqjc0.d.mts → generator-jnNJJJQw.d.mts} +2 -2
  71. package/dist/{generator-B4gcglEv.d.ts → generator-tOJG5CUs.d.ts} +2 -2
  72. package/dist/{generator-hYXoCXuR.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 +14 -14
  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 +34 -34
  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-Bm4Fk9Mi.d.ts → types-BI3OX_IA.d.ts} +1 -1
  164. package/dist/{types-D6_s01MD.d.mts → types-Dgd3Nqzi.d.mts} +17 -17
  165. package/dist/{types-D6_s01MD.d.ts → types-Dgd3Nqzi.d.ts} +17 -17
  166. package/dist/{types-BFiF7NeK.d.mts → types-l0vW09YN.d.mts} +1 -1
  167. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
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
+
5
18
  ## [1.277.19](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.19) (2025-07-10)
6
19
 
7
20
  ### 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.18-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 _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.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 = _chunkWC6B6ERLjs.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-XOL2OC2B.mjs";
3
+ } from "./chunk-QEX7AIDZ.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-SOAXLDDB.mjs";
6
+ } from "./chunk-DVHD56A6.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-U7JFVMCK.mjs";
@@ -96,7 +96,7 @@ var SingleThemeColorConfigSchema = z.object({
96
96
  positive: PositiveColorSchema,
97
97
  negative: NegativeColorSchema
98
98
  });
99
- 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");
100
100
  var RegistryConfigSchema = z.object({
101
101
  github: RegistryUrlConfigSchema,
102
102
  npm: RegistryUrlConfigSchema,
@@ -123,7 +123,7 @@ var WorkspaceBotConfigSchema = z.object({
123
123
  name: z.string().trim().default("stormie-bot").describe(
124
124
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
125
125
  ),
126
- 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")
127
127
  }).describe(
128
128
  "The workspace's bot user's config used to automated various operations tasks"
129
129
  );
@@ -166,19 +166,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
166
166
  );
167
167
  var errorConfigSchema = z.object({
168
168
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
169
- url: z.string().trim().url().optional().describe(
169
+ url: z.url().optional().describe(
170
170
  "A URL to a page that looks up the workspace's error messages given a specific error code"
171
171
  )
172
172
  }).describe("The workspace's error config used during the error process");
173
173
  var organizationConfigSchema = z.object({
174
174
  name: z.string().trim().describe("The name of the organization"),
175
175
  description: z.string().trim().optional().describe("A description of the organization"),
176
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
177
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
178
- 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(
179
179
  "A URL to a page that provides more information about the organization"
180
180
  )
181
181
  }).describe("The workspace's organization details");
182
+ var MODE_OPTIONS = ["development", "staging", "production"];
182
183
  var stormWorkspaceConfigSchema = z.object({
183
184
  $schema: z.string().trim().default(
184
185
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -195,12 +196,12 @@ var stormWorkspaceConfigSchema = z.object({
195
196
  ),
196
197
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
197
198
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
198
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
199
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
200
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
201
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
202
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
203
- 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(
204
205
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
205
206
  ),
206
207
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -210,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
210
211
  release: WorkspaceReleaseConfigSchema,
211
212
  socials: WorkspaceSocialsConfigSchema,
212
213
  error: errorConfigSchema,
213
- 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"),
214
215
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
215
216
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
216
217
  directories: WorkspaceDirectoryConfigSchema,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-CNBBZVVG.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-D6UJ4HUZ.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 _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.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 = _chunkWC6B6ERLjs.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 _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.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
- _chunkHA4W5J3Ljs.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 _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.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 = _chunkWC6B6ERLjs.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 _chunkAM4B2KNFjs = require('./chunk-AM4B2KNF.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 _chunkAM4B2KNFjs.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 _chunkAPTVAHTMjs = require('./chunk-APTVAHTM.js');
7
+ var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunkAPTVAHTMjs = require('./chunk-APTVAHTM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.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 = _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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 _chunkAPTVAHTMjs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
46
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
47
47
  }
48
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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 _chunkLKEZCTL4js = require('./chunk-LKEZCTL4.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: _chunkLKEZCTL4js.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-XOL2OC2B.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-SOAXLDDB.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-D6UJ4HUZ.mjs";
7
+ } from "./chunk-GXYQMSLG.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -96,7 +96,7 @@ var SingleThemeColorConfigSchema = z.object({
96
96
  positive: PositiveColorSchema,
97
97
  negative: NegativeColorSchema
98
98
  });
99
- 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");
100
100
  var RegistryConfigSchema = z.object({
101
101
  github: RegistryUrlConfigSchema,
102
102
  npm: RegistryUrlConfigSchema,
@@ -123,7 +123,7 @@ var WorkspaceBotConfigSchema = z.object({
123
123
  name: z.string().trim().default("stormie-bot").describe(
124
124
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
125
125
  ),
126
- 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")
127
127
  }).describe(
128
128
  "The workspace's bot user's config used to automated various operations tasks"
129
129
  );
@@ -166,19 +166,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
166
166
  );
167
167
  var errorConfigSchema = z.object({
168
168
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
169
- url: z.string().trim().url().optional().describe(
169
+ url: z.url().optional().describe(
170
170
  "A URL to a page that looks up the workspace's error messages given a specific error code"
171
171
  )
172
172
  }).describe("The workspace's error config used during the error process");
173
173
  var organizationConfigSchema = z.object({
174
174
  name: z.string().trim().describe("The name of the organization"),
175
175
  description: z.string().trim().optional().describe("A description of the organization"),
176
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
177
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
178
- 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(
179
179
  "A URL to a page that provides more information about the organization"
180
180
  )
181
181
  }).describe("The workspace's organization details");
182
+ var MODE_OPTIONS = ["development", "staging", "production"];
182
183
  var stormWorkspaceConfigSchema = z.object({
183
184
  $schema: z.string().trim().default(
184
185
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -195,12 +196,12 @@ var stormWorkspaceConfigSchema = z.object({
195
196
  ),
196
197
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
197
198
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
198
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
199
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
200
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
201
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
202
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
203
- 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(
204
205
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
205
206
  ),
206
207
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -210,7 +211,7 @@ var stormWorkspaceConfigSchema = z.object({
210
211
  release: WorkspaceReleaseConfigSchema,
211
212
  socials: WorkspaceSocialsConfigSchema,
212
213
  error: errorConfigSchema,
213
- 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"),
214
215
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
215
216
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
216
217
  directories: WorkspaceDirectoryConfigSchema,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-D6UJ4HUZ.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 _chunkAPTVAHTMjs = require('./chunk-APTVAHTM.js');
7
+ var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ var _chunkAPTVAHTMjs = require('./chunk-APTVAHTM.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.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 = _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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 _chunkAPTVAHTMjs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
57
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
58
  }
59
- _chunkHA4W5J3Ljs.writeTrace.call(void 0,
59
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
60
60
  `Executor schema options \u2699\uFE0F
61
- ${_chunkHA4W5J3Ljs.formatLogMessage.call(void 0, options)}
61
+ ${_chunk4GLMTOQPjs.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
@@ -71,18 +71,18 @@ ${_chunkHA4W5J3Ljs.formatLogMessage.call(void 0, options)}
71
71
  ),
72
72
  _chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
73
73
  );
74
- _chunkHA4W5J3Ljs.writeTrace.call(void 0,
74
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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 @@ ${_chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.writeTrace.call(void 0,
98
+ _chunk4GLMTOQPjs.writeTrace.call(void 0,
99
99
  `Failure determined by the ${name} executor
100
- ${_chunkHA4W5J3Ljs.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 @@ ${_chunkHA4W5J3Ljs.formatLogMessage.call(void 0, result)}`,
106
106
  });
107
107
  }
108
108
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.writeDebug.call(void 0, "Completed the postProcess hook", config);
111
+ _chunk4GLMTOQPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
112
  }
113
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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
- _chunkHA4W5J3Ljs.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}`,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-X6PHOMFB.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-YLB53OQG.mjs";
7
+ } from "./chunk-KXNKLBFZ.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-SOAXLDDB.mjs";
16
+ } from "./chunk-DVHD56A6.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-LSF4BHCI.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.js');
3
+ var _chunkF3T34ZU6js = require('./chunk-F3T34ZU6.js');
4
4
 
5
5
 
6
- var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.js');
6
+ var _chunk4GLMTOQPjs = require('./chunk-4GLMTOQP.js');
7
7
 
8
8
 
9
9
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -12,7 +12,7 @@ var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
12
12
  var _defu = require('defu');
13
13
  var _jiti = require('jiti');
14
14
  async function unbuildExecutorFn(options, context, config) {
15
- _chunkHA4W5J3Ljs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
15
+ _chunk4GLMTOQPjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
16
16
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
17
17
  throw new Error(
18
18
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkWC6B6ERLjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunkF3T34ZU6js.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
5
5
 
6
6
 
7
- var _chunk6YH3FSFCjs = require('./chunk-6YH3FSFC.js');
7
+ var _chunkBEW4BVPKjs = require('./chunk-BEW4BVPK.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
85
- var generator_default = _chunk6YH3FSFCjs.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkBEW4BVPKjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {