@storm-software/workspace-tools 1.277.22 → 1.277.23
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 +18 -0
- package/README.md +1 -2
- package/dist/{chunk-U7D7Q4IT.mjs → chunk-2KDBMTM6.mjs} +1 -1
- package/dist/{chunk-NBBCXFOJ.mjs → chunk-2SY5D3PI.mjs} +2 -2
- package/dist/{chunk-MBKM3SN7.js → chunk-3HCKYB27.js} +16 -16
- package/dist/{chunk-Z2V3ZPFR.js → chunk-3TR75B5Z.js} +32 -32
- package/dist/{chunk-4WZFXP2O.mjs → chunk-3VAXOI6B.mjs} +3 -3
- package/dist/{chunk-O4DLIN2W.mjs → chunk-4K34KET6.mjs} +1 -1
- package/dist/{chunk-SQ2TS6XE.mjs → chunk-55KY4AT3.mjs} +1 -1
- package/dist/{chunk-6UBUJUQH.js → chunk-5J72IVMZ.js} +20 -20
- package/dist/{chunk-DNNAP4CE.js → chunk-5RD2NO7O.js} +2 -2
- package/dist/{chunk-DAJPQEJO.js → chunk-5RIQD3HN.js} +2 -2
- package/dist/{chunk-DJICFY6F.mjs → chunk-5S276C2K.mjs} +2 -2
- package/dist/{chunk-6FOLVRTW.js → chunk-5UKWSHUW.js} +2 -2
- package/dist/{chunk-KIZZ6VCO.mjs → chunk-5WYV3465.mjs} +2 -2
- package/dist/{chunk-7ZMRNLIG.mjs → chunk-AQ434FMF.mjs} +1 -1
- package/dist/{chunk-3VPPPSZJ.mjs → chunk-AZFC3V6U.mjs} +1 -1
- package/dist/{chunk-RFMOPPYB.js → chunk-BYFYLNUZ.js} +2 -2
- package/dist/{chunk-TDIQZPRW.js → chunk-CJ3DVM3K.js} +2 -2
- package/dist/{chunk-EFSIKZPZ.js → chunk-CRKJWAVI.js} +4 -4
- package/dist/{chunk-PYLXW352.js → chunk-DDNMGN4P.js} +2 -2
- package/dist/{chunk-OF2LAEFN.mjs → chunk-EJXP3VUY.mjs} +1 -1
- package/dist/{chunk-TWGH554B.js → chunk-EXKBH3RZ.js} +5 -5
- package/dist/{chunk-KLRJKFDB.mjs → chunk-EZMKL4CV.mjs} +1 -1
- package/dist/{chunk-FCO3PM7I.mjs → chunk-GRZ4BTQO.mjs} +3 -3
- package/dist/{chunk-V6X3DTFD.mjs → chunk-JB2MEOFA.mjs} +1 -1
- package/dist/{chunk-JP7P7IWH.js → chunk-JJIKPU3E.js} +2 -2
- package/dist/{chunk-VMABMTZ7.mjs → chunk-KHCLYPHZ.mjs} +1 -1
- package/dist/{chunk-DEFXNQVU.js → chunk-KWE63DHK.js} +2 -2
- package/dist/{chunk-FRKMFXFI.mjs → chunk-MWYUW3QE.mjs} +1 -1
- package/dist/{chunk-AF4BDJPL.mjs → chunk-N7ZQWYNX.mjs} +1 -1
- package/dist/{chunk-ZPHNYJ7Q.mjs → chunk-ORFONJ7T.mjs} +1 -1
- package/dist/{chunk-IM4OGVNE.js → chunk-PEU7SFRD.js} +20 -20
- package/dist/{chunk-NUIU6UH7.js → chunk-PYFRC2MV.js} +9 -9
- package/dist/{chunk-XROORLPB.mjs → chunk-QYWWSN2L.mjs} +2 -2
- package/dist/{chunk-VUUPX2SY.js → chunk-RL3S6XUB.js} +1 -1
- package/dist/{chunk-5W2L6BUJ.js → chunk-S342OMNG.js} +2 -2
- package/dist/{chunk-CD6IOBJJ.js → chunk-SHPH36H4.js} +2 -2
- package/dist/{chunk-PULA6GEQ.mjs → chunk-T2P2Z3E5.mjs} +2 -2
- package/dist/{chunk-LFVP3B6H.mjs → chunk-T367LPMJ.mjs} +2 -2
- package/dist/{chunk-2MRYHFCM.js → chunk-TUBBQE2B.js} +2 -2
- package/dist/{chunk-PNWYNSXD.mjs → chunk-U5H575C6.mjs} +1 -1
- package/dist/{chunk-ZBVPKR6Y.js → chunk-UEKL4ZBE.js} +2 -2
- package/dist/{chunk-EEYIBE4L.mjs → chunk-UMJOCQVM.mjs} +1 -1
- package/dist/{chunk-EN6KGGKB.js → chunk-VAIVDQCB.js} +2 -2
- package/dist/{chunk-YGVRQEXU.js → chunk-X2DQATNQ.js} +21 -21
- package/dist/{chunk-PR3UANNQ.js → chunk-XEZ6HF6D.js} +5 -5
- package/dist/{chunk-BCYOPXLA.mjs → chunk-XOODDLD5.mjs} +1 -1
- package/dist/{executor-3sktbmqF.d.ts → executor-85-gelUV.d.ts} +1 -1
- package/dist/{executor-VMS0L5L8.d.ts → executor-BNOormNj.d.ts} +1 -1
- package/dist/{executor-Ch9mLoP0.d.mts → executor-BOSAIw2U.d.mts} +1 -1
- package/dist/{executor-D4KbWYVQ.d.mts → executor-CnsG5-PG.d.mts} +1 -1
- package/dist/{executor-B3sTsyLH.d.mts → executor-DJ1OHE0u.d.mts} +1 -1
- package/dist/{executor-CN_ugRaf.d.mts → executor-DRwohIig.d.mts} +1 -1
- package/dist/{executor-1igQlh9l.d.ts → executor-DfXDHUQp.d.ts} +1 -1
- package/dist/{executor-DymP9k50.d.ts → executor-q9_8LrvX.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 +18 -18
- package/dist/{generator-CmpLS-2N.d.mts → generator-BB21pYLa.d.mts} +1 -1
- package/dist/{generator-uLurmips.d.mts → generator-BUsRHld1.d.mts} +2 -2
- package/dist/{generator-BIQdsJXF.d.ts → generator-Be8tz_e_.d.ts} +2 -2
- package/dist/{generator-DabZeYX6.d.mts → generator-C1bQzXNi.d.mts} +2 -2
- package/dist/{generator-fOdHOpeP.d.ts → generator-CI0jEcl2.d.ts} +2 -2
- package/dist/{generator-Cfx5DY8l.d.ts → generator-CYB_jETx.d.ts} +1 -1
- package/dist/{generator-gPXc0ptC.d.ts → generator-Chux7y0F.d.ts} +1 -1
- package/dist/{generator-C1elI8nT.d.ts → generator-CwlKBBMn.d.ts} +2 -2
- package/dist/{generator-YQnJUqvw.d.mts → generator-DLbQ7xh2.d.mts} +2 -2
- package/dist/{generator-u2qO2fQ8.d.mts → generator-DgqXHHOr.d.mts} +1 -1
- package/dist/{generator-C5I76JrN.d.ts → generator-DwrR8IUN.d.ts} +2 -2
- package/dist/{generator-CK3WzBhA.d.mts → generator-fxlugQLz.d.mts} +2 -2
- package/dist/generators.d.mts +8 -8
- package/dist/generators.d.ts +8 -8
- package/dist/generators.js +11 -11
- package/dist/generators.mjs +12 -12
- package/dist/index.d.mts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +24 -24
- package/dist/index.mjs +27 -27
- 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-build/schema.d.ts +86 -0
- 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-check/schema.d.ts +89 -0
- package/dist/src/executors/cargo-check/schema.json +88 -0
- 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-clippy/schema.d.ts +97 -0
- package/dist/src/executors/cargo-clippy/schema.json +94 -0
- 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-doc/schema.d.ts +125 -0
- package/dist/src/executors/cargo-doc/schema.json +164 -0
- 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-format/schema.d.ts +89 -0
- package/dist/src/executors/cargo-format/schema.json +88 -0
- package/dist/src/executors/cargo-publish/executor.js +4 -4
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/cargo-publish/schema.d.ts +115 -0
- package/dist/src/executors/cargo-publish/schema.json +107 -0
- 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/clean-package/schema.d.ts +60 -0
- package/dist/src/executors/clean-package/schema.json +57 -0
- 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/esbuild/schema.d.ts +137 -0
- package/dist/src/executors/esbuild/schema.json +165 -0
- package/dist/src/executors/npm-publish/executor.js +5 -5
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/schema.d.ts +68 -0
- package/dist/src/executors/npm-publish/schema.json +61 -0
- 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/size-limit/schema.d.ts +25 -0
- package/dist/src/executors/size-limit/schema.json +29 -0
- 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/typia/schema.d.ts +48 -0
- package/dist/src/executors/typia/schema.json +57 -0
- 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/executors/unbuild/schema.d.ts +258 -0
- package/dist/src/executors/unbuild/schema.json +301 -0
- 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/browser-library/schema.d.ts +122 -0
- package/dist/src/generators/browser-library/schema.json +117 -0
- 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/config-schema/schema.d.ts +23 -0
- package/dist/src/generators/config-schema/schema.json +24 -0
- package/dist/src/generators/init/schema.d.ts +14 -0
- package/dist/src/generators/init/schema.json +15 -0
- 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/neutral-library/schema.d.ts +122 -0
- package/dist/src/generators/neutral-library/schema.json +116 -0
- 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/node-library/schema.d.ts +122 -0
- package/dist/src/generators/node-library/schema.json +117 -0
- 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/preset/schema.d.ts +101 -0
- package/dist/src/generators/preset/schema.json +96 -0
- 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/generators/release-version/schema.d.ts +180 -0
- package/dist/src/generators/release-version/schema.json +158 -0
- 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-CWx-r5iU.d.mts → types-BYB4R0LJ.d.mts} +1 -1
- package/dist/{types-CWx-r5iU.d.ts → types-BYB4R0LJ.d.ts} +1 -1
- package/dist/{types-Dw924FOc.d.mts → types-CZV1rPn5.d.mts} +1 -1
- package/dist/{types-Bsun9g7f.d.ts → types-Zk-WdIrG.d.ts} +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.277.22](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.22) (2025-07-11)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Ensure the correct `zod` version is used in all packages
|
|
10
|
+
([029702308](https://github.com/storm-software/storm-ops/commit/029702308))
|
|
11
|
+
|
|
12
|
+
### Miscellaneous
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([c13e76556](https://github.com/storm-software/storm-ops/commit/c13e76556))
|
|
16
|
+
|
|
17
|
+
### Updated Dependencies
|
|
18
|
+
|
|
19
|
+
- Updated prettier to 0.51.48
|
|
20
|
+
- Updated esbuild to 0.45.35
|
|
21
|
+
- Updated unbuild to 0.49.46
|
|
22
|
+
|
|
5
23
|
## [1.277.21](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.277.21) (2025-07-10)
|
|
6
24
|
|
|
7
25
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
-
|
|
44
43
|
## Table of Contents
|
|
45
44
|
|
|
46
45
|
- [Storm Workspace Tools](#storm-workspace-tools)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5WYV3465.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XOODDLD5.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/size-limit/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5J72IVMZjs = require('./chunk-5J72IVMZ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ var _chunk6UBUJUQHjs = require('./chunk-6UBUJUQH.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkRL3S6XUBjs = require('./chunk-RL3S6XUB.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 = _chunkRL3S6XUBjs.getStopwatch.call(void 0, name);
|
|
26
26
|
let options = _options;
|
|
27
27
|
let config;
|
|
28
28
|
try {
|
|
29
|
-
|
|
29
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.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 _chunk5J72IVMZjs.getConfig.call(void 0, workspaceRoot);
|
|
40
40
|
}
|
|
41
41
|
if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
|
|
42
|
-
|
|
42
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
79
79
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
80
|
-
|
|
80
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
81
81
|
}
|
|
82
82
|
return () => {
|
|
83
|
-
|
|
83
|
+
_chunkRL3S6XUBjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
84
84
|
`, config);
|
|
85
85
|
};
|
|
86
86
|
} catch (error) {
|
|
87
87
|
return () => {
|
|
88
|
-
|
|
88
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.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,9 +1,9 @@
|
|
|
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 _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 _chunkX2DQATNQjs = require('./chunk-X2DQATNQ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk5J72IVMZjs = require('./chunk-5J72IVMZ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ var _chunk6UBUJUQHjs = require('./chunk-6UBUJUQH.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkRL3S6XUBjs = require('./chunk-RL3S6XUB.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
|
|
@@ -82,7 +82,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
82
82
|
output: "src/"
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
|
|
85
|
+
_chunkRL3S6XUBjs.writeTrace.call(void 0,
|
|
86
86
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
87
87
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk53DNHF7Bjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
88
88
|
config
|
|
@@ -94,9 +94,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
94
94
|
assets: pendingAssets
|
|
95
95
|
});
|
|
96
96
|
await assetHandler.processAllAssetsOnce();
|
|
97
|
-
|
|
97
|
+
_chunkRL3S6XUBjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
98
98
|
if (includeSrc === true) {
|
|
99
|
-
|
|
99
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0,
|
|
100
100
|
`\u{1F4DD} Adding banner and writing source files: ${_chunk53DNHF7Bjs.joinPaths.call(void 0,
|
|
101
101
|
outputPath,
|
|
102
102
|
"src"
|
|
@@ -180,7 +180,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
if (localPackages.length > 0) {
|
|
183
|
-
|
|
183
|
+
_chunkRL3S6XUBjs.writeTrace.call(void 0,
|
|
184
184
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
185
185
|
);
|
|
186
186
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -228,7 +228,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
228
228
|
return ret;
|
|
229
229
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
230
230
|
} else {
|
|
231
|
-
|
|
231
|
+
_chunkRL3S6XUBjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
232
232
|
}
|
|
233
233
|
return packageJson;
|
|
234
234
|
};
|
|
@@ -305,11 +305,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
305
305
|
// ../esbuild/src/assets.ts
|
|
306
306
|
async function copyBuildAssets(context) {
|
|
307
307
|
if (!_optionalChain([context, 'access', _24 => _24.result, 'optionalAccess', _25 => _25.errors, 'access', _26 => _26.length]) && _optionalChain([context, 'access', _27 => _27.options, 'access', _28 => _28.assets, 'optionalAccess', _29 => _29.length])) {
|
|
308
|
-
|
|
308
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0,
|
|
309
309
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
310
310
|
context.workspaceConfig
|
|
311
311
|
);
|
|
312
|
-
const stopwatch =
|
|
312
|
+
const stopwatch = _chunkRL3S6XUBjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
313
313
|
await copyAssets(
|
|
314
314
|
context.workspaceConfig,
|
|
315
315
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
@@ -390,11 +390,11 @@ async function resolveContext(userOptions) {
|
|
|
390
390
|
if (!workspaceRoot) {
|
|
391
391
|
throw new Error("Cannot find Nx workspace root");
|
|
392
392
|
}
|
|
393
|
-
const workspaceConfig = await
|
|
393
|
+
const workspaceConfig = await _chunk5J72IVMZjs.getWorkspaceConfig.call(void 0, true, {
|
|
394
394
|
workspaceRoot: workspaceRoot.dir
|
|
395
395
|
});
|
|
396
|
-
|
|
397
|
-
const stopwatch =
|
|
396
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
397
|
+
const stopwatch = _chunkRL3S6XUBjs.getStopwatch.call(void 0, "Build options resolution");
|
|
398
398
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
399
399
|
exitOnError: true
|
|
400
400
|
});
|
|
@@ -464,10 +464,10 @@ async function resolveContext(userOptions) {
|
|
|
464
464
|
};
|
|
465
465
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
466
466
|
if (context.options.verbose) {
|
|
467
|
-
|
|
467
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0,
|
|
468
468
|
` \u2699\uFE0F Build options resolved:
|
|
469
469
|
|
|
470
|
-
${
|
|
470
|
+
${_chunkRL3S6XUBjs.formatLogMessage.call(void 0, context.options)}`,
|
|
471
471
|
workspaceConfig
|
|
472
472
|
);
|
|
473
473
|
}
|
|
@@ -480,8 +480,8 @@ ${_chunkVUUPX2SYjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
480
480
|
|
|
481
481
|
async function generatePackageJson(context) {
|
|
482
482
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk53DNHF7Bjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
483
|
-
|
|
484
|
-
const stopwatch =
|
|
483
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
484
|
+
const stopwatch = _chunkRL3S6XUBjs.getStopwatch.call(void 0, "Write package.json file");
|
|
485
485
|
const packageJsonPath = _chunk53DNHF7Bjs.joinPaths.call(void 0,
|
|
486
486
|
context.options.projectRoot,
|
|
487
487
|
"project.json"
|
|
@@ -671,10 +671,10 @@ var depsCheckPlugin = (bundle) => ({
|
|
|
671
671
|
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
672
672
|
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
673
673
|
});
|
|
674
|
-
|
|
674
|
+
_chunkRL3S6XUBjs.writeWarning.call(void 0,
|
|
675
675
|
`Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
|
|
676
676
|
);
|
|
677
|
-
|
|
677
|
+
_chunkRL3S6XUBjs.writeError.call(void 0,
|
|
678
678
|
`Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
|
|
679
679
|
);
|
|
680
680
|
if (filteredMissingDeps.length > 0) {
|
|
@@ -689,11 +689,11 @@ ${JSON.stringify(filteredMissingDeps)}
|
|
|
689
689
|
// ../esbuild/src/tsup.ts
|
|
690
690
|
var _tsup = require('tsup');
|
|
691
691
|
async function executeTsup(context) {
|
|
692
|
-
|
|
692
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0,
|
|
693
693
|
` \u{1F680} Running ${context.options.name} build`,
|
|
694
694
|
context.workspaceConfig
|
|
695
695
|
);
|
|
696
|
-
const stopwatch =
|
|
696
|
+
const stopwatch = _chunkRL3S6XUBjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
697
697
|
await _tsup.build.call(void 0, {
|
|
698
698
|
...context.options,
|
|
699
699
|
outDir: context.options.distDir ? _chunk53DNHF7Bjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -707,17 +707,17 @@ async function executeTsup(context) {
|
|
|
707
707
|
async function reportResults(context) {
|
|
708
708
|
if (_optionalChain([context, 'access', _32 => _32.result, 'optionalAccess', _33 => _33.errors, 'access', _34 => _34.length]) === 0) {
|
|
709
709
|
if (context.result.warnings.length > 0) {
|
|
710
|
-
|
|
710
|
+
_chunkRL3S6XUBjs.writeWarning.call(void 0,
|
|
711
711
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
712
712
|
context.workspaceConfig
|
|
713
713
|
);
|
|
714
714
|
}
|
|
715
|
-
|
|
715
|
+
_chunkRL3S6XUBjs.writeSuccess.call(void 0,
|
|
716
716
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
717
717
|
context.workspaceConfig
|
|
718
718
|
);
|
|
719
719
|
} else if (_optionalChain([context, 'access', _35 => _35.result, 'optionalAccess', _36 => _36.errors]) && _optionalChain([context, 'access', _37 => _37.result, 'optionalAccess', _38 => _38.errors, 'access', _39 => _39.length]) > 0) {
|
|
720
|
-
|
|
720
|
+
_chunkRL3S6XUBjs.writeError.call(void 0,
|
|
721
721
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
722
722
|
context.workspaceConfig
|
|
723
723
|
);
|
|
@@ -754,19 +754,19 @@ async function dependencyCheck(options) {
|
|
|
754
754
|
}
|
|
755
755
|
async function cleanOutputPath(context) {
|
|
756
756
|
if (context.clean !== false && context.outputPath) {
|
|
757
|
-
|
|
757
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0,
|
|
758
758
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
759
759
|
context.workspaceConfig
|
|
760
760
|
);
|
|
761
|
-
const stopwatch =
|
|
761
|
+
const stopwatch = _chunkRL3S6XUBjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
762
762
|
await cleanDirectories(context.outputPath);
|
|
763
763
|
stopwatch();
|
|
764
764
|
}
|
|
765
765
|
return context;
|
|
766
766
|
}
|
|
767
767
|
async function build2(options) {
|
|
768
|
-
|
|
769
|
-
const stopwatch =
|
|
768
|
+
_chunkRL3S6XUBjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
769
|
+
const stopwatch = _chunkRL3S6XUBjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
770
770
|
try {
|
|
771
771
|
const opts = Array.isArray(options) ? options : [options];
|
|
772
772
|
if (opts.length === 0) {
|
|
@@ -781,9 +781,9 @@ async function build2(options) {
|
|
|
781
781
|
executeTsup(context)
|
|
782
782
|
]);
|
|
783
783
|
await reportResults(context);
|
|
784
|
-
|
|
784
|
+
_chunkRL3S6XUBjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
785
785
|
} catch (error) {
|
|
786
|
-
|
|
786
|
+
_chunkRL3S6XUBjs.writeFatal.call(void 0,
|
|
787
787
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
788
788
|
);
|
|
789
789
|
throw error;
|
|
@@ -794,7 +794,7 @@ async function build2(options) {
|
|
|
794
794
|
|
|
795
795
|
// src/executors/esbuild/executor.ts
|
|
796
796
|
async function esbuildExecutorFn(options, context, config) {
|
|
797
|
-
|
|
797
|
+
_chunkRL3S6XUBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
798
798
|
if (!_optionalChain([context, 'access', _40 => _40.projectsConfigurations, 'optionalAccess', _41 => _41.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _42 => _42.projectsConfigurations, 'access', _43 => _43.projects, 'access', _44 => _44[context.projectName], 'optionalAccess', _45 => _45.root])) {
|
|
799
799
|
throw new Error(
|
|
800
800
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -812,7 +812,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
812
812
|
success: true
|
|
813
813
|
};
|
|
814
814
|
}
|
|
815
|
-
var executor_default =
|
|
815
|
+
var executor_default = _chunkX2DQATNQjs.withRunExecutor.call(void 0,
|
|
816
816
|
"Storm ESBuild build",
|
|
817
817
|
esbuildExecutorFn,
|
|
818
818
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5WYV3465.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getWorkspaceConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4K34KET6.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-XOODDLD5.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkRL3S6XUBjs = require('./chunk-RL3S6XUB.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
|
+
_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.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
|
+
) ? _chunkRL3S6XUBjs.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_`) && _chunkRL3S6XUBjs.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 === _chunkRL3S6XUBjs.STORM_DEFAULT_DOCS) {
|
|
213
|
+
if (config.homepage === _chunkRL3S6XUBjs.STORM_DEFAULT_HOMEPAGE) {
|
|
214
|
+
config.docs = `${_chunkRL3S6XUBjs.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 === _chunkRL3S6XUBjs.STORM_DEFAULT_LICENSING) {
|
|
220
|
+
if (config.homepage === _chunkRL3S6XUBjs.STORM_DEFAULT_HOMEPAGE) {
|
|
221
|
+
config.licensing = `${_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.getLogLevel.call(void 0, config.logLevel) >= _chunkRL3S6XUBjs.LogLevel.DEBUG ? true : false
|
|
518
518
|
);
|
|
519
|
-
process.env.RUST_BACKTRACE =
|
|
519
|
+
process.env.RUST_BACKTRACE = _chunkRL3S6XUBjs.getLogLevel.call(void 0, config.logLevel) >= _chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.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 _chunkRL3S6XUBjs.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 = _chunkRL3S6XUBjs.applyDefaultConfig.call(void 0,
|
|
662
|
+
await _chunkRL3S6XUBjs.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: ${_chunkRL3S6XUBjs.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
|
+
_chunkRL3S6XUBjs.writeTrace.call(void 0,
|
|
715
715
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
716
|
-
${
|
|
716
|
+
${_chunkRL3S6XUBjs.formatLogMessage.call(void 0, config)}`,
|
|
717
717
|
config
|
|
718
718
|
);
|
|
719
719
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkX2DQATNQjs = require('./chunk-X2DQATNQ.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 = _chunkX2DQATNQjs.withRunExecutor.call(void 0,
|
|
15
15
|
"Cargo - Build",
|
|
16
16
|
cargoBuildExecutor,
|
|
17
17
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJJIKPU3Ejs = require('./chunk-JJIKPU3E.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: _chunkJJIKPU3Ejs.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,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-T367LPMJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
stormWorkspaceConfigSchema,
|
|
6
6
|
writeInfo,
|
|
7
7
|
writeSuccess,
|
|
8
8
|
writeTrace
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XOODDLD5.mjs";
|
|
10
10
|
import {
|
|
11
11
|
findWorkspaceRoot
|
|
12
12
|
} from "./chunk-LSF4BHCI.mjs";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkGYLUTELWjs = require('./chunk-GYLUTELW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3HCKYB27js = require('./chunk-3HCKYB27.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
|
|
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
82
82
|
await _devkit.formatFiles.call(void 0, tree);
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
var generator_default =
|
|
85
|
+
var generator_default = _chunk3HCKYB27js.withRunGenerator.call(void 0,
|
|
86
86
|
"TypeScript Library Creator (Browser Platform)",
|
|
87
87
|
browserLibraryGeneratorFn,
|
|
88
88
|
{
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-X6PHOMFB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4K34KET6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
formatLogMessage,
|
|
10
10
|
getStopwatch,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
writeInfo,
|
|
15
15
|
writeSuccess,
|
|
16
16
|
writeTrace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XOODDLD5.mjs";
|
|
18
18
|
import {
|
|
19
19
|
findWorkspaceRoot
|
|
20
20
|
} from "./chunk-LSF4BHCI.mjs";
|