@storm-software/untyped 0.10.13 → 0.10.15
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/README.md +1 -1
- package/bin/untyped.cjs +41 -24
- package/bin/untyped.js +41 -24
- package/dist/{chunk-B75SC6IV.cjs → chunk-3Z5TYZQY.cjs} +3 -3
- package/dist/{chunk-GIXTWFTH.cjs → chunk-4LXOOGW7.cjs} +2 -1
- package/dist/{chunk-JGPO2ACZ.js → chunk-CYJU5USR.js} +1 -1
- package/dist/{chunk-65OTCZZV.cjs → chunk-CZCHPBFQ.cjs} +11 -11
- package/dist/{chunk-4GFAGAHI.js → chunk-J2BJ4KTM.js} +4 -4
- package/dist/{chunk-TYQJMJQO.cjs → chunk-JX4WBWKW.cjs} +3 -3
- package/dist/{chunk-TQHCRCMQ.js → chunk-P4WB2GX5.js} +1 -1
- package/dist/{chunk-FBUO2VZ3.js → chunk-QCWDNR2Z.js} +2 -1
- package/dist/{chunk-2F6YHVL3.cjs → chunk-QKD2ZLLI.cjs} +3 -3
- package/dist/{chunk-AQVE6XZK.js → chunk-VTUQQ2R5.js} +1 -1
- package/dist/generate.cjs +6 -6
- package/dist/generate.d.cts +1 -1
- package/dist/generate.d.ts +1 -1
- package/dist/generate.js +5 -5
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/{types-BG7WXEyf.d.cts → types-BHTvEliD.d.cts} +3 -0
- package/dist/{types-BG7WXEyf.d.ts → types-BHTvEliD.d.ts} +3 -0
- package/package.json +1 -1
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 -->
|
package/bin/untyped.cjs
CHANGED
|
@@ -74452,7 +74452,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
74452
74452
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
74453
74453
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
74454
74454
|
var StormConfigSchema = z.object({
|
|
74455
|
-
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
74455
|
+
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
74456
74456
|
extends: ExtendsSchema.optional(),
|
|
74457
74457
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
74458
74458
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -74494,6 +74494,7 @@ var StormConfigSchema = z.object({
|
|
|
74494
74494
|
"trace",
|
|
74495
74495
|
"all"
|
|
74496
74496
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
74497
|
+
skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
74497
74498
|
registry: RegistryConfigSchema,
|
|
74498
74499
|
configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
74499
74500
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
|
@@ -76014,14 +76015,17 @@ var import_node_fs10 = require("fs");
|
|
|
76014
76015
|
var import_node_path5 = require("path");
|
|
76015
76016
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
76016
76017
|
var depth = 0;
|
|
76017
|
-
function findFolderUp(startPath, endFileNames) {
|
|
76018
|
+
function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
76018
76019
|
const _startPath = startPath ?? process.cwd();
|
|
76020
|
+
if (endDirectoryNames.some((endDirName) => (0, import_node_fs10.existsSync)((0, import_node_path5.join)(_startPath, endDirName)))) {
|
|
76021
|
+
return _startPath;
|
|
76022
|
+
}
|
|
76019
76023
|
if (endFileNames.some((endFileName) => (0, import_node_fs10.existsSync)((0, import_node_path5.join)(_startPath, endFileName)))) {
|
|
76020
76024
|
return _startPath;
|
|
76021
76025
|
}
|
|
76022
76026
|
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
76023
76027
|
const parent = (0, import_node_path5.join)(_startPath, "..");
|
|
76024
|
-
return findFolderUp(parent, endFileNames);
|
|
76028
|
+
return findFolderUp(parent, endFileNames, endDirectoryNames);
|
|
76025
76029
|
}
|
|
76026
76030
|
return void 0;
|
|
76027
76031
|
}
|
|
@@ -76029,17 +76033,17 @@ __name(findFolderUp, "findFolderUp");
|
|
|
76029
76033
|
|
|
76030
76034
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
76031
76035
|
var rootFiles = [
|
|
76032
|
-
"storm.json",
|
|
76033
|
-
"storm.json",
|
|
76034
|
-
"storm.yaml",
|
|
76035
|
-
"storm.yml",
|
|
76036
|
-
"storm.js",
|
|
76037
|
-
"storm.ts",
|
|
76038
|
-
".storm.json",
|
|
76039
|
-
".storm.yaml",
|
|
76040
|
-
".storm.yml",
|
|
76041
|
-
".storm.js",
|
|
76042
|
-
".storm.ts",
|
|
76036
|
+
"storm-workspace.json",
|
|
76037
|
+
"storm-workspace.json",
|
|
76038
|
+
"storm-workspace.yaml",
|
|
76039
|
+
"storm-workspace.yml",
|
|
76040
|
+
"storm-workspace.js",
|
|
76041
|
+
"storm-workspace.ts",
|
|
76042
|
+
".storm-workspace.json",
|
|
76043
|
+
".storm-workspace.yaml",
|
|
76044
|
+
".storm-workspace.yml",
|
|
76045
|
+
".storm-workspace.js",
|
|
76046
|
+
".storm-workspace.ts",
|
|
76043
76047
|
"lerna.json",
|
|
76044
76048
|
"nx.json",
|
|
76045
76049
|
"turbo.json",
|
|
@@ -76063,11 +76067,18 @@ var rootFiles = [
|
|
|
76063
76067
|
"pnpm-lock.yml",
|
|
76064
76068
|
"bun.lockb"
|
|
76065
76069
|
];
|
|
76070
|
+
var rootDirectories = [
|
|
76071
|
+
".storm-workspace",
|
|
76072
|
+
".nx",
|
|
76073
|
+
".github",
|
|
76074
|
+
".vscode",
|
|
76075
|
+
".verdaccio"
|
|
76076
|
+
];
|
|
76066
76077
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
76067
76078
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
76068
76079
|
return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
|
|
76069
76080
|
}
|
|
76070
|
-
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles));
|
|
76081
|
+
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
|
|
76071
76082
|
}
|
|
76072
76083
|
__name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
76073
76084
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
@@ -76449,10 +76460,10 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
|
|
|
76449
76460
|
}, "getConfigFileByName");
|
|
76450
76461
|
var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames = []) => {
|
|
76451
76462
|
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
76452
|
-
const result = await getConfigFileByName("storm", workspacePath);
|
|
76463
|
+
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
76453
76464
|
let config = result.config;
|
|
76454
76465
|
const configFile = result.configFile;
|
|
76455
|
-
if (config && configFile && Object.keys(config).length > 0) {
|
|
76466
|
+
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
76456
76467
|
writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
76457
76468
|
logLevel: "all"
|
|
76458
76469
|
});
|
|
@@ -76461,9 +76472,11 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
|
|
|
76461
76472
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
76462
76473
|
for (const result2 of results) {
|
|
76463
76474
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
76464
|
-
|
|
76465
|
-
|
|
76466
|
-
|
|
76475
|
+
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
76476
|
+
writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
76477
|
+
logLevel: "all"
|
|
76478
|
+
});
|
|
76479
|
+
}
|
|
76467
76480
|
config = defu(result2.config ?? {}, config ?? {});
|
|
76468
76481
|
}
|
|
76469
76482
|
}
|
|
@@ -76537,7 +76550,8 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
|
|
|
76537
76550
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
76538
76551
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
76539
76552
|
},
|
|
76540
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
76553
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
76554
|
+
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
76541
76555
|
};
|
|
76542
76556
|
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
76543
76557
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
@@ -76773,6 +76787,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
76773
76787
|
process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
|
|
76774
76788
|
process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
|
|
76775
76789
|
}
|
|
76790
|
+
if (config.skipConfigLogging !== void 0) {
|
|
76791
|
+
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
|
|
76792
|
+
}
|
|
76776
76793
|
process.env[`${prefix}CONFIG`] = JSON.stringify(config);
|
|
76777
76794
|
for (const key of Object.keys(config.extensions ?? {})) {
|
|
76778
76795
|
config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
|
|
@@ -76890,7 +76907,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
76890
76907
|
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
76891
76908
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
76892
76909
|
if (!configFile && !skipLogs) {
|
|
76893
|
-
writeWarning("No Storm
|
|
76910
|
+
writeWarning("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", {
|
|
76894
76911
|
logLevel: "all"
|
|
76895
76912
|
});
|
|
76896
76913
|
}
|
|
@@ -76928,8 +76945,8 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
76928
76945
|
var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
76929
76946
|
const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
76930
76947
|
setConfigEnv(config);
|
|
76931
|
-
if (!skipLogs) {
|
|
76932
|
-
writeTrace(`\u2699\uFE0F Using Storm configuration:
|
|
76948
|
+
if (!skipLogs && !config.skipConfigLogging) {
|
|
76949
|
+
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
76933
76950
|
${formatLogMessage(config)}`, config);
|
|
76934
76951
|
}
|
|
76935
76952
|
return config;
|
package/bin/untyped.js
CHANGED
|
@@ -74457,7 +74457,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
74457
74457
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
74458
74458
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
74459
74459
|
var StormConfigSchema = z.object({
|
|
74460
|
-
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
74460
|
+
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
74461
74461
|
extends: ExtendsSchema.optional(),
|
|
74462
74462
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
74463
74463
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -74499,6 +74499,7 @@ var StormConfigSchema = z.object({
|
|
|
74499
74499
|
"trace",
|
|
74500
74500
|
"all"
|
|
74501
74501
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
74502
|
+
skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
74502
74503
|
registry: RegistryConfigSchema,
|
|
74503
74504
|
configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
74504
74505
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
|
@@ -76016,14 +76017,17 @@ import { existsSync as existsSync5 } from "node:fs";
|
|
|
76016
76017
|
import { join as join3 } from "node:path";
|
|
76017
76018
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
76018
76019
|
var depth = 0;
|
|
76019
|
-
function findFolderUp(startPath, endFileNames) {
|
|
76020
|
+
function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
76020
76021
|
const _startPath = startPath ?? process.cwd();
|
|
76022
|
+
if (endDirectoryNames.some((endDirName) => existsSync5(join3(_startPath, endDirName)))) {
|
|
76023
|
+
return _startPath;
|
|
76024
|
+
}
|
|
76021
76025
|
if (endFileNames.some((endFileName) => existsSync5(join3(_startPath, endFileName)))) {
|
|
76022
76026
|
return _startPath;
|
|
76023
76027
|
}
|
|
76024
76028
|
if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
|
|
76025
76029
|
const parent = join3(_startPath, "..");
|
|
76026
|
-
return findFolderUp(parent, endFileNames);
|
|
76030
|
+
return findFolderUp(parent, endFileNames, endDirectoryNames);
|
|
76027
76031
|
}
|
|
76028
76032
|
return void 0;
|
|
76029
76033
|
}
|
|
@@ -76031,17 +76035,17 @@ __name(findFolderUp, "findFolderUp");
|
|
|
76031
76035
|
|
|
76032
76036
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
76033
76037
|
var rootFiles = [
|
|
76034
|
-
"storm.json",
|
|
76035
|
-
"storm.json",
|
|
76036
|
-
"storm.yaml",
|
|
76037
|
-
"storm.yml",
|
|
76038
|
-
"storm.js",
|
|
76039
|
-
"storm.ts",
|
|
76040
|
-
".storm.json",
|
|
76041
|
-
".storm.yaml",
|
|
76042
|
-
".storm.yml",
|
|
76043
|
-
".storm.js",
|
|
76044
|
-
".storm.ts",
|
|
76038
|
+
"storm-workspace.json",
|
|
76039
|
+
"storm-workspace.json",
|
|
76040
|
+
"storm-workspace.yaml",
|
|
76041
|
+
"storm-workspace.yml",
|
|
76042
|
+
"storm-workspace.js",
|
|
76043
|
+
"storm-workspace.ts",
|
|
76044
|
+
".storm-workspace.json",
|
|
76045
|
+
".storm-workspace.yaml",
|
|
76046
|
+
".storm-workspace.yml",
|
|
76047
|
+
".storm-workspace.js",
|
|
76048
|
+
".storm-workspace.ts",
|
|
76045
76049
|
"lerna.json",
|
|
76046
76050
|
"nx.json",
|
|
76047
76051
|
"turbo.json",
|
|
@@ -76065,11 +76069,18 @@ var rootFiles = [
|
|
|
76065
76069
|
"pnpm-lock.yml",
|
|
76066
76070
|
"bun.lockb"
|
|
76067
76071
|
];
|
|
76072
|
+
var rootDirectories = [
|
|
76073
|
+
".storm-workspace",
|
|
76074
|
+
".nx",
|
|
76075
|
+
".github",
|
|
76076
|
+
".vscode",
|
|
76077
|
+
".verdaccio"
|
|
76078
|
+
];
|
|
76068
76079
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
76069
76080
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
76070
76081
|
return correctPaths(process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH);
|
|
76071
76082
|
}
|
|
76072
|
-
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles));
|
|
76083
|
+
return correctPaths(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
|
|
76073
76084
|
}
|
|
76074
76085
|
__name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
76075
76086
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
@@ -76451,10 +76462,10 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
|
|
|
76451
76462
|
}, "getConfigFileByName");
|
|
76452
76463
|
var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames = []) => {
|
|
76453
76464
|
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
76454
|
-
const result = await getConfigFileByName("storm", workspacePath);
|
|
76465
|
+
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
76455
76466
|
let config = result.config;
|
|
76456
76467
|
const configFile = result.configFile;
|
|
76457
|
-
if (config && configFile && Object.keys(config).length > 0) {
|
|
76468
|
+
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
76458
76469
|
writeTrace(`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
76459
76470
|
logLevel: "all"
|
|
76460
76471
|
});
|
|
@@ -76463,9 +76474,11 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
|
|
|
76463
76474
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
76464
76475
|
for (const result2 of results) {
|
|
76465
76476
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
76466
|
-
|
|
76467
|
-
|
|
76468
|
-
|
|
76477
|
+
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
76478
|
+
writeTrace(`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
76479
|
+
logLevel: "all"
|
|
76480
|
+
});
|
|
76481
|
+
}
|
|
76469
76482
|
config = defu(result2.config ?? {}, config ?? {});
|
|
76470
76483
|
}
|
|
76471
76484
|
}
|
|
@@ -76539,7 +76552,8 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
|
|
|
76539
76552
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
76540
76553
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
76541
76554
|
},
|
|
76542
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
76555
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? getLogLevelLabel(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
76556
|
+
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
76543
76557
|
};
|
|
76544
76558
|
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
76545
76559
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
@@ -76775,6 +76789,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
76775
76789
|
process.env.NX_VERBOSE_LOGGING = String(getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false);
|
|
76776
76790
|
process.env.RUST_BACKTRACE = getLogLevel(config.logLevel) >= LogLevel.DEBUG ? "full" : "none";
|
|
76777
76791
|
}
|
|
76792
|
+
if (config.skipConfigLogging !== void 0) {
|
|
76793
|
+
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
|
|
76794
|
+
}
|
|
76778
76795
|
process.env[`${prefix}CONFIG`] = JSON.stringify(config);
|
|
76779
76796
|
for (const key of Object.keys(config.extensions ?? {})) {
|
|
76780
76797
|
config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
|
|
@@ -76892,7 +76909,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
76892
76909
|
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
76893
76910
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
76894
76911
|
if (!configFile && !skipLogs) {
|
|
76895
|
-
writeWarning("No Storm
|
|
76912
|
+
writeWarning("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", {
|
|
76896
76913
|
logLevel: "all"
|
|
76897
76914
|
});
|
|
76898
76915
|
}
|
|
@@ -76930,8 +76947,8 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
76930
76947
|
var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
76931
76948
|
const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
76932
76949
|
setConfigEnv(config);
|
|
76933
|
-
if (!skipLogs) {
|
|
76934
|
-
writeTrace(`\u2699\uFE0F Using Storm configuration:
|
|
76950
|
+
if (!skipLogs && !config.skipConfigLogging) {
|
|
76951
|
+
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
76935
76952
|
${formatLogMessage(config)}`, config);
|
|
76936
76953
|
}
|
|
76937
76954
|
return config;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4LXOOGW7cjs = require('./chunk-4LXOOGW7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -29,10 +29,10 @@ _chunkF5WNAG3Dcjs.__name.call(void 0, generateDeclaration, "generateDeclaration"
|
|
|
29
29
|
function generateDeclarationFile(schema, file, config) {
|
|
30
30
|
try {
|
|
31
31
|
const declarations = _chunkF5WNAG3Dcjs.getOutputFile.call(void 0, file, "d.ts");
|
|
32
|
-
|
|
32
|
+
_chunk4LXOOGW7cjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
|
|
33
33
|
return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema));
|
|
34
34
|
} catch (error) {
|
|
35
|
-
|
|
35
|
+
_chunk4LXOOGW7cjs.writeError.call(void 0, `Error writing declaration file for ${file.name}
|
|
36
36
|
|
|
37
37
|
Error:
|
|
38
38
|
${_optionalChain([error, 'optionalAccess', _4 => _4.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _5 => _5.stack]) ? `
|
|
@@ -6972,7 +6972,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
6972
6972
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
6973
6973
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
6974
6974
|
var StormConfigSchema = z.object({
|
|
6975
|
-
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
6975
|
+
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
6976
6976
|
extends: ExtendsSchema.optional(),
|
|
6977
6977
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
6978
6978
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -7014,6 +7014,7 @@ var StormConfigSchema = z.object({
|
|
|
7014
7014
|
"trace",
|
|
7015
7015
|
"all"
|
|
7016
7016
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
7017
|
+
skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
7017
7018
|
registry: RegistryConfigSchema,
|
|
7018
7019
|
configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
7019
7020
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk3Z5TYZQYcjs = require('./chunk-3Z5TYZQY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQKD2ZLLIcjs = require('./chunk-QKD2ZLLI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkJX4WBWKWcjs = require('./chunk-JX4WBWKW.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk4LXOOGW7cjs = require('./chunk-4LXOOGW7.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -23,7 +23,7 @@ _chunkF5WNAG3Dcjs.init_cjs_shims.call(void 0, );
|
|
|
23
23
|
var _glob = require('glob');
|
|
24
24
|
var _loader = require('untyped/loader');
|
|
25
25
|
var getGenerateAction = /* @__PURE__ */ _chunkF5WNAG3Dcjs.__name.call(void 0, (config) => async (options) => {
|
|
26
|
-
|
|
26
|
+
_chunk4LXOOGW7cjs.writeTrace.call(void 0, `Running Storm Untyped with options: ${JSON.stringify(options)}`, config);
|
|
27
27
|
const files = await _glob.glob.call(void 0, options.entry || "**/{untyped.ts,*.untyped.ts}", {
|
|
28
28
|
ignore: [
|
|
29
29
|
"**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}",
|
|
@@ -38,18 +38,18 @@ var getGenerateAction = /* @__PURE__ */ _chunkF5WNAG3Dcjs.__name.call(void 0, (c
|
|
|
38
38
|
cwd: config.workspaceRoot
|
|
39
39
|
});
|
|
40
40
|
await Promise.all(files.map(async (file) => {
|
|
41
|
-
|
|
41
|
+
_chunk4LXOOGW7cjs.writeTrace.call(void 0, `Generating files for schema file: ${_chunkF5WNAG3Dcjs.joinPaths.call(void 0, file.parentPath, file.name)}`, config);
|
|
42
42
|
let schema;
|
|
43
43
|
try {
|
|
44
44
|
schema = await _loader.loadSchema.call(void 0, _chunkF5WNAG3Dcjs.joinPaths.call(void 0, file.parentPath, file.name), {
|
|
45
45
|
jiti: {
|
|
46
|
-
debug:
|
|
46
|
+
debug: _chunk4LXOOGW7cjs.isVerbose.call(void 0, config.logLevel),
|
|
47
47
|
fsCache: config.skipCache ? false : _chunkF5WNAG3Dcjs.joinPaths.call(void 0, config.directories.cache || _chunkF5WNAG3Dcjs.joinPaths.call(void 0, config.workspaceRoot, "node_modules/.cache/storm"), "jiti"),
|
|
48
48
|
interopDefault: true
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
} catch (error) {
|
|
52
|
-
|
|
52
|
+
_chunk4LXOOGW7cjs.writeError.call(void 0, `Error while parsing schema file: ${_chunkF5WNAG3Dcjs.joinPaths.call(void 0, file.parentPath, file.name)}
|
|
53
53
|
|
|
54
54
|
Error:
|
|
55
55
|
${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
|
|
@@ -61,9 +61,9 @@ ${JSON.stringify(schema)}
|
|
|
61
61
|
throw error;
|
|
62
62
|
}
|
|
63
63
|
const promises = [];
|
|
64
|
-
promises.push(
|
|
65
|
-
promises.push(
|
|
66
|
-
promises.push(
|
|
64
|
+
promises.push(_chunk3Z5TYZQYcjs.generateDeclarationFile.call(void 0, schema, file, config));
|
|
65
|
+
promises.push(_chunkJX4WBWKWcjs.generateMarkdownFile.call(void 0, schema, file, config));
|
|
66
|
+
promises.push(_chunkQKD2ZLLIcjs.generateJsonSchemaFile.call(void 0, schema, file, config));
|
|
67
67
|
return Promise.all(promises);
|
|
68
68
|
}));
|
|
69
69
|
}, "getGenerateAction");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateDeclarationFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CYJU5USR.js";
|
|
4
4
|
import {
|
|
5
5
|
generateJsonSchemaFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VTUQQ2R5.js";
|
|
7
7
|
import {
|
|
8
8
|
generateMarkdownFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P4WB2GX5.js";
|
|
10
10
|
import {
|
|
11
11
|
isVerbose,
|
|
12
12
|
writeError,
|
|
13
13
|
writeTrace
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QCWDNR2Z.js";
|
|
15
15
|
import {
|
|
16
16
|
__name,
|
|
17
17
|
init_esm_shims,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4LXOOGW7cjs = require('./chunk-4LXOOGW7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -48,10 +48,10 @@ _chunkF5WNAG3Dcjs.__name.call(void 0, generateMarkdownLevel, "generateMarkdownLe
|
|
|
48
48
|
function generateMarkdownFile(schema, file, config) {
|
|
49
49
|
try {
|
|
50
50
|
const declarations = _chunkF5WNAG3Dcjs.getOutputFile.call(void 0, file, "md");
|
|
51
|
-
|
|
51
|
+
_chunk4LXOOGW7cjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
|
|
52
52
|
return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema));
|
|
53
53
|
} catch (error) {
|
|
54
|
-
|
|
54
|
+
_chunk4LXOOGW7cjs.writeError.call(void 0, `Error writing markdown file for ${file.name}
|
|
55
55
|
|
|
56
56
|
Error:
|
|
57
57
|
${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
|
|
@@ -6972,7 +6972,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
6972
6972
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
6973
6973
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
6974
6974
|
var StormConfigSchema = z.object({
|
|
6975
|
-
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
6975
|
+
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
6976
6976
|
extends: ExtendsSchema.optional(),
|
|
6977
6977
|
name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
|
|
6978
6978
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
@@ -7014,6 +7014,7 @@ var StormConfigSchema = z.object({
|
|
|
7014
7014
|
"trace",
|
|
7015
7015
|
"all"
|
|
7016
7016
|
]).default("info").describe("The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."),
|
|
7017
|
+
skipConfigLogging: z.boolean().optional().describe("Should the logging of the current Storm Workspace configuration be skipped?"),
|
|
7017
7018
|
registry: RegistryConfigSchema,
|
|
7018
7019
|
configFile: z.string().trim().nullable().default(null).describe("The filepath of the Storm config. When this field is null, no config file was found in the current workspace."),
|
|
7019
7020
|
colors: ColorConfigSchema.or(ColorConfigMapSchema).describe("Storm theme config values used for styling various package elements"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4LXOOGW7cjs = require('./chunk-4LXOOGW7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,10 +14,10 @@ var _promises = require('fs/promises');
|
|
|
14
14
|
function generateJsonSchemaFile(schema, file, config) {
|
|
15
15
|
try {
|
|
16
16
|
const jsonSchema = _chunkF5WNAG3Dcjs.getOutputFile.call(void 0, file, "json");
|
|
17
|
-
|
|
17
|
+
_chunk4LXOOGW7cjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
|
|
18
18
|
return _promises.writeFile.call(void 0, jsonSchema, JSON.stringify(schema, null, 2));
|
|
19
19
|
} catch (error) {
|
|
20
|
-
|
|
20
|
+
_chunk4LXOOGW7cjs.writeError.call(void 0, `Error writing JSON schema file for ${file.name}
|
|
21
21
|
|
|
22
22
|
Error:
|
|
23
23
|
${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
|
package/dist/generate.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
3
|
+
var _chunkCZCHPBFQcjs = require('./chunk-CZCHPBFQ.cjs');
|
|
4
|
+
require('./chunk-3Z5TYZQY.cjs');
|
|
5
|
+
require('./chunk-QKD2ZLLI.cjs');
|
|
6
|
+
require('./chunk-JX4WBWKW.cjs');
|
|
7
|
+
require('./chunk-4LXOOGW7.cjs');
|
|
8
8
|
require('./chunk-F5WNAG3D.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getGenerateAction =
|
|
11
|
+
exports.getGenerateAction = _chunkCZCHPBFQcjs.getGenerateAction;
|
package/dist/generate.d.cts
CHANGED
package/dist/generate.d.ts
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-J2BJ4KTM.js";
|
|
4
|
+
import "./chunk-CYJU5USR.js";
|
|
5
|
+
import "./chunk-VTUQQ2R5.js";
|
|
6
|
+
import "./chunk-P4WB2GX5.js";
|
|
7
|
+
import "./chunk-QCWDNR2Z.js";
|
|
8
8
|
import "./chunk-BTRJB2UN.js";
|
|
9
9
|
export {
|
|
10
10
|
getGenerateAction
|
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCZCHPBFQcjs = require('./chunk-CZCHPBFQ.cjs');
|
|
4
4
|
require('./chunk-2TJERUMJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk3Z5TYZQYcjs = require('./chunk-3Z5TYZQY.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkQKD2ZLLIcjs = require('./chunk-QKD2ZLLI.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkJX4WBWKWcjs = require('./chunk-JX4WBWKW.cjs');
|
|
16
|
+
require('./chunk-4LXOOGW7.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -29,4 +29,4 @@ _chunkF5WNAG3Dcjs.init_cjs_shims.call(void 0, );
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.generateDeclaration =
|
|
32
|
+
exports.generateDeclaration = _chunk3Z5TYZQYcjs.generateDeclaration; exports.generateDeclarationFile = _chunk3Z5TYZQYcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkQKD2ZLLIcjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkJX4WBWKWcjs.generateMarkdown; exports.generateMarkdownFile = _chunkJX4WBWKWcjs.generateMarkdownFile; exports.getGenerateAction = _chunkCZCHPBFQcjs.getGenerateAction; exports.getOutputFile = _chunkF5WNAG3Dcjs.getOutputFile;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ export { generateDeclaration, generateDeclarationFile } from './generators/dts.c
|
|
|
3
3
|
export { generateJsonSchemaFile } from './generators/json-schema.cjs';
|
|
4
4
|
export { generateMarkdown, generateMarkdownFile } from './generators/markdown.cjs';
|
|
5
5
|
export { getOutputFile } from './utilities.cjs';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-BHTvEliD.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'glob';
|
|
9
9
|
import 'untyped';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { generateDeclaration, generateDeclarationFile } from './generators/dts.j
|
|
|
3
3
|
export { generateJsonSchemaFile } from './generators/json-schema.js';
|
|
4
4
|
export { generateMarkdown, generateMarkdownFile } from './generators/markdown.js';
|
|
5
5
|
export { getOutputFile } from './utilities.js';
|
|
6
|
-
import './types-
|
|
6
|
+
import './types-BHTvEliD.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'glob';
|
|
9
9
|
import 'untyped';
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J2BJ4KTM.js";
|
|
4
4
|
import "./chunk-ISJA5MP7.js";
|
|
5
5
|
import {
|
|
6
6
|
generateDeclaration,
|
|
7
7
|
generateDeclarationFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CYJU5USR.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VTUQQ2R5.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdown,
|
|
14
14
|
generateMarkdownFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-P4WB2GX5.js";
|
|
16
|
+
import "./chunk-QCWDNR2Z.js";
|
|
17
17
|
import {
|
|
18
18
|
getOutputFile,
|
|
19
19
|
init_esm_shims
|
|
@@ -57,6 +57,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
57
57
|
timezone: z.ZodDefault<z.ZodString>;
|
|
58
58
|
locale: z.ZodDefault<z.ZodString>;
|
|
59
59
|
logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
|
|
60
|
+
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
60
61
|
registry: z.ZodDefault<z.ZodObject<{
|
|
61
62
|
github: z.ZodOptional<z.ZodString>;
|
|
62
63
|
npm: z.ZodOptional<z.ZodString>;
|
|
@@ -983,6 +984,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
983
984
|
namespace?: string | undefined;
|
|
984
985
|
repository?: string | undefined;
|
|
985
986
|
preid?: string | undefined;
|
|
987
|
+
skipConfigLogging?: boolean | undefined;
|
|
986
988
|
}, {
|
|
987
989
|
bot: {
|
|
988
990
|
name?: string | undefined;
|
|
@@ -1164,6 +1166,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1164
1166
|
timezone?: string | undefined;
|
|
1165
1167
|
locale?: string | undefined;
|
|
1166
1168
|
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1169
|
+
skipConfigLogging?: boolean | undefined;
|
|
1167
1170
|
registry?: {
|
|
1168
1171
|
npm?: string | undefined;
|
|
1169
1172
|
github?: string | undefined;
|
|
@@ -57,6 +57,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
57
57
|
timezone: z.ZodDefault<z.ZodString>;
|
|
58
58
|
locale: z.ZodDefault<z.ZodString>;
|
|
59
59
|
logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "success", "info", "debug", "trace", "all"]>>;
|
|
60
|
+
skipConfigLogging: z.ZodOptional<z.ZodBoolean>;
|
|
60
61
|
registry: z.ZodDefault<z.ZodObject<{
|
|
61
62
|
github: z.ZodOptional<z.ZodString>;
|
|
62
63
|
npm: z.ZodOptional<z.ZodString>;
|
|
@@ -983,6 +984,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
983
984
|
namespace?: string | undefined;
|
|
984
985
|
repository?: string | undefined;
|
|
985
986
|
preid?: string | undefined;
|
|
987
|
+
skipConfigLogging?: boolean | undefined;
|
|
986
988
|
}, {
|
|
987
989
|
bot: {
|
|
988
990
|
name?: string | undefined;
|
|
@@ -1164,6 +1166,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1164
1166
|
timezone?: string | undefined;
|
|
1165
1167
|
locale?: string | undefined;
|
|
1166
1168
|
logLevel?: "silent" | "fatal" | "error" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1169
|
+
skipConfigLogging?: boolean | undefined;
|
|
1167
1170
|
registry?: {
|
|
1168
1171
|
npm?: string | undefined;
|
|
1169
1172
|
github?: string | undefined;
|
package/package.json
CHANGED