@storm-software/workspace-tools 1.258.6 → 1.258.8

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 (237) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/config/base.json +1 -1
  4. package/dist/{chunk-3F3NF4YM.js → chunk-2TQXYRZ2.js} +5 -5
  5. package/dist/{chunk-JRD4Z5TP.mjs → chunk-3DA3TU7H.mjs} +2 -2
  6. package/dist/{chunk-ANWKNY2S.mjs → chunk-3LMQ7A5E.mjs} +1 -1
  7. package/dist/{chunk-IV7DHZEI.mjs → chunk-422NV4UL.mjs} +10 -10
  8. package/dist/{chunk-GHEKTH3H.mjs → chunk-44JHFUCX.mjs} +2 -2
  9. package/dist/{chunk-U6XGT4BU.mjs → chunk-4G7TO7DK.mjs} +4 -4
  10. package/dist/{chunk-XKLYAMQS.js → chunk-5RCOCQH4.js} +2 -2
  11. package/dist/{chunk-LJGEDT3L.js → chunk-5ZRY4MVL.js} +73 -0
  12. package/dist/{chunk-QPAAA2OZ.mjs → chunk-6FJBMCUB.mjs} +1 -1
  13. package/dist/{chunk-ZR26PZGA.js → chunk-6OSR2VYB.js} +7 -7
  14. package/dist/{chunk-YEGKOZPW.js → chunk-7BWXITD4.js} +2 -2
  15. package/dist/{chunk-IZBZMG7H.mjs → chunk-A4QFANJD.mjs} +1 -1
  16. package/dist/{chunk-HB4LJD5U.js → chunk-B5E3XSP6.js} +2 -2
  17. package/dist/{chunk-KYPQ2RJW.mjs → chunk-BIKY5HDG.mjs} +4 -4
  18. package/dist/{chunk-URH3WA2O.mjs → chunk-CAS5H2GG.mjs} +2 -2
  19. package/dist/{chunk-XMOCZMKF.mjs → chunk-CD3M4BYC.mjs} +3 -3
  20. package/dist/{chunk-GCE5FKMI.js → chunk-D56HKJCS.js} +9 -9
  21. package/dist/{chunk-HZHADTJO.mjs → chunk-DJFG4LGU.mjs} +1 -1
  22. package/dist/{chunk-GNGBNABC.mjs → chunk-DUUNSAIT.mjs} +1 -1
  23. package/dist/{chunk-IBKU62MC.js → chunk-DWHFHGLZ.js} +2 -2
  24. package/dist/{chunk-74VPPX36.mjs → chunk-EREQD6LF.mjs} +76 -3
  25. package/dist/{chunk-UF5GVU3Z.js → chunk-EUFCKDUK.js} +2 -2
  26. package/dist/{chunk-S4ZVXW2Q.mjs → chunk-F43E25RT.mjs} +4 -4
  27. package/dist/{chunk-BZB4EUIR.mjs → chunk-GYGR5QJY.mjs} +2 -2
  28. package/dist/{chunk-MZ7FNI4Z.mjs → chunk-H7TZFCSU.mjs} +1 -1
  29. package/dist/{chunk-5T3XS2OY.js → chunk-HOH2SGCB.js} +15 -15
  30. package/dist/{chunk-ZTQL63SV.js → chunk-I2FWSOY2.js} +2 -2
  31. package/dist/{chunk-GRHWDFNY.js → chunk-IJO4MZSE.js} +4 -4
  32. package/dist/{chunk-XONECYS4.js → chunk-KEBNU3P2.js} +39 -6
  33. package/dist/{chunk-Z5226LCS.js → chunk-KHQPJPM5.js} +2 -2
  34. package/dist/{chunk-EHWWPRTA.js → chunk-LUZNYXQ3.js} +5 -5
  35. package/dist/{chunk-UFZMCWNT.js → chunk-LZFVNTSD.js} +20 -20
  36. package/dist/{chunk-NB3JA2EC.mjs → chunk-MQU3PU5I.mjs} +3 -3
  37. package/dist/{chunk-GPLPX4K5.js → chunk-MZDSQVPG.js} +7 -7
  38. package/dist/{chunk-4ACCAZBA.js → chunk-NQZZEUJZ.js} +32 -32
  39. package/dist/{chunk-7COYD6CR.mjs → chunk-NSGGX475.mjs} +6 -6
  40. package/dist/{chunk-XNFVNPJG.mjs → chunk-O3U3FNMB.mjs} +4 -4
  41. package/dist/{chunk-WA2VJ2IR.mjs → chunk-OEXS6BM2.mjs} +1 -1
  42. package/dist/{chunk-VX3ZNHGC.mjs → chunk-OWQYES7U.mjs} +1 -1
  43. package/dist/{chunk-HMUVZGHI.mjs → chunk-OZJRGZYP.mjs} +3 -3
  44. package/dist/{chunk-Y3EKTMQS.mjs → chunk-PDABJOFA.mjs} +42 -9
  45. package/dist/{chunk-CH2OHODH.mjs → chunk-PX3Q7IW7.mjs} +2 -2
  46. package/dist/{chunk-7S4LTNOR.js → chunk-QAHYWB6S.js} +11 -11
  47. package/dist/{chunk-PPQX2JYW.mjs → chunk-RC33SW7M.mjs} +4 -4
  48. package/dist/{chunk-4HNQJ5N3.mjs → chunk-RL4PGDLS.mjs} +2 -2
  49. package/dist/{chunk-S3ALYLKC.mjs → chunk-S5FGJ3VF.mjs} +3 -3
  50. package/dist/{chunk-G2IO7AN3.mjs → chunk-SERUXLAQ.mjs} +5 -5
  51. package/dist/{chunk-XAJCHBHQ.mjs → chunk-SLD47MNH.mjs} +3 -3
  52. package/dist/{chunk-HJ7Q5IKQ.mjs → chunk-TPXVLKDP.mjs} +4 -4
  53. package/dist/{chunk-EKCNHHP6.mjs → chunk-U5EBEAZT.mjs} +6 -6
  54. package/dist/{chunk-2PK5BCIY.js → chunk-UH5YAUZF.js} +2 -2
  55. package/dist/{chunk-JO5RMPRZ.mjs → chunk-UK6CM2TY.mjs} +1 -1
  56. package/dist/{chunk-JCMCKJPZ.mjs → chunk-UUFGQFBH.mjs} +3 -3
  57. package/dist/{chunk-I3FKLXIS.mjs → chunk-UZCXVTJ2.mjs} +4 -4
  58. package/dist/{chunk-H44GNZFA.mjs → chunk-V3BHMCB3.mjs} +2 -2
  59. package/dist/{chunk-3YR543RX.mjs → chunk-WVQ6FTDW.mjs} +3 -3
  60. package/dist/{chunk-CKMKONYV.mjs → chunk-WXCBW33G.mjs} +3 -3
  61. package/dist/{chunk-K5ALCGH2.js → chunk-WZDSYTAY.js} +2 -2
  62. package/dist/{chunk-5NAUK656.mjs → chunk-X4Q7SFNW.mjs} +3 -3
  63. package/dist/{chunk-QS7QSWSD.mjs → chunk-XA5JHQKX.mjs} +4 -4
  64. package/dist/{chunk-XTO4N5DX.mjs → chunk-YMUMNLGM.mjs} +3 -3
  65. package/dist/{chunk-43IKGOHP.js → chunk-Z2DZKHBY.js} +42 -42
  66. package/dist/{chunk-QS4Z3DUV.mjs → chunk-ZMF7BFD4.mjs} +1 -1
  67. package/dist/{chunk-D2OSRALZ.mjs → chunk-ZZU66B3Z.mjs} +2 -2
  68. package/dist/{executor-DxeOzkYd.d.ts → executor-BDvqiAmr.d.ts} +1 -1
  69. package/dist/{executor-DvKywXQM.d.mts → executor-BLSVtRwG.d.mts} +1 -1
  70. package/dist/{executor-D9Lkezla.d.mts → executor-Bce2bwmv.d.mts} +1 -1
  71. package/dist/{executor-DdnyhsRE.d.ts → executor-Be5Fd52r.d.ts} +1 -1
  72. package/dist/{executor-DIeaVupa.d.ts → executor-C_TfLA0a.d.ts} +1 -1
  73. package/dist/{executor-BzM1aAMj.d.ts → executor-Cn6-xbcu.d.ts} +1 -1
  74. package/dist/{executor-BDL9OXAe.d.mts → executor-D7hQFdok.d.mts} +1 -1
  75. package/dist/{executor-CJ2sUUqC.d.mts → executor-DFZM1IRb.d.mts} +1 -1
  76. package/dist/{executor-BOz02M0D.d.mts → executor-KAQdKP88.d.mts} +1 -1
  77. package/dist/{executor-DLeeL4eB.d.ts → executor-rWFext3F.d.ts} +1 -1
  78. package/dist/executors.d.mts +6 -6
  79. package/dist/executors.d.ts +6 -6
  80. package/dist/executors.js +14 -14
  81. package/dist/executors.mjs +22 -22
  82. package/dist/{generator-Cg5cXOd-.d.ts → generator-BlI_P2Wx.d.ts} +2 -2
  83. package/dist/{generator-Ci71Fj-h.d.mts → generator-Boug2ukK.d.mts} +2 -2
  84. package/dist/{generator-SVDta1L0.d.ts → generator-CDnWruqm.d.ts} +2 -2
  85. package/dist/{generator-BXQhJBFX.d.mts → generator-CWhc4hwg.d.mts} +2 -2
  86. package/dist/{generator-ANcVdjRd.d.mts → generator-D7OgP7cF.d.mts} +2 -2
  87. package/dist/{generator-DcKIyM9v.d.ts → generator-DbQxnpL0.d.ts} +2 -2
  88. package/dist/{generator-CAGPcZQ4.d.mts → generator-Mz3RW03i.d.mts} +1 -1
  89. package/dist/{generator-8l8dnSzj.d.ts → generator-Q7K2v4XK.d.ts} +1 -1
  90. package/dist/{generator-DnI2NZWN.d.ts → generator-RNiDtdN6.d.ts} +1 -1
  91. package/dist/{generator-C93HVhAG.d.mts → generator-XDHzC_Tb.d.mts} +1 -1
  92. package/dist/{generator-DDFJK57t.d.mts → generator-gSneYaPS.d.mts} +2 -2
  93. package/dist/{generator-Br48n2Qc.d.ts → generator-vajo9_If.d.ts} +2 -2
  94. package/dist/generators.d.mts +8 -8
  95. package/dist/generators.d.ts +8 -8
  96. package/dist/generators.js +9 -9
  97. package/dist/generators.mjs +16 -16
  98. package/dist/index.d.mts +13 -13
  99. package/dist/index.d.ts +13 -13
  100. package/dist/index.js +21 -21
  101. package/dist/index.mjs +40 -40
  102. package/dist/src/base/base-executor.d.mts +2 -2
  103. package/dist/src/base/base-executor.d.ts +2 -2
  104. package/dist/src/base/base-executor.js +3 -3
  105. package/dist/src/base/base-executor.mjs +6 -6
  106. package/dist/src/base/base-executor.untyped.mjs +1 -1
  107. package/dist/src/base/base-generator.d.mts +2 -2
  108. package/dist/src/base/base-generator.d.ts +2 -2
  109. package/dist/src/base/base-generator.js +3 -3
  110. package/dist/src/base/base-generator.mjs +6 -6
  111. package/dist/src/base/base-generator.untyped.mjs +1 -1
  112. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  113. package/dist/src/base/index.d.mts +2 -2
  114. package/dist/src/base/index.d.ts +2 -2
  115. package/dist/src/base/index.js +4 -4
  116. package/dist/src/base/index.mjs +10 -10
  117. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  118. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  119. package/dist/src/executors/cargo-build/executor.js +4 -4
  120. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  121. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  122. package/dist/src/executors/cargo-check/executor.js +4 -4
  123. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  124. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  125. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  126. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  127. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  128. package/dist/src/executors/cargo-doc/executor.js +4 -4
  129. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  130. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  131. package/dist/src/executors/cargo-format/executor.js +4 -4
  132. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  133. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  134. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  135. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  136. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  137. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  138. package/dist/src/executors/clean-package/executor.js +5 -5
  139. package/dist/src/executors/clean-package/executor.mjs +6 -6
  140. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  141. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  142. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  143. package/dist/src/executors/esbuild/executor.js +5 -5
  144. package/dist/src/executors/esbuild/executor.mjs +8 -8
  145. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  146. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  147. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  148. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  149. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  150. package/dist/src/executors/size-limit/executor.js +4 -4
  151. package/dist/src/executors/size-limit/executor.mjs +7 -7
  152. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  153. package/dist/src/executors/tsdown/executor.d.mts +2 -2
  154. package/dist/src/executors/tsdown/executor.d.ts +2 -2
  155. package/dist/src/executors/tsdown/executor.js +5 -5
  156. package/dist/src/executors/tsdown/executor.mjs +8 -8
  157. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  158. package/dist/src/executors/typia/executor.d.mts +2 -2
  159. package/dist/src/executors/typia/executor.d.ts +2 -2
  160. package/dist/src/executors/typia/executor.js +4 -4
  161. package/dist/src/executors/typia/executor.mjs +7 -7
  162. package/dist/src/executors/typia/untyped.mjs +1 -1
  163. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  164. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  165. package/dist/src/executors/unbuild/executor.js +4 -4
  166. package/dist/src/executors/unbuild/executor.mjs +7 -7
  167. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  168. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  169. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  170. package/dist/src/generators/browser-library/generator.js +4 -4
  171. package/dist/src/generators/browser-library/generator.mjs +9 -9
  172. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  173. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  174. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  175. package/dist/src/generators/config-schema/generator.js +4 -4
  176. package/dist/src/generators/config-schema/generator.mjs +7 -7
  177. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  178. package/dist/src/generators/init/init.mjs +2 -2
  179. package/dist/src/generators/init/untyped.mjs +1 -1
  180. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  181. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  182. package/dist/src/generators/neutral-library/generator.js +4 -4
  183. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  184. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  185. package/dist/src/generators/node-library/generator.d.mts +3 -3
  186. package/dist/src/generators/node-library/generator.d.ts +3 -3
  187. package/dist/src/generators/node-library/generator.js +4 -4
  188. package/dist/src/generators/node-library/generator.mjs +9 -9
  189. package/dist/src/generators/node-library/untyped.mjs +1 -1
  190. package/dist/src/generators/preset/generator.d.mts +3 -3
  191. package/dist/src/generators/preset/generator.d.ts +3 -3
  192. package/dist/src/generators/preset/generator.js +4 -4
  193. package/dist/src/generators/preset/generator.mjs +7 -7
  194. package/dist/src/generators/preset/untyped.mjs +1 -1
  195. package/dist/src/generators/release-version/generator.d.mts +2 -2
  196. package/dist/src/generators/release-version/generator.d.ts +2 -2
  197. package/dist/src/generators/release-version/generator.js +3 -3
  198. package/dist/src/generators/release-version/generator.mjs +6 -6
  199. package/dist/src/generators/release-version/untyped.mjs +1 -1
  200. package/dist/src/plugins/rust/cargo-toml.js +2 -2
  201. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  202. package/dist/src/plugins/rust/index.js +2 -2
  203. package/dist/src/plugins/rust/index.mjs +4 -4
  204. package/dist/src/plugins/typescript/index.js +2 -2
  205. package/dist/src/plugins/typescript/index.mjs +4 -4
  206. package/dist/src/plugins/typescript/project-config.js +2 -2
  207. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  208. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  209. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  210. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  211. package/dist/src/types.d.mts +2 -2
  212. package/dist/src/types.d.ts +2 -2
  213. package/dist/src/types.mjs +1 -1
  214. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  215. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  216. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  217. package/dist/src/utils/cargo.mjs +2 -2
  218. package/dist/src/utils/create-cli-options.mjs +2 -2
  219. package/dist/src/utils/get-project-configurations.mjs +4 -4
  220. package/dist/src/utils/index.d.mts +2 -2
  221. package/dist/src/utils/index.d.ts +2 -2
  222. package/dist/src/utils/index.mjs +14 -14
  223. package/dist/src/utils/lock-file.mjs +2 -2
  224. package/dist/src/utils/package-helpers.mjs +4 -4
  225. package/dist/src/utils/plugin-helpers.mjs +3 -3
  226. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  227. package/dist/src/utils/project-tags.d.mts +2 -2
  228. package/dist/src/utils/project-tags.d.ts +2 -2
  229. package/dist/src/utils/project-tags.mjs +2 -2
  230. package/dist/src/utils/toml.mjs +2 -2
  231. package/dist/src/utils/typia-transform.mjs +2 -2
  232. package/dist/src/utils/versions.mjs +1 -1
  233. package/dist/{types-DLS_kod0.d.ts → types-C5TJM8DH.d.ts} +1 -1
  234. package/dist/{types-BbEVA-sX.d.ts → types-D6pIdih6.d.mts} +3 -3
  235. package/dist/{types-BbEVA-sX.d.mts → types-D6pIdih6.d.ts} +3 -3
  236. package/dist/{types-DM_AJ5NA.d.mts → types-DJVJD8fA.d.mts} +1 -1
  237. package/package.json +3 -3
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  getProjectPlatform
3
- } from "./chunk-JRD4Z5TP.mjs";
3
+ } from "./chunk-3DA3TU7H.mjs";
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag,
7
7
  isEqualProjectTag,
