@storm-software/workspace-tools 1.247.13 → 1.248.2

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 (97) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/config/base.json +29 -19
  4. package/dist/{chunk-KF7N7257.mjs → chunk-27EDH7NY.mjs} +1 -1
  5. package/dist/{chunk-WC2TNJLN.mjs → chunk-2KNHEXJQ.mjs} +2 -2
  6. package/dist/{chunk-YYGYJ6RD.js → chunk-3YC7YXGQ.js} +25 -25
  7. package/dist/{chunk-3OROMSFD.js → chunk-4AMZUCHL.js} +2 -2
  8. package/dist/{chunk-CJDYI6SP.js → chunk-4SJW3KRV.js} +2 -2
  9. package/dist/{chunk-KO35WWRE.mjs → chunk-57LRWY5U.mjs} +1 -1
  10. package/dist/{chunk-KHNJH7JQ.js → chunk-5O6RWCBQ.js} +2 -2
  11. package/dist/{chunk-QOUVCULF.mjs → chunk-7AXJ27FU.mjs} +1 -1
  12. package/dist/{chunk-QYC3WESC.mjs → chunk-7GW75RON.mjs} +1 -1
  13. package/dist/{chunk-IKU6KFBV.mjs → chunk-7H4PXXWW.mjs} +2 -2
  14. package/dist/{chunk-SI24L44V.mjs → chunk-APSDUSBR.mjs} +1 -1
  15. package/dist/{chunk-ZDHYVC5E.js → chunk-DCJXS5XI.js} +23 -23
  16. package/dist/{chunk-76D4P6YQ.js → chunk-FMOIAVZV.js} +31 -31
  17. package/dist/{chunk-XI7X3WOB.js → chunk-G7HTMCQK.js} +2 -2
  18. package/dist/{chunk-EDVXB4EP.js → chunk-JIQDXVMU.js} +22 -1
  19. package/dist/{chunk-V6H25SQW.mjs → chunk-JRGZWAZG.mjs} +1 -1
  20. package/dist/{chunk-Q3VF5VUQ.js → chunk-JXSTSZSG.js} +5 -5
  21. package/dist/{chunk-HGLKHBCY.js → chunk-K434EGC4.js} +2 -2
  22. package/dist/{chunk-OMDJO7Q6.js → chunk-KJPUYQEZ.js} +9 -9
  23. package/dist/{chunk-GDLIB6OQ.mjs → chunk-KM47X5XW.mjs} +2 -2
  24. package/dist/{chunk-G3UMUILK.mjs → chunk-N2P34ZQV.mjs} +10 -10
  25. package/dist/{chunk-VFASKAEJ.js → chunk-NXGJNB3C.js} +5 -5
  26. package/dist/{chunk-MNDO5WKT.mjs → chunk-OA6GD45B.mjs} +3 -4
  27. package/dist/{chunk-FZ7XOB5X.mjs → chunk-P4ZEGEQX.mjs} +1 -1
  28. package/dist/{chunk-BJK4LIZW.js → chunk-Q4YG53DV.js} +20 -20
  29. package/dist/{chunk-7DDXDUF3.mjs → chunk-Q6OBRMZG.mjs} +1 -1
  30. package/dist/{chunk-LV7XJZRR.mjs → chunk-QDZUYDVM.mjs} +22 -22
  31. package/dist/{chunk-HYTPWYZI.js → chunk-QKALACBC.js} +2 -2
  32. package/dist/{chunk-IDQTSO3Z.js → chunk-R2NBU264.js} +15 -15
  33. package/dist/{chunk-TKBY73FG.mjs → chunk-R63XBQKW.mjs} +25 -25
  34. package/dist/{chunk-WSYDQJ6Y.mjs → chunk-RSFH5OLL.mjs} +1 -1
  35. package/dist/{chunk-KCTEA3CC.mjs → chunk-S73S6XCY.mjs} +2 -2
  36. package/dist/{chunk-NNGBY52Z.js → chunk-SJNJ6TCD.js} +2 -2
  37. package/dist/{chunk-HLIO3W3D.mjs → chunk-TNAEFYVH.mjs} +1 -2
  38. package/dist/{chunk-NIO6FDIN.js → chunk-TSVTG657.js} +15 -15
  39. package/dist/{chunk-C773DCF3.mjs → chunk-UF3YMASN.mjs} +3 -3
  40. package/dist/{chunk-JQSRI7HM.js → chunk-WDK2FJUH.js} +2 -2
  41. package/dist/{chunk-GDHD4LIX.js → chunk-WGTIKGAE.js} +4 -4
  42. package/dist/{chunk-5JXVOE56.mjs → chunk-WK734NEX.mjs} +22 -1
  43. package/dist/{chunk-L7CTAQFR.js → chunk-WL7UV3YX.js} +41 -42
  44. package/dist/{chunk-K2JR6RSF.js → chunk-YDV7OQMN.js} +11 -12
  45. package/dist/{chunk-HIJLTEQJ.mjs → chunk-YILBFUCI.mjs} +1 -1
  46. package/dist/executors.js +15 -15
  47. package/dist/executors.mjs +18 -18
  48. package/dist/generators.js +9 -9
  49. package/dist/generators.mjs +8 -8
  50. package/dist/index.js +22 -22
  51. package/dist/index.mjs +25 -25
  52. package/dist/src/base/base-executor.js +3 -3
  53. package/dist/src/base/base-executor.mjs +2 -2
  54. package/dist/src/base/base-generator.js +3 -3
  55. package/dist/src/base/base-generator.mjs +2 -2
  56. package/dist/src/base/index.js +4 -4
  57. package/dist/src/base/index.mjs +3 -3
  58. package/dist/src/executors/cargo-build/executor.js +4 -4
  59. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  60. package/dist/src/executors/cargo-check/executor.js +4 -4
  61. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  62. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  63. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  64. package/dist/src/executors/cargo-doc/executor.js +4 -4
  65. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  66. package/dist/src/executors/cargo-format/executor.js +4 -4
  67. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  68. package/dist/src/executors/clean-package/executor.js +5 -5
  69. package/dist/src/executors/clean-package/executor.mjs +2 -2
  70. package/dist/src/executors/esbuild/executor.js +5 -5
  71. package/dist/src/executors/esbuild/executor.mjs +4 -4
  72. package/dist/src/executors/size-limit/executor.js +4 -4
  73. package/dist/src/executors/size-limit/executor.mjs +3 -3
  74. package/dist/src/executors/tsdown/executor.js +5 -5
  75. package/dist/src/executors/tsdown/executor.mjs +4 -4
  76. package/dist/src/executors/typia/executor.js +4 -4
  77. package/dist/src/executors/typia/executor.mjs +3 -3
  78. package/dist/src/executors/unbuild/executor.js +4 -4
  79. package/dist/src/executors/unbuild/executor.mjs +3 -3
  80. package/dist/src/generators/browser-library/generator.js +4 -4
  81. package/dist/src/generators/browser-library/generator.mjs +3 -3
  82. package/dist/src/generators/config-schema/generator.js +4 -4
  83. package/dist/src/generators/config-schema/generator.mjs +3 -3
  84. package/dist/src/generators/neutral-library/generator.js +4 -4
  85. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  86. package/dist/src/generators/node-library/generator.js +4 -4
  87. package/dist/src/generators/node-library/generator.mjs +3 -3
  88. package/dist/src/generators/preset/generator.js +4 -4
  89. package/dist/src/generators/preset/generator.mjs +3 -3
  90. package/dist/src/generators/release-version/generator.js +3 -3
  91. package/dist/src/generators/release-version/generator.mjs +2 -2
  92. package/dist/src/plugins/typescript/index.js +2 -2
  93. package/dist/src/plugins/typescript/index.mjs +1 -1
  94. package/dist/src/plugins/typescript/project-config.js +2 -2
  95. package/dist/src/plugins/typescript/project-config.mjs +1 -1
  96. package/dist/src/plugins/typescript/untyped-schema.ts +20 -20
  97. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 1.248.2 (2025-02-04)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **monorepo:** Resolve issue with inconsistent `chalk` versions ([e20742ea0](https://github.com/storm-software/storm-ops/commit/e20742ea0))
6
+
7
+ ## 1.248.1 (2025-02-04)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **workspace-tools:** Resolve issue with target configuration ([d68a5225a](https://github.com/storm-software/storm-ops/commit/d68a5225a))
12
+
13
+ ## 1.248.0 (2025-02-04)
14
+
15
+ ### Features
16
+
17
+ - **workspace-tools:** Added various new linting tasks and Nx plugin configuration ([9b6a4a1ca](https://github.com/storm-software/storm-ops/commit/9b6a4a1ca))
18
+
19
+ ### Bug Fixes
20
+
21
+ - **monorepo:** Resolved issue with invalid `prettier` config used in hooks ([34974919d](https://github.com/storm-software/storm-ops/commit/34974919d))
22
+
23
+ ### Miscellaneous
24
+
25
+ - **monorepo:** Reformat the repo's files ([f33b07626](https://github.com/storm-software/storm-ops/commit/f33b07626))
26
+ - **monorepo:** Regenerate README markdown files ([d147539be](https://github.com/storm-software/storm-ops/commit/d147539be))
27
+
1
28
  ## 1.247.13 (2025-02-03)
2
29
 
3
30
  ### 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.247.12-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.248.1-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 -->
package/config/base.json CHANGED
@@ -313,23 +313,18 @@
313
313
  "dependsOn": ["^lint-ls"],
314
314
  "executor": "nx:run-commands",
315
315
  "options": {
316
- "command": "pnpm exec ls-lint --config=\"./node_modules/@storm-software/linting-tools/ls-lint/.ls-lint.yml\" ",
316
+ "command": "pnpm exec ls-lint --config=\"@storm-software/linting-tools/ls-lint/config.yml\" --workdir=\"{projectRoot}\"",
317
317
  "color": true
318
318
  }
319
319
  },
320
- "lint-sherif": {
321
- "outputs": ["{projectRoot}/package.json"],
322
- "inputs": ["{workspaceRoot}/package.json", "{projectRoot}/package.json"],
320
+ "lint-markdown": {
321
+ "outputs": ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
322
+ "inputs": ["{projectRoot}/**/*.md", "{projectRoot}/**/*.mdx"],
323
+ "dependsOn": ["^lint-markdown"],
323
324
  "executor": "nx:run-commands",
324
325
  "options": {
325
- "command": "pnpm exec sherif -i react -i react-dom -i typescript"
326
- }
327
- },
328
- "lint-knip": {
329
- "inputs": ["linting", "default", "^production"],
330
- "executor": "nx:run-commands",
331
- "options": {
332
- "command": "pnpm exec knip"
326
+ "command": "pnpm exec markdownlint-cli2 \"{projectRoot}/**/*.{md,mdx,markdown}\" --config=\"./node_modules/@storm-software/linting-tools/ls-lint/config.yml\" --workdir=\"{projectRoot}\"",
327
+ "color": true
333
328
  }
334
329
  },
335
330
  "lint": {
@@ -337,8 +332,8 @@
337
332
  "inputs": ["linting", "default", "^production"],
338
333
  "dependsOn": [
339
334
  "lint-ls",
340
- "lint-sherif",
341
- "lint-knip",
335
+ "lint-eslint",
336
+ "lint-markdown",
342
337
  "lint-docs",
343
338
  "^lint"
344
339
  ],
@@ -398,7 +393,7 @@
398
393
  },
399
394
  "clean": {
400
395
  "inputs": ["default", "^production"],
401
- "outputs": "NX_DEFAULT_BUILD_OUTPUTS",
396
+ "outputs": ["{workspaceRoot}/dist/{projectRoot}"],
402
397
  "dependsOn": ["^clean"],
403
398
  "executor": "nx:run-commands",
404
399
  "options": {
@@ -414,14 +409,17 @@
414
409
  "build-base": {
415
410
  "dependsOn": ["build-untyped", "^build"]
416
411
  },
417
- "build-local": {
412
+ "build-compile": {
418
413
  "inputs": ["default", "^production"],
419
414
  "dependsOn": ["build-base", "build-untyped", "^build"]
420
415
  },
421
416
  "build": {
422
417
  "inputs": ["default", "^production"],
423
- "outputs": "NX_DEFAULT_BUILD_OUTPUTS",
424
- "dependsOn": ["build-base", "build-untyped", "^build"]
418
+ "outputs": ["{workspaceRoot}/dist/{projectRoot}"],
419
+ "dependsOn": ["build-base", "build-compile", "build-untyped", "^build"],
420
+ "options": {
421
+ "command": "echo Built the project files in \"{projectRoot}\" "
422
+ }
425
423
  },
426
424
  "rebuild": {
427
425
  "inputs": ["default", "^production"],
@@ -466,7 +464,7 @@
466
464
  }
467
465
  },
468
466
  "version": {
469
- "groupPreVersionCommand": "pnpm build-prod",
467
+ "groupPreVersionCommand": "pnpm build",
470
468
  "generator": "@storm-software/workspace-tools:release-version",
471
469
  "generatorOptions": {
472
470
  "currentVersionResolver": "git-tag",
@@ -476,6 +474,18 @@
476
474
  }
477
475
  }
478
476
  },
477
+ "plugins": [
478
+ {
479
+ "plugin": "@nx/eslint/plugin",
480
+ "options": {
481
+ "targetName": "lint-eslint",
482
+ "useFlatConfig": true
483
+ }
484
+ },
485
+ "@storm-software/workspace-tools/plugins/typescript",
486
+ "@storm-software/workspace-tools/plugins/typescript/tsup",
487
+ "@storm-software/workspace-tools/plugins/typescript/untyped"
488
+ ],
479
489
  "cli": {
480
490
  "packageManager": "pnpm"
481
491
  },
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-TKBY73FG.mjs";
15
+ } from "./chunk-R63XBQKW.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
18
  } from "./chunk-C5YDISDP.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-KF7N7257.mjs";
3
+ } from "./chunk-27EDH7NY.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-TKBY73FG.mjs";
6
+ } from "./chunk-R63XBQKW.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-R7DU2APC.mjs";
@@ -96,7 +96,7 @@ var RegistryConfigSchema = _zod2.default.object({
96
96
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(MultiThemeColorConfigSchema).describe("Colors used for various workspace elements");
97
97
  var ColorConfigMapSchema = _zod2.default.union([
98
98
  _zod2.default.object({
99
- "base": ColorConfigSchema
99
+ base: ColorConfigSchema
100
100
  }),
101
101
  _zod2.default.record(_zod2.default.string(), ColorConfigSchema)
102
102
  ]);
@@ -212,31 +212,31 @@ var _fs = require('fs');
212
212
  var _promises = require('fs/promises');
213
213
  var _path = require('path');
214
214
  var DEFAULT_COLOR_CONFIG = {
215
- "light": {
216
- "background": "#fafafa",
217
- "foreground": "#1d1e22",
218
- "brand": "#1fb2a6",
219
- "alternate": "#db2777",
220
- "help": "#5C4EE5",
221
- "success": "#087f5b",
222
- "info": "#0550ae",
223
- "warning": "#e3b341",
224
- "danger": "#D8314A",
225
- "positive": "#22c55e",
226
- "negative": "#dc2626"
215
+ light: {
216
+ background: "#fafafa",
217
+ foreground: "#1d1e22",
218
+ brand: "#1fb2a6",
219
+ alternate: "#db2777",
220
+ help: "#5C4EE5",
221
+ success: "#087f5b",
222
+ info: "#0550ae",
223
+ warning: "#e3b341",
224
+ danger: "#D8314A",
225
+ positive: "#22c55e",
226
+ negative: "#dc2626"
227
227
  },
228
- "dark": {
229
- "background": "#1d1e22",
230
- "foreground": "#cbd5e1",
231
- "brand": "#2dd4bf",
232
- "alternate": "#db2777",
233
- "help": "#818cf8",
234
- "success": "#10b981",
235
- "info": "#58a6ff",
236
- "warning": "#f3d371",
237
- "danger": "#D8314A",
238
- "positive": "#22c55e",
239
- "negative": "#dc2626"
228
+ dark: {
229
+ background: "#1d1e22",
230
+ foreground: "#cbd5e1",
231
+ brand: "#2dd4bf",
232
+ alternate: "#db2777",
233
+ help: "#818cf8",
234
+ success: "#10b981",
235
+ info: "#58a6ff",
236
+ warning: "#f3d371",
237
+ danger: "#D8314A",
238
+ positive: "#22c55e",
239
+ negative: "#dc2626"
240
240
  }
241
241
  };
242
242
  var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (root) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
7
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
7
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -20,7 +20,7 @@ async function cargoDocExecutor(options, context) {
20
20
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
21
21
  }
22
22
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
23
- var executor_default = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
24
24
  skipReadingConfig: false,
25
25
  hooks: {
26
26
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-KF7N7257.mjs";
7
+ } from "./chunk-27EDH7NY.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-R7DU2APC.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
7
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.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 = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XK3FSWMA.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-KF7N7257.mjs";
7
+ } from "./chunk-27EDH7NY.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-R7DU2APC.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-F2GYXQ5H.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V6H25SQW.mjs";
7
+ } from "./chunk-JRGZWAZG.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-KZJCDAOU.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-KF7N7257.mjs";
3
+ } from "./chunk-27EDH7NY.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-TKBY73FG.mjs";
6
+ } from "./chunk-R63XBQKW.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-KZJCDAOU.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-F2GYXQ5H.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-V6H25SQW.mjs";
7
+ } from "./chunk-JRGZWAZG.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-KZJCDAOU.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkNIO6FDINjs = require('./chunk-NIO6FDIN.js');
7
+ var _chunkTSVTG657js = require('./chunk-TSVTG657.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -63,14 +63,14 @@ async function presetGeneratorFn(tree, options) {
63
63
  };
64
64
  json.maintainers ??= [
65
65
  {
66
- "name": "Storm Software",
67
- "email": "contact@stormsoftware.com",
68
- "url": "https://stormsoftware.com"
66
+ name: "Storm Software",
67
+ email: "contact@stormsoftware.com",
68
+ url: "https://stormsoftware.com"
69
69
  },
70
70
  {
71
- "name": "Pat Sullivan",
72
- "email": "admin@stormsoftware.com",
73
- "url": "https://patsullivan.org"
71
+ name: "Pat Sullivan",
72
+ email: "admin@stormsoftware.com",
73
+ url: "https://patsullivan.org"
74
74
  }
75
75
  ];
76
76
  json.funding ??= {
@@ -86,12 +86,12 @@ async function presetGeneratorFn(tree, options) {
86
86
  };
87
87
  json.packageManager ??= "pnpm@9.15.2";
88
88
  json.engines ??= {
89
- "node": ">=20.11.0",
90
- "pnpm": ">=9.15.2"
89
+ node: ">=20.11.0",
90
+ pnpm: ">=9.15.2"
91
91
  };
92
92
  json.prettier = "@storm-software/prettier/config.json";
93
93
  json.nx ??= {
94
- "includedScripts": [
94
+ includedScripts: [
95
95
  "lint-sherif",
96
96
  "lint-knip",
97
97
  "lint-ls",
@@ -185,22 +185,22 @@ async function presetGeneratorFn(tree, options) {
185
185
  "@storm-software/prettier": "latest",
186
186
  "@taplo/cli": "0.7.0",
187
187
  "@types/node": "^20.14.10",
188
- "copyfiles": "2.4.1",
189
- "eslint": "9.5.0",
190
- "jest": "29.7.0",
188
+ copyfiles: "2.4.1",
189
+ eslint: "9.5.0",
190
+ jest: "29.7.0",
191
191
  "jest-environment-node": "29.7.0",
192
- "knip": "5.25.2",
193
- "lefthook": "1.6.18",
194
- "nx": "^20.2.2",
195
- "prettier": "3.3.2",
192
+ knip: "5.25.2",
193
+ lefthook: "1.6.18",
194
+ nx: "^20.2.2",
195
+ prettier: "3.3.2",
196
196
  "prettier-plugin-prisma": "5.0.0",
197
- "rimraf": "5.0.7",
198
- "sherif": "0.10.0",
197
+ rimraf: "5.0.7",
198
+ sherif: "0.10.0",
199
199
  "ts-jest": "29.1.5",
200
200
  "ts-node": "10.9.2",
201
- "tslib": "2.6.3",
202
- "typescript": "5.5.3",
203
- "verdaccio": "5.31.1"
201
+ tslib: "2.6.3",
202
+ typescript: "5.5.3",
203
+ verdaccio: "5.31.1"
204
204
  };
205
205
  if (options.includeApps) {
206
206
  dependencies = {
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunkNIO6FDINjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunkTSVTG657js.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238
 
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkIDQTSO3Zjs = require('./chunk-IDQTSO3Z.js');
9
+ var _chunkR2NBU264js = require('./chunk-R2NBU264.js');
10
10
 
11
11
 
12
- var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
12
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkYYGYJ6RDjs = require('./chunk-YYGYJ6RD.js');
22
+ var _chunk3YC7YXGQjs = require('./chunk-3YC7YXGQ.js');
23
23
 
24
24
 
25
25
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -74,9 +74,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
74
74
  if (!workspaceRoot) {
75
75
  throw new Error("Cannot find Nx workspace root");
76
76
  }
77
- const config = await _chunkYYGYJ6RDjs.getConfig.call(void 0, workspaceRoot.dir);
78
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
79
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "Build options resolution");
77
+ const config = await _chunk3YC7YXGQjs.getConfig.call(void 0, workspaceRoot.dir);
78
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
79
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Build options resolution");
80
80
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
81
81
  exitOnError: true
82
82
  });
@@ -93,19 +93,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
93
93
  }
94
94
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
95
95
  options.name ??= `${projectName}-${options.format}`;
96
- options.target ??= _chunkIDQTSO3Zjs.DEFAULT_TARGET;
96
+ options.target ??= _chunkR2NBU264js.DEFAULT_TARGET;
97
97
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
98
98
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
99
99
  throw new Error("Cannot find package.json configuration");
100
100
  }
101
- const env = _chunkIDQTSO3Zjs.getEnv.call(void 0, "tsdown", options);
101
+ const env = _chunkR2NBU264js.getEnv.call(void 0, "tsdown", options);
102
102
  const result = {
103
103
  ...options,
104
104
  config,
105
105
  ...userOptions,
106
106
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
107
107
  format: options.format || "cjs",
108
- entryPoints: await _chunkIDQTSO3Zjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
108
+ entryPoints: await _chunkR2NBU264js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
109
109
  "./src/index.ts"
110
110
  ], userOptions.emitOnAll),
111
111
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
@@ -116,7 +116,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
116
116
  projectGraph,
117
117
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
118
118
  minify: userOptions.minify || !userOptions.debug,
119
- verbose: userOptions.verbose || _chunkYYGYJ6RDjs.isVerbose.call(void 0, ) || userOptions.debug === true,
119
+ verbose: userOptions.verbose || _chunk3YC7YXGQjs.isVerbose.call(void 0, ) || userOptions.debug === true,
120
120
  includeSrc: userOptions.includeSrc === true,
121
121
  metafile: userOptions.metafile !== false,
122
122
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -151,8 +151,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
151
151
  }, "resolveOptions");
152
152
  async function generatePackageJson(options) {
153
153
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
154
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
155
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "Write package.json file");
154
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
155
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "Write package.json file");
156
156
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "project.json");
157
157
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
158
158
  throw new Error("Cannot find package.json configuration");
