@storm-software/workspace-tools 1.294.37 → 1.294.39

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 (116) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/{chunk-XZPUEPKK.mjs → chunk-27MUZNN2.mjs} +1 -1
  3. package/dist/{chunk-CK3BPORZ.js → chunk-2DEV7MTD.js} +21 -21
  4. package/dist/{chunk-3UVFXL7I.js → chunk-2VO5LA3U.js} +10 -10
  5. package/dist/{chunk-YHO3SOGJ.mjs → chunk-37K47MPA.mjs} +4 -4
  6. package/dist/{chunk-NTM7F6SO.js → chunk-3ZTDN4LM.js} +2 -2
  7. package/dist/{chunk-35BFW2YQ.mjs → chunk-42TEYLHF.mjs} +1 -1
  8. package/dist/{chunk-ZTCV7FTK.js → chunk-4HKJAOZE.js} +2 -2
  9. package/dist/{chunk-BA7S3VQ3.mjs → chunk-4KPUUE5X.mjs} +2 -2
  10. package/dist/{chunk-LQZIZT3Y.js → chunk-4U2NLOJ4.js} +2 -2
  11. package/dist/{chunk-57NKESY4.js → chunk-4XFAGKVY.js} +2 -2
  12. package/dist/{chunk-CHKLDARN.mjs → chunk-5KJYQ2A4.mjs} +1 -1
  13. package/dist/{chunk-UK6TAD3O.mjs → chunk-6KULJXXR.mjs} +6 -6
  14. package/dist/{chunk-6ES3P2CK.js → chunk-6TQ2ZIQQ.js} +12 -12
  15. package/dist/{chunk-IQ7NS4OX.mjs → chunk-6ZC47WFT.mjs} +3 -3
  16. package/dist/{chunk-J6VRN6FY.mjs → chunk-7KSP37MJ.mjs} +1 -1
  17. package/dist/{chunk-HLZG5AEE.mjs → chunk-CDEOZ2LA.mjs} +2 -2
  18. package/dist/{chunk-SPYERBWG.mjs → chunk-CEC4FZYL.mjs} +1 -1
  19. package/dist/{chunk-R2GSNVL2.mjs → chunk-CEM3HM3B.mjs} +1 -1
  20. package/dist/{chunk-NZX54HXX.mjs → chunk-CN3UL6AL.mjs} +2 -2
  21. package/dist/{chunk-2KJIK2JG.mjs → chunk-E4M7JXF6.mjs} +1 -1
  22. package/dist/{chunk-DJMMAL4W.mjs → chunk-E7FF7KFZ.mjs} +1 -1
  23. package/dist/{chunk-VFLEWVYZ.js → chunk-EE24BJX6.js} +34 -34
  24. package/dist/{chunk-6CO2XOFR.js → chunk-EE66SW3C.js} +4 -4
  25. package/dist/{chunk-GAOMOIRS.js → chunk-GKKPBHC2.js} +6 -6
  26. package/dist/{chunk-QY6ZMQ6I.js → chunk-GYSWO4MZ.js} +4 -4
  27. package/dist/{chunk-PKU6ZJTS.js → chunk-H3IKVCIQ.js} +5 -5
  28. package/dist/{chunk-VHXO4KB2.js → chunk-HBEU4BAA.js} +2 -2
  29. package/dist/{chunk-Y6FERKSJ.js → chunk-HRBUI3FP.js} +2 -2
  30. package/dist/{chunk-DCNARLNN.mjs → chunk-I6M6W65L.mjs} +1 -1
  31. package/dist/{chunk-MRG3BU6W.mjs → chunk-IE6KPWWN.mjs} +2 -2
  32. package/dist/{chunk-BU2S2BSO.mjs → chunk-ISKPL45K.mjs} +1 -1
  33. package/dist/{chunk-5LORK24T.mjs → chunk-JTAXUWUB.mjs} +1 -1
  34. package/dist/{chunk-MZDT5BZH.js → chunk-JWDJFIY2.js} +5 -5
  35. package/dist/{chunk-HUZNI7UG.mjs → chunk-JYOKROZO.mjs} +1 -1
  36. package/dist/{chunk-YRI7JSHF.js → chunk-K2HA4BJN.js} +2 -2
  37. package/dist/{chunk-QVC3FWV5.js → chunk-LIV5KBYE.js} +2 -2
  38. package/dist/{chunk-UWQQYG23.mjs → chunk-M7NAHAMC.mjs} +1 -1
  39. package/dist/{chunk-PBN7PKGE.js → chunk-MS4BPPPO.js} +17 -17
  40. package/dist/{chunk-QPBVOQFM.js → chunk-MTLWFXXL.js} +2 -2
  41. package/dist/{chunk-EYFYABBG.mjs → chunk-MYOUONF2.mjs} +4 -4
  42. package/dist/{chunk-AA5UBL6W.js → chunk-MZGQ4TDY.js} +11 -11
  43. package/dist/{chunk-TIJ5S5SL.mjs → chunk-NDH64REY.mjs} +1 -1
  44. package/dist/{chunk-2KU2SYND.js → chunk-OBA5LSVN.js} +2 -2
  45. package/dist/{chunk-J3V2XDUI.mjs → chunk-OPKOW7IE.mjs} +6 -5
  46. package/dist/{chunk-R3374L7Q.mjs → chunk-PGNIX7OK.mjs} +3 -3
  47. package/dist/{chunk-OS24C67P.js → chunk-QEZ37HVM.js} +6 -5
  48. package/dist/{chunk-CJHDSYRB.js → chunk-RDCGNHHG.js} +2 -2
  49. package/dist/{chunk-6DW3XFYQ.js → chunk-RXZNL5UA.js} +30 -30
  50. package/dist/{chunk-2LSF54ZF.mjs → chunk-S3RWO7R6.mjs} +2 -2
  51. package/dist/{chunk-PK3VAEVW.js → chunk-TJQO23VQ.js} +2 -2
  52. package/dist/{chunk-R4VLMWSB.mjs → chunk-ULDXNDLD.mjs} +1 -1
  53. package/dist/{chunk-5ERD4NKM.js → chunk-V3AKBG6K.js} +8 -8
  54. package/dist/{chunk-ZNRCZ3UF.js → chunk-YG23JJML.js} +2 -2
  55. package/dist/{chunk-Q5LQOLXC.mjs → chunk-ZMKOMKU4.mjs} +2 -2
  56. package/dist/executors.js +20 -20
  57. package/dist/executors.mjs +23 -23
  58. package/dist/generators.js +10 -10
  59. package/dist/generators.mjs +10 -10
  60. package/dist/index.js +29 -29
  61. package/dist/index.mjs +33 -33
  62. package/dist/src/base/base-executor.js +4 -4
  63. package/dist/src/base/base-executor.mjs +3 -3
  64. package/dist/src/base/base-generator.js +4 -4
  65. package/dist/src/base/base-generator.mjs +3 -3
  66. package/dist/src/base/index.js +5 -5
  67. package/dist/src/base/index.mjs +4 -4
  68. package/dist/src/executors/cargo-build/executor.js +5 -5
  69. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  70. package/dist/src/executors/cargo-check/executor.js +5 -5
  71. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  72. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  73. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  74. package/dist/src/executors/cargo-doc/executor.js +5 -5
  75. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  76. package/dist/src/executors/cargo-format/executor.js +5 -5
  77. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  78. package/dist/src/executors/cargo-publish/executor.js +4 -4
  79. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  80. package/dist/src/executors/clean-package/executor.js +6 -6
  81. package/dist/src/executors/clean-package/executor.mjs +3 -3
  82. package/dist/src/executors/esbuild/executor.js +6 -6
  83. package/dist/src/executors/esbuild/executor.mjs +5 -5
  84. package/dist/src/executors/napi/executor.js +5 -5
  85. package/dist/src/executors/napi/executor.mjs +4 -4
  86. package/dist/src/executors/npm-publish/executor.js +6 -6
  87. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  88. package/dist/src/executors/size-limit/executor.js +5 -5
  89. package/dist/src/executors/size-limit/executor.mjs +4 -4
  90. package/dist/src/executors/tsdown/executor.js +6 -6
  91. package/dist/src/executors/tsdown/executor.mjs +5 -5
  92. package/dist/src/executors/typia/executor.js +5 -5
  93. package/dist/src/executors/typia/executor.mjs +4 -4
  94. package/dist/src/executors/unbuild/executor.js +5 -5
  95. package/dist/src/executors/unbuild/executor.mjs +4 -4
  96. package/dist/src/generators/browser-library/generator.js +5 -5
  97. package/dist/src/generators/browser-library/generator.mjs +4 -4
  98. package/dist/src/generators/config-schema/generator.js +5 -5
  99. package/dist/src/generators/config-schema/generator.mjs +4 -4
  100. package/dist/src/generators/neutral-library/generator.js +5 -5
  101. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  102. package/dist/src/generators/node-library/generator.js +5 -5
  103. package/dist/src/generators/node-library/generator.mjs +4 -4
  104. package/dist/src/generators/preset/generator.js +5 -5
  105. package/dist/src/generators/preset/generator.mjs +4 -4
  106. package/dist/src/release/index.js +6 -6
  107. package/dist/src/release/index.mjs +5 -5
  108. package/dist/src/release/js-version-actions.js +4 -4
  109. package/dist/src/release/js-version-actions.mjs +3 -3
  110. package/dist/src/release/rust-version-actions.js +5 -5
  111. package/dist/src/release/rust-version-actions.mjs +4 -4
  112. package/dist/src/utils/index.js +4 -4
  113. package/dist/src/utils/index.mjs +3 -3
  114. package/dist/src/utils/package-helpers.js +4 -4
  115. package/dist/src/utils/package-helpers.mjs +3 -3
  116. package/package.json +9 -9