8
8
  setDefaultProjectTags
9
- } from "./chunk-WA2VJ2IR.mjs";
9
+ } from "./chunk-OEXS6BM2.mjs";
10
10
  import {
11
11
  __name
12
- } from "./chunk-QS4Z3DUV.mjs";
12
+ } from "./chunk-ZMF7BFD4.mjs";
13
13
 
14
14
  // src/plugins/typescript/project-config.ts
15
15
  import { existsSync } from "node:fs";
@@ -51,6 +51,23 @@ var createNodes = [
51
51
  }
52
52
  };
53
53
  } else {
54
+ if (!targets["lint-ls"]) {
55
+ targets["lint-ls"] = {
56
+ cache: true,
57
+ inputs: [
58
+ "linting",
59
+ "typescript",
60
+ "^production"
61
+ ],
62
+ dependsOn: [
63
+ "^lint-ls"
64
+ ],
65
+ executor: "nx:run-commands",
66
+ options: {
67
+ command: 'pnpm exec ls-lint --config="node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml" '
68
+ }
69
+ };
70
+ }
54
71
  if (!targets["lint-markdown"] && enableMarkdownlint) {
55
72
  targets["lint-markdown"] = {
56
73
  cache: true,
@@ -106,6 +123,62 @@ var createNodes = [
106
123
  }
107
124
  }
108
125
  }
126
+ if (!targets["format-toml"]) {
127
+ targets["format-toml"] = {
128
+ inputs: [
129
+ "linting",
130
+ "{projectRoot}/**/*.toml"
131
+ ],
132
+ outputs: [
133
+ "{projectRoot}/**/*.toml"
134
+ ],
135
+ dependsOn: [
136
+ "^format-toml"
137
+ ],
138
+ executor: "nx:run-commands",
139
+ options: {
140
+ command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
141
+ }
142
+ };
143
+ }
144
+ if (!targets["format-readme"]) {
145
+ targets["format-readme"] = {
146
+ inputs: [
147
+ "linting",
148
+ "documentation",
149
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
150
+ ],
151
+ outputs: [
152
+ "{projectRoot}/README.md"
153
+ ],
154
+ dependsOn: [
155
+ "^format-readme"
156
+ ],
157
+ executor: "nx:run-commands",
158
+ options: {
159
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
160
+ }
161
+ };
162
+ }
163
+ if (!targets["format-prettier"]) {
164
+ targets["format-prettier"] = {
165
+ inputs: [
166
+ "linting",
167
+ "typescript",
168
+ "^production"
169
+ ],
170
+ outputs: [
171
+ "{projectRoot}/**/*"
172
+ ],
173
+ dependsOn: [
174
+ "^format-prettier"
175
+ ],
176
+ executor: "nx:run-commands",
177
+ options: {
178
+ command: 'pnpm exec prettier "{projectRoot}/**/*" --write --ignore-unknown --no-error-on-unmatched-pattern --config="node_modules/@storm-software/prettier/config.json" --ignore-path="node_modules/@storm-software/prettier/.prettierignore" --cache --cache-location="node_modules/.cache/prettier/{projectRoot}" '
179
+ }
180
+ };
181
+ }
109
182
  if (!targets.format) {
110
183
  targets.format = {
111
184
  dependsOn: [
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunk5T3XS2OYjs = require('./chunk-5T3XS2OY.js');
7
+ var _chunkHOH2SGCBjs = require('./chunk-HOH2SGCB.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -73,7 +73,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
73
73
  return null;
74
74
  }
75
75
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
76
- var generator_default = _chunk5T3XS2OYjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
76
+ var generator_default = _chunkHOH2SGCBjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
77
77
  hooks: {
78
78
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
79
79
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceTokens
4
- } from "./chunk-4HNQJ5N3.mjs";
4
+ } from "./chunk-RL4PGDLS.mjs";
5
5
  import {
6
6
  getConfig,
7
7
  getStopwatch,
@@ -11,13 +11,13 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-IV7DHZEI.mjs";
14
+ } from "./chunk-422NV4UL.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
- } from "./chunk-BZB4EUIR.mjs";
17
+ } from "./chunk-GYGR5QJY.mjs";
18
18
  import {
19
19
  __name
20
- } from "./chunk-QS4Z3DUV.mjs";
20
+ } from "./chunk-ZMF7BFD4.mjs";
21
21
 
