@storm-software/workspace-tools 1.295.20 → 1.295.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 +40 -0
- package/README.md +1 -1
- package/dist/{chunk-IRW4CMPG.js → chunk-3VE7KAOB.js} +4 -4
- package/dist/{chunk-TDXTZLCP.mjs → chunk-3YDFOWNH.mjs} +1 -1
- package/dist/{chunk-QTI2WSYX.js → chunk-4BZUW64X.js} +2 -2
- package/dist/{chunk-SQC4RIPM.mjs → chunk-4LJ7D77P.mjs} +2 -2
- package/dist/{chunk-KU3DWKHT.mjs → chunk-4PKTZSV2.mjs} +2 -2
- package/dist/{chunk-Y42BDOTK.mjs → chunk-4QQPF76Q.mjs} +1 -1
- package/dist/{chunk-LQ5EK44H.js → chunk-5X2PH2OF.js} +2 -2
- package/dist/{chunk-6ZNEHBDJ.mjs → chunk-6IGFKTLC.mjs} +1 -1
- package/dist/{chunk-V3IVXSDL.js → chunk-6QXKMVZ5.js} +12 -12
- package/dist/{chunk-KTCIRQID.js → chunk-72WJVP2V.js} +2 -2
- package/dist/{chunk-D56IG7V7.js → chunk-7CNGFDN3.js} +30 -30
- package/dist/{chunk-2FEE7J4V.js → chunk-7OQWJH4B.js} +17 -17
- package/dist/{chunk-L7VRQV4Y.js → chunk-BNLCY2F7.js} +2 -2
- package/dist/{chunk-XBKQFZBC.js → chunk-BSW6NZVB.js} +11 -11
- package/dist/{chunk-VRWOCYEC.mjs → chunk-C76K2E2A.mjs} +2 -2
- package/dist/{chunk-I6J3U7H6.js → chunk-EWPWDNCS.js} +2 -2
- package/dist/{chunk-I2PUWYSE.mjs → chunk-EYZGKQNH.mjs} +2 -2
- package/dist/{chunk-Y2QUVZ77.js → chunk-FVYP6LDM.js} +5 -5
- package/dist/{chunk-M3YDUOTX.mjs → chunk-GEN563U4.mjs} +1 -1
- package/dist/{chunk-27OQPRO2.mjs → chunk-GMNLTR7G.mjs} +2 -2
- package/dist/{chunk-VPB6ALHZ.js → chunk-H3UVCO5H.js} +2 -2
- package/dist/{chunk-QJQWQU4G.js → chunk-HEYOED5H.js} +34 -34
- package/dist/{chunk-YQUPDVJ5.js → chunk-HLJV76Q6.js} +2 -2
- package/dist/{chunk-33TUEQBH.js → chunk-HTGUYSQT.js} +2 -2
- package/dist/{chunk-SYNCWFGJ.mjs → chunk-I4X5CIJM.mjs} +1 -1
- package/dist/{chunk-OAD5MTR5.js → chunk-IHMF6RAN.js} +2 -2
- package/dist/{chunk-TBXL5JQF.mjs → chunk-KA2XXVE2.mjs} +1 -1
- package/dist/{chunk-QTSUG4MO.mjs → chunk-KWUBBSMZ.mjs} +1 -1
- package/dist/{chunk-Q62HNJPE.mjs → chunk-LODTJTUA.mjs} +2 -2
- package/dist/{chunk-LL5MXO5W.js → chunk-LVO5FIAQ.js} +2 -2
- package/dist/{chunk-SPZ6A2EH.mjs → chunk-MMA4S6LZ.mjs} +2 -2
- package/dist/{chunk-PRMTF2VE.js → chunk-NETMT7M3.js} +5 -5
- package/dist/{chunk-PJBQJFQI.js → chunk-NFYP774D.js} +2 -2
- package/dist/{chunk-BMK64B43.mjs → chunk-NVSIB4RD.mjs} +2 -2
- package/dist/{chunk-V5NVKBCF.mjs → chunk-OVTQ7MFY.mjs} +1 -1
- package/dist/{chunk-6P5F6MCJ.mjs → chunk-PCTKPQDO.mjs} +1 -1
- package/dist/{chunk-7YCS7NS3.mjs → chunk-PD5ORQVB.mjs} +1 -1
- package/dist/{chunk-UMEEPN33.mjs → chunk-PJFBYR5E.mjs} +1 -1
- package/dist/{chunk-FH4HT6ZL.js → chunk-QFYTQVZW.js} +11 -11
- package/dist/{chunk-PFLKUSFO.js → chunk-RB72JOT5.js} +6 -6
- package/dist/{chunk-XNJ3AEJS.mjs → chunk-RIAPIVKD.mjs} +2 -2
- package/dist/{chunk-XIUG3QAE.js → chunk-S7Q645MC.js} +2 -2
- package/dist/{chunk-AUWCQMJG.mjs → chunk-TSYVLUOX.mjs} +1 -1
- package/dist/{chunk-PXEQSO2M.mjs → chunk-TYMF6PWQ.mjs} +3 -3
- package/dist/{chunk-GDQHSPFI.mjs → chunk-UU2B4W6D.mjs} +2 -2
- package/dist/{chunk-24EFED7H.mjs → chunk-VZEPUM37.mjs} +4 -4
- package/dist/{chunk-B6T6YYFK.mjs → chunk-W2JX32OR.mjs} +2 -2
- package/dist/{chunk-RYYMR72F.js → chunk-WCTC7R27.js} +21 -21
- package/dist/{chunk-GW7JW3CY.mjs → chunk-X3GOJE27.mjs} +2 -2
- package/dist/{chunk-DG2JZFC4.js → chunk-X3H2BDXF.js} +2 -2
- package/dist/{chunk-CNYWUCFC.mjs → chunk-XB2OJBXC.mjs} +4 -4
- package/dist/{chunk-32U3BQQK.js → chunk-XD7QQFE4.js} +2 -2
- package/dist/{chunk-6OWAWZJZ.mjs → chunk-Y7WHHDJ7.mjs} +2 -2
- package/dist/{chunk-NYMFTMIN.js → chunk-ZD6DM7FE.js} +2 -2
- package/dist/{chunk-46V4NNLD.js → chunk-ZFYR7Z5E.js} +4 -4
- package/dist/executors.js +20 -20
- package/dist/executors.mjs +20 -20
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +9 -9
- package/dist/index.js +28 -28
- 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 +6 -6
- package/dist/src/executors/esbuild/executor.mjs +6 -6
- package/dist/src/executors/esbuild/untyped.mjs +1 -1
- package/dist/src/executors/napi/executor.js +5 -5
- package/dist/src/executors/napi/executor.mjs +5 -5
- package/dist/src/executors/napi/untyped.mjs +1 -1
- package/dist/src/executors/npm-publish/executor.js +6 -6
- package/dist/src/executors/npm-publish/executor.mjs +6 -6
- 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/tsdown/executor.js +6 -6
- package/dist/src/executors/tsdown/executor.mjs +6 -6
- package/dist/src/executors/tsdown/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/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/tsdown.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/release/index.js +6 -6
- package/dist/src/release/index.mjs +6 -6
- package/dist/src/release/js-version-actions.js +4 -4
- package/dist/src/release/js-version-actions.mjs +4 -4
- package/dist/src/release/rust-version-actions.js +5 -5
- package/dist/src/release/rust-version-actions.mjs +5 -5
- 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/nx-json.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/project-tags.mjs +1 -1
- package/dist/src/utils/registry-helpers.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,46 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.295.21](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.21) (03/19/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update `README.md` files ([46aa73215](https://github.com/storm-software/storm-ops/commit/46aa73215))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **testing-tools** to **v1.119.120**
|
|
14
|
+
- Updated **config-tools** to **v1.189.45**
|
|
15
|
+
- Updated **pnpm-tools** to **v0.6.130**
|
|
16
|
+
- Updated **npm-tools** to **v0.6.83**
|
|
17
|
+
- Updated **prettier** to **v0.59.19**
|
|
18
|
+
- Updated **esbuild** to **v0.53.127**
|
|
19
|
+
- Updated **unbuild** to **v0.57.127**
|
|
20
|
+
- Updated **config** to **v1.136.4**
|
|
21
|
+
- Updated **tsdown** to **v0.45.127**
|
|
22
|
+
|
|
23
|
+
## [1.295.20](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.20) (03/19/2026)
|
|
24
|
+
|
|
25
|
+
### Miscellaneous
|
|
26
|
+
|
|
27
|
+
- **monorepo:** Regenerate `README.md` files ([419117bcf](https://github.com/storm-software/storm-ops/commit/419117bcf))
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
- **workspace-tools:** Resolve issue with invalid markdownlint-cli2 config file name ([2664e3aa9](https://github.com/storm-software/storm-ops/commit/2664e3aa9))
|
|
32
|
+
|
|
33
|
+
### Updated Dependencies
|
|
34
|
+
|
|
35
|
+
- Updated **testing-tools** to **v1.119.119**
|
|
36
|
+
- Updated **config-tools** to **v1.189.44**
|
|
37
|
+
- Updated **pnpm-tools** to **v0.6.129**
|
|
38
|
+
- Updated **npm-tools** to **v0.6.82**
|
|
39
|
+
- Updated **prettier** to **v0.59.18**
|
|
40
|
+
- Updated **esbuild** to **v0.53.126**
|
|
41
|
+
- Updated **unbuild** to **v0.57.126**
|
|
42
|
+
- Updated **config** to **v1.136.3**
|
|
43
|
+
- Updated **tsdown** to **v0.45.126**
|
|
44
|
+
|
|
5
45
|
## [1.295.19](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.295.19) (03/19/2026)
|
|
6
46
|
|
|
7
47
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -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 _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
@@ -12,7 +12,7 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
|
|
|
12
12
|
var _defu = require('defu');
|
|
13
13
|
var _jiti = require('jiti');
|
|
14
14
|
async function unbuildExecutorFn(options, context, config) {
|
|
15
|
-
|
|
15
|
+
_chunkIHMF6RANjs.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 = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
84
84
|
"TypeScript Unbuild build",
|
|
85
85
|
unbuildExecutorFn,
|
|
86
86
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__abd611e369a2817c2fed271a530ce1b3/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
8
8
|
|
|
9
9
|
// src/executors/cargo-build/executor.ts
|
|
10
10
|
async function cargoBuildExecutor(options, context) {
|
|
11
11
|
const command = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "build", options, context);
|
|
12
12
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
13
13
|
}
|
|
14
|
-
var executor_default =
|
|
14
|
+
var executor_default = _chunkWCTC7R27js.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-EYZGKQNH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MMA4S6LZ.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/typia/executor.ts
|
|
9
9
|
import { removeSync } from "fs-extra";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getLogLevelLabel,
|
|
6
6
|
writeTrace,
|
|
7
7
|
writeWarning
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MMA4S6LZ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot
|
|
11
11
|
} from "./chunk-3J2CP54B.mjs";
|
|
@@ -98,7 +98,7 @@ var fatalColorSchema = z.optional(colorSchema);
|
|
|
98
98
|
schemaRegistry.add(fatalColorSchema, {
|
|
99
99
|
description: "The fatal color of the workspace"
|
|
100
100
|
});
|
|
101
|
-
var performanceColorSchema = z._default(colorSchema, "#
|
|
101
|
+
var performanceColorSchema = z._default(colorSchema, "#80fd74");
|
|
102
102
|
schemaRegistry.add(performanceColorSchema, {
|
|
103
103
|
description: "The performance color of the workspace"
|
|
104
104
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.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 = _chunkD2PV33E5js.buildCargoCommand.call(void 0, "doc", options, context);
|
|
15
15
|
return await _chunkD2PV33E5js.cargoCommand.call(void 0, context.root, ...command);
|
|
16
16
|
}
|
|
17
|
-
var executor_default =
|
|
17
|
+
var executor_default = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|
|
@@ -5,10 +5,10 @@ var _chunkANHKV7HZjs = require('./chunk-ANHKV7HZ.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkHTGUYSQTjs = require('./chunk-HTGUYSQT.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkBSW6NZVBjs = require('./chunk-BSW6NZVB.js');
|
|
12
12
|
|
|
13
13
|
// src/release/rust-version-actions.ts
|
|
14
14
|
|
|
@@ -36,7 +36,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
36
36
|
* @params tree - The file system tree to read from.
|
|
37
37
|
*/
|
|
38
38
|
async init(tree) {
|
|
39
|
-
this.workspaceConfig = await
|
|
39
|
+
this.workspaceConfig = await _chunkBSW6NZVBjs.getWorkspaceConfig.call(void 0, );
|
|
40
40
|
return super.init(tree);
|
|
41
41
|
}
|
|
42
42
|
async readCurrentVersionFromSourceManifest(tree) {
|
|
@@ -45,7 +45,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
45
45
|
"Cargo.toml"
|
|
46
46
|
);
|
|
47
47
|
try {
|
|
48
|
-
const cargoToml =
|
|
48
|
+
const cargoToml = _chunkHTGUYSQTjs.parseCargoTomlWithTree.call(void 0,
|
|
49
49
|
tree,
|
|
50
50
|
this.projectGraphNode.data.root,
|
|
51
51
|
this.projectGraphNode.name
|
|
@@ -61,7 +61,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
async readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
|
|
64
|
-
const cargoToml =
|
|
64
|
+
const cargoToml = _chunkHTGUYSQTjs.parseCargoTomlWithTree.call(void 0,
|
|
65
65
|
tree,
|
|
66
66
|
this.projectGraphNode.data.root,
|
|
67
67
|
this.projectGraphNode.name
|
|
@@ -86,7 +86,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
async readCurrentVersionOfDependency(tree, projectGraph, dependencyProjectName) {
|
|
89
|
-
const cargoToml =
|
|
89
|
+
const cargoToml = _chunkHTGUYSQTjs.parseCargoTomlWithTree.call(void 0,
|
|
90
90
|
tree,
|
|
91
91
|
this.projectGraphNode.data.root,
|
|
92
92
|
this.projectGraphNode.name
|
|
@@ -97,7 +97,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
97
97
|
dependencyCollection: null
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
const dependencyCargoToml =
|
|
100
|
+
const dependencyCargoToml = _chunkHTGUYSQTjs.parseCargoTomlWithTree.call(void 0,
|
|
101
101
|
tree,
|
|
102
102
|
_optionalChain([projectGraph, 'access', _10 => _10.nodes, 'access', _11 => _11[dependencyProjectName], 'optionalAccess', _12 => _12.data, 'access', _13 => _13.root]),
|
|
103
103
|
dependencyProjectName
|
|
@@ -131,9 +131,9 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
131
131
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const cargoToml =
|
|
134
|
+
const cargoToml = _chunkHTGUYSQTjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
135
135
|
cargoToml.package.version = newVersion;
|
|
136
|
-
tree.write(manifestToUpdate.manifestPath,
|
|
136
|
+
tree.write(manifestToUpdate.manifestPath, _chunkHTGUYSQTjs.stringifyCargoToml.call(void 0, cargoToml));
|
|
137
137
|
logMessages.push(
|
|
138
138
|
`\u270D\uFE0F New version ${newVersion} written to manifest: ${manifestToUpdate.manifestPath}`
|
|
139
139
|
);
|
|
@@ -161,7 +161,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
161
161
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
const cargoToml =
|
|
164
|
+
const cargoToml = _chunkHTGUYSQTjs.parseCargoToml.call(void 0, cargoTomlString);
|
|
165
165
|
for (const depType of ["dependencies", "dev-dependencies"]) {
|
|
166
166
|
if (cargoToml[depType]) {
|
|
167
167
|
for (const [dep, version] of Object.entries(dependenciesToUpdate)) {
|
|
@@ -178,7 +178,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
178
178
|
`Unable to read Cargo.toml at path: ${manifestToUpdate.manifestPath}`
|
|
179
179
|
);
|
|
180
180
|
}
|
|
181
|
-
const dependencyCargoToml =
|
|
181
|
+
const dependencyCargoToml = _chunkHTGUYSQTjs.parseCargoToml.call(void 0,
|
|
182
182
|
dependencyCargoTomlString
|
|
183
183
|
);
|
|
184
184
|
const dependencyCrateName = cargoToml[depType][dependencyCargoToml.package.name] ? dependencyCargoToml.package.name : dep;
|
|
@@ -189,7 +189,7 @@ var StormRustVersionActions = (_class = class extends _release.VersionActions {
|
|
|
189
189
|
}
|
|
190
190
|
tree.write(
|
|
191
191
|
manifestToUpdate.manifestPath,
|
|
192
|
-
|
|
192
|
+
_chunkHTGUYSQTjs.stringifyCargoToml.call(void 0, cargoToml)
|
|
193
193
|
);
|
|
194
194
|
} catch (error) {
|
|
195
195
|
throw new Error(
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7OQWJH4Bjs = require('./chunk-7OQWJH4B.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 = _chunk7OQWJH4Bjs.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkRB72JOT5js = require('./chunk-RB72JOT5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkWCTC7R27js = require('./chunk-WCTC7R27.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkBSW6NZVBjs = require('./chunk-BSW6NZVB.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ var _chunkXBKQFZBCjs = require('./chunk-XBKQFZBC.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.js');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -80,11 +80,11 @@ var resolveOptions = async (userOptions) => {
|
|
|
80
80
|
if (!workspaceRoot) {
|
|
81
81
|
throw new Error("Cannot find Nx workspace root");
|
|
82
82
|
}
|
|
83
|
-
const workspaceConfig = await
|
|
83
|
+
const workspaceConfig = await _chunkBSW6NZVBjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
84
84
|
workspaceRoot
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
const stopwatch =
|
|
86
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
87
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, "Build options resolution");
|
|
88
88
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
89
89
|
exitOnError: true
|
|
90
90
|
});
|
|
@@ -118,7 +118,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
118
118
|
const result = {
|
|
119
119
|
name: projectName,
|
|
120
120
|
mode: "production",
|
|
121
|
-
target:
|
|
121
|
+
target: _chunkRB72JOT5js.DEFAULT_TARGET,
|
|
122
122
|
generatePackageJson: true,
|
|
123
123
|
outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
124
124
|
minify: !debug,
|
|
@@ -150,15 +150,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
150
150
|
};
|
|
151
151
|
result.env = _defu2.default.call(void 0,
|
|
152
152
|
options.env,
|
|
153
|
-
|
|
153
|
+
_chunkRB72JOT5js.getEnv.call(void 0, "tsdown", result)
|
|
154
154
|
);
|
|
155
155
|
stopwatch();
|
|
156
156
|
return result;
|
|
157
157
|
};
|
|
158
158
|
async function generatePackageJson(options) {
|
|
159
159
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
160
|
-
|
|
161
|
-
const stopwatch =
|
|
160
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
161
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, "Write package.json file");
|
|
162
162
|
const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
163
163
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
164
164
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -175,13 +175,13 @@ async function generatePackageJson(options) {
|
|
|
175
175
|
throw new Error("Cannot find package.json configuration file");
|
|
176
176
|
}
|
|
177
177
|
let packageJson = JSON.parse(packageJsonFile);
|
|
178
|
-
packageJson = await
|
|
178
|
+
packageJson = await _chunkRB72JOT5js.addPackageDependencies.call(void 0,
|
|
179
179
|
options.workspaceConfig.workspaceRoot,
|
|
180
180
|
options.projectRoot,
|
|
181
181
|
options.projectName,
|
|
182
182
|
packageJson
|
|
183
183
|
);
|
|
184
|
-
packageJson = await
|
|
184
|
+
packageJson = await _chunkRB72JOT5js.addWorkspacePackageJsonFields.call(void 0,
|
|
185
185
|
options.workspaceConfig,
|
|
186
186
|
options.projectRoot,
|
|
187
187
|
options.sourceRoot,
|
|
@@ -191,7 +191,7 @@ async function generatePackageJson(options) {
|
|
|
191
191
|
);
|
|
192
192
|
packageJson.exports ??= {};
|
|
193
193
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
194
|
-
packageJson.exports["."] ??=
|
|
194
|
+
packageJson.exports["."] ??= _chunkRB72JOT5js.addPackageJsonExport.call(void 0,
|
|
195
195
|
"index",
|
|
196
196
|
packageJson.type,
|
|
197
197
|
options.sourceRoot
|
|
@@ -207,7 +207,7 @@ async function generatePackageJson(options) {
|
|
|
207
207
|
const split = entryPoint.out.split(".");
|
|
208
208
|
split.pop();
|
|
209
209
|
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
210
|
-
packageJson.exports[`./${entry2}`] ??=
|
|
210
|
+
packageJson.exports[`./${entry2}`] ??= _chunkRB72JOT5js.addPackageJsonExport.call(void 0,
|
|
211
211
|
entry2,
|
|
212
212
|
options.fixedExtension ? "fixed" : packageJson.type,
|
|
213
213
|
options.sourceRoot
|
|
@@ -232,8 +232,8 @@ async function generatePackageJson(options) {
|
|
|
232
232
|
return options;
|
|
233
233
|
}
|
|
234
234
|
async function executeTSDown(options) {
|
|
235
|
-
|
|
236
|
-
const stopwatch =
|
|
235
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
236
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
237
237
|
await _tsdown.build.call(void 0, {
|
|
238
238
|
...options,
|
|
239
239
|
entry: options.entry,
|
|
@@ -243,12 +243,12 @@ async function executeTSDown(options) {
|
|
|
243
243
|
return options;
|
|
244
244
|
}
|
|
245
245
|
async function copyBuildAssets(options) {
|
|
246
|
-
|
|
246
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
247
247
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
248
248
|
options.workspaceConfig
|
|
249
249
|
);
|
|
250
|
-
const stopwatch =
|
|
251
|
-
await
|
|
250
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
251
|
+
await _chunkRB72JOT5js.copyAssets.call(void 0,
|
|
252
252
|
options.workspaceConfig,
|
|
253
253
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
254
254
|
options.outDir,
|
|
@@ -261,18 +261,18 @@ async function copyBuildAssets(options) {
|
|
|
261
261
|
return options;
|
|
262
262
|
}
|
|
263
263
|
async function reportResults(options) {
|
|
264
|
-
|
|
264
|
+
_chunkIHMF6RANjs.writeSuccess.call(void 0,
|
|
265
265
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
266
266
|
options.workspaceConfig
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
async function cleanOutputPath(options) {
|
|
270
270
|
if (options.clean !== false && options.workspaceConfig) {
|
|
271
|
-
|
|
271
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
272
272
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
273
273
|
options.workspaceConfig
|
|
274
274
|
);
|
|
275
|
-
const stopwatch =
|
|
275
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
276
276
|
await cleanDirectories(
|
|
277
277
|
options.name,
|
|
278
278
|
options.outDir,
|
|
@@ -283,8 +283,8 @@ async function cleanOutputPath(options) {
|
|
|
283
283
|
return options;
|
|
284
284
|
}
|
|
285
285
|
async function build(options) {
|
|
286
|
-
|
|
287
|
-
const stopwatch =
|
|
286
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, ` ${_chunkIHMF6RANjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
|
|
287
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
288
288
|
try {
|
|
289
289
|
const opts = Array.isArray(options) ? options : [options];
|
|
290
290
|
if (opts.length === 0) {
|
|
@@ -304,13 +304,13 @@ async function build(options) {
|
|
|
304
304
|
})
|
|
305
305
|
);
|
|
306
306
|
} else {
|
|
307
|
-
|
|
307
|
+
_chunkIHMF6RANjs.writeWarning.call(void 0,
|
|
308
308
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
309
309
|
);
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
_chunkIHMF6RANjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
312
312
|
} catch (error) {
|
|
313
|
-
|
|
313
|
+
_chunkIHMF6RANjs.writeFatal.call(void 0,
|
|
314
314
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
315
315
|
);
|
|
316
316
|
throw error;
|
|
@@ -321,7 +321,7 @@ async function build(options) {
|
|
|
321
321
|
|
|
322
322
|
// src/executors/tsdown/executor.ts
|
|
323
323
|
async function tsdownExecutorFn(options, context, config) {
|
|
324
|
-
|
|
324
|
+
_chunkIHMF6RANjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
325
325
|
if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
|
|
326
326
|
throw new Error(
|
|
327
327
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -342,7 +342,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
342
342
|
success: true
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
var executor_default =
|
|
345
|
+
var executor_default = _chunkWCTC7R27js.withRunExecutor.call(void 0,
|
|
346
346
|
"Storm TSDown build",
|
|
347
347
|
tsdownExecutorFn,
|
|
348
348
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkBSW6NZVBjs = require('./chunk-BSW6NZVB.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ var _chunkXBKQFZBCjs = require('./chunk-XBKQFZBC.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkIHMF6RANjs = require('./chunk-IHMF6RAN.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
@@ -23,33 +23,33 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
|
|
|
23
23
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
24
24
|
skipReadingConfig: false
|
|
25
25
|
}) => async (tree, _options) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkIHMF6RANjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config;
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
`${
|
|
30
|
+
_chunkIHMF6RANjs.writeInfo.call(void 0,
|
|
31
|
+
`${_chunkIHMF6RANjs.brandIcon.call(void 0, config)} Running the ${name} generator...
|
|
32
32
|
|
|
33
33
|
`,
|
|
34
34
|
config
|
|
35
35
|
);
|
|
36
36
|
const workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, );
|
|
37
37
|
if (!generatorOptions.skipReadingConfig) {
|
|
38
|
-
|
|
38
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0,
|
|
39
39
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
40
40
|
- workspaceRoot: ${workspaceRoot}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
config = await
|
|
43
|
+
config = await _chunkBSW6NZVBjs.getConfig.call(void 0, workspaceRoot);
|
|
44
44
|
}
|
|
45
45
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
46
|
-
|
|
46
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
47
47
|
options = await Promise.resolve(
|
|
48
48
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
49
49
|
);
|
|
50
|
-
|
|
50
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
51
51
|
}
|
|
52
|
-
|
|
52
|
+
_chunkIHMF6RANjs.writeTrace.call(void 0,
|
|
53
53
|
`Generator schema options \u2699\uFE0F
|
|
54
54
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
55
55
|
config
|
|
@@ -60,11 +60,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
60
60
|
_chunkHXQRGLIIjs.applyWorkspaceBaseTokens
|
|
61
61
|
);
|
|
62
62
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
63
|
-
|
|
63
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
64
64
|
await Promise.resolve(
|
|
65
65
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
66
66
|
);
|
|
67
|
-
|
|
67
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
68
68
|
}
|
|
69
69
|
const result = await Promise.resolve(
|
|
70
70
|
generatorFn(tree, tokenized, config)
|
|
@@ -79,21 +79,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
82
|
-
|
|
82
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
83
83
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
84
|
-
|
|
84
|
+
_chunkIHMF6RANjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
85
85
|
}
|
|
86
86
|
return () => {
|
|
87
|
-
|
|
87
|
+
_chunkIHMF6RANjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
88
88
|
`, config);
|
|
89
89
|
};
|
|
90
90
|
} catch (error) {
|
|
91
91
|
return () => {
|
|
92
|
-
|
|
92
|
+
_chunkIHMF6RANjs.writeFatal.call(void 0,
|
|
93
93
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
94
94
|
config
|
|
95
95
|
);
|
|
96
|
-
|
|
96
|
+
_chunkIHMF6RANjs.writeError.call(void 0,
|
|
97
97
|
`An exception was thrown in the generator's process
|
|
98
98
|
- Details: ${error.message}
|
|
99
99
|
- Stacktrace: ${error.stack}`,
|
|
@@ -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 _chunkBSW6NZVBjs = require('./chunk-BSW6NZVB.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 _chunkBSW6NZVBjs.getWorkspaceConfig.call(void 0, );
|
|
28
28
|
return super.init(tree);
|
|
29
29
|
}
|
|
30
30
|
/**
|