@@ -4,7 +4,7 @@
4
4
  var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
5
5
 
6
6
 
7
- var _chunkPBN7PKGEjs = require('./chunk-PBN7PKGE.js');
7
+ var _chunkMS4BPPPOjs = require('./chunk-MS4BPPPO.js');
8
8
 
9
9
 
10
10
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.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 = _chunkPBN7PKGEjs.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkMS4BPPPOjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -5,13 +5,13 @@ import {
5
5
  addWorkspacePackageJsonFields,
6
6
  copyAssets,
7
7
  getEnv
8
- } from "./chunk-5LORK24T.mjs";
8
+ } from "./chunk-JTAXUWUB.mjs";
9
9
  import {
10
10
  withRunExecutor
11
- } from "./chunk-2LSF54ZF.mjs";
11
+ } from "./chunk-S3RWO7R6.mjs";
12
12
  import {
13
13
  getWorkspaceConfig
14
- } from "./chunk-UWQQYG23.mjs";
14
+ } from "./chunk-M7NAHAMC.mjs";
15
15
  import {
16
16
  brandIcon,
17
17
  getStopwatch,
@@ -20,7 +20,7 @@ import {
20
20
  writeInfo,
21
21
  writeSuccess,
22
22
  writeWarning
23
- } from "./chunk-J3V2XDUI.mjs";
23
+ } from "./chunk-OPKOW7IE.mjs";
24
24
  import {
25
25
  findWorkspaceRoot
26
26
  } from "./chunk-3J2CP54B.mjs";
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkPBN7PKGEjs = require('./chunk-PBN7PKGE.js');
3
+ var _chunkMS4BPPPOjs = require('./chunk-MS4BPPPO.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
7
+ var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
12
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
13
13
 
14
14
 
15
15
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -18,22 +18,22 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkOS24C67Pjs.writeInfo.call(void 0,
21
+ _chunkQEZ37HVMjs.writeInfo.call(void 0,
22
22
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
23
23
  config
24
24
  );
25
- _chunkOS24C67Pjs.writeTrace.call(void 0,
25
+ _chunkQEZ37HVMjs.writeTrace.call(void 0,
26
26
  `Determining the Storm Workspace Configuration JSON Schema...`,
27
27
  config
28
28
  );
29
- const jsonSchema = z.toJSONSchema(_chunk3UVFXL7Ijs.workspaceConfigSchema, {
29
+ const jsonSchema = z.toJSONSchema(_chunk2VO5LA3Ujs.workspaceConfigSchema, {
30
30
  target: "draft-7",
31
- metadata: _chunk3UVFXL7Ijs.schemaRegistry
31
+ metadata: _chunk2VO5LA3Ujs.schemaRegistry
32
32
  });
33
33
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
34
34
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
35
35
  jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
36
- _chunkOS24C67Pjs.writeTrace.call(void 0, jsonSchema, config);
36
+ _chunkQEZ37HVMjs.writeTrace.call(void 0, jsonSchema, config);
37
37
  if (!options.outputFile) {
38
38
  throw new Error(
39
39
  "The `outputFile` option is required. Please specify the output file path."
@@ -43,13 +43,13 @@ async function configSchemaGeneratorFn(tree, options, config) {
43
43
  _nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, ))),
44
44
  options.outputFile.startsWith("./") ? "" : "./"
45
45
  );
46
- _chunkOS24C67Pjs.writeTrace.call(void 0,
46
+ _chunkQEZ37HVMjs.writeTrace.call(void 0,
47
47
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
48
48
  config
49
49
  );
50
50
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
51
51
  await _devkit.formatFiles.call(void 0, tree);
52
- _chunkOS24C67Pjs.writeSuccess.call(void 0,
52
+ _chunkQEZ37HVMjs.writeSuccess.call(void 0,
53
53
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
54
54
  config
55
55
  );
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
57
57
  success: true
58
58
  };
59
59
  }
60
- var generator_default = _chunkPBN7PKGEjs.withRunGenerator.call(void 0,
60
+ var generator_default = _chunkMS4BPPPOjs.withRunGenerator.call(void 0,
61
61
  "Configuration Schema Creator",
62
62
  configSchemaGeneratorFn,
63
63
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getWorkspaceConfig
3
- } from "./chunk-UWQQYG23.mjs";
3
+ } from "./chunk-M7NAHAMC.mjs";
4
4
 
5
5
  // src/release/js-version-actions.ts
6
6
  import JsVersionActions from "@nx/js/src/release/version-actions.js";
@@ -4,7 +4,7 @@
4
4
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
5
5
 
6
6
 
7
- var _chunkPBN7PKGEjs = require('./chunk-PBN7PKGE.js');
7
+ var _chunkMS4BPPPOjs = require('./chunk-MS4BPPPO.js');
8
8
 
9
9
  // src/generators/preset/generator.ts
10
10
 
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
239
239
  );
240
240
  return null;
241
241
  }
242
- var generator_default = _chunkPBN7PKGEjs.withRunGenerator.call(void 0,
242
+ var generator_default = _chunkMS4BPPPOjs.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );
@@ -325,11 +325,12 @@ var getStopwatch = (name) => {
325
325
  const start = /* @__PURE__ */ new Date();
326
326
  return () => {
327
327
  console.info(
328
- `
329
- > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(start, {
330
- includeSeconds: true
331
- })} to complete
332
- `
328
+ `> \u23F1 The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(
329
+ start,
330
+ {
331
+ includeSeconds: true
332
+ }
333
+ )} to complete`
333
334
  );
334
335
  };
335
336
  };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-HLZG5AEE.mjs";
3
+ } from "./chunk-CDEOZ2LA.mjs";
4
4
  import {
5
5
  schemaRegistry,
6
6
  workspaceConfigSchema
7
- } from "./chunk-UWQQYG23.mjs";
7
+ } from "./chunk-M7NAHAMC.mjs";
8
8
  import {
9
9
  writeInfo,
10
10
  writeSuccess,
11
11
  writeTrace
12
- } from "./chunk-J3V2XDUI.mjs";
12
+ } from "./chunk-OPKOW7IE.mjs";
13
13
  import {
14
14
  findWorkspaceRoot
15
15
  } from "./chunk-3J2CP54B.mjs";