22
22
  // src/base/base-generator.ts
23
23
  var withRunGenerator = /* @__PURE__ */ __name((name, generatorFn, generatorOptions = {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  correctPaths
3
- } from "./chunk-HZHADTJO.mjs";
3
+ } from "./chunk-DJFG4LGU.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-QS4Z3DUV.mjs";
6
+ } from "./chunk-ZMF7BFD4.mjs";
7
7
 
8
8
  // ../config-tools/src/utilities/find-up.ts
9
9
  import { existsSync } from "node:fs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DGC5L3Z7.mjs";
4
4
  import {
5
5
  __name
6
- } from "./chunk-QS4Z3DUV.mjs";
6
+ } from "./chunk-ZMF7BFD4.mjs";
7
7
 
8
8
  // src/base/typescript-build-executor.untyped.ts
9
9
  import { defineUntypedSchema } from "untyped";
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
14
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
15
15
 
16
16
 
17
17
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkGPLPX4K5js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkGPLPX4K5js.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkGPLPX4K5js.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkMZDSQVPGjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkGPLPX4K5js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkGPLPX4K5js.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkMZDSQVPGjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkMZDSQVPGjs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
7
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -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 _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
3
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
4
4
 
5
5
 
6
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
6
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkGPLPX4K5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -77,6 +77,25 @@ var createNodesV2 = [
77
77
  continue;
78
78
  }
