@storm-software/workspace-tools 1.246.0 → 1.246.1
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.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/{chunk-7Q66XSCS.mjs → chunk-2AKLJNKO.mjs} +2 -2
- package/dist/{chunk-FZUZUTKX.js → chunk-2X5RIJLD.js} +41 -41
- package/dist/{chunk-6QSFQS3X.js → chunk-34JK7ZOU.js} +2 -2
- package/dist/{chunk-RSILHGEU.js → chunk-3EZ5RCSK.js} +21 -21
- package/dist/{chunk-CLBFXZQ5.mjs → chunk-3SPGOKCO.mjs} +1 -1
- package/dist/{chunk-HXU5ZXAJ.mjs → chunk-4F75KA7J.mjs} +1 -1
- package/dist/{chunk-GDE7VBWW.js → chunk-4O2MLA6O.js} +62 -62
- package/dist/{chunk-UI3SQYV3.mjs → chunk-4YODDZMS.mjs} +1 -1
- package/dist/{chunk-KLHTXAIU.js → chunk-66FRJGIN.js} +20 -20
- package/dist/{chunk-U6TLQT5H.js → chunk-6V5GP3U4.js} +3 -3
- package/dist/{chunk-EUCOXCI2.mjs → chunk-72JQWMSO.mjs} +3 -3
- package/dist/{chunk-5XF4CY7D.mjs → chunk-7QVGAOPQ.mjs} +1 -1
- package/dist/{chunk-GJ6DN3BR.mjs → chunk-AQLXZBXJ.mjs} +3 -3
- package/dist/{chunk-5DAZ2WTI.js → chunk-AWPP7DRY.js} +2 -2
- package/dist/{chunk-IBHLVELV.js → chunk-AY5HELLN.js} +25 -25
- package/dist/{chunk-ZOFW74B2.mjs → chunk-BLG6LLHW.mjs} +1 -1
- package/dist/{chunk-HONSACRT.js → chunk-BNYY2WQJ.js} +2 -2
- package/dist/{chunk-2HD75CLD.js → chunk-BYLPQCIB.js} +11 -11
- package/dist/{chunk-MMMTLP2W.js → chunk-CQAGLRNY.js} +5 -5
- package/dist/{chunk-2GRVQNW3.js → chunk-CUPARBOS.js} +3 -3
- package/dist/{chunk-RAVLTWJV.js → chunk-ECSCURQQ.js} +13 -13
- package/dist/{chunk-D2ECVPJF.js → chunk-EIL3PQQL.js} +2 -2
- package/dist/{chunk-XIOF32ZH.mjs → chunk-FBIVTCSJ.mjs} +1 -1
- package/dist/{chunk-RRWRVA7F.js → chunk-FDPZRNKZ.js} +15 -15
- package/dist/{chunk-SNFZL5BN.mjs → chunk-GQ6ZBQ6I.mjs} +3 -3
- package/dist/{chunk-RFO5NMSB.js → chunk-H5XURNDS.js} +2 -2
- package/dist/{chunk-Q45DDLNL.mjs → chunk-HK26KBWU.mjs} +2 -2
- package/dist/{chunk-TGDWEUKX.mjs → chunk-I6BCQJPP.mjs} +1 -1
- package/dist/{chunk-IUV3RLT4.mjs → chunk-IPMZQTRA.mjs} +1 -1
- package/dist/{chunk-YWKUJJ34.js → chunk-ITL2GPJB.js} +2 -2
- package/dist/chunk-JTAXCQX6.js +135 -0
- package/dist/{chunk-RLGZCVPW.mjs → chunk-KPKHTJWT.mjs} +3 -3
- package/dist/{chunk-PKBHUBDV.mjs → chunk-KV7YB4MU.mjs} +1 -1
- package/dist/{chunk-PCPEJBLO.js → chunk-LZNWOO4B.js} +7 -7
- package/dist/{chunk-YSYBVJGR.js → chunk-N3WLDHSN.js} +2 -2
- package/dist/chunk-NCFX2MWO.mjs +135 -0
- package/dist/{chunk-LYUV4LMB.mjs → chunk-O3ZLX7S5.mjs} +2 -2
- package/dist/{chunk-SBCLCF4E.mjs → chunk-O4ZT2WZN.mjs} +4 -4
- package/dist/{chunk-IF2GIONQ.js → chunk-P4ALYDGC.js} +5 -5
- package/dist/{chunk-C3YSVZWO.js → chunk-Q2DU6KGV.js} +7 -7
- package/dist/{chunk-T2NTGJ6O.mjs → chunk-Q47LFUGL.mjs} +3 -3
- package/dist/{chunk-6N67WSX5.mjs → chunk-R7VJ7ZHV.mjs} +1 -1
- package/dist/{chunk-GYGIXXAL.js → chunk-RWDBQOGV.js} +5 -5
- package/dist/{chunk-C2REXPET.mjs → chunk-SLCOHXD3.mjs} +1 -1
- package/dist/{chunk-KWIXQ4UN.mjs → chunk-TBQLIKD4.mjs} +3 -3
- package/dist/{chunk-INEO4WKL.mjs → chunk-TJ6WVBYM.mjs} +3 -3
- package/dist/{chunk-6ZRK5I4N.js → chunk-U3TVR7B3.js} +7 -7
- package/dist/{chunk-UHNTJRTW.mjs → chunk-U4AQXXXF.mjs} +3 -3
- package/dist/{chunk-6627ZZQF.mjs → chunk-WBFXAE2V.mjs} +4 -4
- package/dist/{chunk-K62HB3IT.mjs → chunk-WCIY3TEF.mjs} +1 -1
- package/dist/{chunk-YFERQMWX.js → chunk-WPYYDD5F.js} +2 -2
- package/dist/{chunk-7PLUDZNP.mjs → chunk-X7XA6QPV.mjs} +2 -2
- package/dist/{chunk-CFRPLVEU.mjs → chunk-XI4BWTXX.mjs} +2 -2
- package/dist/{chunk-M7ZE5SMZ.js → chunk-ZAE2P6GK.js} +7 -7
- package/dist/{chunk-B6PUPX6O.js → chunk-ZQPK5G4U.js} +27 -27
- package/dist/{chunk-QSLN7UYG.js → chunk-ZVP6NBMF.js} +2 -2
- package/dist/executors.js +19 -19
- package/dist/executors.mjs +20 -20
- package/dist/generators.js +13 -13
- package/dist/generators.mjs +12 -12
- package/dist/index.js +29 -29
- package/dist/index.mjs +30 -30
- package/dist/src/base/base-executor.js +6 -6
- package/dist/src/base/base-executor.mjs +5 -5
- package/dist/src/base/base-generator.js +6 -6
- package/dist/src/base/base-generator.mjs +5 -5
- package/dist/src/base/index.js +8 -8
- package/dist/src/base/index.mjs +7 -7
- package/dist/src/executors/cargo-build/executor.js +7 -7
- package/dist/src/executors/cargo-build/executor.mjs +6 -6
- package/dist/src/executors/cargo-check/executor.js +7 -7
- package/dist/src/executors/cargo-check/executor.mjs +6 -6
- package/dist/src/executors/cargo-clippy/executor.js +7 -7
- package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
- package/dist/src/executors/cargo-doc/executor.js +7 -7
- package/dist/src/executors/cargo-doc/executor.mjs +6 -6
- package/dist/src/executors/cargo-format/executor.js +7 -7
- package/dist/src/executors/cargo-format/executor.mjs +6 -6
- package/dist/src/executors/clean-package/executor.js +9 -9
- package/dist/src/executors/clean-package/executor.mjs +5 -5
- package/dist/src/executors/esbuild/executor.js +8 -8
- package/dist/src/executors/esbuild/executor.mjs +7 -7
- package/dist/src/executors/npm-publish/executor.js +4 -4
- package/dist/src/executors/npm-publish/executor.mjs +3 -3
- package/dist/src/executors/size-limit/executor.js +7 -7
- package/dist/src/executors/size-limit/executor.mjs +6 -6
- package/dist/src/executors/tsdown/executor.js +8 -8
- package/dist/src/executors/tsdown/executor.mjs +7 -7
- package/dist/src/executors/typia/executor.js +7 -7
- package/dist/src/executors/typia/executor.mjs +6 -6
- package/dist/src/executors/unbuild/executor.js +7 -7
- package/dist/src/executors/unbuild/executor.mjs +6 -6
- package/dist/src/generators/browser-library/generator.js +8 -8
- package/dist/src/generators/browser-library/generator.mjs +7 -7
- package/dist/src/generators/config-schema/generator.js +7 -7
- package/dist/src/generators/config-schema/generator.mjs +6 -6
- package/dist/src/generators/neutral-library/generator.js +8 -8
- package/dist/src/generators/neutral-library/generator.mjs +7 -7
- package/dist/src/generators/node-library/generator.js +8 -8
- package/dist/src/generators/node-library/generator.mjs +7 -7
- package/dist/src/generators/preset/generator.js +7 -7
- package/dist/src/generators/preset/generator.mjs +6 -6
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- package/dist/src/utils/apply-workspace-tokens.js +4 -4
- package/dist/src/utils/apply-workspace-tokens.mjs +3 -3
- package/dist/src/utils/get-project-configurations.js +4 -4
- package/dist/src/utils/get-project-configurations.mjs +3 -3
- package/dist/src/utils/index.js +6 -6
- package/dist/src/utils/index.mjs +5 -5
- package/dist/src/utils/pnpm-deps-update.js +3 -3
- package/dist/src/utils/pnpm-deps-update.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-2AUNU6UA.mjs +0 -32
- package/dist/chunk-BUXJSVJG.js +0 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk34JK7ZOUjs = require('./chunk-34JK7ZOU.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -12,10 +12,10 @@ var _chunk6QSFQS3Xjs = require('./chunk-6QSFQS3X.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -23,52 +23,52 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
var _defu = require('defu');
|
|
25
25
|
var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config = {};
|
|
29
29
|
try {
|
|
30
30
|
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
31
31
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
32
32
|
}
|
|
33
|
-
const workspaceRoot =
|
|
33
|
+
const workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
|
|
34
34
|
const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
|
|
35
35
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
36
36
|
const projectName = context.projectName;
|
|
37
37
|
config.workspaceRoot = workspaceRoot;
|
|
38
|
-
|
|
38
|
+
_chunkZQPK5G4Ujs.writeInfo.call(void 0, `
|
|
39
39
|
\u26A1 Running the ${name} executor for ${projectName}
|
|
40
40
|
`, config);
|
|
41
41
|
if (!executorOptions.skipReadingConfig) {
|
|
42
|
-
|
|
42
|
+
_chunkZQPK5G4Ujs.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
|
|
48
|
+
config = await _chunkZQPK5G4Ujs.getConfig.call(void 0, workspaceRoot);
|
|
49
49
|
}
|
|
50
50
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
51
|
-
|
|
51
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
52
52
|
options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
|
|
53
|
-
|
|
53
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
${
|
|
55
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
|
|
56
|
+
${_chunkZQPK5G4Ujs.formatLogMessage.call(void 0, options)}
|
|
57
57
|
`, config);
|
|
58
|
-
const tokenized = await
|
|
58
|
+
const tokenized = await _chunk34JK7ZOUjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
|
|
59
59
|
workspaceRoot,
|
|
60
60
|
projectRoot,
|
|
61
61
|
sourceRoot,
|
|
62
62
|
projectName,
|
|
63
63
|
config
|
|
64
|
-
}, config, context.projectsConfigurations.projects[context.projectName]),
|
|
65
|
-
|
|
66
|
-
${
|
|
64
|
+
}, config, context.projectsConfigurations.projects[context.projectName]), _chunk34JK7ZOUjs.applyWorkspaceProjectTokens);
|
|
65
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
|
|
66
|
+
${_chunkZQPK5G4Ujs.formatLogMessage.call(void 0, tokenized)}
|
|
67
67
|
`, config);
|
|
68
68
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
69
|
-
|
|
69
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
70
70
|
await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
|
|
71
|
-
|
|
71
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
72
72
|
}
|
|
73
73
|
const ret = executorFn(tokenized, context, config);
|
|
74
74
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -78,26 +78,26 @@ ${_chunkB6PUPX6Ojs.formatLogMessage.call(void 0, tokenized)}
|
|
|
78
78
|
}
|
|
79
79
|
const result = await Promise.resolve(ret);
|
|
80
80
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
81
|
-
|
|
82
|
-
${
|
|
81
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, `Failure determined by the ${name} executor
|
|
82
|
+
${_chunkZQPK5G4Ujs.formatLogMessage.call(void 0, result)}`, config);
|
|
83
83
|
console.error(result);
|
|
84
84
|
throw new Error(`The ${name} executor failed to run`, {
|
|
85
85
|
cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
89
|
-
|
|
89
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
90
90
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
91
|
-
|
|
91
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
_chunkZQPK5G4Ujs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
94
94
|
`, config);
|
|
95
95
|
return {
|
|
96
96
|
success: true
|
|
97
97
|
};
|
|
98
98
|
} catch (error) {
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
_chunkZQPK5G4Ujs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
|
|
100
|
+
_chunkZQPK5G4Ujs.writeError.call(void 0, `An exception was thrown in the executor's process
|
|
101
101
|
- Details: ${error.message}
|
|
102
102
|
- Stacktrace: ${error.stack}`, config);
|
|
103
103
|
return {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.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 =
|
|
18
|
+
var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
var _zodtojsonschema = require('zod-to-json-schema');
|
|
20
20
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0,
|
|
21
|
+
_chunkZQPK5G4Ujs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
|
|
22
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
|
|
23
|
+
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkZQPK5G4Ujs.StormConfigSchema, {
|
|
24
24
|
name: "StormWorkspaceConfiguration"
|
|
25
25
|
});
|
|
26
|
-
|
|
27
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => (
|
|
28
|
-
|
|
26
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, jsonSchema, config);
|
|
27
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
|
|
28
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
29
29
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
30
30
|
spaces: 2
|
|
31
31
|
});
|
|
32
32
|
await _devkit.formatFiles.call(void 0, tree);
|
|
33
|
-
|
|
33
|
+
_chunkZQPK5G4Ujs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
|
|
34
34
|
return {
|
|
35
35
|
success: true
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
_chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
|
|
39
|
-
var generator_default =
|
|
39
|
+
var generator_default = _chunk66FRJGINjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
|
|
40
40
|
hooks: {
|
|
41
41
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
42
42
|
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -21,8 +21,8 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
21
21
|
if (!projectConfig) {
|
|
22
22
|
throw new Error(`Could not find project configuration for \`${context.projectName}\``);
|
|
23
23
|
}
|
|
24
|
-
const packageRoot =
|
|
25
|
-
const packageJsonPath =
|
|
24
|
+
const packageRoot = _chunkJTAXCQX6js.joinPaths.call(void 0, context.root, options.packageRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectConfig.root));
|
|
25
|
+
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, packageRoot, "package.json");
|
|
26
26
|
const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
|
|
27
27
|
if (!packageJsonFile) {
|
|
28
28
|
throw new Error(`Could not find \`package.json\` at ${packageJsonPath}`);
|
|
@@ -37,7 +37,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
37
37
|
success: true
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
await
|
|
40
|
+
await _chunkCUPARBOSjs.pnpmCatalogUpdate.call(void 0, packageRoot, context.root);
|
|
41
41
|
const npmPublishCommandSegments = [
|
|
42
42
|
`npm publish --json`
|
|
43
43
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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
|
|
3
|
+
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -13,7 +13,7 @@ var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequ
|
|
|
13
13
|
var pnpmCatalog;
|
|
14
14
|
async function pnpmCatalogUpdate(packageRoot, workspaceRoot = process.cwd()) {
|
|
15
15
|
if (!pnpmCatalog) {
|
|
16
|
-
const pnpmWorkspacePath =
|
|
16
|
+
const pnpmWorkspacePath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
|
|
17
17
|
if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
|
|
18
18
|
console.warn(`No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${pnpmWorkspacePath}). Skipping pnpm catalog read for now.`);
|
|
19
19
|
return;
|
|
@@ -31,7 +31,7 @@ File contents: ${pnpmWorkspaceYaml ? JSON.stringify(pnpmWorkspaceYaml) : "EMPTY
|
|
|
31
31
|
if (!pnpmCatalog) {
|
|
32
32
|
console.warn(`No pnpm catalog found. Attempting to read from workspace root's \`pnpm-workspace.yaml\` file.`);
|
|
33
33
|
}
|
|
34
|
-
const packageJsonPath =
|
|
34
|
+
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, packageRoot, "package.json");
|
|
35
35
|
const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
36
36
|
if (!packageJsonFile) {
|
|
37
37
|
throw new Error("No package.json file found in package root: " + packageRoot);
|
|
@@ -7,7 +7,7 @@ var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
|
7
7
|
var _chunk7YRW5HNXjs = require('./chunk-7YRW5HNX.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -41,7 +41,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
41
41
|
const projectConfig = {
|
|
42
42
|
root: normalized.directory,
|
|
43
43
|
projectType: "library",
|
|
44
|
-
sourceRoot:
|
|
44
|
+
sourceRoot: _chunkJTAXCQX6js.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
45
45
|
targets: {
|
|
46
46
|
build: {
|
|
47
47
|
executor: options.buildExecutor,
|
|
@@ -50,11 +50,11 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
50
50
|
],
|
|
51
51
|
options: {
|
|
52
52
|
entry: [
|
|
53
|
-
|
|
53
|
+
_chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
|
|
54
54
|
],
|
|
55
55
|
outputPath: getOutputPath(normalized),
|
|
56
|
-
tsconfig:
|
|
57
|
-
project:
|
|
56
|
+
tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
57
|
+
project: _chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
58
58
|
defaultConfiguration: "production",
|
|
59
59
|
platform: "neutral",
|
|
60
60
|
assets: [
|
|
@@ -108,7 +108,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
108
108
|
if (!normalized.importPath) {
|
|
109
109
|
normalized.importPath = normalized.name;
|
|
110
110
|
}
|
|
111
|
-
const packageJsonPath =
|
|
111
|
+
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
112
112
|
if (tree.exists(packageJsonPath)) {
|
|
113
113
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
114
114
|
if (!normalized.importPath) {
|
|
@@ -165,10 +165,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
165
165
|
}));
|
|
166
166
|
}
|
|
167
167
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
168
|
-
|
|
168
|
+
_chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
|
|
169
169
|
]);
|
|
170
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
171
|
-
|
|
170
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkJTAXCQX6js.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
171
|
+
_chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
172
172
|
]);
|
|
173
173
|
if (tree.exists("package.json")) {
|
|
174
174
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -179,7 +179,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
179
179
|
description = packageJson.description;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
const tsconfigPath =
|
|
182
|
+
const tsconfigPath = _chunkJTAXCQX6js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
183
183
|
if (tree.exists(tsconfigPath)) {
|
|
184
184
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
185
185
|
json.composite ??= true;
|
|
@@ -217,7 +217,7 @@ function getOutputPath(options) {
|
|
|
217
217
|
} else {
|
|
218
218
|
parts.push(options.projectRoot);
|
|
219
219
|
}
|
|
220
|
-
return
|
|
220
|
+
return _chunkJTAXCQX6js.joinPaths.call(void 0, ...parts);
|
|
221
221
|
}
|
|
222
222
|
_chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
223
223
|
function createProjectTsConfigJson(tree, options) {
|
|
@@ -226,7 +226,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
226
226
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _12 => _12.tsconfigOptions]), () => ( {})),
|
|
227
227
|
compilerOptions: {
|
|
228
228
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
229
|
-
outDir:
|
|
229
|
+
outDir: _chunkJTAXCQX6js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
230
230
|
noEmit: true,
|
|
231
231
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _13 => _13.tsconfigOptions, 'optionalAccess', _14 => _14.compilerOptions]), () => ( {}))
|
|
232
232
|
},
|
|
@@ -246,7 +246,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
246
246
|
"src/**/*.test.ts"
|
|
247
247
|
]
|
|
248
248
|
};
|
|
249
|
-
_devkit.writeJson.call(void 0, tree,
|
|
249
|
+
_devkit.writeJson.call(void 0, tree, _chunkJTAXCQX6js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
250
250
|
}
|
|
251
251
|
_chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
252
252
|
async function normalizeOptions(tree, options, config) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -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 =
|
|
235
|
+
var generator_default = _chunk66FRJGINjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
|
|
@@ -13,10 +13,10 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -248,16 +248,16 @@ var _version = require('nx/src/command-line/release/version');
|
|
|
248
248
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
249
249
|
var _semver3 = require('semver');
|
|
250
250
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
251
|
-
|
|
251
|
+
_chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
|
|
252
252
|
|
|
253
253
|
`, config);
|
|
254
|
-
const stopwatch =
|
|
254
|
+
const stopwatch = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, "Storm Release Version generator");
|
|
255
255
|
try {
|
|
256
|
-
const workspaceRoot =
|
|
257
|
-
|
|
256
|
+
const workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
|
|
257
|
+
_chunkZQPK5G4Ujs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
258
258
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
259
|
-
config = await
|
|
260
|
-
|
|
259
|
+
config = await _chunkZQPK5G4Ujs.getConfig.call(void 0, workspaceRoot);
|
|
260
|
+
_chunkZQPK5G4Ujs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
|
|
261
261
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
262
262
|
const versionData = {};
|
|
263
263
|
if (options.specifier) {
|
|
@@ -275,7 +275,7 @@ Valid values are: ${_version.validReleaseVersionPrefixes.map((s) => `"${s}"`).jo
|
|
|
275
275
|
const projects = options.projects;
|
|
276
276
|
const createResolvePackageRoot = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (customPackageRoot) => (projectNode) => {
|
|
277
277
|
if (_optionalChain([projectNode, 'optionalAccess', _3 => _3.data, 'optionalAccess', _4 => _4.root]) === _optionalChain([config, 'optionalAccess', _5 => _5.workspaceRoot]) || _optionalChain([projectNode, 'optionalAccess', _6 => _6.data, 'optionalAccess', _7 => _7.root]) === ".") {
|
|
278
|
-
return _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.workspaceRoot]), () => (
|
|
278
|
+
return _nullishCoalesce(_optionalChain([config, 'optionalAccess', _8 => _8.workspaceRoot]), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, )));
|
|
279
279
|
}
|
|
280
280
|
if (!customPackageRoot) {
|
|
281
281
|
return projectNode.data.root;
|
|
@@ -305,11 +305,11 @@ Valid values are: ${_version.validReleaseVersionPrefixes.map((s) => `"${s}"`).jo
|
|
|
305
305
|
|
|
306
306
|
To fix this you will either need to add a package.json or Cargo.toml file at that location, or configure "release" within your nx.json to exclude "${projectName}" from the current release group, or amend the packageRoot configuration to point to where the package.json should be.`);
|
|
307
307
|
}
|
|
308
|
-
const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => (
|
|
308
|
+
const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
|
|
309
309
|
const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
|
|
310
|
-
|
|
310
|
+
_chunkZQPK5G4Ujs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
|
|
311
311
|
}, "log");
|
|
312
|
-
|
|
312
|
+
_chunkZQPK5G4Ujs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
|
|
313
313
|
let packageName;
|
|
314
314
|
let currentVersionFromDisk;
|
|
315
315
|
if (tree.exists(packageJsonPath)) {
|
|
@@ -583,7 +583,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
await _devkit.formatFiles.call(void 0, tree);
|
|
586
|
-
|
|
586
|
+
_chunkZQPK5G4Ujs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
|
|
587
587
|
`, config);
|
|
588
588
|
return {
|
|
589
589
|
data: versionData,
|
|
@@ -617,8 +617,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
617
617
|
}, "callback")
|
|
618
618
|
};
|
|
619
619
|
} catch (error) {
|
|
620
|
-
|
|
621
|
-
|
|
620
|
+
_chunkZQPK5G4Ujs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
|
|
621
|
+
_chunkZQPK5G4Ujs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
|
|
622
622
|
- Details: ${error.message}
|
|
623
623
|
- Stacktrace: ${error.stack}`, config);
|
|
624
624
|
throw new Error(`An exception was thrown in the Storm Release Version generator's process
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceBaseTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WCIY3TEF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig,
|
|
7
7
|
getStopwatch,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
writeInfo,
|
|
12
12
|
writeSuccess,
|
|
13
13
|
writeTrace
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2AKLJNKO.mjs";
|
|
15
15
|
import {
|
|
16
16
|
findWorkspaceRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BLG6LLHW.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-XUV4U54K.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -49,7 +49,7 @@ var applyWorkspaceExecutorTokens = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(
|
|
|
49
49
|
result = result.replaceAll("{sourceRoot}", sourceRoot);
|
|
50
50
|
}
|
|
51
51
|
if (result.includes("{workspaceRoot}")) {
|
|
52
|
-
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(tokenizerOptions.workspaceRoot, () => (
|
|
52
|
+
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))));
|
|
53
53
|
}
|
|
54
54
|
return result;
|
|
55
55
|
}, "applyWorkspaceExecutorTokens");
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2AKLJNKO.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BLG6LLHW.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-XUV4U54K.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.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 =
|
|
18
|
+
var executor_default = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|