@storm-software/workspace-tools 1.277.21 → 1.277.22
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 +13 -0
- package/README.md +2 -1
- package/dist/{chunk-2JHF5IS5.js → chunk-2MRYHFCM.js} +2 -2
- package/dist/{chunk-EQCZYIUE.mjs → chunk-3VPPPSZJ.mjs} +1 -1
- package/dist/{chunk-Z6K5AW5Q.mjs → chunk-4WZFXP2O.mjs} +3 -3
- package/dist/{chunk-NCTBOEB6.js → chunk-5W2L6BUJ.js} +2 -2
- package/dist/{chunk-HHPL5ID6.js → chunk-6FOLVRTW.js} +2 -2
- package/dist/{chunk-XBWF35MS.js → chunk-6UBUJUQH.js} +20 -20
- package/dist/{chunk-VCZQSV5V.mjs → chunk-7ZMRNLIG.mjs} +1 -1
- package/dist/{chunk-JC353UQP.mjs → chunk-AF4BDJPL.mjs} +1 -1
- package/dist/{chunk-DVHD56A6.mjs → chunk-BCYOPXLA.mjs} +1 -1
- package/dist/{chunk-5N6TQ2Q7.js → chunk-CD6IOBJJ.js} +2 -2
- package/dist/{chunk-BGYHLARB.js → chunk-DAJPQEJO.js} +2 -2
- package/dist/{chunk-YAMPLW2G.js → chunk-DEFXNQVU.js} +2 -2
- package/dist/{chunk-OP2XRYHG.mjs → chunk-DJICFY6F.mjs} +3 -3
- package/dist/{chunk-SXCUWNQO.js → chunk-DNNAP4CE.js} +2 -2
- package/dist/{chunk-C2LQVLTD.mjs → chunk-EEYIBE4L.mjs} +1 -1
- package/dist/{chunk-H6VAARZE.js → chunk-EFSIKZPZ.js} +4 -4
- package/dist/{chunk-PFRPFUED.js → chunk-EN6KGGKB.js} +2 -2
- package/dist/{chunk-UP425XDF.mjs → chunk-FCO3PM7I.mjs} +3 -3
- package/dist/{chunk-DHSUCTQM.mjs → chunk-FRKMFXFI.mjs} +1 -1
- package/dist/{chunk-RSHD75IJ.js → chunk-IM4OGVNE.js} +20 -20
- package/dist/{chunk-67VOWLCO.js → chunk-JP7P7IWH.js} +2 -2
- package/dist/{chunk-QEX7AIDZ.mjs → chunk-KIZZ6VCO.mjs} +2 -2
- package/dist/{chunk-QMJOVAWO.mjs → chunk-KLRJKFDB.mjs} +1 -1
- package/dist/{chunk-GXYQMSLG.mjs → chunk-LFVP3B6H.mjs} +2 -2
- package/dist/{chunk-BEW4BVPK.js → chunk-MBKM3SN7.js} +16 -16
- package/dist/{chunk-XFGAP6WH.mjs → chunk-NBBCXFOJ.mjs} +2 -2
- package/dist/{chunk-VLYV2HRU.js → chunk-NUIU6UH7.js} +10 -10
- package/dist/{chunk-KXNKLBFZ.mjs → chunk-O4DLIN2W.mjs} +1 -1
- package/dist/{chunk-ORHXWW6Z.mjs → chunk-OF2LAEFN.mjs} +1 -1
- package/dist/{chunk-4OXGU7IV.mjs → chunk-PNWYNSXD.mjs} +1 -1
- package/dist/{chunk-TL226NUR.js → chunk-PR3UANNQ.js} +5 -5
- package/dist/{chunk-YXLNJX52.mjs → chunk-PULA6GEQ.mjs} +2 -2
- package/dist/{chunk-L7MNI24K.js → chunk-PYLXW352.js} +2 -2
- package/dist/{chunk-VF6V3QCQ.js → chunk-RFMOPPYB.js} +2 -2
- package/dist/{chunk-MYXJTOEI.mjs → chunk-SQ2TS6XE.mjs} +1 -1
- package/dist/{chunk-7JRJ7ITN.js → chunk-TDIQZPRW.js} +2 -2
- package/dist/{chunk-YYQJS6BL.js → chunk-TWGH554B.js} +5 -5
- package/dist/{chunk-YSFE5Q5D.mjs → chunk-U7D7Q4IT.mjs} +1 -1
- package/dist/{chunk-YTQPCNAT.mjs → chunk-V6X3DTFD.mjs} +1 -1
- package/dist/{chunk-DFI56II6.mjs → chunk-VMABMTZ7.mjs} +1 -1
- package/dist/{chunk-4GLMTOQP.js → chunk-VUUPX2SY.js} +1 -1
- package/dist/{chunk-4BGG5KKQ.mjs → chunk-XROORLPB.mjs} +2 -2
- package/dist/{chunk-F3T34ZU6.js → chunk-YGVRQEXU.js} +21 -21
- package/dist/{chunk-Z6MR2GWS.js → chunk-Z2V3ZPFR.js} +32 -32
- package/dist/{chunk-AM2MMURU.js → chunk-ZBVPKR6Y.js} +2 -2
- package/dist/{chunk-NII223RE.mjs → chunk-ZPHNYJ7Q.mjs} +1 -1
- package/dist/{executor-or8S9oZd.d.ts → executor-1igQlh9l.d.ts} +1 -1
- package/dist/{executor-BGlih0Ou.d.ts → executor-3sktbmqF.d.ts} +1 -1
- package/dist/{executor-BjcGDiSg.d.mts → executor-B3sTsyLH.d.mts} +1 -1
- package/dist/{executor-DJt__8Y0.d.mts → executor-CN_ugRaf.d.mts} +1 -1
- package/dist/{executor-CQPJHucD.d.mts → executor-Ch9mLoP0.d.mts} +1 -1
- package/dist/{executor-Bv_NOfBv.d.mts → executor-D4KbWYVQ.d.mts} +1 -1
- package/dist/{executor-RP1lAVyh.d.ts → executor-DymP9k50.d.ts} +1 -1
- package/dist/{executor-fRL7fcY1.d.ts → executor-VMS0L5L8.d.ts} +1 -1
- package/dist/executors.d.mts +6 -6
- package/dist/executors.d.ts +6 -6
- package/dist/executors.js +17 -17
- package/dist/executors.mjs +18 -18
- package/dist/{generator-DJeUJqyi.d.ts → generator-BIQdsJXF.d.ts} +3 -3
- package/dist/{generator-tOJG5CUs.d.ts → generator-C1elI8nT.d.ts} +2 -2
- package/dist/{generator-DkyIj7DQ.d.ts → generator-C5I76JrN.d.ts} +2 -2
- package/dist/{generator-jnNJJJQw.d.mts → generator-CK3WzBhA.d.mts} +2 -2
- package/dist/{generator-C43jwL2P.d.ts → generator-Cfx5DY8l.d.ts} +1 -1
- package/dist/{generator-u2v0eSLY.d.mts → generator-CmpLS-2N.d.mts} +1 -1
- package/dist/{generator-BgBa6_si.d.mts → generator-DabZeYX6.d.mts} +2 -2
- package/dist/{generator-DBdrS_hk.d.mts → generator-YQnJUqvw.d.mts} +3 -3
- package/dist/{generator-CydFSI6G.d.ts → generator-fOdHOpeP.d.ts} +2 -2
- package/dist/{generator-Cl_v4Cpk.d.ts → generator-gPXc0ptC.d.ts} +1 -1
- package/dist/{generator-Da0hA_sC.d.mts → generator-u2qO2fQ8.d.mts} +1 -1
- package/dist/{generator-BUI_P7Fb.d.mts → generator-uLurmips.d.mts} +2 -2
- package/dist/generators.d.mts +9 -9
- package/dist/generators.d.ts +9 -9
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +15 -15
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +25 -25
- package/dist/index.mjs +30 -30
- package/dist/src/base/base-executor.d.mts +3 -3
- package/dist/src/base/base-executor.d.ts +3 -3
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.d.mts +3 -3
- package/dist/src/base/base-generator.d.ts +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.d.mts +3 -3
- package/dist/src/base/index.d.ts +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.d.mts +2 -2
- package/dist/src/executors/clean-package/executor.d.ts +2 -2
- 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.d.mts +3 -3
- package/dist/src/executors/esbuild/executor.d.ts +3 -3
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +5 -5
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/size-limit/executor.d.mts +3 -3
- package/dist/src/executors/size-limit/executor.d.ts +3 -3
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/typia/executor.d.mts +3 -3
- package/dist/src/executors/typia/executor.d.ts +3 -3
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.d.mts +3 -3
- package/dist/src/executors/unbuild/executor.d.ts +3 -3
- 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.d.mts +4 -4
- package/dist/src/generators/browser-library/generator.d.ts +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.d.mts +4 -4
- package/dist/src/generators/config-schema/generator.d.ts +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.d.mts +4 -4
- package/dist/src/generators/neutral-library/generator.d.ts +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.d.mts +4 -4
- package/dist/src/generators/node-library/generator.d.ts +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.d.mts +4 -4
- package/dist/src/generators/preset/generator.d.ts +4 -4
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/generators/release-version/generator.d.mts +3 -3
- package/dist/src/generators/release-version/generator.d.ts +3 -3
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- package/dist/src/types.d.mts +3 -3
- package/dist/src/types.d.ts +3 -3
- package/dist/src/utils/apply-workspace-tokens.d.mts +2 -2
- package/dist/src/utils/apply-workspace-tokens.d.ts +2 -2
- package/dist/src/utils/index.d.mts +3 -3
- package/dist/src/utils/index.d.ts +3 -3
- 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/dist/src/utils/project-tags.d.mts +3 -3
- package/dist/src/utils/project-tags.d.ts +3 -3
- package/dist/{types-BI3OX_IA.d.ts → types-Bsun9g7f.d.ts} +1 -1
- package/dist/{types-Dgd3Nqzi.d.mts → types-CWx-r5iU.d.mts} +1 -1
- package/dist/{types-Dgd3Nqzi.d.ts → types-CWx-r5iU.d.ts} +1 -1
- package/dist/{types-l0vW09YN.d.mts → types-Dw924FOc.d.mts} +1 -1
- package/package.json +5 -5
- package/dist/src/executors/cargo-build/schema.d.ts +0 -86
- package/dist/src/executors/cargo-check/schema.d.ts +0 -89
- package/dist/src/executors/cargo-check/schema.json +0 -88
- package/dist/src/executors/cargo-clippy/schema.d.ts +0 -97
- package/dist/src/executors/cargo-clippy/schema.json +0 -94
- package/dist/src/executors/cargo-doc/schema.d.ts +0 -125
- package/dist/src/executors/cargo-doc/schema.json +0 -164
- package/dist/src/executors/cargo-format/schema.d.ts +0 -89
- package/dist/src/executors/cargo-format/schema.json +0 -88
- package/dist/src/executors/cargo-publish/schema.d.ts +0 -115
- package/dist/src/executors/cargo-publish/schema.json +0 -107
- package/dist/src/executors/clean-package/schema.d.ts +0 -60
- package/dist/src/executors/clean-package/schema.json +0 -57
- package/dist/src/executors/esbuild/schema.d.ts +0 -137
- package/dist/src/executors/esbuild/schema.json +0 -165
- package/dist/src/executors/npm-publish/schema.d.ts +0 -68
- package/dist/src/executors/npm-publish/schema.json +0 -61
- package/dist/src/executors/size-limit/schema.d.ts +0 -25
- package/dist/src/executors/size-limit/schema.json +0 -29
- package/dist/src/executors/typia/schema.d.ts +0 -48
- package/dist/src/executors/typia/schema.json +0 -57
- package/dist/src/executors/unbuild/schema.d.ts +0 -258
- package/dist/src/executors/unbuild/schema.json +0 -301
- package/dist/src/generators/browser-library/schema.d.ts +0 -122
- package/dist/src/generators/browser-library/schema.json +0 -117
- package/dist/src/generators/config-schema/schema.d.ts +0 -23
- package/dist/src/generators/config-schema/schema.json +0 -24
- package/dist/src/generators/init/schema.d.ts +0 -14
- package/dist/src/generators/init/schema.json +0 -15
- package/dist/src/generators/neutral-library/schema.d.ts +0 -122
- package/dist/src/generators/neutral-library/schema.json +0 -116
- package/dist/src/generators/node-library/schema.d.ts +0 -122
- package/dist/src/generators/node-library/schema.json +0 -117
- package/dist/src/generators/preset/schema.d.ts +0 -101
- package/dist/src/generators/preset/schema.json +0 -96
- package/dist/src/generators/release-version/schema.d.ts +0 -180
- package/dist/src/generators/release-version/schema.json +0 -158
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.21](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.21) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([b95696e42](https://github.com/storm-software/storm-ops/commit/b95696e42))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated prettier to 0.51.47
|
|
15
|
+
- Updated esbuild to 0.45.34
|
|
16
|
+
- Updated unbuild to 0.49.45
|
|
17
|
+
|
|
5
18
|
## [1.277.20](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.20) (2025-07-10)
|
|
6
19
|
|
|
7
20
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Workspace Tools](#storm-workspace-tools)
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYGVRQEXUjs = require('./chunk-YGVRQEXU.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkYGVRQEXUjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KIZZ6VCO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getWorkspaceConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O4DLIN2W.mjs";
|
|
7
7
|
import {
|
|
8
8
|
formatLogMessage,
|
|
9
9
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BCYOPXLA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -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 _chunkJP7P7IWHjs = require('./chunk-JP7P7IWH.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 = _chunkJP7P7IWHjs.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 _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMBKM3SN7js = require('./chunk-MBKM3SN7.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.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 = _chunkMBKM3SN7js.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkVUUPX2SYjs = require('./chunk-VUUPX2SY.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
68
68
|
let config = result.config;
|
|
69
69
|
const configFile = result.configFile;
|
|
70
70
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
71
|
-
|
|
71
|
+
_chunkVUUPX2SYjs.writeTrace.call(void 0,
|
|
72
72
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
73
73
|
{
|
|
74
74
|
logLevel: "all"
|
|
@@ -84,7 +84,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
84
84
|
for (const result2 of results) {
|
|
85
85
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
86
86
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
87
|
-
|
|
87
|
+
_chunkVUUPX2SYjs.writeTrace.call(void 0,
|
|
88
88
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
89
89
|
{
|
|
90
90
|
logLevel: "all"
|
|
@@ -192,13 +192,13 @@ var getConfigEnv = () => {
|
|
|
192
192
|
},
|
|
193
193
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
194
194
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
195
|
-
) ?
|
|
195
|
+
) ? _chunkVUUPX2SYjs.getLogLevelLabel.call(void 0,
|
|
196
196
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
197
197
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
198
198
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
199
199
|
};
|
|
200
200
|
const themeNames = Object.keys(process.env).filter(
|
|
201
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
201
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkVUUPX2SYjs.COLOR_KEYS.every(
|
|
202
202
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
203
203
|
)
|
|
204
204
|
);
|
|
@@ -209,16 +209,16 @@ var getConfigEnv = () => {
|
|
|
209
209
|
},
|
|
210
210
|
{}
|
|
211
211
|
) : getThemeColorConfigEnv(prefix);
|
|
212
|
-
if (config.docs ===
|
|
213
|
-
if (config.homepage ===
|
|
214
|
-
config.docs = `${
|
|
212
|
+
if (config.docs === _chunkVUUPX2SYjs.STORM_DEFAULT_DOCS) {
|
|
213
|
+
if (config.homepage === _chunkVUUPX2SYjs.STORM_DEFAULT_HOMEPAGE) {
|
|
214
|
+
config.docs = `${_chunkVUUPX2SYjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
215
215
|
} else {
|
|
216
216
|
config.docs = `${config.homepage}/docs`;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
if (config.licensing ===
|
|
220
|
-
if (config.homepage ===
|
|
221
|
-
config.licensing = `${
|
|
219
|
+
if (config.licensing === _chunkVUUPX2SYjs.STORM_DEFAULT_LICENSING) {
|
|
220
|
+
if (config.homepage === _chunkVUUPX2SYjs.STORM_DEFAULT_HOMEPAGE) {
|
|
221
|
+
config.licensing = `${_chunkVUUPX2SYjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
222
222
|
} else {
|
|
223
223
|
config.licensing = `${config.homepage}/docs`;
|
|
224
224
|
}
|
|
@@ -514,9 +514,9 @@ var setConfigEnv = (config) => {
|
|
|
514
514
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
515
515
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
516
516
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
517
|
-
|
|
517
|
+
_chunkVUUPX2SYjs.getLogLevel.call(void 0, config.logLevel) >= _chunkVUUPX2SYjs.LogLevel.DEBUG ? true : false
|
|
518
518
|
);
|
|
519
|
-
process.env.RUST_BACKTRACE =
|
|
519
|
+
process.env.RUST_BACKTRACE = _chunkVUUPX2SYjs.getLogLevel.call(void 0, config.logLevel) >= _chunkVUUPX2SYjs.LogLevel.DEBUG ? "full" : "none";
|
|
520
520
|
}
|
|
521
521
|
if (config.skipConfigLogging !== void 0) {
|
|
522
522
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -642,7 +642,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
642
642
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
643
643
|
if (!configFile) {
|
|
644
644
|
if (!skipLogs) {
|
|
645
|
-
|
|
645
|
+
_chunkVUUPX2SYjs.writeWarning.call(void 0,
|
|
646
646
|
"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",
|
|
647
647
|
{ logLevel: "all" }
|
|
648
648
|
);
|
|
@@ -651,22 +651,22 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
651
651
|
return void 0;
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
|
-
const defaultConfig = await
|
|
654
|
+
const defaultConfig = await _chunkVUUPX2SYjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
655
655
|
const configInput = _defu2.default.call(void 0,
|
|
656
656
|
configEnv,
|
|
657
657
|
configFile,
|
|
658
658
|
defaultConfig
|
|
659
659
|
);
|
|
660
660
|
try {
|
|
661
|
-
result =
|
|
662
|
-
await
|
|
661
|
+
result = _chunkVUUPX2SYjs.applyDefaultConfig.call(void 0,
|
|
662
|
+
await _chunkVUUPX2SYjs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
663
663
|
);
|
|
664
664
|
result.workspaceRoot ??= _workspaceRoot;
|
|
665
665
|
} catch (error) {
|
|
666
666
|
throw new Error(
|
|
667
667
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
|
|
668
668
|
|
|
669
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
669
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkVUUPX2SYjs.formatLogMessage.call(void 0,
|
|
670
670
|
configInput
|
|
671
671
|
)}`,
|
|
672
672
|
{
|
|
@@ -711,9 +711,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
711
711
|
);
|
|
712
712
|
setConfigEnv(config);
|
|
713
713
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
714
|
-
|
|
714
|
+
_chunkVUUPX2SYjs.writeTrace.call(void 0,
|
|
715
715
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
716
|
-
${
|
|
716
|
+
${_chunkVUUPX2SYjs.formatLogMessage.call(void 0, config)}`,
|
|
717
717
|
config
|
|
718
718
|
);
|
|
719
719
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYGVRQEXUjs = require('./chunk-YGVRQEXU.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 = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkYGVRQEXUjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJP7P7IWHjs = require('./chunk-JP7P7IWH.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: _chunkJP7P7IWHjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
|
|
35
35
|
};
|
|
36
36
|
} else if (_chunkAX3RSZT7js.isEqualProjectTag.call(void 0,
|
|
37
37
|
project,
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYGVRQEXUjs = require('./chunk-YGVRQEXU.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-clippy/executor.ts
|
|
10
10
|
async function cargoClippyExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "clippy", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkYGVRQEXUjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Clippy",
|
|
16
16
|
cargoClippyExecutor,
|
|
17
17
|
{
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LFVP3B6H.mjs";
|
|
4
4
|
import {
|
|
5
5
|
stormWorkspaceConfigSchema,
|
|
6
6
|
writeInfo,
|
|
7
7
|
writeSuccess,
|
|
8
8
|
writeTrace
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BCYOPXLA.mjs";
|
|
10
10
|
import {
|
|
11
11
|
findWorkspaceRoot
|
|
12
12
|
} from "./chunk-LSF4BHCI.mjs";
|
|
13
13
|
|
|
14
14
|
// src/generators/config-schema/generator.ts
|
|
15
15
|
import { formatFiles, writeJson } from "@nx/devkit";
|
|
16
|
-
import * as z from "zod
|
|
16
|
+
import * as z from "zod";
|
|
17
17
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
18
18
|
writeInfo(
|
|
19
19
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYGVRQEXUjs = require('./chunk-YGVRQEXU.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkYGVRQEXUjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkYGVRQEXUjs = require('./chunk-YGVRQEXU.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkVUUPX2SYjs = require('./chunk-VUUPX2SY.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -12,7 +12,7 @@ var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
|
12
12
|
var _defu = require('defu');
|
|
13
13
|
var _jiti = require('jiti');
|
|
14
14
|
async function unbuildExecutorFn(options, context, config) {
|
|
15
|
-
|
|
15
|
+
_chunkVUUPX2SYjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
16
16
|
if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
17
17
|
throw new Error(
|
|
18
18
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
80
80
|
success: true
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
var executor_default =
|
|
83
|
+
var executor_default = _chunkYGVRQEXUjs.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMBKM3SN7js = require('./chunk-MBKM3SN7.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/preset/generator.ts
|
|
10
10
|
|
|
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
239
239
|
);
|
|
240
240
|
return null;
|
|
241
241
|
}
|
|
242
|
-
var generator_default =
|
|
242
|
+
var generator_default = _chunkMBKM3SN7js.withRunGenerator.call(void 0,
|
|
243
243
|
"Storm Workspace Preset Generator",
|
|
244
244
|
presetGeneratorFn
|
|
245
245
|
);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseCargoToml,
|
|
4
4
|
parseCargoTomlWithTree,
|
|
5
5
|
stringifyCargoToml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VMABMTZ7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O4DLIN2W.mjs";
|
|
10
10
|
import {
|
|
11
11
|
getStopwatch,
|
|
12
12
|
writeDebug,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BCYOPXLA.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJP7P7IWHjs = require('./chunk-JP7P7IWH.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk6UBUJUQHjs = require('./chunk-6UBUJUQH.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ var _chunkXBWF35MSjs = require('./chunk-XBWF35MS.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkVUUPX2SYjs = require('./chunk-VUUPX2SY.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -255,19 +255,19 @@ var _versionlegacy = require('nx/src/command-line/release/version-legacy');
|
|
|
255
255
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
256
256
|
var _semver3 = require('semver');
|
|
257
257
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
258
|
-
|
|
258
|
+
_chunkVUUPX2SYjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
|
|
259
259
|
|
|
260
260
|
`, config);
|
|
261
|
-
const stopwatch =
|
|
261
|
+
const stopwatch = _chunkVUUPX2SYjs.getStopwatch.call(void 0, "Storm Release Version generator");
|
|
262
262
|
try {
|
|
263
263
|
const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
|
|
264
|
-
|
|
264
|
+
_chunkVUUPX2SYjs.writeDebug.call(void 0,
|
|
265
265
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
266
266
|
- workspaceRoot: ${workspaceRoot}`,
|
|
267
267
|
config
|
|
268
268
|
);
|
|
269
|
-
config = await
|
|
270
|
-
|
|
269
|
+
config = await _chunk6UBUJUQHjs.getConfig.call(void 0, workspaceRoot);
|
|
270
|
+
_chunkVUUPX2SYjs.writeTrace.call(void 0,
|
|
271
271
|
`Generator schema options \u2699\uFE0F
|
|
272
272
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
|
|
273
273
|
(key) => ![
|
|
@@ -348,9 +348,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
348
348
|
tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath
|
|
349
349
|
);
|
|
350
350
|
const log = (msg) => {
|
|
351
|
-
|
|
351
|
+
_chunkVUUPX2SYjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
|
|
352
352
|
};
|
|
353
|
-
|
|
353
|
+
_chunkVUUPX2SYjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
|
|
354
354
|
let packageName;
|
|
355
355
|
let currentVersionFromDisk;
|
|
356
356
|
if (tree.exists(packageJsonPath)) {
|
|
@@ -361,7 +361,7 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
361
361
|
packageName = projectPackageJson.name;
|
|
362
362
|
currentVersionFromDisk = projectPackageJson.version;
|
|
363
363
|
} else if (tree.exists(cargoTomlPath)) {
|
|
364
|
-
const cargoToml =
|
|
364
|
+
const cargoToml = _chunkJP7P7IWHjs.parseCargoToml.call(void 0,
|
|
365
365
|
_optionalChain([tree, 'access', _10 => _10.read, 'call', _11 => _11(cargoTomlPath), 'optionalAccess', _12 => _12.toString, 'call', _13 => _13("utf-8")])
|
|
366
366
|
);
|
|
367
367
|
log(
|
|
@@ -632,12 +632,12 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
632
632
|
version: newVersion
|
|
633
633
|
});
|
|
634
634
|
} else if (tree.exists(cargoTomlPath)) {
|
|
635
|
-
const cargoToml =
|
|
635
|
+
const cargoToml = _chunkJP7P7IWHjs.parseCargoToml.call(void 0,
|
|
636
636
|
_optionalChain([tree, 'access', _23 => _23.read, 'call', _24 => _24(cargoTomlPath), 'optionalAccess', _25 => _25.toString, 'call', _26 => _26("utf-8")])
|
|
637
637
|
);
|
|
638
638
|
cargoToml.package ??= {};
|
|
639
639
|
cargoToml.package.version = newVersion;
|
|
640
|
-
tree.write(cargoTomlPath,
|
|
640
|
+
tree.write(cargoTomlPath, _chunkJP7P7IWHjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
641
641
|
}
|
|
642
642
|
log(
|
|
643
643
|
`\u270D\uFE0F New version ${newVersion} written to ${workspaceRelativePackagePath}`
|
|
@@ -685,7 +685,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
685
685
|
return json;
|
|
686
686
|
});
|
|
687
687
|
} else if (tree.exists(dependentCargoTomlPath)) {
|
|
688
|
-
const dependentPkg =
|
|
688
|
+
const dependentPkg = _chunkJP7P7IWHjs.parseCargoTomlWithTree.call(void 0,
|
|
689
689
|
tree,
|
|
690
690
|
dependentPackageRoot,
|
|
691
691
|
dependentProject.source
|
|
@@ -727,18 +727,18 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
727
727
|
dependentPackageRoot,
|
|
728
728
|
"Cargo.toml"
|
|
729
729
|
);
|
|
730
|
-
|
|
730
|
+
_chunkJP7P7IWHjs.modifyCargoTable.call(void 0,
|
|
731
731
|
dependentPkg,
|
|
732
732
|
dependentProject.dependencyCollection,
|
|
733
733
|
dependentProject.target,
|
|
734
734
|
updatedDependencyData
|
|
735
735
|
);
|
|
736
|
-
tree.write(cargoTomlToUpdate,
|
|
736
|
+
tree.write(cargoTomlToUpdate, _chunkJP7P7IWHjs.stringifyCargoToml.call(void 0, dependentPkg));
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
await _devkit.formatFiles.call(void 0, tree);
|
|
741
|
-
|
|
741
|
+
_chunkVUUPX2SYjs.writeSuccess.call(void 0,
|
|
742
742
|
`Completed running the Storm Release Version generator!
|
|
743
743
|
`,
|
|
744
744
|
config
|
|
@@ -777,11 +777,11 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
779
|
} catch (error) {
|
|
780
|
-
|
|
780
|
+
_chunkVUUPX2SYjs.writeFatal.call(void 0,
|
|
781
781
|
"A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate",
|
|
782
782
|
config
|
|
783
783
|
);
|
|
784
|
-
|
|
784
|
+
_chunkVUUPX2SYjs.writeError.call(void 0,
|
|
785
785
|
`An exception was thrown in the Storm Release Version generator's process
|
|
786
786
|
- Details: ${error.message}
|
|
787
787
|
- Stacktrace: ${error.stack}`,
|
|
@@ -880,7 +880,7 @@ function resolveLocalPackageCargoDependencies(tree, projectGraph, filteredProjec
|
|
|
880
880
|
`The project "${dep.target}" does not have a packageRoot available.`
|
|
881
881
|
);
|
|
882
882
|
}
|
|
883
|
-
const cargoToml =
|
|
883
|
+
const cargoToml = _chunkJP7P7IWHjs.parseCargoTomlWithTree.call(void 0,
|
|
884
884
|
tree,
|
|
885
885
|
resolvePackageRoot(projectNode),
|
|
886
886
|
projectNode.name
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkVUUPX2SYjs = require('./chunk-VUUPX2SY.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/toml.ts
|
|
6
6
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
7
7
|
function parseCargoTomlWithTree(tree, projectRoot, projectName) {
|
|
8
8
|
const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
|
|
9
9
|
if (!cargoTomlString) {
|
|
10
|
-
|
|
10
|
+
_chunkVUUPX2SYjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
|
|
11
11
|
throw new Error();
|
|
12
12
|
}
|
|
13
13
|
return parseCargoToml(cargoTomlString);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-X6PHOMFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O4DLIN2W.mjs";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BCYOPXLA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|