79
79
  project.targets = {
80
+ "lint-markdown": {
81
+ cache: true,
82
+ outputs: [
83
+ "{projectRoot}/**/*.md",
84
+ "{projectRoot}/**/*.mdx"
85
+ ],
86
+ inputs: [
87
+ "linting",
88
+ "{projectRoot}/**/*.md",
89
+ "{projectRoot}/**/*.mdx"
90
+ ],
91
+ dependsOn: [
92
+ "^lint-markdown"
93
+ ],
94
+ executor: "nx:run-commands",
95
+ options: {
96
+ command: 'pnpm exec markdownlint-cli2 "{projectRoot}/*.{md,mdx}" "{projectRoot}/**/*.{md,mdx}" --config "node_modules/@storm-software/markdownlint/config/base.markdownlint-cli2.jsonc" --fix'
97
+ }
98
+ },
80
99
  "lint-ls": {
81
100
  cache: true,
82
101
  inputs: [
@@ -100,6 +119,8 @@ var createNodesV2 = [
100
119
  "^production"
101
120
  ],
102
121
  dependsOn: [
122
+ "lint-ls",
123
+ "lint-markdown",
103
124
  "^lint"
104
125
  ],
105
126
  executor: "@storm-software/workspace-tools:cargo-clippy",
@@ -133,23 +154,35 @@ var createNodesV2 = [
133
154
  inputs: [
134
155
  "linting",
135
156
  "documentation",
136
- "rust",
137
- "^production"
157
+ "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
158
+ ],
159
+ outputs: [
160
+ "{projectRoot}/README.md"
138
161
  ],
139
162
  dependsOn: [
140
163
  "^format-readme"
141
- ]
164
+ ],
165
+ executor: "nx:run-commands",
166
+ options: {
167
+ command: 'pnpm exec storm-git readme --templates="tools/readme-templates" --project="{projectName}"'
168
+ }
142
169
  },
143
170
  "format-toml": {
144
171
  cache: true,
145
172
  inputs: [
146
173
  "linting",
147
- "rust",
148
- "^production"
174
+ "{projectRoot}/**/*.toml"
175
+ ],
176
+ outputs: [
177
+ "{projectRoot}/**/*.toml"
149
178
  ],
150
179
  dependsOn: [
151
180
  "^format-toml"
152
- ]
181
+ ],
182
+ executor: "nx:run-commands",
183
+ options: {
184
+ command: 'pnpm exec taplo format --config="node_modules/@storm-software/linting-tools/taplo/config.toml" --cache-path="node_modules/.cache/taplo/{projectRoot}" --colors="always" "{projectRoot}/*.toml" "{projectRoot}/**/*.toml" '
185
+ }
153
186
  },
154
187
  "format-clippy": {
155
188
  cache: true,
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
7
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUFZMCWNTjs = require('./chunk-UFZMCWNT.js');
3
+ var _chunkLZFVNTSDjs = require('./chunk-LZFVNTSD.js');
4
4
 
5
5
 
6
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
6
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkUFZMCWNTjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkLZFVNTSDjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkGPLPX4K5js = require('./chunk-GPLPX4K5.js');
15
+ var _chunkMZDSQVPGjs = require('./chunk-MZDSQVPG.js');
16
16
 
17
17
 
18
18
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,7 +23,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  // src/base/base-executor.ts
24
24
  var _defu = require('defu');
25
25
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
26
- const stopwatch = _chunkGPLPX4K5js.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkMZDSQVPGjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
@@ -35,23 +35,23 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
35
35
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
36
36
  const projectName = context.projectName;
37
37
  config.workspaceRoot = workspaceRoot;
38
- _chunkGPLPX4K5js.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
38
+ _chunkMZDSQVPGjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
39
  if (!executorOptions.skipReadingConfig) {
40
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
40
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
41
41
  - workspaceRoot: ${workspaceRoot}
42
42
  - projectRoot: ${projectRoot}
43
43
  - sourceRoot: ${sourceRoot}
44
44
  - projectName: ${projectName}
45
45
  `, config);
46
- config = await _chunkGPLPX4K5js.getConfig.call(void 0, workspaceRoot);
46
+ config = await _chunkMZDSQVPGjs.getConfig.call(void 0, workspaceRoot);
47
47
  }
48
48
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
49
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
49
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
50
50
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
51
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
51
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
52
52
  }
53
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
- ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, options)}
53
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
+ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, options)}
55
55
  `, config);
56
56
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
57
57
  workspaceRoot,
@@ -60,13 +60,13 @@ ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, options)}
60
60
  projectName,