@@ -325,11 +325,12 @@ var getStopwatch = (name) => {
325
325
  const start = /* @__PURE__ */ new Date();
326
326
  return () => {
327
327
  console.info(
328
- `
329
- > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0, start, {
330
- includeSeconds: true
331
- })} to complete
332
- `
328
+ `> \u23F1 The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0,
329
+ start,
330
+ {
331
+ includeSeconds: true
332
+ }
333
+ )} to complete`
333
334
  );
334
335
  };
335
336
  };
@@ -4,14 +4,14 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
7
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
13
13
  }
14
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkGAOMOIRSjs = require('./chunk-GAOMOIRS.js');
8
+ var _chunkGKKPBHC2js = require('./chunk-GKKPBHC2.js');
9
9
 
10
10
 
11
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
11
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
12
12
 
13
13
 
14
- var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
14
+ var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.js');
15
15
 
16
16
 
17
17
 
@@ -20,7 +20,7 @@ var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkOS24C67Pjs = require('./chunk-OS24C67P.js');
23
+ var _chunkQEZ37HVMjs = require('./chunk-QEZ37HVM.js');
24
24
 
25
25
 
26
26
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -80,11 +80,11 @@ var resolveOptions = async (userOptions) => {
80
80
  if (!workspaceRoot) {
81
81
  throw new Error("Cannot find Nx workspace root");
82
82
  }
83
- const workspaceConfig = await _chunk3UVFXL7Ijs.getWorkspaceConfig.call(void 0, options.debug === true, {
83
+ const workspaceConfig = await _chunk2VO5LA3Ujs.getWorkspaceConfig.call(void 0, options.debug === true, {
84
84
  workspaceRoot
85
85
  });
86
- _chunkOS24C67Pjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
87
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, "Build options resolution");
86
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
87
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, "Build options resolution");
88
88
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
89
89
  exitOnError: true
90
90
  });
