@storm-software/workspace-tools 1.277.26 → 1.277.29
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 +72 -0
- package/README.md +1 -1
- package/dist/{chunk-HSJMJFKE.mjs → chunk-3CPOV3N6.mjs} +2 -2
- package/dist/{chunk-RA2N6JZH.js → chunk-3OVLNULV.js} +2 -2
- package/dist/{chunk-P5EIB5HG.mjs → chunk-3VAHUUNQ.mjs} +1 -1
- package/dist/{chunk-2TGFVUIR.mjs → chunk-55FODDLQ.mjs} +2 -2
- package/dist/{chunk-LPNTTZ7I.mjs → chunk-5EK4H7VB.mjs} +1 -1
- package/dist/{chunk-XPKUS7AG.js → chunk-65P2PGPR.js} +5 -5
- package/dist/{chunk-G4MTTQFI.mjs → chunk-6RHHYXZE.mjs} +1 -1
- package/dist/{chunk-CSCLNKMV.js → chunk-6WBXO6UH.js} +2 -2
- package/dist/{chunk-QZA6F5EA.js → chunk-6XYAQUU3.js} +21 -21
- package/dist/{chunk-OZRUZ6AM.mjs → chunk-7IPJE3E3.mjs} +4 -4
- package/dist/{chunk-4OBCRV37.js → chunk-7YUXBCFS.js} +9 -9
- package/dist/{chunk-KXUWH7QY.js → chunk-ABUZEUF7.js} +2 -2
- package/dist/{chunk-CSXGWGUK.js → chunk-AQOT2IAM.js} +32 -32
- package/dist/{chunk-O4RSZYAD.js → chunk-BDA4N25E.js} +20 -20
- package/dist/{chunk-JTCJS4RS.js → chunk-BP22TRDI.js} +10 -6
- package/dist/{chunk-KYU34QH5.js → chunk-E566KBB3.js} +5 -5
- package/dist/{chunk-HBNNRGCJ.js → chunk-EC7YQEHT.js} +2 -2
- package/dist/{chunk-EDHSPOFD.mjs → chunk-EUWPFP5C.mjs} +1 -1
- package/dist/{chunk-JUSIKDWJ.mjs → chunk-GH5ABWPU.mjs} +1 -1
- package/dist/{chunk-RUGDFSKK.mjs → chunk-HWCERW6A.mjs} +2 -2
- package/dist/{chunk-QPPWAQNV.js → chunk-JRQIA2WV.js} +2 -2
- package/dist/{chunk-ZQHOT6H6.mjs → chunk-K262HGVZ.mjs} +2 -2
- package/dist/{chunk-D73OGSDF.js → chunk-KZIA4CGL.js} +24 -20
- package/dist/{chunk-YAEW3DQA.mjs → chunk-NFK6PGAC.mjs} +1 -1
- package/dist/{chunk-IDQ4JCDX.mjs → chunk-NQ525HTH.mjs} +7 -3
- package/dist/{chunk-25VWKDTU.js → chunk-OQUI7H7Z.js} +2 -2
- package/dist/{chunk-POILBEZH.mjs → chunk-PG7GBHUM.mjs} +1 -1
- package/dist/{chunk-G4U3DGCJ.mjs → chunk-PGIUP33N.mjs} +2 -2
- package/dist/{chunk-KYIRUMWH.mjs → chunk-PPMPCT7K.mjs} +2 -2
- package/dist/{chunk-V7ERI6BM.mjs → chunk-Q7MIY2SX.mjs} +1 -1
- package/dist/{chunk-M4TB3TOS.js → chunk-QEU3B4T6.js} +16 -16
- package/dist/{chunk-DASH2FOM.mjs → chunk-QPCOSMXY.mjs} +2 -2
- package/dist/{chunk-KUYVHZWZ.js → chunk-R7DNGWVO.js} +2 -2
- package/dist/{chunk-LQV3CCWT.js → chunk-RVJSZ7SI.js} +4 -4
- package/dist/{chunk-5LD3ABVM.js → chunk-S2N53PIP.js} +2 -2
- package/dist/{chunk-PKDVMEUW.mjs → chunk-SW2AFRXA.mjs} +8 -4
- package/dist/{chunk-IWD5UVSO.js → chunk-TJ3JPU6C.js} +2 -2
- package/dist/{chunk-3MSNXXXO.js → chunk-UXALGSQC.js} +2 -2
- package/dist/{chunk-2BORL7LX.js → chunk-V53473BD.js} +2 -2
- package/dist/{chunk-H5JCXWPB.mjs → chunk-V5564COA.mjs} +2 -2
- package/dist/{chunk-UWK5LEHA.mjs → chunk-VRPEYRWI.mjs} +1 -1
- package/dist/{chunk-MSHTPMHQ.js → chunk-XBRR6YS3.js} +2 -2
- package/dist/{chunk-4JA63BTZ.mjs → chunk-XPFT4BMH.mjs} +1 -1
- package/dist/{chunk-3YKD4Y7G.mjs → chunk-YDXXSCNG.mjs} +1 -1
- package/dist/{chunk-EOAKAELE.mjs → chunk-ZFA26D42.mjs} +2 -2
- package/dist/{chunk-JOG7WCHD.js → chunk-ZLVVUMYO.js} +2 -2
- package/dist/{chunk-JK77T25H.mjs → chunk-ZRTYYXDL.mjs} +2 -2
- package/dist/executors.js +17 -17
- package/dist/executors.mjs +19 -19
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +13 -13
- package/dist/index.js +25 -25
- package/dist/index.mjs +28 -28
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +4 -4
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +4 -4
- package/dist/src/base/base-generator.untyped.mjs +1 -1
- package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +5 -5
- package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +5 -5
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +5 -5
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +5 -5
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +5 -5
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +4 -4
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +5 -5
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +5 -5
- package/dist/src/executors/npm-publish/executor.mjs +5 -5
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +5 -5
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +5 -5
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +5 -5
- package/dist/src/executors/unbuild/untyped.mjs +1 -1
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +5 -5
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +5 -5
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +1 -1
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +5 -5
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +5 -5
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +5 -5
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +5 -5
- package/dist/src/generators/release-version/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
- package/dist/src/plugins/rust/index.mjs +1 -1
- package/dist/src/plugins/typescript/index.mjs +1 -1
- package/dist/src/plugins/typescript/project-config.mjs +1 -1
- package/dist/src/plugins/typescript/tsup.mjs +1 -1
- package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
- package/dist/src/utils/cargo.mjs +1 -1
- package/dist/src/utils/create-cli-options.mjs +1 -1
- package/dist/src/utils/get-project-configurations.mjs +1 -1
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +4 -4
- package/dist/src/utils/lock-file.mjs +1 -1
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.mjs +1 -1
- package/dist/src/utils/pnpm-deps-update.mjs +1 -1
- package/dist/src/utils/project-tags.mjs +1 -1
- package/dist/src/utils/typia-transform.mjs +1 -1
- package/dist/src/utils/versions.mjs +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,78 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.28](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.28) (2025-07-31)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **git-tools:** Resolve issue with incorrect log formatting
|
|
10
|
+
([062583d84](https://github.com/storm-software/storm-ops/commit/062583d84))
|
|
11
|
+
|
|
12
|
+
### Miscellaneous
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([e5c02a04d](https://github.com/storm-software/storm-ops/commit/e5c02a04d))
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated prettier to 0.51.54
|
|
20
|
+
- Updated esbuild to 0.45.41
|
|
21
|
+
- Updated unbuild to 0.49.52
|
|
22
|
+
|
|
23
|
+
## [1.277.27](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.27) (2025-07-31)
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
- **workspace-tools:** Resolve issue with outdated function signature
|
|
28
|
+
([a4c07a953](https://github.com/storm-software/storm-ops/commit/a4c07a953))
|
|
29
|
+
|
|
30
|
+
### Miscellaneous
|
|
31
|
+
|
|
32
|
+
- **monorepo:** Update TypeScript to v5.9.2
|
|
33
|
+
([d4a90784d](https://github.com/storm-software/storm-ops/commit/d4a90784d))
|
|
34
|
+
- **monorepo:** Regenerate README markdown files
|
|
35
|
+
([18c227394](https://github.com/storm-software/storm-ops/commit/18c227394))
|
|
36
|
+
- **monorepo:** Update workspace package links
|
|
37
|
+
([3ec10b48b](https://github.com/storm-software/storm-ops/commit/3ec10b48b))
|
|
38
|
+
- **monorepo:** Regenerate README markdown files
|
|
39
|
+
([8aeb77070](https://github.com/storm-software/storm-ops/commit/8aeb77070))
|
|
40
|
+
- **monorepo:** Regenerate workspace repository packages
|
|
41
|
+
([a78abe68e](https://github.com/storm-software/storm-ops/commit/a78abe68e))
|
|
42
|
+
- **monorepo:** Regenerate README markdown files
|
|
43
|
+
([b7b8fec51](https://github.com/storm-software/storm-ops/commit/b7b8fec51))
|
|
44
|
+
- **eslint:** Update package dependencies
|
|
45
|
+
([a6eaee75a](https://github.com/storm-software/storm-ops/commit/a6eaee75a))
|
|
46
|
+
- **monorepo:** Regenerate README markdown files
|
|
47
|
+
([d02c46b78](https://github.com/storm-software/storm-ops/commit/d02c46b78))
|
|
48
|
+
- **monorepo:** Update workspace package links
|
|
49
|
+
([ed53c2aea](https://github.com/storm-software/storm-ops/commit/ed53c2aea))
|
|
50
|
+
- **git-tools:** Ensure dependencies are marked `external` by default for `bin`
|
|
51
|
+
build
|
|
52
|
+
([b6c66aae5](https://github.com/storm-software/storm-ops/commit/b6c66aae5))
|
|
53
|
+
- **monorepo:** Regenerate README markdown files
|
|
54
|
+
([fa4b5a24f](https://github.com/storm-software/storm-ops/commit/fa4b5a24f))
|
|
55
|
+
|
|
56
|
+
### Updated Dependencies
|
|
57
|
+
|
|
58
|
+
- Updated prettier to 0.51.53
|
|
59
|
+
- Updated esbuild to 0.45.40
|
|
60
|
+
- Updated unbuild to 0.49.51
|
|
61
|
+
|
|
62
|
+
## [1.277.26](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.26) (2025-07-14)
|
|
63
|
+
|
|
64
|
+
### Miscellaneous
|
|
65
|
+
|
|
66
|
+
- **monorepo:** Update workspace package links
|
|
67
|
+
([aa3c5e120](https://github.com/storm-software/storm-ops/commit/aa3c5e120))
|
|
68
|
+
- **monorepo:** Regenerate README markdown files
|
|
69
|
+
([11ac201a7](https://github.com/storm-software/storm-ops/commit/11ac201a7))
|
|
70
|
+
|
|
71
|
+
### Updated Dependencies
|
|
72
|
+
|
|
73
|
+
- Updated prettier to 0.51.52
|
|
74
|
+
- Updated esbuild to 0.45.39
|
|
75
|
+
- Updated unbuild to 0.49.50
|
|
76
|
+
|
|
5
77
|
## [1.277.25](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.25) (2025-07-14)
|
|
6
78
|
|
|
7
79
|
### 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
|
} from "./chunk-CNBBZVVG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunGenerator
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PGIUP33N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
joinPaths
|
|
10
10
|
} from "./chunk-U7JFVMCK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
__dirname
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5EK4H7VB.mjs";
|
|
14
14
|
|
|
15
15
|
// src/generators/neutral-library/generator.ts
|
|
16
16
|
import {
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.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 = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5564COA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SW2AFRXA.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
5
5
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
8
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__db60725e7ddf3117d5650dafebab357c/node_modules/tsup/assets/esm_shims.js
|
|
9
9
|
import { fileURLToPath } from "url";
|
|
10
10
|
import path from "path";
|
|
11
11
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.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
|
+
_chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.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 = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.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 = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkBDA4N25Ejs = require('./chunk-BDA4N25E.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkO4RSZYADjs = require('./chunk-O4RSZYAD.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,7 +22,7 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.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 = _chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
40
40
|
if (!executorOptions.skipReadingConfig) {
|
|
41
|
-
|
|
41
|
+
_chunkBP22TRDIjs.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 _chunkBDA4N25Ejs.getConfig.call(void 0, workspaceRoot);
|
|
51
51
|
}
|
|
52
52
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
53
|
-
|
|
53
|
+
_chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
_chunkBP22TRDIjs.writeTrace.call(void 0,
|
|
60
60
|
`Executor schema options \u2699\uFE0F
|
|
61
|
-
${
|
|
61
|
+
${_chunkBP22TRDIjs.formatLogMessage.call(void 0, options)}
|
|
62
62
|
`,
|
|
63
63
|
config
|
|
64
64
|
);
|
|
@@ -71,18 +71,18 @@ ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0, options)}
|
|
|
71
71
|
),
|
|
72
72
|
_chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
|
|
73
73
|
);
|
|
74
|
-
|
|
74
|
+
_chunkBP22TRDIjs.writeTrace.call(void 0,
|
|
75
75
|
`Executor schema tokenized options \u2699\uFE0F
|
|
76
|
-
${
|
|
76
|
+
${_chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.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]))) {
|
|
@@ -95,9 +95,9 @@ ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0, tokenized)}
|
|
|
95
95
|
ret
|
|
96
96
|
);
|
|
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
|
+
_chunkBP22TRDIjs.writeTrace.call(void 0,
|
|
99
99
|
`Failure determined by the ${name} executor
|
|
100
|
-
${
|
|
100
|
+
${_chunkBP22TRDIjs.formatLogMessage.call(void 0, result)}`,
|
|
101
101
|
config
|
|
102
102
|
);
|
|
103
103
|
console.error(result);
|
|
@@ -106,21 +106,21 @@ ${_chunkJTCJS4RSjs.formatLogMessage.call(void 0, result)}`,
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
109
|
-
|
|
109
|
+
_chunkBP22TRDIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
110
110
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
111
|
-
|
|
111
|
+
_chunkBP22TRDIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
_chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.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
|
+
_chunkBP22TRDIjs.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}`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V5564COA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getWorkspaceConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PG7GBHUM.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-SW2AFRXA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-U7JFVMCK.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__require
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5EK4H7VB.mjs";
|
|
27
27
|
|
|
28
28
|
// ../esbuild/src/build.ts
|
|
29
29
|
import * as esbuild from "esbuild";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkQEU3B4T6js = require('./chunk-QEU3B4T6.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -15,21 +15,21 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
15
15
|
var _devkit = require('@nx/devkit');
|
|
16
16
|
var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
|
|
17
17
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
18
|
-
|
|
18
|
+
_chunkBP22TRDIjs.writeInfo.call(void 0,
|
|
19
19
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
_chunkBP22TRDIjs.writeTrace.call(void 0,
|
|
23
23
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
24
24
|
config
|
|
25
25
|
);
|
|
26
|
-
const jsonSchema = z.toJSONSchema(
|
|
26
|
+
const jsonSchema = z.toJSONSchema(_chunkBP22TRDIjs.stormWorkspaceConfigSchema, {
|
|
27
27
|
target: "draft-7"
|
|
28
28
|
});
|
|
29
29
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
30
30
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
31
31
|
jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
|
|
32
|
-
|
|
32
|
+
_chunkBP22TRDIjs.writeTrace.call(void 0, jsonSchema, config);
|
|
33
33
|
if (!options.outputFile) {
|
|
34
34
|
throw new Error(
|
|
35
35
|
"The `outputFile` option is required. Please specify the output file path."
|
|
@@ -39,13 +39,13 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
39
39
|
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, ))),
|
|
40
40
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
41
41
|
);
|
|
42
|
-
|
|
42
|
+
_chunkBP22TRDIjs.writeTrace.call(void 0,
|
|
43
43
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
44
44
|
config
|
|
45
45
|
);
|
|
46
46
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
47
47
|
await _devkit.formatFiles.call(void 0, tree);
|
|
48
|
-
|
|
48
|
+
_chunkBP22TRDIjs.writeSuccess.call(void 0,
|
|
49
49
|
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
50
50
|
config
|
|
51
51
|
);
|
|
@@ -53,7 +53,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
53
53
|
success: true
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
var generator_default =
|
|
56
|
+
var generator_default = _chunkQEU3B4T6js.withRunGenerator.call(void 0,
|
|
57
57
|
"Configuration Schema Creator",
|
|
58
58
|
configSchemaGeneratorFn,
|
|
59
59
|
{
|
|
@@ -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 _chunkUXALGSQCjs = require('./chunk-UXALGSQC.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 = _chunkUXALGSQCjs.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 {
|