@storm-software/config-tools 1.176.6 → 1.176.8
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 +2 -1
- package/bin/config.cjs +21 -5
- package/bin/config.js +21 -5
- package/dist/{chunk-DA5LOQSA.js → chunk-2OGCM7UN.js} +21 -5
- package/dist/{chunk-KDOTF6FA.js → chunk-C77H5TXM.js} +1 -1
- package/dist/{chunk-VLTBXBXD.cjs → chunk-EKVUGCY6.cjs} +3 -3
- package/dist/{chunk-JF4C3F7A.cjs → chunk-J7OMCZHA.cjs} +21 -5
- package/dist/create-storm-config.cjs +2 -2
- package/dist/create-storm-config.d.cts +3 -3
- package/dist/create-storm-config.d.ts +3 -3
- package/dist/create-storm-config.js +1 -1
- package/dist/get-config.cjs +3 -3
- package/dist/get-config.js +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Configuration Tools](#storm-configuration-tools)
|
package/bin/config.cjs
CHANGED
|
@@ -1296,12 +1296,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1299
|
+
const configInput = (0, import_defu2.default)(
|
|
1300
|
+
configEnv,
|
|
1301
|
+
configFile,
|
|
1302
|
+
defaultConfig
|
|
1303
1303
|
);
|
|
1304
|
-
|
|
1304
|
+
try {
|
|
1305
|
+
result = applyDefaultConfig(
|
|
1306
|
+
await import_schema.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
1307
|
+
);
|
|
1308
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
1309
|
+
} catch (error) {
|
|
1310
|
+
throw new Error(
|
|
1311
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
1312
|
+
|
|
1313
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
1314
|
+
configInput
|
|
1315
|
+
)}`,
|
|
1316
|
+
{
|
|
1317
|
+
cause: error
|
|
1318
|
+
}
|
|
1319
|
+
);
|
|
1320
|
+
}
|
|
1305
1321
|
} else {
|
|
1306
1322
|
result = _static_cache.data;
|
|
1307
1323
|
}
|
package/bin/config.js
CHANGED
|
@@ -1271,12 +1271,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1271
1271
|
}
|
|
1272
1272
|
}
|
|
1273
1273
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1274
|
+
const configInput = defu2(
|
|
1275
|
+
configEnv,
|
|
1276
|
+
configFile,
|
|
1277
|
+
defaultConfig
|
|
1278
1278
|
);
|
|
1279
|
-
|
|
1279
|
+
try {
|
|
1280
|
+
result = applyDefaultConfig(
|
|
1281
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
1282
|
+
);
|
|
1283
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
1284
|
+
} catch (error) {
|
|
1285
|
+
throw new Error(
|
|
1286
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
1287
|
+
|
|
1288
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
1289
|
+
configInput
|
|
1290
|
+
)}`,
|
|
1291
|
+
{
|
|
1292
|
+
cause: error
|
|
1293
|
+
}
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1280
1296
|
} else {
|
|
1281
1297
|
result = _static_cache.data;
|
|
1282
1298
|
}
|
|
@@ -47,12 +47,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
const configInput = defu(
|
|
51
|
+
configEnv,
|
|
52
|
+
configFile,
|
|
53
|
+
defaultConfig
|
|
54
54
|
);
|
|
55
|
-
|
|
55
|
+
try {
|
|
56
|
+
result = applyDefaultConfig(
|
|
57
|
+
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
58
|
+
);
|
|
59
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
60
|
+
} catch (error) {
|
|
61
|
+
throw new Error(
|
|
62
|
+
`Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
|
|
63
|
+
|
|
64
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${formatLogMessage(
|
|
65
|
+
configInput
|
|
66
|
+
)}`,
|
|
67
|
+
{
|
|
68
|
+
cause: error
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
56
72
|
} else {
|
|
57
73
|
result = _static_cache.data;
|
|
58
74
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJ7OMCZHAcjs = require('./chunk-J7OMCZHA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkU436743Ucjs = require('./chunk-U436743U.cjs');
|
|
8
8
|
|
|
9
9
|
// src/get-config.ts
|
|
10
10
|
var getConfig = (workspaceRoot, skipLogs = false) => {
|
|
11
|
-
return
|
|
11
|
+
return _chunkJ7OMCZHAcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
|
|
12
12
|
};
|
|
13
13
|
var getWorkspaceConfig = (skipLogs = true, options = {}) => {
|
|
14
14
|
let workspaceRoot = options.workspaceRoot;
|
|
@@ -23,7 +23,7 @@ var tryGetWorkspaceConfig = async (skipLogs = true, options = {}) => {
|
|
|
23
23
|
if (!workspaceRoot) {
|
|
24
24
|
workspaceRoot = _chunkU436743Ucjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
25
25
|
}
|
|
26
|
-
return
|
|
26
|
+
return _chunkJ7OMCZHAcjs.tryLoadStormWorkspaceConfig.call(void 0,
|
|
27
27
|
workspaceRoot,
|
|
28
28
|
skipLogs,
|
|
29
29
|
options.useDefault
|
|
@@ -47,12 +47,28 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const defaultConfig = await _chunkKH5SONKWcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
const configInput = _defu2.default.call(void 0,
|
|
51
|
+
configEnv,
|
|
52
|
+
configFile,
|
|
53
|
+
defaultConfig
|
|
54
54
|
);
|
|
55
|
-
|
|
55
|
+
try {
|
|
56
|
+
result = _chunkKH5SONKWcjs.applyDefaultConfig.call(void 0,
|
|
57
|
+
await _schema.stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
58
|
+
);
|
|
59
|
+
result.workspaceRoot ??= _workspaceRoot;
|
|
60
|
+
} catch (error) {
|
|
61
|
+
throw new Error(
|
|
62
|
+
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _3 => _3.message]) ? `: ${error.message}` : ""}
|
|
63
|
+
|
|
64
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkRP3PSEDAcjs.formatLogMessage.call(void 0,
|
|
65
|
+
configInput
|
|
66
|
+
)}`,
|
|
67
|
+
{
|
|
68
|
+
cause: error
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
56
72
|
} else {
|
|
57
73
|
result = _static_cache.data;
|
|
58
74
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJ7OMCZHAcjs = require('./chunk-J7OMCZHA.cjs');
|
|
7
7
|
require('./chunk-DVENQC2F.cjs');
|
|
8
8
|
require('./chunk-3COHMHPU.cjs');
|
|
9
9
|
require('./chunk-5IK56ULJ.cjs');
|
|
@@ -32,4 +32,4 @@ require('./chunk-IRCFHYKZ.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.createConfigExtension =
|
|
35
|
+
exports.createConfigExtension = _chunkJ7OMCZHAcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunkJ7OMCZHAcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunkJ7OMCZHAcjs.loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkJ7OMCZHAcjs.tryLoadStormWorkspaceConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
|
-
import
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Get the config for the current Storm workspace
|
|
@@ -11,7 +11,7 @@ import { ZodTypeAny } from 'zod';
|
|
|
11
11
|
* @param useDefault - Whether to use the default config if no config file is found
|
|
12
12
|
* @returns The config for the current Storm workspace
|
|
13
13
|
*/
|
|
14
|
-
declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends
|
|
14
|
+
declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends z.ZodType = z.ZodType, TUseDefault extends boolean | undefined = boolean | undefined, TResult = TUseDefault extends true ? StormWorkspaceConfig<TExtensionName, TExtensionConfig> : StormWorkspaceConfig<TExtensionName, TExtensionConfig> | undefined>(extensionName?: TExtensionName, schema?: TExtensionSchema, workspaceRoot?: string, skipLogs?: boolean, useDefault?: TUseDefault) => Promise<TResult>;
|
|
15
15
|
/**
|
|
16
16
|
* Get the config for a specific Storm config Extension
|
|
17
17
|
*
|
|
@@ -19,7 +19,7 @@ declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWor
|
|
|
19
19
|
* @param options - The options for the config extension
|
|
20
20
|
* @returns The config for the specified Storm config extension. If the extension does not exist, `undefined` is returned.
|
|
21
21
|
*/
|
|
22
|
-
declare const createConfigExtension: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends
|
|
22
|
+
declare const createConfigExtension: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends z.ZodType = z.ZodType>(extensionName: TExtensionName, schema: TExtensionSchema) => TExtensionConfig;
|
|
23
23
|
/**
|
|
24
24
|
* Load the config file values for the current Storm workspace into environment variables
|
|
25
25
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
|
-
import
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Get the config for the current Storm workspace
|
|
@@ -11,7 +11,7 @@ import { ZodTypeAny } from 'zod';
|
|
|
11
11
|
* @param useDefault - Whether to use the default config if no config file is found
|
|
12
12
|
* @returns The config for the current Storm workspace
|
|
13
13
|
*/
|
|
14
|
-
declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends
|
|
14
|
+
declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends z.ZodType = z.ZodType, TUseDefault extends boolean | undefined = boolean | undefined, TResult = TUseDefault extends true ? StormWorkspaceConfig<TExtensionName, TExtensionConfig> : StormWorkspaceConfig<TExtensionName, TExtensionConfig> | undefined>(extensionName?: TExtensionName, schema?: TExtensionSchema, workspaceRoot?: string, skipLogs?: boolean, useDefault?: TUseDefault) => Promise<TResult>;
|
|
15
15
|
/**
|
|
16
16
|
* Get the config for a specific Storm config Extension
|
|
17
17
|
*
|
|
@@ -19,7 +19,7 @@ declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWor
|
|
|
19
19
|
* @param options - The options for the config extension
|
|
20
20
|
* @returns The config for the specified Storm config extension. If the extension does not exist, `undefined` is returned.
|
|
21
21
|
*/
|
|
22
|
-
declare const createConfigExtension: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends
|
|
22
|
+
declare const createConfigExtension: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends z.ZodType = z.ZodType>(extensionName: TExtensionName, schema: TExtensionSchema) => TExtensionConfig;
|
|
23
23
|
/**
|
|
24
24
|
* Load the config file values for the current Storm workspace into environment variables
|
|
25
25
|
*
|
package/dist/get-config.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkEKVUGCY6cjs = require('./chunk-EKVUGCY6.cjs');
|
|
6
|
+
require('./chunk-J7OMCZHA.cjs');
|
|
7
7
|
require('./chunk-DVENQC2F.cjs');
|
|
8
8
|
require('./chunk-3COHMHPU.cjs');
|
|
9
9
|
require('./chunk-5IK56ULJ.cjs');
|
|
@@ -31,4 +31,4 @@ require('./chunk-IRCFHYKZ.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
exports.getConfig =
|
|
34
|
+
exports.getConfig = _chunkEKVUGCY6cjs.getConfig; exports.getWorkspaceConfig = _chunkEKVUGCY6cjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunkEKVUGCY6cjs.tryGetWorkspaceConfig;
|
package/dist/get-config.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
getConfig,
|
|
3
3
|
getWorkspaceConfig,
|
|
4
4
|
tryGetWorkspaceConfig
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-C77H5TXM.js";
|
|
6
|
+
import "./chunk-2OGCM7UN.js";
|
|
7
7
|
import "./chunk-ZLQAA425.js";
|
|
8
8
|
import "./chunk-UKGRDKIH.js";
|
|
9
9
|
import "./chunk-CCW22JYO.js";
|
package/dist/index.cjs
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkEKVUGCY6cjs = require('./chunk-EKVUGCY6.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkJ7OMCZHAcjs = require('./chunk-J7OMCZHA.cjs');
|
|
12
12
|
require('./chunk-IWD6YQKX.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
@@ -192,4 +192,4 @@ var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
|
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
|
|
195
|
-
exports.CONSOLE_ICONS = _chunkWBQ4VS7Ecjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkKH5SONKWcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkDQT6QJRQcjs.LARGE_BUFFER; exports.LogLevel = _chunkIRCFHYKZcjs.LogLevel; exports.LogLevelLabel = _chunkIRCFHYKZcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkKH5SONKWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkQLJYCKMDcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkQLJYCKMDcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkQLJYCKMDcjs.applyWorkspaceTokens; exports.basename = _chunkM3REM2FUcjs.basename; exports.correctPaths = _chunkM3REM2FUcjs.correctPaths; exports.createConfigExtension =
|
|
195
|
+
exports.CONSOLE_ICONS = _chunkWBQ4VS7Ecjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkKH5SONKWcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkDQT6QJRQcjs.LARGE_BUFFER; exports.LogLevel = _chunkIRCFHYKZcjs.LogLevel; exports.LogLevelLabel = _chunkIRCFHYKZcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkKH5SONKWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkQLJYCKMDcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkQLJYCKMDcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkQLJYCKMDcjs.applyWorkspaceTokens; exports.basename = _chunkM3REM2FUcjs.basename; exports.correctPaths = _chunkM3REM2FUcjs.correctPaths; exports.createConfigExtension = _chunkJ7OMCZHAcjs.createConfigExtension; exports.createLogger = _chunkBGR77S6Ycjs.createLogger; exports.createStormWorkspaceConfig = _chunkJ7OMCZHAcjs.createStormWorkspaceConfig; exports.dirname = _chunkM3REM2FUcjs.dirname; exports.exitWithError = _chunk5IK56ULJcjs.exitWithError; exports.exitWithSuccess = _chunk5IK56ULJcjs.exitWithSuccess; exports.extname = _chunkM3REM2FUcjs.extname; exports.findFileName = _chunkJMI7BRL7cjs.findFileName; exports.findFilePath = _chunkJMI7BRL7cjs.findFilePath; exports.findWorkspaceRoot = _chunkU436743Ucjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkU436743Ucjs.findWorkspaceRootSafe; exports.format = _chunkM3REM2FUcjs.format; exports.formatLogMessage = _chunkRP3PSEDAcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkCTYIEJ7Ccjs.getChalk; exports.getColor = _chunkUCO4HZFNcjs.getColor; exports.getColorConfig = _chunkUCO4HZFNcjs.getColorConfig; exports.getConfig = _chunkEKVUGCY6cjs.getConfig; exports.getConfigEnv = _chunkQGASWRUNcjs.getConfigEnv; exports.getConfigFile = _chunkDVENQC2Fcjs.getConfigFile; exports.getConfigFileByName = _chunkDVENQC2Fcjs.getConfigFileByName; exports.getExtensionEnv = _chunkQGASWRUNcjs.getExtensionEnv; exports.getLogFn = _chunkRP3PSEDAcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getPackageJsonConfig = _chunkKH5SONKWcjs.getPackageJsonConfig; exports.getStopwatch = _chunkRP3PSEDAcjs.getStopwatch; exports.getWorkspaceConfig = _chunkEKVUGCY6cjs.getWorkspaceConfig; exports.handleProcess = _chunk5IK56ULJcjs.handleProcess; exports.isAbsolute = _chunkM3REM2FUcjs.isAbsolute; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.joinPaths = _chunkM3REM2FUcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkJ7OMCZHAcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkEV4US3SKcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkEV4US3SKcjs.modifyCargoTable; exports.normalizeString = _chunkM3REM2FUcjs.normalizeString; exports.normalizeWindowsPath = _chunkM3REM2FUcjs.normalizeWindowsPath; exports.parse = _chunkM3REM2FUcjs.parse; exports.parseCargoToml = _chunkEV4US3SKcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkEV4US3SKcjs.parseCargoTomlWithTree; exports.relative = _chunkM3REM2FUcjs.relative; exports.removeExtension = _chunkJMI7BRL7cjs.removeExtension; exports.resolve = _chunkM3REM2FUcjs.resolve; exports.run = _chunkDQT6QJRQcjs.run; exports.runAsync = _chunkDQT6QJRQcjs.runAsync; exports.sep = _chunkM3REM2FUcjs.sep; exports.setConfigEnv = _chunk7GRIRHUQcjs.setConfigEnv; exports.setExtensionEnv = _chunk7GRIRHUQcjs.setExtensionEnv; exports.stringifyCargoToml = _chunkEV4US3SKcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkM3REM2FUcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunkEKVUGCY6cjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkJ7OMCZHAcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunkRP3PSEDAcjs.writeDebug; exports.writeError = _chunkRP3PSEDAcjs.writeError; exports.writeFatal = _chunkRP3PSEDAcjs.writeFatal; exports.writeInfo = _chunkRP3PSEDAcjs.writeInfo; exports.writeSuccess = _chunkRP3PSEDAcjs.writeSuccess; exports.writeSystem = _chunkRP3PSEDAcjs.writeSystem; exports.writeTrace = _chunkRP3PSEDAcjs.writeTrace; exports.writeWarning = _chunkRP3PSEDAcjs.writeWarning;
|
package/dist/index.d.cts
CHANGED
|
@@ -22,7 +22,7 @@ export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './utilities/r
|
|
|
22
22
|
export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, Tree, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './utilities/toml.cjs';
|
|
23
23
|
import '@storm-software/config';
|
|
24
24
|
import 'c12';
|
|
25
|
-
import 'zod';
|
|
25
|
+
import 'zod/v4';
|
|
26
26
|
import '@storm-software/config/types';
|
|
27
27
|
import 'node:path';
|
|
28
28
|
import 'child_process';
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './utilities/r
|
|
|
22
22
|
export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, Tree, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './utilities/toml.js';
|
|
23
23
|
import '@storm-software/config';
|
|
24
24
|
import 'c12';
|
|
25
|
-
import 'zod';
|
|
25
|
+
import 'zod/v4';
|
|
26
26
|
import '@storm-software/config/types';
|
|
27
27
|
import 'node:path';
|
|
28
28
|
import 'child_process';
|
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
getConfig,
|
|
3
3
|
getWorkspaceConfig,
|
|
4
4
|
tryGetWorkspaceConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C77H5TXM.js";
|
|
6
6
|
import {
|
|
7
7
|
createConfigExtension,
|
|
8
8
|
createStormWorkspaceConfig,
|
|
9
9
|
loadStormWorkspaceConfig,
|
|
10
10
|
tryLoadStormWorkspaceConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2OGCM7UN.js";
|
|
12
12
|
import "./chunk-2AVLCXLT.js";
|
|
13
13
|
import {
|
|
14
14
|
getConfigFile,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.176.
|
|
3
|
+
"version": "1.176.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various utilities to support custom workspace configurations and environment management for Storm Software projects, including configuration file handling, environment variable management, and logging utilities.",
|
|
6
6
|
"repository": {
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
],
|
|
212
212
|
"dependencies": {
|
|
213
213
|
"@ltd/j-toml": "1.38.0",
|
|
214
|
-
"@storm-software/config": "^1.125.
|
|
214
|
+
"@storm-software/config": "^1.125.7",
|
|
215
215
|
"c12": "^2.0.0-beta.2",
|
|
216
216
|
"chalk": "^4.1.2",
|
|
217
217
|
"commander": "^12.1.0",
|
|
@@ -219,10 +219,10 @@
|
|
|
219
219
|
"giget": "^1.2.5",
|
|
220
220
|
"jiti": "^2.4.2",
|
|
221
221
|
"sqlite": "^5.1.1",
|
|
222
|
-
"zod": "^
|
|
222
|
+
"zod": "^4.0.2"
|
|
223
223
|
},
|
|
224
224
|
"devDependencies": { "@types/node": "^22.10.2", "tsup": "8.4.0" },
|
|
225
225
|
"publishConfig": { "access": "public" },
|
|
226
226
|
"sideEffects": false,
|
|
227
|
-
"gitHead": "
|
|
227
|
+
"gitHead": "b0d8f489b75626777c4ba65ba127298f9cafa3f0"
|
|
228
228
|
}
|