@storm-software/workspace-tools 1.233.0 → 1.233.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 (91) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-OCXXIUSC.mjs → chunk-2DNLATEG.mjs} +1 -30
  4. package/dist/{chunk-MA2QNKZ7.js → chunk-2E2DXYRF.js} +2 -2
  5. package/dist/{chunk-LEHZZU32.js → chunk-2NYBFBUU.js} +2 -2
  6. package/dist/{chunk-T5XCHBCB.mjs → chunk-3GQ6H7GF.mjs} +3 -3
  7. package/dist/{chunk-GVBCN2FA.mjs → chunk-4G35AYIJ.mjs} +1 -1
  8. package/dist/{chunk-UPMKBKEN.js → chunk-5Z7CCIIJ.js} +2 -2
  9. package/dist/{chunk-ZMA37UYA.js → chunk-7PETCK66.js} +41 -41
  10. package/dist/{chunk-DM2FMT3G.mjs → chunk-7TEC757Y.mjs} +0 -1
  11. package/dist/{chunk-QA6M5DEJ.js → chunk-A3SB76KG.js} +2 -2
  12. package/dist/{chunk-NHSJQ3KY.mjs → chunk-AKLDSJTD.mjs} +1 -1
  13. package/dist/{chunk-HIBDVUQ5.js → chunk-BANJXE74.js} +2 -2
  14. package/dist/{chunk-5FCVQVIS.mjs → chunk-BARR5D5N.mjs} +1 -1
  15. package/dist/{chunk-5KPWW65X.mjs → chunk-CNX755OY.mjs} +1 -1
  16. package/dist/{chunk-EECNVIFZ.js → chunk-DOQEFB3U.js} +5 -5
  17. package/dist/{chunk-FHRBHQ5D.js → chunk-ENBOBX3C.js} +2 -2
  18. package/dist/{chunk-AX4OFOSN.js → chunk-FE52EM76.js} +8 -37
  19. package/dist/{chunk-VOPIMPWA.js → chunk-FQCHDI2P.js} +11 -11
  20. package/dist/{chunk-OJV4NKCZ.js → chunk-IIMNDUXX.js} +9 -9
  21. package/dist/{chunk-DNUDJEZX.mjs → chunk-IVRCEWW4.mjs} +2 -2
  22. package/dist/{chunk-SZJOJ773.mjs → chunk-KZGWRL4P.mjs} +1 -1
  23. package/dist/{chunk-4EO5ZWLS.js → chunk-MVCUW6FQ.js} +31 -31
  24. package/dist/{chunk-OFSUFHFM.mjs → chunk-N4J73OER.mjs} +2 -2
  25. package/dist/{chunk-ZYC7FHCD.js → chunk-OH2QVCID.js} +5 -5
  26. package/dist/{chunk-A4DWQQ6J.mjs → chunk-PKR4QUWJ.mjs} +1 -1
  27. package/dist/{chunk-OE5KYONM.mjs → chunk-PSMBZ5DR.mjs} +1 -1
  28. package/dist/{chunk-FZ3N3UJ5.mjs → chunk-QQHYWAVX.mjs} +3 -3
  29. package/dist/{chunk-SQHYP2JD.mjs → chunk-THMXFMSK.mjs} +1 -1
  30. package/dist/{chunk-UA7PFIEF.mjs → chunk-UROGF3KF.mjs} +1 -1
  31. package/dist/{chunk-5Q3LI7CF.js → chunk-UW6T77HF.js} +15 -15
  32. package/dist/{chunk-T2CG5RNT.js → chunk-VQMSXER7.js} +2 -2
  33. package/dist/{chunk-QCAF5WDF.mjs → chunk-VVHGKFCB.mjs} +2 -2
  34. package/dist/chunk-VWJEKC3P.mjs +83 -0
  35. package/dist/{chunk-WKYE64AL.mjs → chunk-WWSP3KEN.mjs} +1 -1
  36. package/dist/{chunk-FDI6QWNH.mjs → chunk-XOIDDNCA.mjs} +1 -1
  37. package/dist/chunk-XWYXKDH2.js +83 -0
  38. package/dist/{chunk-L2KYX6WC.js → chunk-Y2LDGJCA.js} +2 -2
  39. package/dist/{chunk-2AQPTJLC.js → chunk-YFIHF222.js} +2 -2
  40. package/dist/{chunk-CDOWHRVE.js → chunk-YO7MVS4A.js} +17 -17
  41. package/dist/{chunk-GRBZKMJI.js → chunk-ZJXBN32W.js} +1 -2
  42. package/dist/{chunk-QTW54PBD.mjs → chunk-ZPQJ7P6C.mjs} +1 -1
  43. package/dist/executors.js +16 -16
  44. package/dist/executors.mjs +21 -21
  45. package/dist/generators.js +9 -9
  46. package/dist/generators.mjs +8 -8
  47. package/dist/index.js +23 -23
  48. package/dist/index.mjs +28 -28
  49. package/dist/src/base/base-executor.js +3 -3
  50. package/dist/src/base/base-executor.mjs +2 -2
  51. package/dist/src/base/base-generator.js +3 -3
  52. package/dist/src/base/base-generator.mjs +2 -2
  53. package/dist/src/base/index.js +4 -4
  54. package/dist/src/base/index.mjs +3 -3
  55. package/dist/src/executors/cargo-build/executor.js +4 -4
  56. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  57. package/dist/src/executors/cargo-check/executor.js +4 -4
  58. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  60. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  61. package/dist/src/executors/cargo-doc/executor.js +4 -4
  62. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  63. package/dist/src/executors/cargo-format/executor.js +4 -4
  64. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  65. package/dist/src/executors/clean-package/executor.js +5 -5
  66. package/dist/src/executors/clean-package/executor.mjs +2 -2
  67. package/dist/src/executors/esbuild/executor.js +5 -5
  68. package/dist/src/executors/esbuild/executor.mjs +4 -4
  69. package/dist/src/executors/size-limit/executor.js +4 -4
  70. package/dist/src/executors/size-limit/executor.mjs +3 -3
  71. package/dist/src/executors/tsdown/executor.js +5 -5
  72. package/dist/src/executors/tsdown/executor.mjs +4 -4
  73. package/dist/src/executors/typia/executor.js +4 -4
  74. package/dist/src/executors/typia/executor.mjs +3 -3
  75. package/dist/src/executors/unbuild/executor.js +4 -5
  76. package/dist/src/executors/unbuild/executor.mjs +3 -4
  77. package/dist/src/generators/browser-library/generator.js +4 -4
  78. package/dist/src/generators/browser-library/generator.mjs +3 -3
  79. package/dist/src/generators/config-schema/generator.js +4 -4
  80. package/dist/src/generators/config-schema/generator.mjs +3 -3
  81. package/dist/src/generators/neutral-library/generator.js +4 -4
  82. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  83. package/dist/src/generators/node-library/generator.js +4 -4
  84. package/dist/src/generators/node-library/generator.mjs +3 -3
  85. package/dist/src/generators/preset/generator.js +4 -4
  86. package/dist/src/generators/preset/generator.mjs +3 -3
  87. package/dist/src/generators/release-version/generator.js +3 -3
  88. package/dist/src/generators/release-version/generator.mjs +2 -2
  89. package/package.json +6 -5
  90. package/dist/chunk-JHP7QOI4.js +0 -507
  91. package/dist/chunk-TSTK2BD6.mjs +0 -507
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-A4DWQQ6J.mjs";
3
+ } from "./chunk-PKR4QUWJ.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-DM2FMT3G.mjs";
9
+ } from "./chunk-7TEC757Y.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-DMUTOQCB.mjs";
@@ -0,0 +1,83 @@
1
+ import {
2
+ withRunExecutor
3
+ } from "./chunk-4G35AYIJ.mjs";
4
+ import {
5
+ writeInfo
6
+ } from "./chunk-7TEC757Y.mjs";
7
+ import {
8
+ joinPaths
9
+ } from "./chunk-PVTEDLBL.mjs";
10
+ import {
11
+ __name
12
+ } from "./chunk-XUV4U54K.mjs";
13
+
14
+ // src/executors/unbuild/executor.ts
15
+ import { defu } from "defu";
16
+ import { createJiti } from "jiti";
17
+ async function unbuildExecutorFn(options, context, config) {
18
+ writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
+ if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) {
20
+ throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
21
+ }
22
+ const jiti = createJiti(config.workspaceRoot, {
23
+ fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
24
+ interopDefault: true
25
+ });
26
+ const stormUnbuild = await jiti.import("@storm-software/unbuild");
27
+ await stormUnbuild.build(defu({
28
+ ...options,
29
+ projectRoot: context.projectsConfigurations.projects?.[context.projectName].root,
30
+ projectName: context.projectName,
31
+ sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
32
+ platform: options.platform,
33
+ name: context.projectName
34
+ }, {
35
+ stubOptions: {
36
+ jiti: {
37
+ cache: "node_modules/.cache/storm"
38
+ }
39
+ },
40
+ rollup: {
41
+ emitCJS: true,
42
+ watch: false,
43
+ cjsBridge: false,
44
+ dts: {
45
+ respectExternal: true
46
+ },
47
+ replace: {},
48
+ alias: {},
49
+ resolve: {},
50
+ json: {},
51
+ commonjs: {},
52
+ esbuild: {
53
+ target: options.target,
54
+ format: "esm",
55
+ platform: options.platform,
56
+ minify: options.minify,
57
+ treeShaking: options.treeShaking
58
+ }
59
+ }
60
+ }));
61
+ return {
62
+ success: true
63
+ };
64
+ }
65
+ __name(unbuildExecutorFn, "unbuildExecutorFn");
66
+ var executor_default = withRunExecutor("TypeScript Unbuild build", unbuildExecutorFn, {
67
+ skipReadingConfig: false,
68
+ hooks: {
69
+ applyDefaultOptions: /* @__PURE__ */ __name(async (options, config) => {
70
+ options.entry ??= [
71
+ "{sourceRoot}"
72
+ ];
73
+ options.outputPath ??= "dist/{projectRoot}";
74
+ options.tsconfig ??= "{projectRoot}/tsconfig.json";
75
+ return options;
76
+ }, "applyDefaultOptions")
77
+ }
78
+ });
79
+
80
+ export {
81
+ unbuildExecutorFn,
82
+ executor_default
83
+ };
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-DM2FMT3G.mjs";
16
+ } from "./chunk-7TEC757Y.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-DMUTOQCB.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-A4DWQQ6J.mjs";
7
+ } from "./chunk-PKR4QUWJ.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -0,0 +1,83 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+ var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
4
+
5
+
6
+ var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
7
+
8
+
9
+ var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
10
+
11
+
12
+ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
13
+
14
+ // src/executors/unbuild/executor.ts
15
+ var _defu = require('defu');
16
+ var _jiti = require('jiti');
17
+ async function unbuildExecutorFn(options, context, config) {
18
+ _chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
+ if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'access', _4 => _4.projects, 'access', _5 => _5[context.projectName], 'optionalAccess', _6 => _6.root])) {
20
+ throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
21
+ }
22
+ const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
23
+ fsCache: config.skipCache ? false : _chunkXCSSYTCUjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
24
+ interopDefault: true
25
+ });
26
+ const stormUnbuild = await jiti.import("@storm-software/unbuild");
27
+ await stormUnbuild.build(_defu.defu.call(void 0, {
28
+ ...options,
29
+ projectRoot: _optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[context.projectName], 'access', _10 => _10.root]),
30
+ projectName: context.projectName,
31
+ sourceRoot: _optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'optionalAccess', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.sourceRoot]),
32
+ platform: options.platform,
33
+ name: context.projectName
34
+ }, {
35
+ stubOptions: {
36
+ jiti: {
37
+ cache: "node_modules/.cache/storm"
38
+ }
39
+ },
40
+ rollup: {
41
+ emitCJS: true,
42
+ watch: false,
43
+ cjsBridge: false,
44
+ dts: {
45
+ respectExternal: true
46
+ },
47
+ replace: {},
48
+ alias: {},
49
+ resolve: {},
50
+ json: {},
51
+ commonjs: {},
52
+ esbuild: {
53
+ target: options.target,
54
+ format: "esm",
55
+ platform: options.platform,
56
+ minify: options.minify,
57
+ treeShaking: options.treeShaking
58
+ }
59
+ }
60
+ }));
61
+ return {
62
+ success: true
63
+ };
64
+ }
65
+ _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
+ var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
+ skipReadingConfig: false,
68
+ hooks: {
69
+ applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
70
+ options.entry ??= [
71
+ "{sourceRoot}"
72
+ ];
73
+ options.outputPath ??= "dist/{projectRoot}";
74
+ options.tsconfig ??= "{projectRoot}/tsconfig.json";
75
+ return options;
76
+ }, "applyDefaultOptions")
77
+ }
78
+ });
79
+
80
+
81
+
82
+
83
+ exports.unbuildExecutorFn = unbuildExecutorFn; exports.executor_default = executor_default;
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkCDOWHRVEjs = require('./chunk-CDOWHRVE.js');
7
+ var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.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 = _chunkCDOWHRVEjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkYO7MVS4Ajs.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 _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunk5Q3LI7CFjs = require('./chunk-5Q3LI7CF.js');
7
+ var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -70,7 +70,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
70
70
  return null;
