@storm-software/workspace-tools 1.277.19 → 1.277.20
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 +17 -0
- package/README.md +1 -1
- package/dist/{chunk-FD42BMRE.mjs → chunk-2ZQMKGGX.mjs} +2 -2
- package/dist/{chunk-YXO7QCSQ.mjs → chunk-3ELPBLDU.mjs} +1 -1
- package/dist/{chunk-VZRVKVAO.mjs → chunk-4H77H37J.mjs} +2 -2
- package/dist/{chunk-FVTAYG7C.js → chunk-4OOJ3GQ6.js} +5 -5
- package/dist/{chunk-WZBBSDC4.js → chunk-67OBU6I4.js} +5 -5
- package/dist/{chunk-4FSINBV3.mjs → chunk-6JODU3UZ.mjs} +1 -1
- package/dist/{chunk-B5JNWTUG.js → chunk-6YH3FSFC.js} +16 -16
- package/dist/{chunk-LJOPJGFV.js → chunk-7XMK3ECW.js} +9 -9
- package/dist/{chunk-XCCNQQVX.js → chunk-AM4B2KNF.js} +2 -2
- package/dist/{chunk-OH7KAS54.js → chunk-APTVAHTM.js} +20 -20
- package/dist/{chunk-BZLV3DUU.mjs → chunk-B763DIW7.mjs} +3 -3
- package/dist/{chunk-W46VGGTY.mjs → chunk-BKARW2WP.mjs} +1 -1
- package/dist/{chunk-LOWIHCCA.js → chunk-BUYGDZSJ.js} +2 -2
- package/dist/{chunk-W765XU7F.mjs → chunk-CBMBAS6W.mjs} +1 -1
- package/dist/{chunk-ZBDSKCSB.js → chunk-CRY4A4IS.js} +32 -32
- package/dist/{chunk-ENUKNYFH.mjs → chunk-CUDLNZFJ.mjs} +1 -1
- package/dist/{chunk-NI6UCWBQ.mjs → chunk-D6UJ4HUZ.mjs} +2 -2
- package/dist/{chunk-WIFN7LM3.js → chunk-DM7RP67R.js} +2 -2
- package/dist/{chunk-WVGU3B2X.mjs → chunk-EWMCP653.mjs} +1 -1
- package/dist/{chunk-I5PFQ32U.js → chunk-FDZOCMGE.js} +2 -2
- package/dist/{chunk-T7CP3UFW.js → chunk-FWDXHMEK.js} +2 -2
- package/dist/{chunk-HIKE6ACN.mjs → chunk-GACEKLVS.mjs} +1 -1
- package/dist/{chunk-KWQYMPVY.js → chunk-H4NK5SAE.js} +2 -2
- package/dist/{chunk-LLXQNI4V.mjs → chunk-H7K7JUH3.mjs} +2 -2
- package/dist/{chunk-64SHSYAR.js → chunk-HA4W5J3L.js} +2 -3
- package/dist/{chunk-625KHBUR.js → chunk-HS7VVWGE.js} +2 -2
- package/dist/{chunk-X3ST5ZXI.mjs → chunk-HXYWGXOB.mjs} +1 -1
- package/dist/{chunk-GPAH2XUM.js → chunk-JY3FVWEU.js} +2 -2
- package/dist/{chunk-L3U7C6IX.js → chunk-LKEZCTL4.js} +2 -2
- package/dist/{chunk-DAZ45RAJ.js → chunk-MEWDABJB.js} +2 -2
- package/dist/{chunk-WXTBIQEB.mjs → chunk-OTPG33ZD.mjs} +1 -1
- package/dist/{chunk-NQG6PZSU.mjs → chunk-PPI665B7.mjs} +1 -1
- package/dist/{chunk-YNLVMQVP.js → chunk-Q2LFHRXR.js} +2 -2
- package/dist/{chunk-Z2XCY6HJ.mjs → chunk-R4RBCES4.mjs} +3 -3
- package/dist/{chunk-5ZESKANL.mjs → chunk-S63NJ54N.mjs} +1 -1
- package/dist/{chunk-XKAAYYJP.mjs → chunk-SOAXLDDB.mjs} +2 -3
- package/dist/{chunk-RY74FLHL.mjs → chunk-THCFFGCH.mjs} +1 -1
- package/dist/{chunk-7BNGAODN.js → chunk-U4NE2FOI.js} +2 -2
- package/dist/{chunk-MLMJVWDN.js → chunk-VNFKHT7G.js} +2 -2
- package/dist/{chunk-YNB77CQX.js → chunk-WC6B6ERL.js} +21 -21
- package/dist/{chunk-TI2SPALA.mjs → chunk-WFF5YHRP.mjs} +2 -2
- package/dist/{chunk-F2BM22QJ.mjs → chunk-XOL2OC2B.mjs} +2 -2
- package/dist/{chunk-DEGG3GC3.js → chunk-Y3FGWNNB.js} +4 -4
- package/dist/{chunk-XBDORAQU.mjs → chunk-YJWSOLY6.mjs} +1 -1
- package/dist/{chunk-KOLNKKQ5.mjs → chunk-YLB53OQG.mjs} +1 -1
- package/dist/{chunk-INDS3IGH.js → chunk-YTALFDTV.js} +20 -20
- package/dist/{executor-D78UOdZp.d.ts → executor-BKGHjrPT.d.ts} +1 -1
- package/dist/{executor-iDg2nqkl.d.mts → executor-CGTsha7t.d.mts} +1 -1
- package/dist/{executor-CGjlyWgF.d.ts → executor-CNcQpUFx.d.ts} +1 -1
- package/dist/{executor-Ba3KVE-E.d.mts → executor-CZZ9eBEt.d.mts} +1 -1
- package/dist/{executor-9e4OKS-a.d.mts → executor-CtA9vyAd.d.mts} +1 -1
- package/dist/{executor-DY-b5GfX.d.ts → executor-D6Hqra7r.d.ts} +1 -1
- package/dist/{executor-97Yxd9dE.d.mts → executor-DFhr-0jt.d.mts} +1 -1
- package/dist/{executor-BWxkTnzl.d.ts → executor-LR45XLVO.d.ts} +1 -1
- package/dist/executors.d.mts +5 -5
- package/dist/executors.d.ts +5 -5
- package/dist/executors.js +17 -17
- package/dist/executors.mjs +21 -21
- package/dist/{generator-CDZ9jZ8e.d.mts → generator-A3oNtvrm.d.mts} +2 -2
- package/dist/{generator-D672VCu5.d.ts → generator-B4gcglEv.d.ts} +2 -2
- package/dist/{generator-rPHWIoRk.d.mts → generator-B6WLqjc0.d.mts} +2 -2
- package/dist/{generator-DppLXOou.d.mts → generator-BN6dvDuW.d.mts} +1 -1
- package/dist/{generator-ATrapSkV.d.ts → generator-CHMsjcnn.d.ts} +1 -1
- package/dist/{generator-BCtSUPJx.d.ts → generator-CLozYalA.d.ts} +2 -2
- package/dist/{generator-qV7t2ZUx.d.ts → generator-Ca_o3ijT.d.ts} +2 -2
- package/dist/{generator-DXNeL8YG.d.mts → generator-Ckkhxzbg.d.mts} +2 -2
- package/dist/{generator-T6mKvAuP.d.mts → generator-DA5lU8Ks.d.mts} +2 -2
- package/dist/{generator-BvBEzfvz.d.ts → generator-Dqd1O04H.d.ts} +1 -1
- package/dist/{generator-lTDdrLpW.d.ts → generator-LxyZX4w_.d.ts} +2 -2
- package/dist/{generator-DCeTD30X.d.mts → generator-hYXoCXuR.d.mts} +1 -1
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +12 -12
- package/dist/generators.mjs +12 -12
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +25 -25
- package/dist/index.mjs +30 -30
- package/dist/src/base/base-executor.d.mts +2 -2
- package/dist/src/base/base-executor.d.ts +2 -2
- package/dist/src/base/base-executor.js +4 -4
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-generator.d.mts +2 -2
- package/dist/src/base/base-generator.d.ts +2 -2
- package/dist/src/base/base-generator.js +4 -4
- package/dist/src/base/base-generator.mjs +3 -3
- package/dist/src/base/index.d.mts +2 -2
- package/dist/src/base/index.d.ts +2 -2
- package/dist/src/base/index.js +5 -5
- package/dist/src/base/index.mjs +4 -4
- package/dist/src/executors/cargo-build/executor.js +5 -5
- package/dist/src/executors/cargo-build/executor.mjs +4 -4
- package/dist/src/executors/cargo-check/executor.js +5 -5
- package/dist/src/executors/cargo-check/executor.mjs +4 -4
- package/dist/src/executors/cargo-clippy/executor.js +5 -5
- package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
- package/dist/src/executors/cargo-doc/executor.js +5 -5
- package/dist/src/executors/cargo-doc/executor.mjs +4 -4
- package/dist/src/executors/cargo-format/executor.js +5 -5
- package/dist/src/executors/cargo-format/executor.mjs +4 -4
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/clean-package/executor.d.mts +1 -1
- package/dist/src/executors/clean-package/executor.d.ts +1 -1
- package/dist/src/executors/clean-package/executor.js +6 -6
- package/dist/src/executors/clean-package/executor.mjs +3 -3
- package/dist/src/executors/esbuild/executor.d.mts +2 -2
- package/dist/src/executors/esbuild/executor.d.ts +2 -2
- package/dist/src/executors/esbuild/executor.js +5 -5
- package/dist/src/executors/esbuild/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/executor.js +5 -5
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/size-limit/executor.d.mts +2 -2
- package/dist/src/executors/size-limit/executor.d.ts +2 -2
- package/dist/src/executors/size-limit/executor.js +5 -5
- package/dist/src/executors/size-limit/executor.mjs +4 -4
- package/dist/src/executors/typia/executor.d.mts +2 -2
- package/dist/src/executors/typia/executor.d.ts +2 -2
- package/dist/src/executors/typia/executor.js +5 -5
- package/dist/src/executors/typia/executor.mjs +4 -4
- package/dist/src/executors/unbuild/executor.d.mts +2 -2
- package/dist/src/executors/unbuild/executor.d.ts +2 -2
- package/dist/src/executors/unbuild/executor.js +5 -5
- package/dist/src/executors/unbuild/executor.mjs +4 -4
- package/dist/src/generators/browser-library/generator.d.mts +3 -3
- package/dist/src/generators/browser-library/generator.d.ts +3 -3
- package/dist/src/generators/browser-library/generator.js +5 -5
- package/dist/src/generators/browser-library/generator.mjs +4 -4
- package/dist/src/generators/config-schema/generator.d.mts +3 -3
- package/dist/src/generators/config-schema/generator.d.ts +3 -3
- package/dist/src/generators/config-schema/generator.js +5 -5
- package/dist/src/generators/config-schema/generator.mjs +4 -4
- package/dist/src/generators/neutral-library/generator.d.mts +3 -3
- package/dist/src/generators/neutral-library/generator.d.ts +3 -3
- package/dist/src/generators/neutral-library/generator.js +5 -5
- package/dist/src/generators/neutral-library/generator.mjs +4 -4
- package/dist/src/generators/node-library/generator.d.mts +3 -3
- package/dist/src/generators/node-library/generator.d.ts +3 -3
- package/dist/src/generators/node-library/generator.js +5 -5
- package/dist/src/generators/node-library/generator.mjs +4 -4
- package/dist/src/generators/preset/generator.d.mts +3 -3
- package/dist/src/generators/preset/generator.d.ts +3 -3
- package/dist/src/generators/preset/generator.js +5 -5
- package/dist/src/generators/preset/generator.mjs +4 -4
- package/dist/src/generators/release-version/generator.d.mts +2 -2
- package/dist/src/generators/release-version/generator.d.ts +2 -2
- package/dist/src/generators/release-version/generator.js +5 -5
- package/dist/src/generators/release-version/generator.mjs +4 -4
- package/dist/src/types.d.mts +2 -2
- package/dist/src/types.d.ts +2 -2
- package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
- package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
- package/dist/src/utils/index.d.mts +2 -2
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/src/utils/index.js +4 -4
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/package-helpers.js +4 -4
- package/dist/src/utils/package-helpers.mjs +3 -3
- package/dist/src/utils/project-tags.d.mts +2 -2
- package/dist/src/utils/project-tags.d.ts +2 -2
- package/dist/{types-3slkSauM.d.mts → types-BFiF7NeK.d.mts} +1 -1
- package/dist/{types-DscpeVRC.d.ts → types-Bm4Fk9Mi.d.ts} +1 -1
- package/dist/{types-BXb2-oYY.d.mts → types-D6_s01MD.d.mts} +2 -2
- package/dist/{types-BXb2-oYY.d.ts → types-D6_s01MD.d.ts} +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.19](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.19) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **config:** Update implementation to use `zod` v4
|
|
10
|
+
([7ad01d561](https://github.com/storm-software/storm-ops/commit/7ad01d561))
|
|
11
|
+
- **monorepo:** Update links and `zod` to v4
|
|
12
|
+
([fbdb2f1e6](https://github.com/storm-software/storm-ops/commit/fbdb2f1e6))
|
|
13
|
+
- **monorepo:** Regenerate README markdown files
|
|
14
|
+
([113ca7595](https://github.com/storm-software/storm-ops/commit/113ca7595))
|
|
15
|
+
|
|
16
|
+
### Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- Updated prettier to 0.51.45
|
|
19
|
+
- Updated esbuild to 0.45.32
|
|
20
|
+
- Updated unbuild to 0.49.43
|
|
21
|
+
|
|
5
22
|
## [1.277.18](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.18) (2025-07-10)
|
|
6
23
|
|
|
7
24
|
### 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 -->
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XOL2OC2B.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SOAXLDDB.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.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
|
+
_chunkHA4W5J3Ljs.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
|
+
_chunkHA4W5J3Ljs.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 = _chunkWC6B6ERLjs.withRunExecutor.call(void 0,
|
|
31
31
|
"Typia runtime validation generator",
|
|
32
32
|
typiaExecutorFn,
|
|
33
33
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.js');
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
var _devkit = require('@nx/devkit');
|
|
@@ -17,14 +17,14 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
17
17
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
_chunkHA4W5J3Ljs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
21
21
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
22
22
|
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
23
23
|
_nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
|
|
24
24
|
"src"
|
|
25
25
|
)))
|
|
26
26
|
}).then((result) => {
|
|
27
|
-
|
|
27
|
+
_chunkHA4W5J3Ljs.writeInfo.call(void 0,
|
|
28
28
|
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
29
29
|
config
|
|
30
30
|
);
|
|
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
33
33
|
success: true
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
var executor_default =
|
|
36
|
+
var executor_default = _chunkWC6B6ERLjs.withRunExecutor.call(void 0,
|
|
37
37
|
"Size-Limit Performance Test Executor",
|
|
38
38
|
sizeLimitExecutorFn,
|
|
39
39
|
{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAPTVAHTMjs = require('./chunk-APTVAHTM.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ var _chunkOH7KAS54js = require('./chunk-OH7KAS54.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -22,30 +22,30 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
|
22
22
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
23
23
|
skipReadingConfig: false
|
|
24
24
|
}) => async (tree, _options) => {
|
|
25
|
-
const stopwatch =
|
|
25
|
+
const stopwatch = _chunkHA4W5J3Ljs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config;
|
|
28
28
|
try {
|
|
29
|
-
|
|
29
|
+
_chunkHA4W5J3Ljs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
30
30
|
|
|
31
31
|
`, config);
|
|
32
32
|
const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
|
|
33
33
|
if (!generatorOptions.skipReadingConfig) {
|
|
34
|
-
|
|
34
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0,
|
|
35
35
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
36
36
|
- workspaceRoot: ${workspaceRoot}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
config = await
|
|
39
|
+
config = await _chunkAPTVAHTMjs.getConfig.call(void 0, workspaceRoot);
|
|
40
40
|
}
|
|
41
41
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
42
|
-
|
|
42
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
43
43
|
options = await Promise.resolve(
|
|
44
44
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
_chunkHA4W5J3Ljs.writeTrace.call(void 0,
|
|
49
49
|
`Generator schema options \u2699\uFE0F
|
|
50
50
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
51
51
|
config
|
|
@@ -56,11 +56,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
56
56
|
_chunkJ2Z4WP3Ejs.applyWorkspaceBaseTokens
|
|
57
57
|
);
|
|
58
58
|
if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
|
|
59
|
-
|
|
59
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
60
60
|
await Promise.resolve(
|
|
61
61
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
62
62
|
);
|
|
63
|
-
|
|
63
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
64
64
|
}
|
|
65
65
|
const result = await Promise.resolve(
|
|
66
66
|
generatorFn(tree, tokenized, config)
|
|
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
|
|
78
|
-
|
|
78
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
79
79
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
80
|
-
|
|
80
|
+
_chunkHA4W5J3Ljs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
81
81
|
}
|
|
82
82
|
return () => {
|
|
83
|
-
|
|
83
|
+
_chunkHA4W5J3Ljs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
84
84
|
`, config);
|
|
85
85
|
};
|
|
86
86
|
} catch (error) {
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
_chunkHA4W5J3Ljs.writeFatal.call(void 0,
|
|
89
89
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
90
90
|
config
|
|
91
91
|
);
|
|
92
|
-
|
|
92
|
+
_chunkHA4W5J3Ljs.writeError.call(void 0,
|
|
93
93
|
`An exception was thrown in the generator's process
|
|
94
94
|
- Details: ${error.message}
|
|
95
95
|
- Stacktrace: ${error.stack}`,
|
|
@@ -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 _chunk6YH3FSFCjs = require('./chunk-6YH3FSFC.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.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 _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
|
|
17
17
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
18
|
-
|
|
18
|
+
_chunkHA4W5J3Ljs.writeInfo.call(void 0,
|
|
19
19
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
20
20
|
config
|
|
21
21
|
);
|
|
22
|
-
|
|
22
|
+
_chunkHA4W5J3Ljs.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(_chunkHA4W5J3Ljs.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
|
+
_chunkHA4W5J3Ljs.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
|
+
_chunkHA4W5J3Ljs.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
|
+
_chunkHA4W5J3Ljs.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 = _chunk6YH3FSFCjs.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});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLKEZCTL4js = require('./chunk-LKEZCTL4.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: _chunkLKEZCTL4js.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,
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkHA4W5J3Ljs = require('./chunk-HA4W5J3L.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
68
68
|
let config = result.config;
|
|
69
69
|
const configFile = result.configFile;
|
|
70
70
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
71
|
-
|
|
71
|
+
_chunkHA4W5J3Ljs.writeTrace.call(void 0,
|
|
72
72
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
73
73
|
{
|
|
74
74
|
logLevel: "all"
|
|
@@ -84,7 +84,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
84
84
|
for (const result2 of results) {
|
|
85
85
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
86
86
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
87
|
-
|
|
87
|
+
_chunkHA4W5J3Ljs.writeTrace.call(void 0,
|
|
88
88
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
89
89
|
{
|
|
90
90
|
logLevel: "all"
|
|
@@ -192,13 +192,13 @@ var getConfigEnv = () => {
|
|
|
192
192
|
},
|
|
193
193
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
194
194
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
195
|
-
) ?
|
|
195
|
+
) ? _chunkHA4W5J3Ljs.getLogLevelLabel.call(void 0,
|
|
196
196
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
197
197
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
198
198
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
199
199
|
};
|
|
200
200
|
const themeNames = Object.keys(process.env).filter(
|
|
201
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
201
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkHA4W5J3Ljs.COLOR_KEYS.every(
|
|
202
202
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
203
203
|
)
|
|
204
204
|
);
|
|
@@ -209,16 +209,16 @@ var getConfigEnv = () => {
|
|
|
209
209
|
},
|
|
210
210
|
{}
|
|
211
211
|
) : getThemeColorConfigEnv(prefix);
|
|
212
|
-
if (config.docs ===
|
|
213
|
-
if (config.homepage ===
|
|
214
|
-
config.docs = `${
|
|
212
|
+
if (config.docs === _chunkHA4W5J3Ljs.STORM_DEFAULT_DOCS) {
|
|
213
|
+
if (config.homepage === _chunkHA4W5J3Ljs.STORM_DEFAULT_HOMEPAGE) {
|
|
214
|
+
config.docs = `${_chunkHA4W5J3Ljs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
215
215
|
} else {
|
|
216
216
|
config.docs = `${config.homepage}/docs`;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
if (config.licensing ===
|
|
220
|
-
if (config.homepage ===
|
|
221
|
-
config.licensing = `${
|
|
219
|
+
if (config.licensing === _chunkHA4W5J3Ljs.STORM_DEFAULT_LICENSING) {
|
|
220
|
+
if (config.homepage === _chunkHA4W5J3Ljs.STORM_DEFAULT_HOMEPAGE) {
|
|
221
|
+
config.licensing = `${_chunkHA4W5J3Ljs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
222
222
|
} else {
|
|
223
223
|
config.licensing = `${config.homepage}/docs`;
|
|
224
224
|
}
|
|
@@ -514,9 +514,9 @@ var setConfigEnv = (config) => {
|
|
|
514
514
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
515
515
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
516
516
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
517
|
-
|
|
517
|
+
_chunkHA4W5J3Ljs.getLogLevel.call(void 0, config.logLevel) >= _chunkHA4W5J3Ljs.LogLevel.DEBUG ? true : false
|
|
518
518
|
);
|
|
519
|
-
process.env.RUST_BACKTRACE =
|
|
519
|
+
process.env.RUST_BACKTRACE = _chunkHA4W5J3Ljs.getLogLevel.call(void 0, config.logLevel) >= _chunkHA4W5J3Ljs.LogLevel.DEBUG ? "full" : "none";
|
|
520
520
|
}
|
|
521
521
|
if (config.skipConfigLogging !== void 0) {
|
|
522
522
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -642,7 +642,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
642
642
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
643
643
|
if (!configFile) {
|
|
644
644
|
if (!skipLogs) {
|
|
645
|
-
|
|
645
|
+
_chunkHA4W5J3Ljs.writeWarning.call(void 0,
|
|
646
646
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
647
647
|
{ logLevel: "all" }
|
|
648
648
|
);
|
|
@@ -651,22 +651,22 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
651
651
|
return void 0;
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
|
-
const defaultConfig = await
|
|
654
|
+
const defaultConfig = await _chunkHA4W5J3Ljs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
655
655
|
const configInput = _defu2.default.call(void 0,
|
|
656
656
|
configEnv,
|
|
657
657
|
configFile,
|
|
658
658
|
defaultConfig
|
|
659
659
|
);
|
|
660
660
|
try {
|
|
661
|
-
result =
|
|
662
|
-
await
|
|
661
|
+
result = _chunkHA4W5J3Ljs.applyDefaultConfig.call(void 0,
|
|
662
|
+
await _chunkHA4W5J3Ljs.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
663
663
|
);
|
|
664
664
|
result.workspaceRoot ??= _workspaceRoot;
|
|
665
665
|
} catch (error) {
|
|
666
666
|
throw new Error(
|
|
667
667
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _31 => _31.message]) ? `: ${error.message}` : ""}
|
|
668
668
|
|
|
669
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
669
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkHA4W5J3Ljs.formatLogMessage.call(void 0,
|
|
670
670
|
configInput
|
|
671
671
|
)}`,
|
|
672
672
|
{
|
|
@@ -711,9 +711,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
711
711
|
);
|
|
712
712
|
setConfigEnv(config);
|
|
713
713
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
714
|
-
|
|
714
|
+
_chunkHA4W5J3Ljs.writeTrace.call(void 0,
|
|
715
715
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
716
|
-
${
|
|
716
|
+
${_chunkHA4W5J3Ljs.formatLogMessage.call(void 0, config)}`,
|
|
717
717
|
config
|
|
718
718
|
);
|
|
719
719
|
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseCargoToml,
|
|
4
4
|
parseCargoTomlWithTree,
|
|
5
5
|
stringifyCargoToml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6JODU3UZ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YLB53OQG.mjs";
|
|
10
10
|
import {
|
|
11
11
|
getStopwatch,
|
|
12
12
|
writeDebug,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SOAXLDDB.mjs";
|
|
19
19
|
import {
|
|
20
20
|
findWorkspaceRoot
|
|
21
21
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkWC6B6ERLjs = require('./chunk-WC6B6ERL.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 = _chunkWC6B6ERLjs.withRunExecutor.call(void 0,
|
|
18
18
|
"Cargo - Doc",
|
|
19
19
|
cargoDocExecutor,
|
|
20
20
|
{
|