@storm-software/workspace-tools 1.296.5 → 1.296.7
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/dist/{chunk-FQX7ZBQS.mjs → chunk-2BXWGAZM.mjs} +1 -1
- package/dist/{chunk-P56QF3XG.js → chunk-4BCJEWRQ.js} +2 -2
- package/dist/{chunk-JIWQM3MH.mjs → chunk-4BFBFTDK.mjs} +1 -1
- package/dist/{chunk-EQMVQ3I7.mjs → chunk-4Q7OSUXH.mjs} +2 -2
- package/dist/{chunk-7MM5MBEP.mjs → chunk-53RLGVXM.mjs} +1 -1
- package/dist/{chunk-A74N7OF2.js → chunk-5TCWSV4V.js} +5 -5
- package/dist/{chunk-U5JPGO47.js → chunk-6MLA6B6D.js} +2 -2
- package/dist/{chunk-AY3HOPOX.js → chunk-6RAUDACY.js} +2 -2
- package/dist/{chunk-IIFXLZEH.js → chunk-737EDGVV.js} +6 -6
- package/dist/{chunk-GED6QYLK.mjs → chunk-7BWTWR5O.mjs} +1 -1
- package/dist/{chunk-J4MHHL63.mjs → chunk-7N34DLDK.mjs} +1 -1
- package/dist/{chunk-CQIILJEF.js → chunk-A5RNIDQZ.js} +10 -10
- package/dist/{chunk-ETSIRKO5.js → chunk-ACMERBDJ.js} +2 -2
- package/dist/{chunk-X2UWPTFU.mjs → chunk-AOWBKNHM.mjs} +1 -1
- package/dist/{chunk-6HJ4EEBB.js → chunk-AQYOQS6Q.js} +2 -2
- package/dist/{chunk-EMX7LTEI.mjs → chunk-C46AMBI7.mjs} +2 -2
- package/dist/{chunk-YRGMZRC3.mjs → chunk-CW7U7TSJ.mjs} +4 -4
- package/dist/{chunk-THA4SGMV.js → chunk-E6GFHHBR.js} +2 -2
- package/dist/{chunk-GZA2CV3C.js → chunk-EO6EDFUN.js} +2 -2
- package/dist/{chunk-2CXXVFU4.js → chunk-FGYE6XUF.js} +12 -12
- package/dist/{chunk-WQUWUZZ4.mjs → chunk-GKI2IWP6.mjs} +1 -1
- package/dist/{chunk-6IXJEWJR.js → chunk-GUO7GHMY.js} +2 -2
- package/dist/{chunk-2L7ICILU.js → chunk-HGDG36KQ.js} +30 -30
- package/dist/{chunk-WJ5AG2IU.js → chunk-IGAKAJGD.js} +11 -11
- package/dist/{chunk-FFEJNAFP.js → chunk-JMGLJW76.js} +2 -2
- package/dist/{chunk-O7Z2YGFU.js → chunk-JONZUK7I.js} +5 -5
- package/dist/{chunk-ALL63TSY.mjs → chunk-K4FLM47P.mjs} +2 -2
- package/dist/{chunk-PRW5IUAC.js → chunk-K4W6QXUX.js} +2 -2
- package/dist/{chunk-DEP6TIXL.js → chunk-KA2NWPQ7.js} +5 -5
- package/dist/{chunk-3WCWA5OH.mjs → chunk-KUK2HDLM.mjs} +1 -1
- package/dist/{chunk-IETUQQJT.mjs → chunk-LNXSWBDU.mjs} +2 -2
- package/dist/{chunk-4AR5RJMF.mjs → chunk-LOPJYZWJ.mjs} +2 -2
- package/dist/{chunk-BT7OBRJT.mjs → chunk-LTAD7HMO.mjs} +3 -3
- package/dist/{chunk-VY3EJCTI.mjs → chunk-MN2QATZQ.mjs} +2 -2
- package/dist/{chunk-PICVMVJQ.mjs → chunk-MVTZC3MT.mjs} +4 -4
- package/dist/{chunk-NUGNYGBF.js → chunk-MWLHM557.js} +4 -4
- package/dist/{chunk-WTWQAZUM.js → chunk-NKYIUZLG.js} +4 -4
- package/dist/{chunk-QSNWB7A5.mjs → chunk-O7YTVT6O.mjs} +1 -1
- package/dist/{chunk-DJZX3XBE.mjs → chunk-QHL546B2.mjs} +2 -2
- package/dist/{chunk-35ERFW7I.mjs → chunk-QJ74HYMK.mjs} +2 -2
- package/dist/{chunk-XNHWWPSK.js → chunk-R2Y7NACD.js} +2 -2
- package/dist/{chunk-35G4LHK2.mjs → chunk-R5RFMU22.mjs} +1 -1
- package/dist/{chunk-BAYA5SVP.mjs → chunk-R6AXANVR.mjs} +1 -1
- package/dist/{chunk-NIETCJS4.mjs → chunk-RAHDX6VX.mjs} +1 -1
- package/dist/{chunk-VC4FGY7P.js → chunk-SKXLZGVZ.js} +2 -2
- package/dist/{chunk-ZYI527ZS.js → chunk-T6WD65QQ.js} +2 -2
- package/dist/{chunk-S2KOD2HL.mjs → chunk-UAWZWBSE.mjs} +2 -2
- package/dist/{chunk-CBVZ57E6.js → chunk-ULCE72HV.js} +21 -21
- package/dist/{chunk-PB5565L7.js → chunk-VII3QX3T.js} +2 -2
- package/dist/{chunk-JPOHRWVM.mjs → chunk-WQAONMFG.mjs} +1 -1
- package/dist/{chunk-JDDKEYTF.js → chunk-XFXMVB67.js} +34 -34
- package/dist/{chunk-EYO6EPEG.mjs → chunk-XQ24LKEY.mjs} +1 -1
- package/dist/{chunk-MNA3AU4B.mjs → chunk-Y7FSHCCX.mjs} +1 -1
- package/dist/{chunk-LULOWPU2.js → chunk-Z4BX7YI2.js} +17 -17
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +19 -19
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +8 -8
- package/dist/index.js +28 -28
- package/dist/index.mjs +27 -27
- 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 +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- 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/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/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 +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/release/index.js +6 -6
- package/dist/src/release/index.mjs +5 -5
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +3 -3
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +4 -4
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/package.json +11 -11
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk57OGFZNBjs = require('./chunk-57OGFZNB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZ4BX7YI2js = require('./chunk-Z4BX7YI2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
54
54
|
await _devkit.formatFiles.call(void 0, tree);
|
|
55
55
|
return null;
|
|
56
56
|
}
|
|
57
|
-
var generator_default =
|
|
57
|
+
var generator_default = _chunkZ4BX7YI2js.withRunGenerator.call(void 0,
|
|
58
58
|
"TypeScript Library Creator (Neutral Platform)",
|
|
59
59
|
neutralLibraryGeneratorFn,
|
|
60
60
|
{
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AOWBKNHM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R5RFMU22.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkMKJITWLNjs = require('./chunk-MKJITWLN.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGUO7GHMYjs = require('./chunk-GUO7GHMY.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkA5RNIDQZjs = require('./chunk-A5RNIDQZ.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -38,7 +38,7 @@ async function getNpmRegistry() {
|
|
|
38
38
|
if (process.env.STORM_REGISTRY_NPM) {
|
|
39
39
|
return process.env.STORM_REGISTRY_NPM;
|
|
40
40
|
}
|
|
41
|
-
const workspaceConfig = await
|
|
41
|
+
const workspaceConfig = await _chunkA5RNIDQZjs.getConfig.call(void 0, );
|
|
42
42
|
if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
|
|
43
43
|
return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
|
|
44
44
|
}
|
|
@@ -246,7 +246,7 @@ async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _
|
|
|
246
246
|
|
|
247
247
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
248
248
|
async function npmPublishExecutorFn(options, context) {
|
|
249
|
-
const workspaceConfig = await
|
|
249
|
+
const workspaceConfig = await _chunkA5RNIDQZjs.getConfig.call(void 0, context.root);
|
|
250
250
|
const github = await _chunkMKJITWLNjs.getGitHubTools.call(void 0, workspaceConfig);
|
|
251
251
|
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
252
252
|
if (!context.projectName) {
|
|
@@ -324,7 +324,7 @@ async function npmPublishExecutorFn(options, context) {
|
|
|
324
324
|
return { success: true };
|
|
325
325
|
}
|
|
326
326
|
await replaceDepsAliases(packageRoot, context.root);
|
|
327
|
-
await
|
|
327
|
+
await _chunkGUO7GHMYjs.addPackageJsonGitHead.call(void 0, packageRoot);
|
|
328
328
|
const npmPublishCommandSegments = [`npm publish --json`];
|
|
329
329
|
const npmViewCommandSegments = [
|
|
330
330
|
`npm view ${packageName} versions dist-tags --json`
|
|
@@ -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 _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 _chunkVII3QX3Tjs = require('./chunk-VII3QX3T.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/cargo-publish/executor.ts
|
|
6
6
|
var _devkit = require('@nx/devkit');
|
|
@@ -25,7 +25,7 @@ async function runExecutor(options, context) {
|
|
|
25
25
|
context.root,
|
|
26
26
|
options.packageRoot ? options.packageRoot : root
|
|
27
27
|
);
|
|
28
|
-
const cargoToml =
|
|
28
|
+
const cargoToml = _chunkVII3QX3Tjs.parseCargoToml.call(void 0,
|
|
29
29
|
_fs.readFileSync.call(void 0, _devkit.joinPathFragments.call(void 0, packageRoot, "Cargo.toml"), "utf-8")
|
|
30
30
|
);
|
|
31
31
|
try {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-doc/executor.ts
|
|
10
10
|
async function cargoDocExecutor(options, context) {
|
|
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
14
14
|
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -54,7 +54,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
54
54
|
output: "src/"
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0,
|
|
58
58
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
59
59
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
60
60
|
config
|
|
@@ -66,9 +66,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
66
66
|
assets: pendingAssets
|
|
67
67
|
});
|
|
68
68
|
await assetHandler.processAllAssetsOnce();
|
|
69
|
-
|
|
69
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
70
70
|
if (includeSrc === true) {
|
|
71
|
-
|
|
71
|
+
_chunkEO6EDFUNjs.writeDebug.call(void 0,
|
|
72
72
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
73
73
|
outputPath,
|
|
74
74
|
"src"
|
|
@@ -152,7 +152,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
if (localPackages.length > 0) {
|
|
155
|
-
|
|
155
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0,
|
|
156
156
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
157
157
|
);
|
|
158
158
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -200,7 +200,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
200
200
|
return ret;
|
|
201
201
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
202
202
|
} else {
|
|
203
|
-
|
|
203
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
204
204
|
}
|
|
205
205
|
return packageJson;
|
|
206
206
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkEO6EDFUNjs = require('./chunk-EO6EDFUN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -760,7 +760,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
760
760
|
let config = result.config;
|
|
761
761
|
const configFile = result.configFile;
|
|
762
762
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
763
|
-
|
|
763
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0,
|
|
764
764
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
765
765
|
{
|
|
766
766
|
logLevel: "all"
|
|
@@ -776,7 +776,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
776
776
|
for (const result2 of results) {
|
|
777
777
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
778
778
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
779
|
-
|
|
779
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0,
|
|
780
780
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
781
781
|
{
|
|
782
782
|
logLevel: "all"
|
|
@@ -888,7 +888,7 @@ var getConfigEnv = () => {
|
|
|
888
888
|
},
|
|
889
889
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
890
890
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
891
|
-
) ?
|
|
891
|
+
) ? _chunkEO6EDFUNjs.getLogLevelLabel.call(void 0,
|
|
892
892
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
893
893
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
894
894
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1255,9 +1255,9 @@ var setConfigEnv = (config) => {
|
|
|
1255
1255
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1256
1256
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1257
1257
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1258
|
-
|
|
1258
|
+
_chunkEO6EDFUNjs.getLogLevel.call(void 0, config.logLevel) >= _chunkEO6EDFUNjs.LogLevel.DEBUG ? true : false
|
|
1259
1259
|
);
|
|
1260
|
-
process.env.RUST_BACKTRACE =
|
|
1260
|
+
process.env.RUST_BACKTRACE = _chunkEO6EDFUNjs.getLogLevel.call(void 0, config.logLevel) >= _chunkEO6EDFUNjs.LogLevel.DEBUG ? "full" : "none";
|
|
1261
1261
|
}
|
|
1262
1262
|
if (config.skipConfigLogging !== void 0) {
|
|
1263
1263
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1405,7 +1405,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1405
1405
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1406
1406
|
if (!configFile) {
|
|
1407
1407
|
if (!skipLogs) {
|
|
1408
|
-
|
|
1408
|
+
_chunkEO6EDFUNjs.writeWarning.call(void 0,
|
|
1409
1409
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
1410
1410
|
{ logLevel: "all" }
|
|
1411
1411
|
);
|
|
@@ -1436,7 +1436,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1436
1436
|
throw new Error(
|
|
1437
1437
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1438
1438
|
|
|
1439
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1439
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkEO6EDFUNjs.formatLogMessage.call(void 0,
|
|
1440
1440
|
configInput
|
|
1441
1441
|
)}`,
|
|
1442
1442
|
{
|
|
@@ -1481,9 +1481,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1481
1481
|
);
|
|
1482
1482
|
setConfigEnv(config);
|
|
1483
1483
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1484
|
-
|
|
1484
|
+
_chunkEO6EDFUNjs.writeTrace.call(void 0,
|
|
1485
1485
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1486
|
-
${
|
|
1486
|
+
${_chunkEO6EDFUNjs.formatLogMessage.call(void 0, config)}`,
|
|
1487
1487
|
config
|
|
1488
1488
|
);
|
|
1489
1489
|
}
|
|
@@ -7,7 +7,7 @@ var _chunk57OGFZNBjs = require('./chunk-57OGFZNB.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZ4BX7YI2js = require('./chunk-Z4BX7YI2.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
59
59
|
await _devkit.formatFiles.call(void 0, tree);
|
|
60
60
|
return null;
|
|
61
61
|
}
|
|
62
|
-
var generator_default =
|
|
62
|
+
var generator_default = _chunkZ4BX7YI2js.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunk57OGFZNBjs = require('./chunk-57OGFZNB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZ4BX7YI2js = require('./chunk-Z4BX7YI2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunkZ4BX7YI2js.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QJ74HYMK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LOPJYZWJ.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
import { removeSync } from "fs-extra";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R6AXANVR.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QJ74HYMK.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R5RFMU22.mjs";
|
|
15
15
|
import {
|
|
16
16
|
brandIcon,
|
|
17
17
|
formatLogMessage,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
writeInfo,
|
|
23
23
|
writeSuccess,
|
|
24
24
|
writeWarning
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LOPJYZWJ.mjs";
|
|
26
26
|
import {
|
|
27
27
|
joinPaths
|
|
28
28
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunk32KQVUCFjs = require('./chunk-32KQVUCF.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkULCE72HVjs = require('./chunk-ULCE72HV.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunk32KQVUCFjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunk32KQVUCFjs.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkULCE72HVjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -361,13 +361,13 @@ ${message.sort(
|
|
|
361
361
|
{ prefix: `${prefix}--`, skip, sort },
|
|
362
362
|
depth + 1
|
|
363
363
|
)}`
|
|
364
|
-
).join("\n")}` : typeof message === "object" ? `
|
|
364
|
+
).join("\n")}` : typeof message === "object" && message ? `
|
|
365
365
|
${Object.keys(message).filter(
|
|
366
366
|
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
367
367
|
).sort(
|
|
368
368
|
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
369
369
|
).map(
|
|
370
|
-
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
370
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
|
|
371
371
|
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
372
372
|
).length === 0 ? "{}" : formatLogMessage(
|
|
373
373
|
message[key],
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkVII3QX3Tjs = require('./chunk-VII3QX3T.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkA5RNIDQZjs = require('./chunk-A5RNIDQZ.js');
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
36
36
|
* @params tree - The file system tree to read from.
|
|
37
37
|
*/
|
|
38
38
|
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await
|
|
39
|
+
this.workspaceConfig = await _chunkA5RNIDQZjs.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
45
45
|
"Cargo.toml"
|
|
46
46
|
);
|
|
47
47
|
try {
|
|
48
|
-
const cargoToml =
|
|
48
|
+
const cargoToml = _chunkVII3QX3Tjs.parseCargoTomlWithTree.call(void 0,
|
|
49
49
|
tree,
|
|
50
50
|
this.projectGraphNode.data.root,
|
|
51
51
|
this.projectGraphNode.name
|
|
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml =
|
|
64
|
+
const cargoToml = _chunkVII3QX3Tjs.parseCargoTomlWithTree.call(void 0,
|
|
65
65
|
tree,
|
|
66
66
|
this.projectGraphNode.data.root,
|
|
67
67
|
this.projectGraphNode.name
|
|
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml =
|
|
89
|
+
const cargoToml = _chunkVII3QX3Tjs.parseCargoTomlWithTree.call(void 0,
|
|
90
90
|
tree,
|
|
91
91
|
this.projectGraphNode.data.root,
|
|
92
92
|
this.projectGraphNode.name
|
|
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
97
97
|
dependencyCollection: null
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
const dependencyCargoToml =
|
|
100
|
+
const dependencyCargoToml = _chunkVII3QX3Tjs.parseCargoTomlWithTree.call(void 0,
|
|
101
101
|
tree,
|
|
102
102
|
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
103
|
dependencyProjectName
|
|
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
131
131
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const cargoToml =
|
|
134
|
+
const cargoToml = _chunkVII3QX3Tjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkVII3QX3Tjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
137
|
logMessages.push(
|
|
138
138
|
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
139
|
);
|
|
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
161
161
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
const cargoToml =
|
|
164
|
+
const cargoToml = _chunkVII3QX3Tjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
165
|
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
166
|
if (cargoToml[depType]) {
|
|
167
167
|
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
178
178
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const dependencyCargoToml =
|
|
181
|
+
const dependencyCargoToml = _chunkVII3QX3Tjs.parseCargoToml.call(void 0,
|
|
182
182
|
dependencyCargoTomlString
|
|
183
183
|
);
|
|
184
184
|
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
189
189
|
}
|
|
190
190
|
tree.write(
|
|
191
191
|
manifestToUpdate.manifestPath,
|
|
192
|
-
|
|
192
|
+
_chunkVII3QX3Tjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVII3QX3Tjs = require('./chunk-VII3QX3T.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ var getPackageInfo = (project) => {
|
|
|
31
31
|
) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
|
|
32
32
|
return {
|
|
33
33
|
type: "Cargo.toml",
|
|
34
|
-
content:
|
|
34
|
+
content: _chunkVII3QX3Tjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkTAP26ZJQjs.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|