71
71
  }
72
72
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
73
- var generator_default = _chunk5Q3LI7CFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
73
+ var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
74
74
  hooks: {
75
75
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
76
76
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -14,7 +14,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkGRBZKMJIjs = require('./chunk-GRBZKMJI.js');
17
+ var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
18
18
 
19
19
 
20
20
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -24,11 +24,11 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
24
24
 
25
25
  // src/base/base-executor.ts
26
26
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
27
- const stopwatch = _chunkGRBZKMJIjs.getStopwatch.call(void 0, name);
27
+ const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, name);
28
28
  let options = _options;
29
29
  let config = {};
30
30
  try {
31
- _chunkGRBZKMJIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
31
+ _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
32
32
  `, config);
33
33
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
34
34
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
@@ -39,20 +39,20 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
39
39
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
40
40
  config.workspaceRoot = workspaceRoot;
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunkGRBZKMJIjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkZJXBN32Wjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
45
45
  - sourceRoot: ${sourceRoot}
46
46
  - projectName: ${projectName}
47
47
  `, config);
48
- config = await _chunkGRBZKMJIjs.loadStormConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _15 => _15.hooks, 'optionalAccess', _16 => _16.applyDefaultOptions])) {
51
- _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunkGRBZKMJIjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
55
+ _chunkZJXBN32Wjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
56
  ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<function>" : JSON.stringify(options[key])}`).join("\n")}`, config);
57
57
  const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
58
58
  config,
@@ -64,9 +64,9 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
64
64
  ...executorOptions
65
65
  }, _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.preProcess])) {
67
- _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkZJXBN32Wjs.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', _19 => _19.next]))) {
@@ -76,26 +76,26 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _20 => _20.error, 'optionalAccess', _21 => _21.message]) && typeof _optionalChain([result, 'optionalAccess', _22 => _22.error, 'optionalAccess', _23 => _23.message]) === "string" && _optionalChain([result, 'optionalAccess', _24 => _24.error, 'optionalAccess', _25 => _25.name]) && typeof _optionalChain([result, 'optionalAccess', _26 => _26.error, 'optionalAccess', _27 => _27.name]) === "string")) {
79
- _chunkGRBZKMJIjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunkGRBZKMJIjs.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkZJXBN32Wjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkZJXBN32Wjs.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', _28 => _28.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _29 => _29.hooks, 'optionalAccess', _30 => _30.postProcess])) {
87
- _chunkGRBZKMJIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunkGRBZKMJIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunkGRBZKMJIjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkZJXBN32Wjs.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
- _chunkGRBZKMJIjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunkGRBZKMJIjs.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkZJXBN32Wjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkZJXBN32Wjs.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 {
@@ -984,5 +984,4 @@ ${formatLogMessage(config)}`, config);
984
984
 
985
985
 
986
986
 
987
-
988
- exports.LogLevelLabel = LogLevelLabel; exports.StormConfigSchema = StormConfigSchema; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.loadStormConfig = loadStormConfig;
987
+ exports.StormConfigSchema = StormConfigSchema; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.loadStormConfig = loadStormConfig;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-GVBCN2FA.mjs";
7
+ } from "./chunk-4G35AYIJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
package/dist/executors.js CHANGED
@@ -1,48 +1,48 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3J53KHVV.js');
2
2
 
3
3
 
4
- var _chunkJHP7QOI4js = require('./chunk-JHP7QOI4.js');
4
+ var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
5
5
 
6
6
 
7
- var _chunkMZ6IF3DOjs = require('./chunk-MZ6IF3DO.js');
7
+ var _chunkOH2QVCIDjs = require('./chunk-OH2QVCID.js');
8
8
 
9
9
 
10
- var _chunkZYC7FHCDjs = require('./chunk-ZYC7FHCD.js');
10
+ var _chunkMVCUW6FQjs = require('./chunk-MVCUW6FQ.js');
11
11
 
12
12
 
13
- var _chunk4EO5ZWLSjs = require('./chunk-4EO5ZWLS.js');
13
+ var _chunkDOQEFB3Ujs = require('./chunk-DOQEFB3U.js');
14
14
 
15
15
 
16
- var _chunkEECNVIFZjs = require('./chunk-EECNVIFZ.js');
16
+ var _chunkXWYXKDH2js = require('./chunk-XWYXKDH2.js');
17
17
 
18
18
 
19
- var _chunkHIBDVUQ5js = require('./chunk-HIBDVUQ5.js');
19
+ var _chunkBANJXE74js = require('./chunk-BANJXE74.js');
20
20
 
21
21
 
22
- var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
22
+ var _chunk7PETCK66js = require('./chunk-7PETCK66.js');
23
+ require('./chunk-FE52EM76.js');
23
24
 
24
25
 
25
- var _chunkZMA37UYAjs = require('./chunk-ZMA37UYA.js');
26
- require('./chunk-AX4OFOSN.js');
26
+ var _chunkMZ6IF3DOjs = require('./chunk-MZ6IF3DO.js');
27
27
 
28
28
 
29
- var _chunkFHRBHQ5Djs = require('./chunk-FHRBHQ5D.js');
29
+ var _chunkY2LDGJCAjs = require('./chunk-Y2LDGJCA.js');
30
30
 
31
31
 
32
- var _chunkL2KYX6WCjs = require('./chunk-L2KYX6WC.js');
32
+ var _chunkVQMSXER7js = require('./chunk-VQMSXER7.js');
33
33
 
34
34
 
35
- var _chunkT2CG5RNTjs = require('./chunk-T2CG5RNT.js');
35
+ var _chunkENBOBX3Cjs = require('./chunk-ENBOBX3C.js');
36
36
 
37
37
 
38
- var _chunkUPMKBKENjs = require('./chunk-UPMKBKEN.js');
38
+ var _chunk5Z7CCIIJjs = require('./chunk-5Z7CCIIJ.js');
39
39
  require('./chunk-WPMFZECR.js');
40
40
  require('./chunk-ULBTYC2B.js');
41
41
  require('./chunk-ZMFVKBRM.js');
42
- require('./chunk-CDOWHRVE.js');
42
+ require('./chunk-YO7MVS4A.js');
43
43
  require('./chunk-BWFTYFWM.js');
44
44
  require('./chunk-5CPYNJT2.js');
45
- require('./chunk-GRBZKMJI.js');
45
+ require('./chunk-ZJXBN32W.js');
46
46
  require('./chunk-5MKQX2FE.js');
47
47
  require('./chunk-XCSSYTCU.js');
48
48
  require('./chunk-3GQAWCBQ.js');
@@ -59,4 +59,4 @@ require('./chunk-3GQAWCBQ.js');
59
59
 
60
60
 
61
61
 
62
- exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkFHRBHQ5Djs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkL2KYX6WCjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkT2CG5RNTjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkUPMKBKENjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkHIBDVUQ5js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkZMA37UYAjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkZYC7FHCDjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk4EO5ZWLSjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkEECNVIFZjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkJHP7QOI4js.unbuildExecutorFn;
62
+ exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkENBOBX3Cjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkY2LDGJCAjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkVQMSXER7js.cargoClippyExecutor; exports.cargoDocExecutor = _chunk5Z7CCIIJjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkBANJXE74js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunk7PETCK66js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkOH2QVCIDjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkMVCUW6FQjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunkDOQEFB3Ujs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkXWYXKDH2js.unbuildExecutorFn;
@@ -1,48 +1,48 @@
1
1
  import "./chunk-V7YZ3666.mjs";
2
2
  import {
3
- unbuildExecutorFn
4
- } from "./chunk-TSTK2BD6.mjs";
5
- import {
6
- LARGE_BUFFER
7
- } from "./chunk-5FEFILUQ.mjs";
3
+ getRegistryVersion
4
+ } from "./chunk-6ZQ3QYXH.mjs";
8
5
  import {
9
6
  sizeLimitExecutorFn
10
- } from "./chunk-DNUDJEZX.mjs";
7
+ } from "./chunk-IVRCEWW4.mjs";
11
8
  import {
12
9
  tsdownExecutorFn
13
- } from "./chunk-FZ3N3UJ5.mjs";
10
+ } from "./chunk-QQHYWAVX.mjs";
14
11
  import {
15
12
  typiaExecutorFn
16
- } from "./chunk-OFSUFHFM.mjs";
13
+ } from "./chunk-N4J73OER.mjs";
17
14
  import {
18
- cargoFormatExecutor
19
- } from "./chunk-5FCVQVIS.mjs";
15
+ unbuildExecutorFn
16
+ } from "./chunk-VWJEKC3P.mjs";
20
17
  import {
21
- getRegistryVersion
22
- } from "./chunk-6ZQ3QYXH.mjs";
18
+ cargoFormatExecutor
19
+ } from "./chunk-BARR5D5N.mjs";
23
20
  import {
24
21
  esbuildExecutorFn
25
- } from "./chunk-T5XCHBCB.mjs";
26
- import "./chunk-OCXXIUSC.mjs";
22
+ } from "./chunk-3GQ6H7GF.mjs";
23
+ import "./chunk-2DNLATEG.mjs";
27
24
  import {
28
- cargoBuildExecutor
29
- } from "./chunk-5KPWW65X.mjs";
25
+ LARGE_BUFFER
26
+ } from "./chunk-5FEFILUQ.mjs";
30
27
  import {
31
28
  cargoCheckExecutor
32
- } from "./chunk-UA7PFIEF.mjs";
29
+ } from "./chunk-UROGF3KF.mjs";
33
30
  import {
34
31
  cargoClippyExecutor
35
- } from "./chunk-QTW54PBD.mjs";
32
+ } from "./chunk-ZPQJ7P6C.mjs";
33
+ import {
34
+ cargoBuildExecutor
35
+ } from "./chunk-CNX755OY.mjs";
36
36
  import {
37
37
  cargoDocExecutor
38
- } from "./chunk-NHSJQ3KY.mjs";
38
+ } from "./chunk-AKLDSJTD.mjs";
39
39
  import "./chunk-RXH7O5YP.mjs";
40
40
  import "./chunk-QZHIWK5Z.mjs";
41
41
  import "./chunk-VYH45FO6.mjs";
42
- import "./chunk-GVBCN2FA.mjs";
42
+ import "./chunk-4G35AYIJ.mjs";
43
43
  import "./chunk-FFBZYD6R.mjs";
44
44
  import "./chunk-NDDXQD7R.mjs";
45
- import "./chunk-DM2FMT3G.mjs";
45
+ import "./chunk-7TEC757Y.mjs";
46
46
  import "./chunk-DMUTOQCB.mjs";
47
47
  import "./chunk-PVTEDLBL.mjs";
48
48
  import "./chunk-XUV4U54K.mjs";
@@ -1,22 +1,22 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
2
2
 
3
3
 
4
- var _chunkMA2QNKZ7js = require('./chunk-MA2QNKZ7.js');
4
+ var _chunk2E2DXYRFjs = require('./chunk-2E2DXYRF.js');
5
5
 
6
6
 
7
- var _chunkLEHZZU32js = require('./chunk-LEHZZU32.js');
7
+ var _chunk2NYBFBUUjs = require('./chunk-2NYBFBUU.js');
8
8
 
9
9
 
10
- var _chunkQA6M5DEJjs = require('./chunk-QA6M5DEJ.js');
10
+ var _chunkA3SB76KGjs = require('./chunk-A3SB76KG.js');
11
11
 
12
12
 
13
- var _chunkVOPIMPWAjs = require('./chunk-VOPIMPWA.js');
13
+ var _chunkFQCHDI2Pjs = require('./chunk-FQCHDI2P.js');
14
14
 
15
15
 
16
- var _chunk2AQPTJLCjs = require('./chunk-2AQPTJLC.js');
16
+ var _chunkYFIHF222js = require('./chunk-YFIHF222.js');
17
17
 
18
18
 
19
- var _chunkOJV4NKCZjs = require('./chunk-OJV4NKCZ.js');
19
+ var _chunkIIMNDUXXjs = require('./chunk-IIMNDUXX.js');
20
20
 
21
21
 
22
22
  var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
@@ -24,9 +24,9 @@ require('./chunk-FBLF4KJF.js');
24
24
  require('./chunk-7YRW5HNX.js');
25
25
  require('./chunk-HI4G4OOG.js');
26
26
  require('./chunk-ZMFVKBRM.js');
27
- require('./chunk-5Q3LI7CF.js');
27
+ require('./chunk-UW6T77HF.js');
28
28
  require('./chunk-5CPYNJT2.js');
29
- require('./chunk-GRBZKMJI.js');
29
+ require('./chunk-ZJXBN32W.js');
30
30
  require('./chunk-5MKQX2FE.js');
31
31
  require('./chunk-XCSSYTCU.js');
32
32
  require('./chunk-3GQAWCBQ.js');
@@ -38,4 +38,4 @@ require('./chunk-3GQAWCBQ.js');
38
38
 
39
39
 
40
40
 
41
- exports.browserLibraryGeneratorFn = _chunk2AQPTJLCjs.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkOJV4NKCZjs.configSchemaGeneratorFn; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkMA2QNKZ7js.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkLEHZZU32js.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkQA6M5DEJjs.presetGeneratorFn; exports.releaseVersionGeneratorFn = _chunkVOPIMPWAjs.releaseVersionGeneratorFn;
41
+ exports.browserLibraryGeneratorFn = _chunkYFIHF222js.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkIIMNDUXXjs.configSchemaGeneratorFn; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunk2E2DXYRFjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunk2NYBFBUUjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkA3SB76KGjs.presetGeneratorFn; exports.releaseVersionGeneratorFn = _chunkFQCHDI2Pjs.releaseVersionGeneratorFn;
@@ -1,22 +1,22 @@
1
1
  import "./chunk-RLIZVCIN.mjs";
2
2
  import {
3
3
  neutralLibraryGeneratorFn
4
- } from "./chunk-OE5KYONM.mjs";
4
+ } from "./chunk-PSMBZ5DR.mjs";
5
5
  import {
6
6
  nodeLibraryGeneratorFn
7
- } from "./chunk-SQHYP2JD.mjs";
7
+ } from "./chunk-THMXFMSK.mjs";
8
8
  import {
9
9
  presetGeneratorFn
10
- } from "./chunk-SZJOJ773.mjs";
10
+ } from "./chunk-KZGWRL4P.mjs";
11
11
  import {
12
12
  releaseVersionGeneratorFn
13
- } from "./chunk-WKYE64AL.mjs";
13
+ } from "./chunk-WWSP3KEN.mjs";
14
14
  import {
15
15
  browserLibraryGeneratorFn
16
- } from "./chunk-FDI6QWNH.mjs";
16
+ } from "./chunk-XOIDDNCA.mjs";
17
17
  import {
18
18
  configSchemaGeneratorFn
19
- } from "./chunk-QCAF5WDF.mjs";
19
+ } from "./chunk-VVHGKFCB.mjs";
20
20
  import {
21
21
  initGenerator
22
22
  } from "./chunk-J5SXKBBU.mjs";
@@ -24,9 +24,9 @@ import "./chunk-XSRDTQ5C.mjs";
24
24
  import "./chunk-66TYTM73.mjs";
25
25
  import "./chunk-EK75QNMS.mjs";
26
26
  import "./chunk-VYH45FO6.mjs";
27
- import "./chunk-A4DWQQ6J.mjs";
27
+ import "./chunk-PKR4QUWJ.mjs";
28
28
  import "./chunk-NDDXQD7R.mjs";
29
- import "./chunk-DM2FMT3G.mjs";
29
+ import "./chunk-7TEC757Y.mjs";
30
30
  import "./chunk-DMUTOQCB.mjs";
31
31
  import "./chunk-PVTEDLBL.mjs";
32
32
  import "./chunk-XUV4U54K.mjs";