@@ -118,7 +118,7 @@ var resolveOptions = async (userOptions) => {
118
118
  const result = {
119
119
  name: projectName,
120
120
  mode: "production",
121
- target: _chunkGAOMOIRSjs.DEFAULT_TARGET,
121
+ target: _chunkGKKPBHC2js.DEFAULT_TARGET,
122
122
  generatePackageJson: true,
123
123
  outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
124
124
  minify: !debug,
@@ -150,15 +150,15 @@ var resolveOptions = async (userOptions) => {
150
150
  };
151
151
  result.env = _defu2.default.call(void 0,
152
152
  options.env,
153
- _chunkGAOMOIRSjs.getEnv.call(void 0, "tsdown", result)
153
+ _chunkGKKPBHC2js.getEnv.call(void 0, "tsdown", result)
154
154
  );
155
155
  stopwatch();
156
156
  return result;
157
157
  };
158
158
  async function generatePackageJson(options) {
159
159
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
160
- _chunkOS24C67Pjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
161
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, "Write package.json file");
160
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
161
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, "Write package.json file");
162
162
  const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
163
163
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
164
164
  throw new Error("Cannot find package.json configuration");
@@ -175,13 +175,13 @@ async function generatePackageJson(options) {
175
175
  throw new Error("Cannot find package.json configuration file");
176
176
  }
