@storm-software/workspace-tools 1.266.6 → 1.266.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +1 -1
- package/dist/{chunk-JJK6CBPN.mjs → chunk-2C37GBZ2.mjs} +2 -2
- package/dist/{chunk-SWHFMF2Z.mjs → chunk-2TEC7IFE.mjs} +5 -4
- package/dist/{chunk-BMKYESA4.js → chunk-4Y6B6JDH.js} +17 -12
- package/dist/{chunk-XB3SJ7YU.mjs → chunk-5I7ULQZF.mjs} +1 -1
- package/dist/{chunk-EDK24SJW.js → chunk-6CGAYKQL.js} +21 -20
- package/dist/{chunk-BJ6UNKNM.js → chunk-6JJB5AYA.js} +9 -9
- package/dist/{chunk-KUJS6ESX.mjs → chunk-7FHFHZRB.mjs} +1 -1
- package/dist/{chunk-Z255YQZR.js → chunk-7NNHBZC5.js} +2 -2
- package/dist/{chunk-HYRQEEMO.js → chunk-7PRHEOCT.js} +2 -2
- package/dist/{chunk-PTJZKLHO.js → chunk-B3DVFXXD.js} +2 -2
- package/dist/{chunk-7Z2ULC65.mjs → chunk-BFGWJ7BS.mjs} +10 -5
- package/dist/{chunk-VFGOMBR2.mjs → chunk-BJMT4ECA.mjs} +4 -4
- package/dist/{chunk-5HQ2CJGY.mjs → chunk-CM2FQCBL.mjs} +3 -3
- package/dist/{chunk-WQRDKC36.mjs → chunk-CNCYVRZ4.mjs} +1 -1
- package/dist/{chunk-DCDL5X62.mjs → chunk-EHFWY65U.mjs} +3 -3
- package/dist/{chunk-I5EWTUBR.mjs → chunk-FM2TFXVW.mjs} +4 -4
- package/dist/{chunk-AUSTHLXU.mjs → chunk-FPAOVOZX.mjs} +3 -3
- package/dist/{chunk-MP2P2MGP.js → chunk-G4QFSE5B.js} +8 -5
- package/dist/chunk-G4Z6AQDY.mjs +652 -0
- package/dist/{chunk-KEPMD5HG.mjs → chunk-GNFQ5PGW.mjs} +1 -1
- package/dist/{chunk-5F2CURZV.js → chunk-HOXPAVCL.js} +2 -2
- package/dist/{chunk-LQRTSQDP.js → chunk-ICPUM2HS.js} +5 -5
- package/dist/{chunk-OUMQELYO.mjs → chunk-IXHY3ZPO.mjs} +3 -3
- package/dist/{chunk-6FPBRF77.mjs → chunk-IZHZKPHV.mjs} +12 -9
- package/dist/{chunk-335UGATU.mjs → chunk-KP5JD22G.mjs} +4 -4
- package/dist/{chunk-IWVTKZHB.mjs → chunk-LS27TGDZ.mjs} +2 -2
- package/dist/{chunk-SDDKJY7U.mjs → chunk-MFSIJSBW.mjs} +3 -3
- package/dist/{chunk-RHG3FDFP.mjs → chunk-MIVNJALE.mjs} +1 -1
- package/dist/{chunk-7EBI7UNO.mjs → chunk-N4QRXJLZ.mjs} +2 -2
- package/dist/{chunk-Y4D6KHJP.mjs → chunk-N7GSKHH2.mjs} +1 -1
- package/dist/{chunk-F2MPINGT.js → chunk-NSCWEC2S.js} +2 -2
- package/dist/{chunk-7NGXSGS5.js → chunk-OKW5O5P4.js} +5 -5
- package/dist/{chunk-YT3ECNTF.js → chunk-OQPX75CG.js} +2 -2
- package/dist/{chunk-4Q6PHTY4.mjs → chunk-OW6VGYDT.mjs} +1 -1
- package/dist/{chunk-TPWVZZWY.js → chunk-P4OVFIT6.js} +2 -2
- package/dist/{chunk-ZQESJHZL.mjs → chunk-PGEZGCU2.mjs} +2 -2
- package/dist/{chunk-HV2IA26N.mjs → chunk-PZL7IZ7I.mjs} +2 -2
- package/dist/{chunk-3JZIYQVE.mjs → chunk-Q7WXH4GA.mjs} +3 -3
- package/dist/{chunk-DPAEB5AE.mjs → chunk-QXE7GTBY.mjs} +3 -3
- package/dist/{chunk-4U2EPXAU.mjs → chunk-RMLZO26I.mjs} +4 -4
- package/dist/{chunk-U5R5FYNX.mjs → chunk-RPMGDH44.mjs} +2 -2
- package/dist/{chunk-N2ASVLIK.js → chunk-RUKOOSWL.js} +2 -2
- package/dist/{chunk-GJQKCDGC.js → chunk-SUQKASD7.js} +1 -1
- package/dist/{chunk-2FLWFF77.mjs → chunk-SYTBJXTM.mjs} +1 -1
- package/dist/{chunk-YXMSMPZL.js → chunk-TET4GF3D.js} +2 -2
- package/dist/{chunk-HTDWHJOR.mjs → chunk-TPK3STUY.mjs} +4 -4
- package/dist/{chunk-EDTGMFRL.mjs → chunk-TRD4W5ZK.mjs} +4 -4
- package/dist/{chunk-2CXGKOZ6.mjs → chunk-UY3Q5IDT.mjs} +1 -1
- package/dist/{chunk-63HRVALY.mjs → chunk-V42FQ4FR.mjs} +3 -3
- package/dist/chunk-VPK6IAYP.js +652 -0
- package/dist/{chunk-CI6WHE7R.mjs → chunk-WAXAZ5PV.mjs} +3 -3
- package/dist/{chunk-44ZYZKMX.mjs → chunk-WDFR6LVR.mjs} +2 -2
- package/dist/{chunk-UOEMXTI2.mjs → chunk-XCBLUQPM.mjs} +3 -3
- package/dist/{chunk-63YHUBTB.mjs → chunk-XYRHMXLC.mjs} +3 -3
- package/dist/{chunk-YD2NC5GN.mjs → chunk-YHPRTWSY.mjs} +2 -2
- package/dist/{chunk-UWVKS62B.js → chunk-YW4UN25U.js} +4 -4
- package/dist/{chunk-NCV26VAW.js → chunk-Z4NKRWWJ.js} +15 -15
- package/dist/{chunk-6FKQA2RD.mjs → chunk-Z6GV7C5U.mjs} +1 -1
- package/dist/{chunk-R3GMLI4Z.mjs → chunk-ZJ3QSWTQ.mjs} +4 -4
- package/dist/{executor-DTcKLfcw.d.mts → executor-B3lwM9GM.d.mts} +1 -1
- package/dist/{executor-DTcKLfcw.d.ts → executor-B3lwM9GM.d.ts} +1 -1
- package/dist/executors.d.mts +1 -1
- package/dist/executors.d.ts +1 -1
- package/dist/executors.js +14 -14
- package/dist/executors.mjs +25 -25
- package/dist/generators.js +9 -9
- package/dist/generators.mjs +16 -16
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -21
- package/dist/index.mjs +43 -43
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +6 -6
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/base-generator.js +3 -3
- package/dist/src/base/base-generator.mjs +6 -6
- 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 +4 -4
- package/dist/src/base/index.mjs +10 -10
- package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
- package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
- package/dist/src/executors/cargo-build/executor.js +4 -4
- package/dist/src/executors/cargo-build/executor.mjs +8 -8
- package/dist/src/executors/cargo-build/untyped.mjs +1 -1
- package/dist/src/executors/cargo-check/executor.js +4 -4
- package/dist/src/executors/cargo-check/executor.mjs +8 -8
- package/dist/src/executors/cargo-check/untyped.mjs +1 -1
- package/dist/src/executors/cargo-clippy/executor.js +4 -4
- package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
- package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
- package/dist/src/executors/cargo-doc/executor.js +4 -4
- package/dist/src/executors/cargo-doc/executor.mjs +8 -8
- package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
- package/dist/src/executors/cargo-format/executor.js +4 -4
- package/dist/src/executors/cargo-format/executor.mjs +8 -8
- package/dist/src/executors/cargo-format/untyped.mjs +1 -1
- package/dist/src/executors/cargo-publish/executor.mjs +3 -3
- package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
- package/dist/src/executors/clean-package/executor.js +5 -5
- package/dist/src/executors/clean-package/executor.mjs +6 -6
- package/dist/src/executors/clean-package/untyped.mjs +1 -1
- package/dist/src/executors/esbuild/executor.js +4 -4
- package/dist/src/executors/esbuild/executor.mjs +7 -7
- package/dist/src/executors/esbuild/untyped.mjs +2 -2
- package/dist/src/executors/npm-publish/executor.d.mts +1 -1
- package/dist/src/executors/npm-publish/executor.d.ts +1 -1
- package/dist/src/executors/npm-publish/executor.js +2 -2
- package/dist/src/executors/npm-publish/executor.mjs +4 -4
- package/dist/src/executors/npm-publish/schema.d.ts +1 -1
- package/dist/src/executors/npm-publish/schema.json +1 -1
- package/dist/src/executors/npm-publish/schema.md +1 -1
- package/dist/src/executors/npm-publish/untyped.js +1 -1
- package/dist/src/executors/npm-publish/untyped.mjs +2 -2
- package/dist/src/executors/size-limit/executor.js +4 -4
- package/dist/src/executors/size-limit/executor.mjs +7 -7
- package/dist/src/executors/size-limit/untyped.mjs +1 -1
- package/dist/src/executors/typia/executor.js +4 -4
- package/dist/src/executors/typia/executor.mjs +7 -7
- package/dist/src/executors/typia/untyped.mjs +1 -1
- package/dist/src/executors/unbuild/executor.js +4 -4
- package/dist/src/executors/unbuild/executor.mjs +7 -7
- package/dist/src/executors/unbuild/untyped.mjs +2 -2
- package/dist/src/generators/browser-library/generator.js +4 -4
- package/dist/src/generators/browser-library/generator.mjs +9 -9
- package/dist/src/generators/browser-library/untyped.mjs +1 -1
- package/dist/src/generators/config-schema/generator.js +4 -4
- package/dist/src/generators/config-schema/generator.mjs +7 -7
- package/dist/src/generators/config-schema/untyped.mjs +1 -1
- package/dist/src/generators/init/init.mjs +2 -2
- package/dist/src/generators/init/untyped.mjs +1 -1
- package/dist/src/generators/neutral-library/generator.js +4 -4
- package/dist/src/generators/neutral-library/generator.mjs +9 -9
- package/dist/src/generators/neutral-library/untyped.mjs +1 -1
- package/dist/src/generators/node-library/generator.js +4 -4
- package/dist/src/generators/node-library/generator.mjs +9 -9
- package/dist/src/generators/node-library/untyped.mjs +1 -1
- package/dist/src/generators/preset/generator.js +4 -4
- package/dist/src/generators/preset/generator.mjs +7 -7
- package/dist/src/generators/preset/untyped.mjs +1 -1
- package/dist/src/generators/release-version/generator.js +3 -3
- package/dist/src/generators/release-version/generator.mjs +6 -6
- package/dist/src/generators/release-version/untyped.mjs +1 -1
- package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
- package/dist/src/plugins/rust/index.mjs +4 -4
- package/dist/src/plugins/typescript/index.mjs +4 -4
- package/dist/src/plugins/typescript/project-config.mjs +4 -4
- package/dist/src/plugins/typescript/tsup.mjs +2 -2
- package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
- package/dist/src/types.mjs +1 -1
- package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
- package/dist/src/utils/cargo.mjs +2 -2
- package/dist/src/utils/create-cli-options.mjs +2 -2
- package/dist/src/utils/get-project-configurations.mjs +4 -4
- package/dist/src/utils/index.mjs +14 -14
- package/dist/src/utils/lock-file.mjs +2 -2
- package/dist/src/utils/package-helpers.mjs +4 -4
- package/dist/src/utils/plugin-helpers.mjs +3 -3
- package/dist/src/utils/pnpm-deps-update.mjs +3 -3
- package/dist/src/utils/project-tags.mjs +2 -2
- package/dist/src/utils/toml.mjs +2 -2
- package/dist/src/utils/typia-transform.mjs +2 -2
- package/dist/src/utils/versions.mjs +1 -1
- package/docs/api/executors/npm-publish/schema.md +1 -1
- package/package.json +3 -3
- package/dist/chunk-MKHDCU77.js +0 -1532
- package/dist/chunk-RLOOI5TH.mjs +0 -1533
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.266.10](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.10) (2025-04-25)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **workspace-tools:** Remove unneeded pnpm publish update
|
|
10
|
+
([9812caeab](https://github.com/storm-software/storm-ops/commit/9812caeab))
|
|
11
|
+
|
|
12
|
+
## [1.266.9](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.9) (2025-04-25)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([2a4a88059](https://github.com/storm-software/storm-ops/commit/2a4a88059))
|
|
18
|
+
|
|
19
|
+
## [1.266.8](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.8) (2025-04-25)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
- **workspace-tools:** Resolve issue with excessive release logging
|
|
24
|
+
([ded2654b3](https://github.com/storm-software/storm-ops/commit/ded2654b3))
|
|
25
|
+
|
|
26
|
+
## [1.266.7](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.7) (2025-04-25)
|
|
27
|
+
|
|
28
|
+
### Miscellaneous
|
|
29
|
+
|
|
30
|
+
- **monorepo:** Upgrade monorepo's `tsup` dependency version
|
|
31
|
+
([2fb83ea4c](https://github.com/storm-software/storm-ops/commit/2fb83ea4c))
|
|
32
|
+
- **monorepo:** Regenerate README markdown files
|
|
33
|
+
([9ab7e03d9](https://github.com/storm-software/storm-ops/commit/9ab7e03d9))
|
|
34
|
+
|
|
5
35
|
## [1.266.5](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.266.5) (2025-04-16)
|
|
6
36
|
|
|
7
37
|
### 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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTagConstants,
|
|
3
3
|
getProjectTag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CNCYVRZ4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
8
8
|
|
|
9
9
|
// src/utils/plugin-helpers.ts
|
|
10
10
|
import { readJsonFile } from "@nx/devkit";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceProjectTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZL7IZ7I.mjs";
|
|
5
5
|
import {
|
|
6
6
|
formatLogMessage,
|
|
7
7
|
getConfig,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
writeInfo,
|
|
13
13
|
writeSuccess,
|
|
14
14
|
writeTrace
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IZHZKPHV.mjs";
|
|
16
16
|
import {
|
|
17
17
|
findWorkspaceRoot
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WDFR6LVR.mjs";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
22
22
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
import { defu } from "defu";
|
|
@@ -72,6 +72,7 @@ ${formatLogMessage(tokenized)}
|
|
|
72
72
|
if (_isFunction(ret?.next)) {
|
|
73
73
|
const asyncGen = ret;
|
|
74
74
|
for await (const iter of asyncGen) {
|
|
75
|
+
void iter;
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
const result = await Promise.resolve(ret);
|
|
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -244,17 +244,22 @@ var _versionlegacy = require('nx/src/command-line/release/version-legacy');
|
|
|
244
244
|
var _utils = require('nx/src/tasks-runner/utils');
|
|
245
245
|
var _semver3 = require('semver');
|
|
246
246
|
async function releaseVersionGeneratorFn(tree, options, config) {
|
|
247
|
-
|
|
247
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
|
|
248
248
|
|
|
249
249
|
`, config);
|
|
250
|
-
const stopwatch =
|
|
250
|
+
const stopwatch = _chunkG4QFSE5Bjs.getStopwatch.call(void 0, "Storm Release Version generator");
|
|
251
251
|
try {
|
|
252
252
|
const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
253
|
-
|
|
253
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
254
254
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
255
|
-
config = await
|
|
256
|
-
|
|
257
|
-
${Object.keys(_nullishCoalesce(options, () => ( {}))).
|
|
255
|
+
config = await _chunkG4QFSE5Bjs.getConfig.call(void 0, workspaceRoot);
|
|
256
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
|
|
257
|
+
${Object.keys(_nullishCoalesce(options, () => ( {}))).filter((key) => ![
|
|
258
|
+
"projects",
|
|
259
|
+
"releaseGroup",
|
|
260
|
+
"projectGraph",
|
|
261
|
+
"currentVersionResolverMetadata"
|
|
262
|
+
].includes(key)).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
258
263
|
const versionData = {};
|
|
259
264
|
if (options.specifier) {
|
|
260
265
|
if (!_semver.isValidSemverSpecifier.call(void 0, options.specifier)) {
|
|
@@ -304,9 +309,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
|
|
|
304
309
|
}
|
|
305
310
|
const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
|
|
306
311
|
const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
|
|
307
|
-
|
|
312
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
|
|
308
313
|
}, "log");
|
|
309
|
-
|
|
314
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
|
|
310
315
|
let packageName;
|
|
311
316
|
let currentVersionFromDisk;
|
|
312
317
|
if (tree.exists(packageJsonPath)) {
|
|
@@ -580,7 +585,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
580
585
|
}
|
|
581
586
|
}
|
|
582
587
|
await _devkit.formatFiles.call(void 0, tree);
|
|
583
|
-
|
|
588
|
+
_chunkG4QFSE5Bjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
|
|
584
589
|
`, config);
|
|
585
590
|
return {
|
|
586
591
|
data: versionData,
|
|
@@ -614,8 +619,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
|
|
|
614
619
|
}, "callback")
|
|
615
620
|
};
|
|
616
621
|
} catch (error) {
|
|
617
|
-
|
|
618
|
-
|
|
622
|
+
_chunkG4QFSE5Bjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
|
|
623
|
+
_chunkG4QFSE5Bjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
|
|
619
624
|
- Details: ${error.message}
|
|
620
625
|
- Stacktrace: ${error.stack}`, config);
|
|
621
626
|
throw new Error(`An exception was thrown in the Storm Release Version generator's process
|
|
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -23,7 +23,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
23
23
|
// src/base/base-executor.ts
|
|
24
24
|
var _defu = require('defu');
|
|
25
25
|
var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
|
|
26
|
-
const stopwatch =
|
|
26
|
+
const stopwatch = _chunkG4QFSE5Bjs.getStopwatch.call(void 0, name);
|
|
27
27
|
let options = _options;
|
|
28
28
|
let config = {};
|
|
29
29
|
try {
|
|
@@ -35,23 +35,23 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
|
|
|
35
35
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
|
|
36
36
|
const projectName = context.projectName;
|
|
37
37
|
config.workspaceRoot = workspaceRoot;
|
|
38
|
-
|
|
38
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
39
39
|
if (!executorOptions.skipReadingConfig) {
|
|
40
|
-
|
|
40
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
|
|
41
41
|
- workspaceRoot: ${workspaceRoot}
|
|
42
42
|
- projectRoot: ${projectRoot}
|
|
43
43
|
- sourceRoot: ${sourceRoot}
|
|
44
44
|
- projectName: ${projectName}
|
|
45
45
|
`, config);
|
|
46
|
-
config = await
|
|
46
|
+
config = await _chunkG4QFSE5Bjs.getConfig.call(void 0, workspaceRoot);
|
|
47
47
|
}
|
|
48
48
|
if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
|
|
49
|
-
|
|
49
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
50
50
|
options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
|
|
51
|
-
|
|
51
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
${
|
|
53
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
|
|
54
|
+
${_chunkG4QFSE5Bjs.formatLogMessage.call(void 0, options)}
|
|
55
55
|
`, config);
|
|
56
56
|
const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
|
|
57
57
|
workspaceRoot,
|
|
@@ -60,42 +60,43 @@ ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, options)}
|
|
|
60
60
|
projectName,
|
|
61
61
|
config
|
|
62
62
|
}, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
|
|
63
|
-
|
|
64
|
-
${
|
|
63
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
|
|
64
|
+
${_chunkG4QFSE5Bjs.formatLogMessage.call(void 0, tokenized)}
|
|
65
65
|
`, config);
|
|
66
66
|
if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
|
|
67
|
-
|
|
67
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
68
68
|
await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
|
|
69
|
-
|
|
69
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
70
70
|
}
|
|
71
71
|
const ret = executorFn(tokenized, context, config);
|
|
72
72
|
if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
|
|
73
73
|
const asyncGen = ret;
|
|
74
74
|
for await (const iter of asyncGen) {
|
|
75
|
+
void iter;
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
const result = await Promise.resolve(ret);
|
|
78
79
|
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
|
|
79
|
-
|
|
80
|
-
${
|
|
80
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
|
|
81
|
+
${_chunkG4QFSE5Bjs.formatLogMessage.call(void 0, result)}`, config);
|
|
81
82
|
console.error(result);
|
|
82
83
|
throw new Error(`The ${name} executor failed to run`, {
|
|
83
84
|
cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
|
|
84
85
|
});
|
|
85
86
|
}
|
|
86
87
|
if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
|
|
87
|
-
|
|
88
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
88
89
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
89
|
-
|
|
90
|
+
_chunkG4QFSE5Bjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
_chunkG4QFSE5Bjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
|
|
92
93
|
`, config);
|
|
93
94
|
return {
|
|
94
95
|
success: true
|
|
95
96
|
};
|
|
96
97
|
} catch (error) {
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
_chunkG4QFSE5Bjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
|
|
99
|
+
_chunkG4QFSE5Bjs.writeError.call(void 0, `An exception was thrown in the executor's process
|
|
99
100
|
- Details: ${error.message}
|
|
100
101
|
- Stacktrace: ${error.stack}`, config);
|
|
101
102
|
return {
|
|
@@ -1,12 +1,12 @@
|
|
|
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 _chunkZ4NKRWWJjs = require('./chunk-Z4NKRWWJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
|
|
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
var _zodtojsonschema = require('zod-to-json-schema');
|
|
20
20
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0,
|
|
21
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
|
|
22
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
|
|
23
|
+
const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkG4QFSE5Bjs.stormWorkspaceConfigSchema, {
|
|
24
24
|
name: "StormWorkspaceConfiguration"
|
|
25
25
|
});
|
|
26
|
-
|
|
26
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, jsonSchema, config);
|
|
27
27
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
|
|
28
|
-
|
|
28
|
+
_chunkG4QFSE5Bjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
29
29
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
30
30
|
spaces: 2
|
|
31
31
|
});
|
|
32
32
|
await _devkit.formatFiles.call(void 0, tree);
|
|
33
|
-
|
|
33
|
+
_chunkG4QFSE5Bjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
|
|
34
34
|
return {
|
|
35
35
|
success: true
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
_chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
|
|
39
|
-
var generator_default =
|
|
39
|
+
var generator_default = _chunkZ4NKRWWJjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
|
|
40
40
|
hooks: {
|
|
41
41
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
42
42
|
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
|
7
7
|
var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkZ4NKRWWJjs = require('./chunk-Z4NKRWWJ.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
54
|
_chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
|
|
55
|
-
var generator_default =
|
|
55
|
+
var generator_default = _chunkZ4NKRWWJjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
|
|
56
56
|
hooks: {
|
|
57
57
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
58
58
|
options.description ??= "A library used by Storm Software to support NodeJs applications";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZ4NKRWWJjs = require('./chunk-Z4NKRWWJ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
|
|
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
_chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
|
|
48
|
-
var generator_default =
|
|
48
|
+
var generator_default = _chunkZ4NKRWWJjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
|
|
49
49
|
hooks: {
|
|
50
50
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
51
51
|
options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6CGAYKQLjs = require('./chunk-6CGAYKQL.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
|
|
|
15
15
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
17
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
|
|
18
|
-
var executor_default =
|
|
18
|
+
var executor_default = _chunk6CGAYKQLjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
parseCargoToml,
|
|
4
4
|
parseCargoTomlWithTree,
|
|
5
5
|
stringifyCargoToml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7FHFHZRB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
getConfig,
|
|
9
9
|
getStopwatch,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeSuccess,
|
|
15
15
|
writeTrace
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IZHZKPHV.mjs";
|
|
17
17
|
import {
|
|
18
18
|
findWorkspaceRoot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WDFR6LVR.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
23
23
|
|
|
24
24
|
// src/generators/release-version/generator.ts
|
|
25
25
|
import { formatFiles, joinPathFragments, output, readJson, updateJson, writeJson } from "@nx/devkit";
|
|
@@ -254,7 +254,12 @@ async function releaseVersionGeneratorFn(tree, options, config) {
|
|
|
254
254
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
255
255
|
config = await getConfig(workspaceRoot);
|
|
256
256
|
writeTrace(`Generator schema options \u2699\uFE0F
|
|
257
|
-
${Object.keys(options ?? {}).
|
|
257
|
+
${Object.keys(options ?? {}).filter((key) => ![
|
|
258
|
+
"projects",
|
|
259
|
+
"releaseGroup",
|
|
260
|
+
"projectGraph",
|
|
261
|
+
"currentVersionResolverMetadata"
|
|
262
|
+
].includes(key)).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
|
|
258
263
|
const versionData = {};
|
|
259
264
|
if (options.specifier) {
|
|
260
265
|
if (!isValidSemverSpecifier(options.specifier)) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pnpmCatalogUpdate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LS27TGDZ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
joinPaths
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5I7ULQZF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
10
10
|
|
|
11
11
|
// src/executors/npm-publish/executor.ts
|
|
12
12
|
import { execSync } from "node:child_process";
|
|
@@ -224,7 +224,7 @@ Execution response: ${result.toString()}` : ""}
|
|
|
224
224
|
try {
|
|
225
225
|
console.error("\n ********************** \n");
|
|
226
226
|
console.info("");
|
|
227
|
-
console.error("An error occured running
|
|
227
|
+
console.error("An error occured running npm publish.");
|
|
228
228
|
console.error("Please see below for more information:");
|
|
229
229
|
console.info("");
|
|
230
230
|
const stdoutData = JSON.parse(err.stdout?.toString() || "{}");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2TEC7IFE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
writeInfo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IZHZKPHV.mjs";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
10
10
|
|
|
11
11
|
// src/executors/typia/executor.ts
|
|
12
12
|
import { removeSync } from "fs-extra";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildCargoCommand,
|
|
3
3
|
cargoCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GNFQ5PGW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2TEC7IFE.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
11
11
|
|
|
12
12
|
// src/executors/cargo-clippy/executor.ts
|
|
13
13
|
async function cargoClippyExecutor(options, context) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
applyWorkspaceBaseTokens,
|
|
3
3
|
applyWorkspaceTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZL7IZ7I.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig,
|
|
7
7
|
getStopwatch,
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
writeInfo,
|
|
12
12
|
writeSuccess,
|
|
13
13
|
writeTrace
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IZHZKPHV.mjs";
|
|
15
15
|
import {
|
|
16
16
|
findWorkspaceRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WDFR6LVR.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
21
21
|
|
|
22
22
|
// src/base/base-generator.ts
|
|
23
23
|
var withRunGenerator = /* @__PURE__ */ __name((name, generatorFn, generatorOptions = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildCargoCommand,
|
|
3
3
|
cargoCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GNFQ5PGW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withRunExecutor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2TEC7IFE.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
11
11
|
|
|
12
12
|
// src/executors/cargo-check/executor.ts
|
|
13
13
|
async function cargoCheckExecutor(options, context) {
|
|
@@ -432,10 +432,6 @@ var getLogLevelLabel = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (log
|
|
|
432
432
|
}
|
|
433
433
|
return LogLevelLabel.INFO;
|
|
434
434
|
}, "getLogLevelLabel");
|
|
435
|
-
var isVerbose = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (label = LogLevelLabel.SILENT) => {
|
|
436
|
-
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
437
|
-
return logLevel >= LogLevel.DEBUG;
|
|
438
|
-
}, "isVerbose");
|
|
439
435
|
|
|
440
436
|
// ../config-tools/src/logger/console.ts
|
|
441
437
|
var getLogFn = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
@@ -1135,6 +1131,13 @@ ${formatLogMessage(config)}`, config);
|
|
|
1135
1131
|
var getConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
|
|
1136
1132
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1137
1133
|
}, "getConfig");
|
|
1134
|
+
var getWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (skipLogs = false, options = {}) => {
|
|
1135
|
+
let workspaceRoot = options.workspaceRoot;
|
|
1136
|
+
if (!workspaceRoot) {
|
|
1137
|
+
workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
1138
|
+
}
|
|
1139
|
+
return getConfig(workspaceRoot, skipLogs);
|
|
1140
|
+
}, "getWorkspaceConfig");
|
|
1138
1141
|
|
|
1139
1142
|
|
|
1140
1143
|
|
|
@@ -1149,4 +1152,4 @@ var getConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (workspaceR
|
|
|
1149
1152
|
|
|
1150
1153
|
|
|
1151
1154
|
|
|
1152
|
-
exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema; exports.
|
|
1155
|
+
exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig;
|