@storm-software/workspace-tools 1.266.9 → 1.267.0
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-Z2D5X5KJ.mjs → chunk-2C37GBZ2.mjs} +2 -2
- package/dist/{chunk-5AVEZVE5.mjs → chunk-2TEC7IFE.mjs} +4 -4
- package/dist/{chunk-WBNGMFYP.js → chunk-4Y6B6JDH.js} +11 -11
- package/dist/{chunk-K7B7YVQF.mjs → chunk-5I7ULQZF.mjs} +1 -1
- package/dist/{chunk-JL5QGFBX.js → chunk-6CGAYKQL.js} +20 -20
- package/dist/{chunk-BJ6UNKNM.js → chunk-6JJB5AYA.js} +9 -9
- package/dist/{chunk-TKGD3SNO.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-UBMOQCNN.js → chunk-B3DVFXXD.js} +2 -2
- package/dist/{chunk-5G2XZTUU.mjs → chunk-BFGWJ7BS.mjs} +4 -4
- package/dist/{chunk-YWAH4DHJ.mjs → chunk-BJMT4ECA.mjs} +3 -3
- package/dist/chunk-BUPROWVS.js +653 -0
- package/dist/{chunk-4UPFP6EX.mjs → chunk-CM2FQCBL.mjs} +3 -3
- package/dist/{chunk-VUIT3ZAI.mjs → chunk-CNCYVRZ4.mjs} +1 -1
- package/dist/{chunk-NCTH2PTP.mjs → chunk-EHFWY65U.mjs} +3 -3
- package/dist/{chunk-XGSZL5N7.mjs → chunk-FM2TFXVW.mjs} +4 -4
- package/dist/{chunk-7LP6KWJ4.mjs → chunk-FPAOVOZX.mjs} +3 -3
- package/dist/{chunk-MP2P2MGP.js → chunk-G4QFSE5B.js} +8 -5
- package/dist/{chunk-2RRVYK6E.mjs → chunk-GNFQ5PGW.mjs} +1 -1
- package/dist/{chunk-E2GASAYN.js → chunk-HOXPAVCL.js} +2 -2
- package/dist/{chunk-TBE7H5P7.js → chunk-ICPUM2HS.js} +5 -5
- package/dist/{chunk-36QIKTAL.mjs → chunk-IXHY3ZPO.mjs} +3 -3
- package/dist/{chunk-TCZC6XD6.mjs → chunk-IZHZKPHV.mjs} +12 -9
- package/dist/{chunk-SORZ4BJW.mjs → chunk-KP5JD22G.mjs} +4 -4
- package/dist/{chunk-A2Z3X5GK.mjs → chunk-LS27TGDZ.mjs} +2 -2
- package/dist/chunk-LUR7U35A.mjs +653 -0
- package/dist/{chunk-QDLQJ3QS.mjs → chunk-MFSIJSBW.mjs} +3 -3
- package/dist/{chunk-L6BH2OLB.mjs → chunk-MIVNJALE.mjs} +1 -1
- package/dist/{chunk-XRZPNGM5.mjs → chunk-N4QRXJLZ.mjs} +2 -2
- package/dist/{chunk-VGSUCQ2S.mjs → chunk-N7GSKHH2.mjs} +1 -1
- package/dist/{chunk-4CLX5NBT.js → chunk-NSCWEC2S.js} +2 -2
- package/dist/{chunk-YWHLDLKE.js → chunk-OKW5O5P4.js} +5 -5
- package/dist/{chunk-YT3ECNTF.js → chunk-OQPX75CG.js} +2 -2
- package/dist/{chunk-5NTNN2XK.mjs → chunk-OW6VGYDT.mjs} +1 -1
- package/dist/{chunk-TPWVZZWY.js → chunk-P4OVFIT6.js} +2 -2
- package/dist/{chunk-YMFIVYHZ.mjs → chunk-PGEZGCU2.mjs} +2 -2
- package/dist/{chunk-GEIXDGFR.mjs → chunk-PZL7IZ7I.mjs} +2 -2
- package/dist/{chunk-4FJCOFII.mjs → chunk-Q7WXH4GA.mjs} +3 -3
- package/dist/{chunk-LY5IGOQR.mjs → chunk-QXE7GTBY.mjs} +3 -3
- package/dist/{chunk-KWARMR7G.mjs → chunk-RMLZO26I.mjs} +4 -4
- package/dist/{chunk-USRO6ZCF.mjs → chunk-RPMGDH44.mjs} +2 -2
- package/dist/{chunk-G4S2HWXN.js → chunk-RUKOOSWL.js} +2 -2
- package/dist/{chunk-474QFQKX.mjs → chunk-SYTBJXTM.mjs} +1 -1
- package/dist/{chunk-NYP6AVTV.js → chunk-TET4GF3D.js} +2 -2
- package/dist/{chunk-IOUCRBHV.mjs → chunk-TPK3STUY.mjs} +4 -4
- package/dist/{chunk-WHITLY6G.mjs → chunk-TRD4W5ZK.mjs} +4 -4
- package/dist/{chunk-TMCMTZPP.mjs → chunk-UY3Q5IDT.mjs} +1 -1
- package/dist/{chunk-KDQGKQHN.mjs → chunk-V42FQ4FR.mjs} +3 -3
- package/dist/{chunk-FJ3HUDJN.mjs → chunk-WAXAZ5PV.mjs} +3 -3
- package/dist/{chunk-VFXWLOY7.mjs → chunk-WDFR6LVR.mjs} +2 -2
- package/dist/{chunk-D2OJX4DZ.mjs → chunk-XCBLUQPM.mjs} +3 -3
- package/dist/{chunk-QIF3QXOA.mjs → chunk-XYRHMXLC.mjs} +3 -3
- package/dist/{chunk-Z4WOCHYB.mjs → chunk-YHPRTWSY.mjs} +2 -2
- package/dist/{chunk-PKL7UOGQ.js → chunk-YW4UN25U.js} +4 -4
- package/dist/{chunk-NCV26VAW.js → chunk-Z4NKRWWJ.js} +15 -15
- package/dist/{chunk-3DMOUTDH.mjs → chunk-Z6GV7C5U.mjs} +1 -1
- package/dist/{chunk-TIOK7TNA.mjs → chunk-ZJ3QSWTQ.mjs} +4 -4
- package/dist/executors.js +14 -14
- package/dist/executors.mjs +28 -28
- package/dist/generators.js +10 -10
- package/dist/generators.mjs +21 -21
- package/dist/index.js +22 -22
- package/dist/index.mjs +51 -51
- 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.mjs +4 -4
- package/dist/src/executors/npm-publish/untyped.mjs +1 -1
- 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/package.json +2 -2
- package/dist/chunk-JDFMHRPQ.mjs +0 -1533
- package/dist/chunk-OWBD5WVM.js +0 -1532
|
@@ -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;
|
|
@@ -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 cargoFormatExecutor(options, context) {
|
|
|
15
15
|
return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
|
|
16
16
|
}
|
|
17
17
|
_chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
|
|
18
|
-
var executor_default =
|
|
18
|
+
var executor_default = _chunk6CGAYKQLjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
|
|
19
19
|
skipReadingConfig: false,
|
|
20
20
|
hooks: {
|
|
21
21
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk6CGAYKQLjs = require('./chunk-6CGAYKQL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkG4QFSE5Bjs = require('./chunk-G4QFSE5B.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
|
|
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
|
|
|
13
13
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
14
14
|
async function typiaExecutorFn(options, _, config) {
|
|
15
15
|
if (options.clean !== false) {
|
|
16
|
-
|
|
16
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
17
17
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
18
18
|
}
|
|
19
19
|
await Promise.all(options.entry.map((entry) => {
|
|
20
|
-
|
|
20
|
+
_chunkG4QFSE5Bjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
21
21
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
22
22
|
input: entry,
|
|
23
23
|
output: options.outputPath,
|
|
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
_chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
|
|
32
|
-
var executor_default =
|
|
32
|
+
var executor_default = _chunk6CGAYKQLjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
|
|
33
33
|
skipReadingConfig: false,
|
|
34
34
|
hooks: {
|
|
35
35
|
applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTagConstants,
|
|
3
3
|
isEqualProjectTag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CNCYVRZ4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
parseCargoToml
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7FHFHZRB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
11
11
|
|
|
12
12
|
// src/utils/package-helpers.ts
|
|
13
13
|
import { joinPathFragments, readJsonFile } from "@nx/devkit";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WDFR6LVR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
correctPaths,
|
|
6
6
|
joinPaths
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5I7ULQZF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
11
11
|
|
|
12
12
|
// ../config/src/schema.ts
|
|
13
13
|
import z from "zod";
|
|
@@ -432,10 +432,6 @@ var getLogLevelLabel = /* @__PURE__ */ __name((logLevel = LogLevel.INFO) => {
|
|
|
432
432
|
}
|
|
433
433
|
return LogLevelLabel.INFO;
|
|
434
434
|
}, "getLogLevelLabel");
|
|
435
|
-
var isVerbose = /* @__PURE__ */ __name((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__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
@@ -1135,10 +1131,16 @@ ${formatLogMessage(config)}`, config);
|
|
|
1135
1131
|
var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
|
|
1136
1132
|
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1137
1133
|
}, "getConfig");
|
|
1134
|
+
var getWorkspaceConfig = /* @__PURE__ */ __name((skipLogs = false, options = {}) => {
|
|
1135
|
+
let workspaceRoot = options.workspaceRoot;
|
|
1136
|
+
if (!workspaceRoot) {
|
|
1137
|
+
workspaceRoot = findWorkspaceRoot(options.cwd);
|
|
1138
|
+
}
|
|
1139
|
+
return getConfig(workspaceRoot, skipLogs);
|
|
1140
|
+
}, "getWorkspaceConfig");
|
|
1138
1141
|
|
|
1139
1142
|
export {
|
|
1140
1143
|
stormWorkspaceConfigSchema,
|
|
1141
|
-
isVerbose,
|
|
1142
1144
|
writeFatal,
|
|
1143
1145
|
writeError,
|
|
1144
1146
|
writeWarning,
|
|
@@ -1148,5 +1150,6 @@ export {
|
|
|
1148
1150
|
writeTrace,
|
|
1149
1151
|
getStopwatch,
|
|
1150
1152
|
formatLogMessage,
|
|
1151
|
-
getConfig
|
|
1153
|
+
getConfig,
|
|
1154
|
+
getWorkspaceConfig
|
|
1152
1155
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunGenerator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FM2TFXVW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
stormWorkspaceConfigSchema,
|
|
6
6
|
writeInfo,
|
|
7
7
|
writeSuccess,
|
|
8
8
|
writeTrace
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IZHZKPHV.mjs";
|
|
10
10
|
import {
|
|
11
11
|
findWorkspaceRoot
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WDFR6LVR.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N7GSKHH2.mjs";
|
|
16
16
|
|
|
17
17
|
// src/generators/config-schema/generator.ts
|
|
18
18
|
import { formatFiles, writeJson } from "@nx/devkit";
|