177
177
  let packageJson = JSON.parse(packageJsonFile);
178
- packageJson = await _chunkGAOMOIRSjs.addPackageDependencies.call(void 0,
178
+ packageJson = await _chunkGKKPBHC2js.addPackageDependencies.call(void 0,
179
179
  options.workspaceConfig.workspaceRoot,
180
180
  options.projectRoot,
181
181
  options.projectName,
182
182
  packageJson
183
183
  );
184
- packageJson = await _chunkGAOMOIRSjs.addWorkspacePackageJsonFields.call(void 0,
184
+ packageJson = await _chunkGKKPBHC2js.addWorkspacePackageJsonFields.call(void 0,
185
185
  options.workspaceConfig,
186
186
  options.projectRoot,
187
187
  options.sourceRoot,
@@ -191,7 +191,7 @@ async function generatePackageJson(options) {
191
191
  );
192
192
  packageJson.exports ??= {};
193
193
  packageJson.exports["./package.json"] ??= "./package.json";
194
- packageJson.exports["."] ??= _chunkGAOMOIRSjs.addPackageJsonExport.call(void 0,
194
+ packageJson.exports["."] ??= _chunkGKKPBHC2js.addPackageJsonExport.call(void 0,
195
195
  "index",
196
196
  packageJson.type,
197
197
  options.sourceRoot
@@ -207,7 +207,7 @@ async function generatePackageJson(options) {
207
207
  const split = entryPoint.out.split(".");
208
208
  split.pop();
209
209
  const entry2 = split.join(".").replaceAll("\\", "/");
210
- packageJson.exports[`./${entry2}`] ??= _chunkGAOMOIRSjs.addPackageJsonExport.call(void 0,
210
+ packageJson.exports[`./${entry2}`] ??= _chunkGKKPBHC2js.addPackageJsonExport.call(void 0,
211
211
  entry2,
212
212
  options.fixedExtension ? "fixed" : packageJson.type,
213
213
  options.sourceRoot
@@ -232,8 +232,8 @@ async function generatePackageJson(options) {
232
232
  return options;
233
233
  }
234
234
  async function executeTSDown(options) {
235
- _chunkOS24C67Pjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
236
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${options.name} build`);
235
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
236
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${options.name} build`);
237
237
  await _tsdown.build.call(void 0, {
238
238
  ...options,
239
239
  entry: options.entry,
@@ -243,12 +243,12 @@ async function executeTSDown(options) {
243
243
  return options;
244
244
  }
245
245
  async function copyBuildAssets(options) {
246
- _chunkOS24C67Pjs.writeDebug.call(void 0,
246
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
247
247
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
248
248
  options.workspaceConfig
249
249
  );
250
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${options.name} asset copy`);
251
- await _chunkGAOMOIRSjs.copyAssets.call(void 0,
250
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${options.name} asset copy`);
251
+ await _chunkGKKPBHC2js.copyAssets.call(void 0,
252
252
  options.workspaceConfig,
253
253
  _nullishCoalesce(options.assets, () => ( [])),
254
254
  options.outDir,
@@ -261,18 +261,18 @@ async function copyBuildAssets(options) {
261
261
  return options;
262
262
  }
263
263
  async function reportResults(options) {
264
- _chunkOS24C67Pjs.writeSuccess.call(void 0,
264
+ _chunkQEZ37HVMjs.writeSuccess.call(void 0,
265
265
  ` \u{1F4E6} The ${options.name} build completed successfully`,
266
266
  options.workspaceConfig
267
267
  );
268
268
  }
269
269
  async function cleanOutputPath(options) {
270
270
  if (options.clean !== false && options.workspaceConfig) {
271
- _chunkOS24C67Pjs.writeDebug.call(void 0,
271
+ _chunkQEZ37HVMjs.writeDebug.call(void 0,
272
272
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
273
273
  options.workspaceConfig
274
274
  );
275
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, `${options.name} output clean`);
275
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, `${options.name} output clean`);
276
276
  await cleanDirectories(
277
277
  options.name,
278
278
  options.outDir,
@@ -283,8 +283,8 @@ async function cleanOutputPath(options) {
283
283
  return options;
284
284
  }
285
285
  async function build(options) {
286
- _chunkOS24C67Pjs.writeDebug.call(void 0, ` ${_chunkOS24C67Pjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
287
- const stopwatch = _chunkOS24C67Pjs.getStopwatch.call(void 0, "TSDown pipeline");
286
+ _chunkQEZ37HVMjs.writeDebug.call(void 0, ` ${_chunkQEZ37HVMjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
287
+ const stopwatch = _chunkQEZ37HVMjs.getStopwatch.call(void 0, "TSDown pipeline");
288
288
  try {
289
289
  const opts = Array.isArray(options) ? options : [options];
290
290
  if (opts.length === 0) {
@@ -304,13 +304,13 @@ async function build(options) {
304
304
  })
305
305
  );
306
306
  } else {
307
- _chunkOS24C67Pjs.writeWarning.call(void 0,
307
+ _chunkQEZ37HVMjs.writeWarning.call(void 0,
308
308
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
309
309
  );
310
310
  }
311
- _chunkOS24C67Pjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
311
+ _chunkQEZ37HVMjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
312
312
  } catch (error) {
313
- _chunkOS24C67Pjs.writeFatal.call(void 0,
313
+ _chunkQEZ37HVMjs.writeFatal.call(void 0,
314
314
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
315
315
  );
316
316
  throw error;
@@ -321,7 +321,7 @@ async function build(options) {
321
321
 
322
322
  // src/executors/tsdown/executor.ts
323
323
  async function tsdownExecutorFn(options, context, config) {
324
- _chunkOS24C67Pjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
324
+ _chunkQEZ37HVMjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
325
325
  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])) {
326
326
  throw new Error(
327
327
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -342,7 +342,7 @@ async function tsdownExecutorFn(options, context, config) {
342
342
  success: true
343
343
  };
344
344
  }
345
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
345
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
346
346
  "Storm TSDown build",
347
347
  tsdownExecutorFn,
348
348
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2QMGYIOO.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-UWQQYG23.mjs";
7
+ } from "./chunk-M7NAHAMC.mjs";
8
8
  import {
9
9
  brandIcon,
10
10
  formatLogMessage,
@@ -15,7 +15,7 @@ import {
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeTrace
18
- } from "./chunk-J3V2XDUI.mjs";
18
+ } from "./chunk-OPKOW7IE.mjs";
19
19
  import {
20
20
  findWorkspaceRoot
21
21
  } from "./chunk-3J2CP54B.mjs";
@@ -3,7 +3,7 @@
3
3
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
4
4
 
5
5
 
6
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
6
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.js');
7
7
 
8
8
 
9
9
 
@@ -89,7 +89,7 @@ async function napiExecutor(options, context, config) {
89
89
  const { task } = await napi.build(normalizedOptions);
90
90
  return { success: true, terminalOutput: await task };
91
91
  }
92
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
92
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
93
93
  "Napi - Build Bindings",
94
94
  napiExecutor,
95
95
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-2LSF54ZF.mjs";
7
+ } from "./chunk-S3RWO7R6.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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 _chunkQY6ZMQ6Ijs = require('./chunk-QY6ZMQ6I.js');
3
+ var _chunkGYSWO4MZjs = require('./chunk-GYSWO4MZ.js');
4
4
 
5
5
 
6
- var _chunk3UVFXL7Ijs = require('./chunk-3UVFXL7I.js');
6
+ var _chunk2VO5LA3Ujs = require('./chunk-2VO5LA3U.js');
7
7
 
8
8
 
9
9
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -35,7 +35,7 @@ async function getNpmRegistry() {
35
35
  if (process.env.STORM_REGISTRY_NPM) {
36
36
  return process.env.STORM_REGISTRY_NPM;
37
37
  }
38
- const workspaceConfig = await _chunk3UVFXL7Ijs.getConfig.call(void 0, );
38
+ const workspaceConfig = await _chunk2VO5LA3Ujs.getConfig.call(void 0, );
39
39
  if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
40
40
  return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
41
41
  }
@@ -220,7 +220,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _
220
220
  packageJsonPath,
221
221
  await _prettier.format.call(void 0, JSON.stringify(packageJson), {
222
222
  parser: "json",
223
- proseWrap: "always",
223
+ proseWrap: "preserve",
224
224
  trailingComma: "none",
225
225
  tabWidth: 2,
226
226
  semi: true,
@@ -232,7 +232,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _
232
232
  bracketSpacing: true,
233
233
  arrowParens: "avoid",
234
234
  endOfLine: "lf",
235
- plugins: ["prettier-plugin-pkg"]
235
+ plugins: ["prettier-plugin-packagejson"]
236
236
  })
237
237
  );
238
238
  }
@@ -286,7 +286,7 @@ async function npmPublishExecutorFn(options, context) {
286
286
  packageJsonPath,
287
287
  await _prettier.format.call(void 0, JSON.stringify(packageJson), {
288
288
  parser: "json",
289
- proseWrap: "always",
289
+ proseWrap: "preserve",
290
290
  trailingComma: "none",
291
291
  tabWidth: 2,
292
292
  semi: true,
@@ -298,7 +298,7 @@ async function npmPublishExecutorFn(options, context) {
298
298
  bracketSpacing: true,
299
299
  arrowParens: "avoid",
300
300
  endOfLine: "lf",
301
- plugins: ["prettier-plugin-pkg"]
301
+ plugins: ["prettier-plugin-packagejson"]
302
302
  })
303
303
  );
304
304
  }
@@ -315,7 +315,7 @@ async function npmPublishExecutorFn(options, context) {
315
315
  return { success: true };
316
316
  }
317
317
  await replaceDepsAliases(packageRoot, context.root);
318
- await _chunkQY6ZMQ6Ijs.addPackageJsonGitHead.call(void 0, packageRoot);
318
+ await _chunkGYSWO4MZjs.addPackageJsonGitHead.call(void 0, packageRoot);
319
319
  const npmPublishCommandSegments = [`npm publish --json`];
320
320
  const npmViewCommandSegments = [
321
321
  `npm view ${packageName} versions dist-tags --json`
@@ -4,7 +4,7 @@
4
4
  var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
5
5
 
6
6
 
7
- var _chunkCK3BPORZjs = require('./chunk-CK3BPORZ.js');
7
+ var _chunk2DEV7MTDjs = require('./chunk-2DEV7MTD.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 = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "doc", options, context);
15
15
  return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
16
16
  }
17
- var executor_default = _chunkCK3BPORZjs.withRunExecutor.call(void 0,
17
+ var executor_default = _chunk2DEV7MTDjs.withRunExecutor.call(void 0,
18
18
  "Cargo - Doc",
19
19
  cargoDocExecutor,
20
20
  {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-2LSF54ZF.mjs";
3
+ } from "./chunk-S3RWO7R6.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-J3V2XDUI.mjs";
6
+ } from "./chunk-OPKOW7IE.mjs";
7
7
 
8
8
  // src/executors/typia/executor.ts
9
9
  import { removeSync } from "fs-extra";
package/dist/executors.js CHANGED
@@ -1,52 +1,52 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-P6HSE7LH.js');
2
2
 
3
3
 
4
- var _chunk6CO2XOFRjs = require('./chunk-6CO2XOFR.js');
4
+ var _chunkH3IKVCIQjs = require('./chunk-H3IKVCIQ.js');
5
5
 
6
6
 
7
- var _chunkPKU6ZJTSjs = require('./chunk-PKU6ZJTS.js');
7
+ var _chunkRXZNL5UAjs = require('./chunk-RXZNL5UA.js');
8
8
 
9
9
 
10
- var _chunk6DW3XFYQjs = require('./chunk-6DW3XFYQ.js');
10
+ var _chunkJWDJFIY2js = require('./chunk-JWDJFIY2.js');
11
11
 
12
12
 
13
- var _chunkMZDT5BZHjs = require('./chunk-MZDT5BZH.js');
13
+ var _chunkEE66SW3Cjs = require('./chunk-EE66SW3C.js');
14
14
 
15
15
 
16
- var _chunkVFLEWVYZjs = require('./chunk-VFLEWVYZ.js');
17
- require('./chunk-GAOMOIRS.js');
16
+ var _chunkEE24BJX6js = require('./chunk-EE24BJX6.js');
17
+ require('./chunk-GKKPBHC2.js');
18
18
 
19
19
 
20
- var _chunkPK3VAEVWjs = require('./chunk-PK3VAEVW.js');
20
+ var _chunkTJQO23VQjs = require('./chunk-TJQO23VQ.js');
21
21
 
22
22
 
23
- var _chunk5ERD4NKMjs = require('./chunk-5ERD4NKM.js');
23
+ var _chunkV3AKBG6Kjs = require('./chunk-V3AKBG6K.js');
24
24
 
25
25
 
26
- var _chunkZNRCZ3UFjs = require('./chunk-ZNRCZ3UF.js');
26
+ var _chunk4HKJAOZEjs = require('./chunk-4HKJAOZE.js');
27
27
 
28
28
 
29
- var _chunkZTCV7FTKjs = require('./chunk-ZTCV7FTK.js');
29
+ var _chunkYG23JJMLjs = require('./chunk-YG23JJML.js');
30
30
 
31
31
 
32
- var _chunkQVC3FWV5js = require('./chunk-QVC3FWV5.js');
32
+ var _chunkLIV5KBYEjs = require('./chunk-LIV5KBYE.js');
33
33
 
34
34
 
35
- var _chunk57NKESY4js = require('./chunk-57NKESY4.js');
35
+ var _chunk4XFAGKVYjs = require('./chunk-4XFAGKVY.js');
36
36
 
37
37
 
38
- var _chunkCJHDSYRBjs = require('./chunk-CJHDSYRB.js');
38
+ var _chunkRDCGNHHGjs = require('./chunk-RDCGNHHG.js');
39
39
 
40
40
 
41
- var _chunkY6FERKSJjs = require('./chunk-Y6FERKSJ.js');
41
+ var _chunkHRBUI3FPjs = require('./chunk-HRBUI3FP.js');
42
42
  require('./chunk-D2PV33E5.js');
43
- require('./chunk-QY6ZMQ6I.js');
44
- require('./chunk-YRI7JSHF.js');
43
+ require('./chunk-GYSWO4MZ.js');
44
+ require('./chunk-K2HA4BJN.js');
45
45
  require('./chunk-UHTWNVEZ.js');
46
- require('./chunk-CK3BPORZ.js');
46
+ require('./chunk-2DEV7MTD.js');
47
47
  require('./chunk-HXQRGLII.js');
48
- require('./chunk-3UVFXL7I.js');
49
- require('./chunk-OS24C67P.js');
48
+ require('./chunk-2VO5LA3U.js');
49
+ require('./chunk-QEZ37HVM.js');
50
50
  require('./chunk-LMYTVXGX.js');
51
51
  require('./chunk-CQDBLKPF.js');
52
52
 
@@ -63,4 +63,4 @@ require('./chunk-CQDBLKPF.js');
63
63
 
64
64
 
65
65
 
66
- exports.LARGE_BUFFER = _chunk5ERD4NKMjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkCJHDSYRBjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkY6FERKSJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkZTCV7FTKjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkZNRCZ3UFjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQVC3FWV5js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkVFLEWVYZjs.esbuildExecutorFn; exports.getRegistryVersion = _chunk57NKESY4js.getRegistryVersion; exports.napiExecutor = _chunkPK3VAEVWjs.napiExecutor; exports.sizeLimitExecutorFn = _chunkPKU6ZJTSjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk6DW3XFYQjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkMZDT5BZHjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunk6CO2XOFRjs.unbuildExecutorFn;
66
+ exports.LARGE_BUFFER = _chunkV3AKBG6Kjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkRDCGNHHGjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkHRBUI3FPjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk4HKJAOZEjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkYG23JJMLjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkLIV5KBYEjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkEE24BJX6js.esbuildExecutorFn; exports.getRegistryVersion = _chunk4XFAGKVYjs.getRegistryVersion; exports.napiExecutor = _chunkTJQO23VQjs.napiExecutor; exports.sizeLimitExecutorFn = _chunkH3IKVCIQjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkRXZNL5UAjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkJWDJFIY2js.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEE66SW3Cjs.unbuildExecutorFn;