61
61
  config
62
62
  }, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
63
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
- ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, tokenized)}
63
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
+ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, tokenized)}
65
65
  `, config);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
67
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
70
70
  }
71
71
  const ret = executorFn(tokenized, context, config);
72
72
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -76,26 +76,26 @@ ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, tokenized)}
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  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")) {
79
- _chunkGPLPX4K5js.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunkGPLPX4K5js.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkMZDSQVPGjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkMZDSQVPGjs.formatLogMessage.call(void 0, result)}`, config);
81
81
  console.error(result);
82
82
  throw new Error(`The ${name} executor failed to run`, {
83
83
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
87
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunkGPLPX4K5js.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkMZDSQVPGjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunkGPLPX4K5js.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkMZDSQVPGjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
92
  `, config);
93
93
  return {
94
94
  success: true
95
95
  };
96
96
  } catch (error) {
97
- _chunkGPLPX4K5js.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunkGPLPX4K5js.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkMZDSQVPGjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkMZDSQVPGjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
99
  - Details: ${error.message}
100
100
  - Stacktrace: ${error.stack}`, config);
101
101
  return {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pnpmCatalogUpdate
3
- } from "./chunk-H44GNZFA.mjs";
3
+ } from "./chunk-V3BHMCB3.mjs";
4
4
  import {
5
5
  joinPaths
6
- } from "./chunk-HZHADTJO.mjs";
6
+ } from "./chunk-DJFG4LGU.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-QS4Z3DUV.mjs";
9
+ } from "./chunk-ZMF7BFD4.mjs";
10
10
 
11
11
  // src/executors/npm-publish/executor.ts
12
12
  import { execSync } from "node:child_process";
@@ -129,11 +129,11 @@ var StormConfigSchema = _zod2.default.object({
129
129
  preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
130
130
  owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
131
131
  bot: WorkspaceBotConfigSchema,
132
- env: _zod2.default.enum([
132
+ mode: _zod2.default.enum([
133
133
  "development",
134
134
  "staging",
135
135
  "production"
136
- ]).default("production").describe("The current runtime environment name for the package"),
136
+ ]).default("production").describe("The current runtime environment mode for the package"),
137
137
  workspaceRoot: _zod2.default.string().trim().default("").describe("The root directory of the workspace"),
138
138
  externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
139
139
  skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
@@ -607,7 +607,7 @@ var getConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
607
607
  build: process.env[`${prefix}BUILD_DIR`] ? _chunkJTAXCQX6js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
608
608
  },
609
609
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
610
- env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
610
+ mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
611
611
  // ci:
612
612
  // process.env[`${prefix}CI`] !== undefined
613
613
  // ? Boolean(
@@ -816,10 +816,10 @@ var setConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config)
816
816
  process.env.NX_CACHE_PROJECT_GRAPH ??= String(config.skipCache);
817
817
  }
818
818
  }
819
- if (config.env) {
820
- process.env[`${prefix}ENV`] = config.env;
821
- process.env.NODE_ENV = config.env;
822
- process.env.ENVIRONMENT = config.env;
819
+ if (config.mode) {
820
+ process.env[`${prefix}MODE`] = config.mode;
821
+ process.env.NODE_ENV = config.mode;
822
+ process.env.ENVIRONMENT = config.mode;
823
823
  }
824
824
  if (_optionalChain([config, 'access', _44 => _44.colors, 'optionalAccess', _45 => _45.base, 'optionalAccess', _46 => _46.light]) || _optionalChain([config, 'access', _47 => _47.colors, 'optionalAccess', _48 => _48.base, 'optionalAccess', _49 => _49.dark])) {
825
825
  for (const key of Object.keys(config.colors)) {