@storm-software/workspace-tools 1.234.0 → 1.234.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.
- package/CHANGELOG.md +25 -0
- package/README.md +1 -1
- package/dist/{chunk-VWJEKC3P.mjs → chunk-2VVJ73GY.mjs} +3 -3
- package/dist/{chunk-BANJXE74.js → chunk-4Q72QV36.js} +3 -3
- package/dist/{chunk-OH2QVCID.js → chunk-4XNHDVNL.js} +5 -5
- package/dist/{chunk-DOQEFB3U.js → chunk-5E43WELP.js} +5 -5
- package/dist/{chunk-QQHYWAVX.mjs → chunk-72NN2WXJ.mjs} +3 -3
- package/dist/{chunk-MVCUW6FQ.js → chunk-AVNWYF4W.js} +31 -31
- package/dist/{chunk-A3SB76KG.js → chunk-BCLA6IJA.js} +3 -3
- package/dist/{chunk-WWSP3KEN.mjs → chunk-CMJNXT73.mjs} +7 -7
- package/dist/{chunk-IIMNDUXX.js → chunk-CR3474CZ.js} +9 -9
- package/dist/{chunk-YFIHF222.js → chunk-DPZGOT3C.js} +2 -2
- package/dist/{chunk-XOIDDNCA.mjs → chunk-EGVA5PP4.mjs} +1 -1
- package/dist/{chunk-7PETCK66.js → chunk-G52PV2C4.js} +41 -41
- package/dist/{chunk-2NYBFBUU.js → chunk-GGUW7XKH.js} +3 -3
- package/dist/{chunk-Y2LDGJCA.js → chunk-GY2WLGUT.js} +3 -3
- package/dist/{chunk-AKLDSJTD.mjs → chunk-H3XJJKXF.mjs} +3 -3
- package/dist/{chunk-CNX755OY.mjs → chunk-H6T5R4GY.mjs} +3 -3
- package/dist/{chunk-2DNLATEG.mjs → chunk-IOCGVIIK.mjs} +1 -1
- package/dist/{chunk-VVHGKFCB.mjs → chunk-IYCUBLGZ.mjs} +2 -2
- package/dist/{chunk-UW6T77HF.js → chunk-K5Q4B5PP.js} +15 -15
- package/dist/{chunk-ZPQJ7P6C.mjs → chunk-L5S3FKZX.mjs} +3 -3
- package/dist/{chunk-FQCHDI2P.js → chunk-LCWHKBMG.js} +12 -12
- package/dist/{chunk-N4J73OER.mjs → chunk-MAFJC4FD.mjs} +2 -2
- package/dist/{chunk-KZGWRL4P.mjs → chunk-MO5U33M5.mjs} +3 -3
- package/dist/{chunk-ENBOBX3C.js → chunk-PQPHUTIU.js} +3 -3
- package/dist/{chunk-2E2DXYRF.js → chunk-PQVWSBEG.js} +2 -2
- package/dist/{chunk-XWYXKDH2.js → chunk-QEWNW5WN.js} +5 -5
- package/dist/{chunk-YO7MVS4A.js → chunk-RDPFNECS.js} +19 -19
- package/dist/{chunk-7TEC757Y.mjs → chunk-RENOUPVD.mjs} +1 -2
- package/dist/{chunk-PSMBZ5DR.mjs → chunk-RF5FJZO3.mjs} +1 -1
- package/dist/{chunk-ZJXBN32W.js → chunk-SCINGDII.js} +1 -2
- package/dist/{chunk-3GQ6H7GF.mjs → chunk-SGCC5BPM.mjs} +3 -3
- package/dist/{chunk-PKR4QUWJ.mjs → chunk-SKHELRGB.mjs} +1 -1
- package/dist/{chunk-5Z7CCIIJ.js → chunk-UJ6M3BUH.js} +3 -3
- package/dist/{chunk-IVRCEWW4.mjs → chunk-V3GDNLMY.mjs} +2 -2
- package/dist/{chunk-FE52EM76.js → chunk-VF3E6O7Z.js} +7 -7
- package/dist/{chunk-THMXFMSK.mjs → chunk-VFDAXDTM.mjs} +3 -3
- package/dist/{chunk-UROGF3KF.mjs → chunk-VSWQOG36.mjs} +3 -3
- package/dist/{chunk-BARR5D5N.mjs → chunk-XOFOKSLS.mjs} +3 -3
- package/dist/{chunk-VQMSXER7.js → chunk-Z2IEMJII.js} +3 -3
- package/dist/{chunk-4G35AYIJ.mjs → chunk-Z33MYNCC.mjs} +4 -4
- package/dist/executors.js +16 -16
- package/dist/executors.mjs +15 -15
- package/dist/generators.js +10 -10
- package/dist/generators.mjs +9 -9
- package/dist/index.js +46 -46
- package/dist/index.mjs +57 -57
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +2 -2
- package/dist/src/base/index.js +12 -12
- package/dist/src/base/index.mjs +14 -14
- package/dist/src/executors/cargo-build/executor.js +6 -6
- package/dist/src/executors/cargo-build/executor.mjs +5 -5
- package/dist/src/executors/cargo-check/executor.js +6 -6
- package/dist/src/executors/cargo-check/executor.mjs +5 -5
- package/dist/src/executors/cargo-clippy/executor.js +6 -6
- package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
- package/dist/src/executors/cargo-doc/executor.js +6 -6
- package/dist/src/executors/cargo-doc/executor.mjs +5 -5
- package/dist/src/executors/cargo-format/executor.js +6 -6
- package/dist/src/executors/cargo-format/executor.mjs +5 -5
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.js +6 -6
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +5 -5
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +3 -3
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +3 -3
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +3 -3
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +3 -3
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +3 -3
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +2 -2
- package/dist/src/plugins/rust/cargo-toml.js +3 -3
- package/dist/src/plugins/rust/cargo-toml.mjs +2 -2
- package/dist/src/plugins/rust/index.js +3 -3
- package/dist/src/plugins/rust/index.mjs +2 -2
- package/dist/src/utils/index.js +8 -8
- package/dist/src/utils/index.mjs +18 -18
- package/package.json +5 -5
- package/dist/{chunk-XONECYS4.js → chunk-YESI2BBC.js} +2 -2
- package/dist/{chunk-GZPCM2GI.mjs → chunk-Z322IWWR.mjs} +4 -4
|
@@ -1,9 +1,8 @@
|
|
|
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 _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
|
|
@@ -12,9 +11,10 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
|
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
|
|
14
|
+
var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkBWFTYFWMjs = require('./chunk-BWFTYFWM.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 =
|
|
27
|
+
const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, name);
|
|
28
28
|
let options = _options;
|
|
29
29
|
let config = {};
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
_chunkSCINGDIIjs.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
|
-
|
|
42
|
+
_chunkSCINGDIIjs.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 _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot);
|
|
49
49
|
}
|
|
50
50
|
if (_optionalChain([executorOptions, 'optionalAccess', _15 => _15.hooks, 'optionalAccess', _16 => _16.applyDefaultOptions])) {
|
|
51
|
-
|
|
51
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
52
52
|
options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
|
|
53
|
-
|
|
53
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
_chunkSCINGDIIjs.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
|
-
|
|
67
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
68
68
|
await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
|
|
69
|
-
|
|
69
|
+
_chunkSCINGDIIjs.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
|
-
|
|
80
|
-
${
|
|
79
|
+
_chunkSCINGDIIjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
|
|
80
|
+
${_chunkSCINGDIIjs.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
|
-
|
|
87
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
88
88
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
89
|
-
|
|
89
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
_chunkSCINGDIIjs.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
|
-
|
|
98
|
-
|
|
97
|
+
_chunkSCINGDIIjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
|
|
98
|
+
_chunkSCINGDIIjs.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 {
|
|
@@ -395,8 +395,7 @@ var isVerbose = /* @__PURE__ */ __name((label = LogLevelLabel.SILENT) => {
|
|
|
395
395
|
}, "isVerbose");
|
|
396
396
|
|
|
397
397
|
// ../config-tools/src/logger/console.ts
|
|
398
|
-
var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}) => {
|
|
399
|
-
const _chalk = getChalk();
|
|
398
|
+
var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
400
399
|
const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
401
400
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
402
401
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
@@ -395,8 +395,7 @@ var isVerbose = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label = Lo
|
|
|
395
395
|
}, "isVerbose");
|
|
396
396
|
|
|
397
397
|
// ../config-tools/src/logger/console.ts
|
|
398
|
-
var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}) => {
|
|
399
|
-
const _chalk = getChalk();
|
|
398
|
+
var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
400
399
|
const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
401
400
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
402
401
|
if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
getEntryPoints,
|
|
9
9
|
getEnv,
|
|
10
10
|
getOutExtension
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IOCGVIIK.mjs";
|
|
12
12
|
import {
|
|
13
13
|
withRunExecutor
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z33MYNCC.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getStopwatch,
|
|
17
17
|
isVerbose,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
writeSuccess,
|
|
24
24
|
writeTrace,
|
|
25
25
|
writeWarning
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RENOUPVD.mjs";
|
|
27
27
|
import {
|
|
28
28
|
joinPaths
|
|
29
29
|
} from "./chunk-PVTEDLBL.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
+
var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
|
|
3
4
|
|
|
4
|
-
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -19,7 +19,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
19
19
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
20
20
|
}
|
|
21
21
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
|
|
22
|
-
var executor_default =
|
|
22
|
+
var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
|
|
23
23
|
skipReadingConfig: false,
|
|
24
24
|
hooks: {
|
|
25
25
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
|
|
@@ -38,7 +38,7 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
|
38
38
|
var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot) => {
|
|
39
39
|
let rootDir = workspaceRoot;
|
|
40
40
|
if (!rootDir) {
|
|
41
|
-
const config = await
|
|
41
|
+
const config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, );
|
|
42
42
|
rootDir = config.workspaceRoot;
|
|
43
43
|
}
|
|
44
44
|
const nxJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, rootDir, "nx.json");
|
|
@@ -103,13 +103,13 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
|
|
|
103
103
|
projectsConfigurations,
|
|
104
104
|
nxJsonConfiguration: nxJson,
|
|
105
105
|
cwd: config.workspaceRoot,
|
|
106
|
-
isVerbose:
|
|
106
|
+
isVerbose: _chunkSCINGDIIjs.isVerbose.call(void 0, config.logLevel)
|
|
107
107
|
});
|
|
108
108
|
if (!result.success) {
|
|
109
109
|
throw new Error("The Build process failed trying to copy assets");
|
|
110
110
|
}
|
|
111
111
|
if (includeSrc === true) {
|
|
112
|
-
|
|
112
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
113
113
|
const files = await _glob.glob.call(void 0, [
|
|
114
114
|
_chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
115
115
|
_chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
@@ -147,7 +147,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
if (localPackages.length > 0) {
|
|
150
|
-
|
|
150
|
+
_chunkSCINGDIIjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
151
151
|
packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
|
|
152
152
|
if (!ret[localPackage.name]) {
|
|
153
153
|
ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
|
|
@@ -169,7 +169,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
|
|
|
169
169
|
return ret;
|
|
170
170
|
}, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
|
|
171
171
|
} else {
|
|
172
|
-
|
|
172
|
+
_chunkSCINGDIIjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
173
173
|
}
|
|
174
174
|
return packageJson;
|
|
175
175
|
}, "addPackageDependencies");
|
|
@@ -265,7 +265,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
265
265
|
results.push(...files.reduce((ret, filePath) => {
|
|
266
266
|
const result = _chunkXCSSYTCUjs.correctPaths.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, projectRoot), ""));
|
|
267
267
|
if (result) {
|
|
268
|
-
|
|
268
|
+
_chunkSCINGDIIjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
269
269
|
if (!results.includes(result)) {
|
|
270
270
|
results.push(result);
|
|
271
271
|
}
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
normalizeOptions,
|
|
3
3
|
typeScriptLibraryGeneratorFn
|
|
4
4
|
} from "./chunk-XSRDTQ5C.mjs";
|
|
5
|
+
import {
|
|
6
|
+
withRunGenerator
|
|
7
|
+
} from "./chunk-SKHELRGB.mjs";
|
|
5
8
|
import {
|
|
6
9
|
typesNodeVersion
|
|
7
10
|
} from "./chunk-EK75QNMS.mjs";
|
|
8
|
-
import {
|
|
9
|
-
withRunGenerator
|
|
10
|
-
} from "./chunk-PKR4QUWJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname,
|
|
13
13
|
__name
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunExecutor
|
|
3
|
+
} from "./chunk-Z33MYNCC.mjs";
|
|
1
4
|
import {
|
|
2
5
|
buildCargoCommand,
|
|
3
6
|
cargoCommand
|
|
4
7
|
} from "./chunk-QZHIWK5Z.mjs";
|
|
5
|
-
import {
|
|
6
|
-
withRunExecutor
|
|
7
|
-
} from "./chunk-4G35AYIJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
10
|
} from "./chunk-XUV4U54K.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withRunExecutor
|
|
3
|
+
} from "./chunk-Z33MYNCC.mjs";
|
|
1
4
|
import {
|
|
2
5
|
buildCargoCommand,
|
|
3
6
|
cargoCommand
|
|
4
7
|
} from "./chunk-QZHIWK5Z.mjs";
|
|
5
|
-
import {
|
|
6
|
-
withRunExecutor
|
|
7
|
-
} from "./chunk-4G35AYIJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
10
|
} from "./chunk-XUV4U54K.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
|
|
3
4
|
|
|
4
|
-
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.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 = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
applyWorkspaceExecutorTokens
|
|
3
|
-
} from "./chunk-FFBZYD6R.mjs";
|
|
4
1
|
import {
|
|
5
2
|
applyWorkspaceTokens
|
|
6
3
|
} from "./chunk-NDDXQD7R.mjs";
|
|
@@ -14,7 +11,10 @@ import {
|
|
|
14
11
|
writeInfo,
|
|
15
12
|
writeSuccess,
|
|
16
13
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RENOUPVD.mjs";
|
|
15
|
+
import {
|
|
16
|
+
applyWorkspaceExecutorTokens
|
|
17
|
+
} from "./chunk-FFBZYD6R.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-DMUTOQCB.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
|
|
4
|
+
var _chunkQEWNW5WNjs = require('./chunk-QEWNW5WN.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkMZ6IF3DOjs = require('./chunk-MZ6IF3DO.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk4XNHDVNLjs = require('./chunk-4XNHDVNL.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkAVNWYF4Wjs = require('./chunk-AVNWYF4W.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk5E43WELPjs = require('./chunk-5E43WELP.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk4Q72QV36js = require('./chunk-4Q72QV36.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-
|
|
25
|
+
var _chunkG52PV2C4js = require('./chunk-G52PV2C4.js');
|
|
26
|
+
require('./chunk-VF3E6O7Z.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkPQPHUTIUjs = require('./chunk-PQPHUTIU.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkGY2WLGUTjs = require('./chunk-GY2WLGUT.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkZ2IEMJIIjs = require('./chunk-Z2IEMJII.js');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkUJ6M3BUHjs = require('./chunk-UJ6M3BUH.js');
|
|
39
|
+
require('./chunk-RDPFNECS.js');
|
|
39
40
|
require('./chunk-WPMFZECR.js');
|
|
40
|
-
require('./chunk-
|
|
41
|
+
require('./chunk-5CPYNJT2.js');
|
|
42
|
+
require('./chunk-SCINGDII.js');
|
|
41
43
|
require('./chunk-ZMFVKBRM.js');
|
|
42
|
-
require('./chunk-YO7MVS4A.js');
|
|
43
44
|
require('./chunk-BWFTYFWM.js');
|
|
44
|
-
require('./chunk-
|
|
45
|
-
require('./chunk-ZJXBN32W.js');
|
|
45
|
+
require('./chunk-ULBTYC2B.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 =
|
|
62
|
+
exports.LARGE_BUFFER = _chunkMZ6IF3DOjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkPQPHUTIUjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkGY2WLGUTjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkZ2IEMJIIjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkUJ6M3BUHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunk4Q72QV36js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkG52PV2C4js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunk4XNHDVNLjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkAVNWYF4Wjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunk5E43WELPjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkQEWNW5WNjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import "./chunk-V7YZ3666.mjs";
|
|
2
2
|
import {
|
|
3
3
|
unbuildExecutorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2VVJ73GY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
LARGE_BUFFER
|
|
7
7
|
} from "./chunk-5FEFILUQ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
sizeLimitExecutorFn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V3GDNLMY.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tsdownExecutorFn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-72NN2WXJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
typiaExecutorFn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MAFJC4FD.mjs";
|
|
17
17
|
import {
|
|
18
18
|
cargoFormatExecutor
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XOFOKSLS.mjs";
|
|
20
20
|
import {
|
|
21
21
|
getRegistryVersion
|
|
22
22
|
} from "./chunk-6ZQ3QYXH.mjs";
|
|
23
23
|
import {
|
|
24
24
|
esbuildExecutorFn
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-SGCC5BPM.mjs";
|
|
26
|
+
import "./chunk-IOCGVIIK.mjs";
|
|
27
27
|
import {
|
|
28
28
|
cargoBuildExecutor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-H6T5R4GY.mjs";
|
|
30
30
|
import {
|
|
31
31
|
cargoCheckExecutor
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VSWQOG36.mjs";
|
|
33
33
|
import {
|
|
34
34
|
cargoClippyExecutor
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L5S3FKZX.mjs";
|
|
36
36
|
import {
|
|
37
37
|
cargoDocExecutor
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-H3XJJKXF.mjs";
|
|
39
|
+
import "./chunk-Z33MYNCC.mjs";
|
|
39
40
|
import "./chunk-RXH7O5YP.mjs";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-NDDXQD7R.mjs";
|
|
42
|
+
import "./chunk-RENOUPVD.mjs";
|
|
41
43
|
import "./chunk-VYH45FO6.mjs";
|
|
42
|
-
import "./chunk-4G35AYIJ.mjs";
|
|
43
44
|
import "./chunk-FFBZYD6R.mjs";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-7TEC757Y.mjs";
|
|
45
|
+
import "./chunk-QZHIWK5Z.mjs";
|
|
46
46
|
import "./chunk-DMUTOQCB.mjs";
|
|
47
47
|
import "./chunk-PVTEDLBL.mjs";
|
|
48
48
|
import "./chunk-XUV4U54K.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-INERRJ6Q.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPQVWSBEGjs = require('./chunk-PQVWSBEG.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGGUW7XKHjs = require('./chunk-GGUW7XKH.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkBCLA6IJAjs = require('./chunk-BCLA6IJA.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkLCWHKBMGjs = require('./chunk-LCWHKBMG.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkDPZGOT3Cjs = require('./chunk-DPZGOT3C.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkCR3474CZjs = require('./chunk-CR3474CZ.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunk3IZ3O4OKjs = require('./chunk-3IZ3O4OK.js');
|
|
23
23
|
require('./chunk-FBLF4KJF.js');
|
|
24
|
+
require('./chunk-K5Q4B5PP.js');
|
|
24
25
|
require('./chunk-7YRW5HNX.js');
|
|
25
26
|
require('./chunk-HI4G4OOG.js');
|
|
26
|
-
require('./chunk-ZMFVKBRM.js');
|
|
27
|
-
require('./chunk-UW6T77HF.js');
|
|
28
27
|
require('./chunk-5CPYNJT2.js');
|
|
29
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-SCINGDII.js');
|
|
29
|
+
require('./chunk-ZMFVKBRM.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 =
|
|
41
|
+
exports.browserLibraryGeneratorFn = _chunkDPZGOT3Cjs.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkCR3474CZjs.configSchemaGeneratorFn; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkPQVWSBEGjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkGGUW7XKHjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkBCLA6IJAjs.presetGeneratorFn; exports.releaseVersionGeneratorFn = _chunkLCWHKBMGjs.releaseVersionGeneratorFn;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import "./chunk-RLIZVCIN.mjs";
|
|
2
2
|
import {
|
|
3
3
|
neutralLibraryGeneratorFn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RF5FJZO3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
nodeLibraryGeneratorFn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VFDAXDTM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
presetGeneratorFn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MO5U33M5.mjs";
|
|
11
11
|
import {
|
|
12
12
|
releaseVersionGeneratorFn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CMJNXT73.mjs";
|
|
14
14
|
import {
|
|
15
15
|
browserLibraryGeneratorFn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EGVA5PP4.mjs";
|
|
17
17
|
import {
|
|
18
18
|
configSchemaGeneratorFn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IYCUBLGZ.mjs";
|
|
20
20
|
import {
|
|
21
21
|
initGenerator
|
|
22
22
|
} from "./chunk-J5SXKBBU.mjs";
|
|
23
23
|
import "./chunk-XSRDTQ5C.mjs";
|
|
24
|
+
import "./chunk-SKHELRGB.mjs";
|
|
24
25
|
import "./chunk-66TYTM73.mjs";
|
|
25
26
|
import "./chunk-EK75QNMS.mjs";
|
|
26
|
-
import "./chunk-VYH45FO6.mjs";
|
|
27
|
-
import "./chunk-PKR4QUWJ.mjs";
|
|
28
27
|
import "./chunk-NDDXQD7R.mjs";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-RENOUPVD.mjs";
|
|
29
|
+
import "./chunk-VYH45FO6.mjs";
|
|
30
30
|
import "./chunk-DMUTOQCB.mjs";
|
|
31
31
|
import "./chunk-PVTEDLBL.mjs";
|
|
32
32
|
import "./chunk-XUV4U54K.mjs";
|