@storm-software/workspace-tools 1.293.9 → 1.293.10
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 +19 -0
- package/README.md +1 -1
- package/dist/{chunk-D4PVJWPB.mjs → chunk-2BWYLG6A.mjs} +4 -4
- package/dist/{chunk-6RKBHVR3.js → chunk-2TNMKOD2.js} +2 -2
- package/dist/{chunk-4KQTW4FB.mjs → chunk-2ZQ423JU.mjs} +2 -2
- package/dist/{chunk-U45J52OH.js → chunk-37YI6LX5.js} +2 -2
- package/dist/{chunk-7CYRZRSQ.mjs → chunk-3X7FM2RU.mjs} +2 -2
- package/dist/{chunk-LMF76PTK.mjs → chunk-3ZXQER7B.mjs} +1 -1
- package/dist/{chunk-I2JFJ4ZH.js → chunk-46BG6NUY.js} +5 -5
- package/dist/{chunk-ZWF65Q7E.js → chunk-4BWM53AA.js} +4 -2
- package/dist/{chunk-WBBERMCB.js → chunk-4HOZ3VJB.js} +2 -2
- package/dist/{chunk-UXTEMU3E.mjs → chunk-52TAS4FU.mjs} +4 -4
- package/dist/{chunk-NIRVJWD5.js → chunk-66Q42VH2.js} +2 -2
- package/dist/{chunk-NRPYQWQ4.mjs → chunk-6MATO2MJ.mjs} +4 -2
- package/dist/{chunk-QBYA4DKC.js → chunk-73YOO2B5.js} +20 -20
- package/dist/{chunk-B5D7HVM5.js → chunk-7OGVJELA.js} +10 -10
- package/dist/{chunk-VSIOTWZ3.js → chunk-B7RA32TM.js} +2 -2
- package/dist/{chunk-XW7KSJT6.mjs → chunk-BKKFOQOU.mjs} +1 -1
- package/dist/{chunk-7CHKD6ZU.mjs → chunk-BQXKHUQZ.mjs} +2 -2
- package/dist/{chunk-ZUJRNOCS.mjs → chunk-BWI3GPA4.mjs} +1 -1
- package/dist/{chunk-CPSHI6D5.js → chunk-C7TDCMF3.js} +2 -2
- package/dist/{chunk-SNK67SOJ.mjs → chunk-CFONUGBH.mjs} +1 -1
- package/dist/{chunk-LBJYCV7W.js → chunk-CGAO5ZJF.js} +6 -6
- package/dist/{chunk-BJENCV34.mjs → chunk-DK3UBNIE.mjs} +2 -2
- package/dist/{chunk-LKNGNLWN.mjs → chunk-EFIYH6QT.mjs} +1 -1
- package/dist/{chunk-ZBZLFUGZ.js → chunk-EOQB5BBV.js} +4 -4
- package/dist/{chunk-KVKXRWJA.mjs → chunk-ERLIBMRM.mjs} +2 -2
- package/dist/{chunk-OEHQ4P7L.mjs → chunk-FEYD5KMF.mjs} +1 -1
- package/dist/{chunk-YTYMBCNN.js → chunk-GXTFFUML.js} +2 -2
- package/dist/{chunk-RRP2E72K.js → chunk-HFXXGJRH.js} +2 -2
- package/dist/{chunk-TRWY2MHH.mjs → chunk-HMRKWV4A.mjs} +1 -1
- package/dist/{chunk-TLSJE3BM.js → chunk-HYK7X5TY.js} +16 -16
- package/dist/{chunk-MJRZ6IWM.js → chunk-I6XZ4REQ.js} +5 -5
- package/dist/{chunk-2GUYRQCA.mjs → chunk-IX3OF5NI.mjs} +1 -1
- package/dist/{chunk-HEKFNBVI.js → chunk-KXLPRYBL.js} +11 -11
- package/dist/{chunk-OJQ53OAY.js → chunk-LOAR62VZ.js} +12 -12
- package/dist/{chunk-QJT63C5Y.mjs → chunk-LYJNZCO4.mjs} +1 -1
- package/dist/{chunk-CCRGF4HZ.mjs → chunk-MENBSPZ6.mjs} +1 -1
- package/dist/{chunk-NY4RZDUG.mjs → chunk-MLGPE4F7.mjs} +1 -1
- package/dist/{chunk-LV2NZ7T5.mjs → chunk-P3ARBU5S.mjs} +2 -2
- package/dist/{chunk-757MUDEM.js → chunk-QKCIIWYL.js} +2 -2
- package/dist/{chunk-G7AQBWV3.js → chunk-QMQX5ZII.js} +4 -4
- package/dist/{chunk-B55Y32GD.mjs → chunk-QU7P2GBV.mjs} +1 -1
- package/dist/{chunk-5BBCJ72W.js → chunk-R2H2PZOY.js} +2 -2
- package/dist/{chunk-6BB3BLHX.js → chunk-RMVPAFL5.js} +2 -2
- package/dist/{chunk-KKB2SNCA.js → chunk-S623LOIY.js} +34 -34
- package/dist/{chunk-PAEBBUY2.mjs → chunk-T5345GNL.mjs} +1 -1
- package/dist/{chunk-FZJRO253.js → chunk-UASDV4HB.js} +2 -2
- package/dist/{chunk-ATKAEDYS.mjs → chunk-V4QXOWGL.mjs} +2 -2
- package/dist/{chunk-RAM72W3S.js → chunk-VCL6C44A.js} +2 -2
- package/dist/{chunk-DRNL76FW.js → chunk-WJGMJCBS.js} +30 -30
- package/dist/{chunk-5ZQEH4AG.js → chunk-X3JM5ONC.js} +2 -2
- package/dist/{chunk-NCYSWFWT.mjs → chunk-XHERYWL5.mjs} +1 -1
- package/dist/{chunk-UNIRLSTQ.mjs → chunk-XV6LATBE.mjs} +1 -1
- package/dist/{chunk-2VEN4MMJ.mjs → chunk-YHHWYI4X.mjs} +3 -3
- package/dist/{chunk-67LH5YAE.mjs → chunk-Z2GJI23Y.mjs} +1 -1
- 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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- 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/apply-workspace-tokens.d.mts +1 -8
- package/dist/src/utils/apply-workspace-tokens.d.ts +1 -8
- package/dist/src/utils/cargo.d.mts +1 -1
- package/dist/src/utils/cargo.d.ts +1 -1
- package/dist/src/utils/index.d.mts +5 -4
- package/dist/src/utils/index.d.ts +5 -4
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.d.mts +1 -1
- package/dist/src/utils/package-helpers.d.ts +1 -1
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/package.json +9 -8
- package/dist/toml-C0imOcwz.d.mts +0 -129
- package/dist/toml-C0imOcwz.d.ts +0 -129
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.293.9](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.9) (11/16/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update README markdown files
|
|
10
|
+
([067cc99ce](https://github.com/storm-software/storm-ops/commit/067cc99ce))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **testing-tools** to **v1.119.39**
|
|
15
|
+
- Updated **config-tools** to **v1.188.39**
|
|
16
|
+
- Updated **pnpm-tools** to **v0.6.39**
|
|
17
|
+
- Updated **npm-tools** to **v0.5.39**
|
|
18
|
+
- Updated **prettier** to **v0.57.39**
|
|
19
|
+
- Updated **esbuild** to **v0.53.39**
|
|
20
|
+
- Updated **unbuild** to **v0.57.39**
|
|
21
|
+
- Updated **config** to **v1.134.39**
|
|
22
|
+
- Updated **tsdown** to **v0.45.39**
|
|
23
|
+
|
|
5
24
|
## [1.293.8](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.293.8) (11/14/2025)
|
|
6
25
|
|
|
7
26
|
### 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 -->
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
addWorkspacePackageJsonFields,
|
|
5
5
|
copyAssets,
|
|
6
6
|
getEnv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IX3OF5NI.mjs";
|
|
8
8
|
import {
|
|
9
9
|
withRunExecutor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V4QXOWGL.mjs";
|
|
11
11
|
import {
|
|
12
12
|
getWorkspaceConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T5345GNL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
formatLogMessage,
|
|
16
16
|
getStopwatch,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
writeInfo,
|
|
21
21
|
writeSuccess,
|
|
22
22
|
writeWarning
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6MATO2MJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
joinPaths
|
|
26
26
|
} from "./chunk-TBW5MCN6.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGXTFFUMLjs = require('./chunk-GXTFFUML.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: _chunkGXTFFUMLjs.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,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-QYHQD375.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T5345GNL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getStopwatch,
|
|
10
10
|
writeDebug,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6MATO2MJ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
19
|
} from "./chunk-GSZ2BO7G.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.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 = _chunkHYK7X5TYjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk73YOO2B5js = require('./chunk-73YOO2B5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
var _fsextra = require('fs-extra');
|
|
10
10
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
11
11
|
async function typiaExecutorFn(options, _, config) {
|
|
12
12
|
if (options.clean !== false) {
|
|
13
|
-
|
|
13
|
+
_chunk4BWM53AAjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
14
14
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
15
15
|
}
|
|
16
16
|
await Promise.all(
|
|
17
17
|
options.entry.map((entry) => {
|
|
18
|
-
|
|
18
|
+
_chunk4BWM53AAjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
19
19
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
20
20
|
input: entry,
|
|
21
21
|
output: options.outputPath,
|
|
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
27
27
|
success: true
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
var executor_default =
|
|
30
|
+
var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
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; }// ../config-tools/src/logger/console.ts
|
|
2
|
-
var
|
|
2
|
+
var _formatDistanceToNow = require('date-fns/formatDistanceToNow');
|
|
3
3
|
|
|
4
4
|
// ../config-tools/src/types.ts
|
|
5
5
|
var LogLevel = {
|
|
@@ -265,7 +265,9 @@ var getStopwatch = (name) => {
|
|
|
265
265
|
return () => {
|
|
266
266
|
console.info(
|
|
267
267
|
`
|
|
268
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${
|
|
268
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0, start, {
|
|
269
|
+
includeSeconds: true
|
|
270
|
+
})} to complete
|
|
269
271
|
`
|
|
270
272
|
);
|
|
271
273
|
};
|
|
@@ -7,7 +7,7 @@ var _chunkCOIQ4U46js = require('./chunk-COIQ4U46.js');
|
|
|
7
7
|
var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.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 = _chunkHYK7X5TYjs.withRunGenerator.call(void 0,
|
|
63
63
|
"TypeScript Library Creator (NodeJs Platform)",
|
|
64
64
|
nodeLibraryGeneratorFn,
|
|
65
65
|
{
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
addWorkspacePackageJsonFields,
|
|
6
6
|
copyAssets,
|
|
7
7
|
getEnv
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IX3OF5NI.mjs";
|
|
9
9
|
import {
|
|
10
10
|
withRunExecutor
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-V4QXOWGL.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getWorkspaceConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-T5345GNL.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getStopwatch,
|
|
17
17
|
writeDebug,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
writeInfo,
|
|
20
20
|
writeSuccess,
|
|
21
21
|
writeWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6MATO2MJ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
findWorkspaceRoot
|
|
25
25
|
} from "./chunk-GSZ2BO7G.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 _chunkGXTFFUMLjs = require('./chunk-GXTFFUML.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 = _chunkGXTFFUMLjs.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 {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../config-tools/src/logger/console.ts
|
|
2
|
-
import {
|
|
2
|
+
import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
|
|
3
3
|
|
|
4
4
|
// ../config-tools/src/types.ts
|
|
5
5
|
var LogLevel = {
|
|
@@ -265,7 +265,9 @@ var getStopwatch = (name) => {
|
|
|
265
265
|
return () => {
|
|
266
266
|
console.info(
|
|
267
267
|
`
|
|
268
|
-
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${
|
|
268
|
+
> \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(start, {
|
|
269
|
+
includeSeconds: true
|
|
270
|
+
})} to complete
|
|
269
271
|
`
|
|
270
272
|
);
|
|
271
273
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkML2VHRB6js = require('./chunk-ML2VHRB6.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkB5D7HVM5js = require('./chunk-B5D7HVM5.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
@@ -22,7 +22,7 @@ var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
|
22
22
|
// src/base/base-executor.ts
|
|
23
23
|
var _defu = require('defu');
|
|
24
24
|
var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunk4BWM53AAjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config = {};
|
|
28
28
|
try {
|
|
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
36
36
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
37
37
|
const projectName = context.projectName;
|
|
38
38
|
config.workspaceRoot = workspaceRoot;
|
|
39
|
-
|
|
39
|
+
_chunk4BWM53AAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
42
42
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
43
43
|
- workspaceRoot: ${workspaceRoot}
|
|
44
44
|
- projectRoot: ${projectRoot}
|
|
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
47
47
|
`,
|
|
48
48
|
config
|
|
49
49
|
);
|
|
50
|
-
config = await
|
|
50
|
+
config = await _chunk7OGVJELAjs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
54
54
|
options = await Promise.resolve(
|
|
55
55
|
executorOptions.hooks.applyDefaultOptions(options, config)
|
|
56
56
|
);
|
|
57
|
-
|
|
57
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunk4BWM53AAjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkML2VHRB6js.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunk4BWM53AAjs.formatLogMessage.call(void 0, tokenized)}
|
|
77
77
|
`,
|
|
78
78
|
config
|
|
79
79
|
);
|
|
80
80
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
81
|
-
|
|
81
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
82
82
|
await Promise.resolve(
|
|
83
83
|
executorOptions.hooks.preProcess(tokenized, config)
|
|
84
84
|
);
|
|
85
|
-
|
|
85
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
86
86
|
}
|
|
87
87
|
const ret = executorFn(tokenized, context, config);
|
|
88
88
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
@@ -97,7 +97,7 @@ ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0, tokenized)}
|
|
|
97
97
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
98
98
|
throw new Error(
|
|
99
99
|
`Failure determined while running the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunk4BWM53AAjs.formatLogMessage.call(void 0,
|
|
101
101
|
result
|
|
102
102
|
)}`,
|
|
103
103
|
{
|
|
@@ -106,21 +106,21 @@ ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0,
|
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunk4BWM53AAjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
114
114
|
`, config);
|
|
115
115
|
return {
|
|
116
116
|
success: true
|
|
117
117
|
};
|
|
118
118
|
} catch (error) {
|
|
119
|
-
|
|
119
|
+
_chunk4BWM53AAjs.writeFatal.call(void 0,
|
|
120
120
|
"A fatal error occurred while running the executor - the process was forced to terminate",
|
|
121
121
|
config
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
_chunk4BWM53AAjs.writeError.call(void 0,
|
|
124
124
|
`An exception was thrown in the executor's process
|
|
125
125
|
- Details: ${error.message}
|
|
126
126
|
- Stacktrace: ${error.stack}`,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
@@ -744,7 +744,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
744
744
|
let config = result.config;
|
|
745
745
|
const configFile = result.configFile;
|
|
746
746
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
747
|
-
|
|
747
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
748
748
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
749
749
|
{
|
|
750
750
|
logLevel: "all"
|
|
@@ -760,7 +760,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
760
760
|
for (const result2 of results) {
|
|
761
761
|
if (_optionalChain([result2, 'optionalAccess', _9 => _9.config]) && _optionalChain([result2, 'optionalAccess', _10 => _10.configFile]) && Object.keys(result2.config).length > 0) {
|
|
762
762
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
763
|
-
|
|
763
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
764
764
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
765
765
|
{
|
|
766
766
|
logLevel: "all"
|
|
@@ -872,7 +872,7 @@ var getConfigEnv = () => {
|
|
|
872
872
|
},
|
|
873
873
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
874
874
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
875
|
-
) ?
|
|
875
|
+
) ? _chunk4BWM53AAjs.getLogLevelLabel.call(void 0,
|
|
876
876
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
877
877
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
878
878
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1235,9 +1235,9 @@ var setConfigEnv = (config) => {
|
|
|
1235
1235
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1236
1236
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1237
1237
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1238
|
-
|
|
1238
|
+
_chunk4BWM53AAjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4BWM53AAjs.LogLevel.DEBUG ? true : false
|
|
1239
1239
|
);
|
|
1240
|
-
process.env.RUST_BACKTRACE =
|
|
1240
|
+
process.env.RUST_BACKTRACE = _chunk4BWM53AAjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4BWM53AAjs.LogLevel.DEBUG ? "full" : "none";
|
|
1241
1241
|
}
|
|
1242
1242
|
if (config.skipConfigLogging !== void 0) {
|
|
1243
1243
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1373,7 +1373,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1373
1373
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1374
1374
|
if (!configFile) {
|
|
1375
1375
|
if (!skipLogs) {
|
|
1376
|
-
|
|
1376
|
+
_chunk4BWM53AAjs.writeWarning.call(void 0,
|
|
1377
1377
|
"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",
|
|
1378
1378
|
{ logLevel: "all" }
|
|
1379
1379
|
);
|
|
@@ -1400,7 +1400,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1400
1400
|
throw new Error(
|
|
1401
1401
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _35 => _35.message]) ? `: ${error.message}` : ""}
|
|
1402
1402
|
|
|
1403
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1403
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk4BWM53AAjs.formatLogMessage.call(void 0,
|
|
1404
1404
|
configInput
|
|
1405
1405
|
)}`,
|
|
1406
1406
|
{
|
|
@@ -1445,9 +1445,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1445
1445
|
);
|
|
1446
1446
|
setConfigEnv(config);
|
|
1447
1447
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1448
|
-
|
|
1448
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
1449
1449
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1450
|
-
${
|
|
1450
|
+
${_chunk4BWM53AAjs.formatLogMessage.call(void 0, config)}`,
|
|
1451
1451
|
config
|
|
1452
1452
|
);
|
|
1453
1453
|
}
|
|
@@ -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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
|
|
4
4
|
|
|
5
5
|
// src/release/js-version-actions.ts
|
|
6
6
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
@@ -24,7 +24,7 @@ var StormJsVersionActions = (_class = class extends _versionactionsjs2.default {
|
|
|
24
24
|
* @params tree - The file system tree to read from.
|
|
25
25
|
*/
|
|
26
26
|
async init(tree) {
|
|
27
|
-
this.workspaceConfig = await
|
|
27
|
+
this.workspaceConfig = await _chunk7OGVJELAjs.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk73YOO2B5js = require('./chunk-73YOO2B5.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-format/executor.ts
|
|
10
10
|
async function cargoFormatExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "fmt", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunk73YOO2B5js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Format",
|
|
16
16
|
cargoFormatExecutor,
|
|
17
17
|
{
|
|
@@ -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 _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk322ASCCNjs = require('./chunk-322ASCCN.js');
|
|
@@ -50,7 +50,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
50
50
|
output: "src/"
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
54
54
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
55
55
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkCQDBLKPFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
56
56
|
config
|
|
@@ -62,9 +62,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
62
62
|
assets: pendingAssets
|
|
63
63
|
});
|
|
64
64
|
await assetHandler.processAllAssetsOnce();
|
|
65
|
-
|
|
65
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
66
66
|
if (includeSrc === true) {
|
|
67
|
-
|
|
67
|
+
_chunk4BWM53AAjs.writeDebug.call(void 0,
|
|
68
68
|
`\u{1F4DD} Adding banner and writing source files: ${_chunkCQDBLKPFjs.joinPaths.call(void 0,
|
|
69
69
|
outputPath,
|
|
70
70
|
"src"
|
|
@@ -148,7 +148,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
if (localPackages.length > 0) {
|
|
151
|
-
|
|
151
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0,
|
|
152
152
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
153
153
|
);
|
|
154
154
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -196,7 +196,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
196
196
|
return ret;
|
|
197
197
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
198
198
|
} else {
|
|
199
|
-
|
|
199
|
+
_chunk4BWM53AAjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
200
200
|
}
|
|
201
201
|
return packageJson;
|
|
202
202
|
};
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
parseCargoToml,
|
|
6
6
|
parseCargoTomlWithTree,
|
|
7
7
|
stringifyCargoToml
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FEYD5KMF.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T5345GNL.mjs";
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
import {
|