@@ -162,11 +162,11 @@ async function generatePackageJson(options) {
162
162
  throw new Error("Cannot find package.json configuration file");
163
163
  }
164
164
  let packageJson = JSON.parse(packageJsonFile);
165
- packageJson = await _chunkIDQTSO3Zjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
- packageJson = await _chunkIDQTSO3Zjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
165
+ packageJson = await _chunkR2NBU264js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
166
+ packageJson = await _chunkR2NBU264js.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
167
167
  packageJson.exports ??= {};
168
168
  packageJson.exports["./package.json"] ??= "./package.json";
169
- packageJson.exports["."] ??= _chunkIDQTSO3Zjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
169
+ packageJson.exports["."] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
170
170
  let entryPoints = [
171
171
  {
172
172
  in: "./src/index.ts",
@@ -184,7 +184,7 @@ async function generatePackageJson(options) {
184
184
  const split = entryPoint.out.split(".");
185
185
  split.pop();
186
186
  const entry = split.join(".").replaceAll("\\", "/");
187
- packageJson.exports[`./${entry}`] ??= _chunkIDQTSO3Zjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
187
+ packageJson.exports[`./${entry}`] ??= _chunkR2NBU264js.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
188
188
  }
189
189
  }
190
190
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -203,8 +203,8 @@ async function generatePackageJson(options) {
203
203
  }
204
204
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
205
205
  async function executeTSDown(options) {
206
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
207
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, `${options.name} build`);
206
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
207
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${options.name} build`);
208
208
  await _tsdown.build.call(void 0, {
209
209
  ...options,
210
210
  entry: options.entryPoints,
@@ -216,21 +216,21 @@ async function executeTSDown(options) {
216
216
  }
217
217
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
218
218
  async function copyBuildAssets(options) {
219
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
220
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, `${options.name} asset copy`);
221
- await _chunkIDQTSO3Zjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
219
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
220
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${options.name} asset copy`);
221
+ await _chunkR2NBU264js.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
222
222
  stopwatch();
223
223
  return options;
224
224
  }
225
225
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
226
226
  async function reportResults(options) {
227
- _chunkYYGYJ6RDjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
227
+ _chunk3YC7YXGQjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
228
228
  }
229
229
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
230
230
  async function cleanOutputPath(options) {
231
231
  if (options.clean !== false && options.outdir) {
232
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
233
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, `${options.name} output clean`);
232
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
233
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, `${options.name} output clean`);
234
234
  await cleanDirectories(options.name, options.outdir, options.config);
235
235
  stopwatch();
236
236
  }
@@ -238,8 +238,8 @@ async function cleanOutputPath(options) {
238
238
  }
239
239
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
240
240
  async function build(options) {
241
- _chunkYYGYJ6RDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
242
- const stopwatch = _chunkYYGYJ6RDjs.getStopwatch.call(void 0, "TSDown pipeline");
241
+ _chunk3YC7YXGQjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
242
+ const stopwatch = _chunk3YC7YXGQjs.getStopwatch.call(void 0, "TSDown pipeline");
243
243
  try {
244
244
  const opts = Array.isArray(options) ? options : [
245
245
  options
@@ -257,11 +257,11 @@ async function build(options) {
257
257
  await reportResults(opt);
258
258
  }));
259
259
  } else {
260
- _chunkYYGYJ6RDjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
260
+ _chunk3YC7YXGQjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
261
261
  }
262
- _chunkYYGYJ6RDjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
262
+ _chunk3YC7YXGQjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
263
263
  } catch (error) {
264
- _chunkYYGYJ6RDjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
264
+ _chunk3YC7YXGQjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
265
265
  throw error;
266
266
  } finally {
267
267
  stopwatch();
@@ -271,7 +271,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
271
271
 
272
272
  // src/executors/tsdown/executor.ts
273
273
  async function tsdownExecutorFn(options, context, config) {
274
- _chunkYYGYJ6RDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
274
+ _chunk3YC7YXGQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
275
275
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
276
276
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
277
277
  }
@@ -288,7 +288,7 @@ async function tsdownExecutorFn(options, context, config) {
288
288
  };
289
289
  }
290
290
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
291
- var executor_default = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
291
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
292
292
  skipReadingConfig: false,
293
293
  hooks: {
294
294
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkBJK4LIZWjs = require('./chunk-BJK4LIZW.js');
7
+ var _chunkQ4YG53DVjs = require('./chunk-Q4YG53DV.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoClippyExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
18
- var executor_default = _chunkBJK4LIZWjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
18
+ var executor_default = _chunkQ4YG53DVjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {