@storm-software/config-tools 1.119.0 → 1.130.2
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/dist/chunk-4IYEDNYJ.mjs +426 -0
- package/dist/chunk-5QZ7AV2J.js +27 -0
- package/dist/chunk-64RYHF5D.mjs +51 -0
- package/dist/chunk-66ACWURQ.mjs +125 -0
- package/dist/chunk-6OYLNZFT.mjs +169 -0
- package/dist/chunk-6SJLAEJ3.js +70 -0
- package/dist/chunk-6WPG3DXV.js +32 -0
- package/dist/chunk-7KVSSDMX.mjs +545 -0
- package/dist/chunk-7XY63NME.js +44 -0
- package/dist/chunk-A7VLTBS6.mjs +271 -0
- package/dist/chunk-BS5OC5E6.js +426 -0
- package/dist/chunk-E3IN3SQD.mjs +6 -0
- package/dist/chunk-FW22KPOW.mjs +27 -0
- package/dist/chunk-GIZ23UUE.js +189 -0
- package/dist/chunk-GOQAHXJF.mjs +28 -0
- package/dist/chunk-H6XXDZ7A.js +28 -0
- package/dist/chunk-HCF3QA4H.js +102 -0
- package/dist/chunk-JDK3PXQR.js +545 -0
- package/dist/chunk-K6TQN2LZ.js +6 -0
- package/dist/chunk-LKZSRXS7.js +169 -0
- package/dist/chunk-MGI2M3SX.js +6 -0
- package/dist/chunk-N32EGEJB.js +90 -0
- package/dist/chunk-N4BRCEYB.js +27 -0
- package/dist/chunk-OXK45X3L.js +125 -0
- package/dist/chunk-PEHVR33I.js +67 -0
- package/dist/chunk-PQNCKJAR.js +271 -0
- package/dist/chunk-PVPSTJNJ.mjs +90 -0
- package/dist/chunk-QHVHX67K.js +6 -0
- package/dist/chunk-QUVGIEZZ.mjs +6 -0
- package/dist/chunk-RAWSXKTG.mjs +189 -0
- package/dist/chunk-SJO5XZQA.js +6 -0
- package/dist/chunk-TEKFJAJJ.mjs +70 -0
- package/dist/chunk-TTCXDK6S.mjs +27 -0
- package/dist/chunk-UCUOC6LA.mjs +70 -0
- package/dist/chunk-VQLOUFMG.mjs +32 -0
- package/dist/chunk-WRFJFYOU.mjs +51 -0
- package/dist/chunk-WXOSG64C.js +70 -0
- package/dist/chunk-WXYJGX4C.mjs +6 -0
- package/dist/chunk-X6VIYUJR.mjs +6 -0
- package/dist/chunk-XJEQHMOE.js +49 -0
- package/dist/chunk-XLMGW4ZW.mjs +67 -0
- package/dist/chunk-XXHENMLT.mjs +44 -0
- package/dist/chunk-Z2EXWNIQ.mjs +102 -0
- package/dist/chunk-ZVXEYJQO.js +51 -0
- package/dist/config-file/get-config-file.d.mts +20 -0
- package/dist/config-file/get-config-file.d.ts +20 -0
- package/dist/config-file/get-config-file.js +23 -0
- package/dist/config-file/get-config-file.mjs +23 -0
- package/dist/config-file/index.d.mts +4 -0
- package/dist/config-file/index.d.ts +4 -0
- package/dist/config-file/index.js +24 -0
- package/dist/config-file/index.mjs +24 -0
- package/dist/create-storm-config.d.mts +29 -0
- package/dist/create-storm-config.d.ts +29 -0
- package/dist/create-storm-config.js +30 -0
- package/dist/create-storm-config.mjs +30 -0
- package/dist/env/get-env.d.mts +19 -0
- package/dist/env/get-env.d.ts +19 -0
- package/dist/env/get-env.js +13 -0
- package/dist/env/get-env.mjs +13 -0
- package/dist/env/index.d.mts +5 -0
- package/dist/env/index.d.ts +5 -0
- package/dist/env/index.js +20 -0
- package/dist/env/index.mjs +20 -0
- package/{src/env/get-env.d.ts → dist/env/set-env.d.mts} +7 -4
- package/{src → dist}/env/set-env.d.ts +7 -3
- package/dist/env/set-env.js +12 -0
- package/dist/env/set-env.mjs +12 -0
- package/dist/index.d.mts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +132 -0
- package/dist/index.mjs +132 -0
- package/dist/logger/chalk.d.mts +25 -0
- package/{src/utilities → dist/logger}/chalk.d.ts +4 -2
- package/dist/logger/chalk.js +7 -0
- package/dist/logger/chalk.mjs +7 -0
- package/dist/logger/console.d.mts +82 -0
- package/{src/utilities/logger.d.ts → dist/logger/console.d.ts} +18 -14
- package/dist/logger/console.js +35 -0
- package/dist/logger/console.mjs +35 -0
- package/dist/logger/get-log-level.d.mts +27 -0
- package/{src/utilities → dist/logger}/get-log-level.d.ts +9 -4
- package/dist/logger/get-log-level.js +12 -0
- package/dist/logger/get-log-level.mjs +12 -0
- package/dist/logger/index.d.mts +6 -0
- package/dist/logger/index.d.ts +6 -0
- package/dist/logger/index.js +46 -0
- package/dist/logger/index.mjs +46 -0
- package/dist/types-DGWqy1xb.d.mts +1395 -0
- package/dist/types-DGWqy1xb.d.ts +1395 -0
- package/dist/types.d.mts +40 -0
- package/{src → dist}/types.d.ts +14 -7
- package/dist/types.js +9 -0
- package/dist/types.mjs +9 -0
- package/dist/utilities/apply-workspace-tokens.d.mts +9 -0
- package/dist/utilities/apply-workspace-tokens.d.ts +9 -0
- package/dist/utilities/apply-workspace-tokens.js +14 -0
- package/dist/utilities/apply-workspace-tokens.mjs +14 -0
- package/dist/utilities/correct-paths.d.mts +19 -0
- package/dist/utilities/correct-paths.d.ts +19 -0
- package/dist/utilities/correct-paths.js +9 -0
- package/dist/utilities/correct-paths.mjs +9 -0
- package/dist/utilities/file-path-utils.d.mts +4 -0
- package/dist/utilities/file-path-utils.d.ts +4 -0
- package/dist/utilities/file-path-utils.js +9 -0
- package/dist/utilities/file-path-utils.mjs +9 -0
- package/dist/utilities/find-up.d.mts +6 -0
- package/dist/utilities/find-up.d.ts +6 -0
- package/dist/utilities/find-up.js +7 -0
- package/dist/utilities/find-up.mjs +7 -0
- package/dist/utilities/find-workspace-root.d.mts +16 -0
- package/{src → dist}/utilities/find-workspace-root.d.ts +4 -2
- package/dist/utilities/find-workspace-root.js +11 -0
- package/dist/utilities/find-workspace-root.mjs +11 -0
- package/dist/utilities/get-default-config.d.mts +15 -0
- package/dist/utilities/get-default-config.d.ts +15 -0
- package/dist/utilities/get-default-config.js +13 -0
- package/dist/utilities/get-default-config.mjs +13 -0
- package/dist/utilities/index.d.mts +11 -0
- package/dist/utilities/index.d.ts +11 -0
- package/dist/utilities/index.js +58 -0
- package/dist/utilities/index.mjs +58 -0
- package/dist/utilities/process-handler.d.mts +8 -0
- package/dist/utilities/process-handler.d.ts +8 -0
- package/dist/utilities/process-handler.js +20 -0
- package/dist/utilities/process-handler.mjs +20 -0
- package/dist/utilities/run.d.mts +36 -0
- package/dist/utilities/run.d.ts +36 -0
- package/dist/utilities/run.js +11 -0
- package/dist/utilities/run.mjs +11 -0
- package/package.json +1 -24
- package/CHANGELOG.md +0 -3122
- package/declarations.d.ts +0 -304
- package/index.cjs +0 -67508
- package/index.js +0 -67463
- package/meta.cjs.json +0 -5352
- package/meta.esm.json +0 -5413
- package/src/config-file/get-config-file.d.ts +0 -16
- package/src/config-file/index.d.ts +0 -1
- package/src/create-storm-config.d.ts +0 -26
- package/src/env/index.d.ts +0 -2
- package/src/index.d.ts +0 -13
- package/src/utilities/apply-workspace-tokens.d.ts +0 -4
- package/src/utilities/correct-paths.d.ts +0 -1
- package/src/utilities/file-path-utils.d.ts +0 -2
- package/src/utilities/find-up.d.ts +0 -4
- package/src/utilities/get-default-config.d.ts +0 -15
- package/src/utilities/index.d.ts +0 -10
- package/src/utilities/process-handler.d.ts +0 -4
- package/src/utilities/run.d.ts +0 -18
- package/utilities/chalk.cjs +0 -1610
- package/utilities/chalk.js +0 -1605
- package/utilities/find-workspace-root.cjs +0 -118
- package/utilities/find-workspace-root.js +0 -91
- package/utilities/logger.cjs +0 -5914
- package/utilities/logger.js +0 -5897
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-QHVHX67K.js');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkJDK3PXQRjs = require('../chunk-JDK3PXQR.js');
|
|
6
|
+
require('../chunk-K6TQN2LZ.js');
|
|
7
|
+
require('../chunk-ZVXEYJQO.js');
|
|
8
|
+
require('../chunk-7XY63NME.js');
|
|
9
|
+
require('../chunk-PEHVR33I.js');
|
|
10
|
+
require('../chunk-5QZ7AV2J.js');
|
|
11
|
+
require('../chunk-OXK45X3L.js');
|
|
12
|
+
require('../chunk-N32EGEJB.js');
|
|
13
|
+
require('../chunk-6SJLAEJ3.js');
|
|
14
|
+
require('../chunk-N4BRCEYB.js');
|
|
15
|
+
require('../chunk-GIZ23UUE.js');
|
|
16
|
+
require('../chunk-WXOSG64C.js');
|
|
17
|
+
require('../chunk-H6XXDZ7A.js');
|
|
18
|
+
require('../chunk-6WPG3DXV.js');
|
|
19
|
+
require('../chunk-BS5OC5E6.js');
|
|
20
|
+
require('../chunk-XJEQHMOE.js');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.getConfigFile = _chunkJDK3PXQRjs.getConfigFile; exports.getConfigFileByName = _chunkJDK3PXQRjs.getConfigFileByName;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "../chunk-WXYJGX4C.mjs";
|
|
2
|
+
import {
|
|
3
|
+
getConfigFile,
|
|
4
|
+
getConfigFileByName
|
|
5
|
+
} from "../chunk-7KVSSDMX.mjs";
|
|
6
|
+
import "../chunk-E3IN3SQD.mjs";
|
|
7
|
+
import "../chunk-64RYHF5D.mjs";
|
|
8
|
+
import "../chunk-XXHENMLT.mjs";
|
|
9
|
+
import "../chunk-XLMGW4ZW.mjs";
|
|
10
|
+
import "../chunk-FW22KPOW.mjs";
|
|
11
|
+
import "../chunk-66ACWURQ.mjs";
|
|
12
|
+
import "../chunk-PVPSTJNJ.mjs";
|
|
13
|
+
import "../chunk-TEKFJAJJ.mjs";
|
|
14
|
+
import "../chunk-TTCXDK6S.mjs";
|
|
15
|
+
import "../chunk-RAWSXKTG.mjs";
|
|
16
|
+
import "../chunk-UCUOC6LA.mjs";
|
|
17
|
+
import "../chunk-GOQAHXJF.mjs";
|
|
18
|
+
import "../chunk-VQLOUFMG.mjs";
|
|
19
|
+
import "../chunk-4IYEDNYJ.mjs";
|
|
20
|
+
import "../chunk-WRFJFYOU.mjs";
|
|
21
|
+
export {
|
|
22
|
+
getConfigFile,
|
|
23
|
+
getConfigFileByName
|
|
24
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { S as StormConfig } from './types-DGWqy1xb.mjs';
|
|
2
|
+
import { ZodTypeAny } from 'zod';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Get the config for the current Storm workspace
|
|
6
|
+
*
|
|
7
|
+
* @returns The config for the current Storm workspace
|
|
8
|
+
*/
|
|
9
|
+
declare const createConfig: (workspaceRoot?: string) => StormConfig;
|
|
10
|
+
/**
|
|
11
|
+
* Get the config for the current Storm workspace
|
|
12
|
+
*
|
|
13
|
+
* @returns The config for the current Storm workspace
|
|
14
|
+
*/
|
|
15
|
+
declare const createStormConfig: <TExtensionName extends keyof StormConfig["extensions"] = string, TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName?: TExtensionName, schema?: TExtensionSchema, workspaceRoot?: string) => StormConfig<TExtensionName, TExtensionConfig>;
|
|
16
|
+
/**
|
|
17
|
+
* Get the config for a specific Storm config Extension
|
|
18
|
+
*
|
|
19
|
+
* @param extensionName - The name of the config extension
|
|
20
|
+
* @param options - The options for the config extension
|
|
21
|
+
* @returns The config for the specified Storm config extension. If the extension does not exist, `undefined` is returned.
|
|
22
|
+
*/
|
|
23
|
+
declare const createConfigExtension: <TExtensionName extends keyof StormConfig["extensions"] = string, TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName: TExtensionName, schema: TExtensionSchema) => TExtensionConfig;
|
|
24
|
+
/**
|
|
25
|
+
* Load the config file values for the current Storm workspace into environment variables
|
|
26
|
+
*/
|
|
27
|
+
declare const loadStormConfig: (workspaceRoot?: string) => Promise<StormConfig>;
|
|
28
|
+
|
|
29
|
+
export { createConfig, createConfigExtension, createStormConfig, loadStormConfig };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { S as StormConfig } from './types-DGWqy1xb.js';
|
|
2
|
+
import { ZodTypeAny } from 'zod';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Get the config for the current Storm workspace
|
|
6
|
+
*
|
|
7
|
+
* @returns The config for the current Storm workspace
|
|
8
|
+
*/
|
|
9
|
+
declare const createConfig: (workspaceRoot?: string) => StormConfig;
|
|
10
|
+
/**
|
|
11
|
+
* Get the config for the current Storm workspace
|
|
12
|
+
*
|
|
13
|
+
* @returns The config for the current Storm workspace
|
|
14
|
+
*/
|
|
15
|
+
declare const createStormConfig: <TExtensionName extends keyof StormConfig["extensions"] = string, TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName?: TExtensionName, schema?: TExtensionSchema, workspaceRoot?: string) => StormConfig<TExtensionName, TExtensionConfig>;
|
|
16
|
+
/**
|
|
17
|
+
* Get the config for a specific Storm config Extension
|
|
18
|
+
*
|
|
19
|
+
* @param extensionName - The name of the config extension
|
|
20
|
+
* @param options - The options for the config extension
|
|
21
|
+
* @returns The config for the specified Storm config extension. If the extension does not exist, `undefined` is returned.
|
|
22
|
+
*/
|
|
23
|
+
declare const createConfigExtension: <TExtensionName extends keyof StormConfig["extensions"] = string, TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName: TExtensionName, schema: TExtensionSchema) => TExtensionConfig;
|
|
24
|
+
/**
|
|
25
|
+
* Load the config file values for the current Storm workspace into environment variables
|
|
26
|
+
*/
|
|
27
|
+
declare const loadStormConfig: (workspaceRoot?: string) => Promise<StormConfig>;
|
|
28
|
+
|
|
29
|
+
export { createConfig, createConfigExtension, createStormConfig, loadStormConfig };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkHCF3QA4Hjs = require('./chunk-HCF3QA4H.js');
|
|
7
|
+
require('./chunk-JDK3PXQR.js');
|
|
8
|
+
require('./chunk-K6TQN2LZ.js');
|
|
9
|
+
require('./chunk-ZVXEYJQO.js');
|
|
10
|
+
require('./chunk-7XY63NME.js');
|
|
11
|
+
require('./chunk-PEHVR33I.js');
|
|
12
|
+
require('./chunk-5QZ7AV2J.js');
|
|
13
|
+
require('./chunk-LKZSRXS7.js');
|
|
14
|
+
require('./chunk-PQNCKJAR.js');
|
|
15
|
+
require('./chunk-OXK45X3L.js');
|
|
16
|
+
require('./chunk-N32EGEJB.js');
|
|
17
|
+
require('./chunk-6SJLAEJ3.js');
|
|
18
|
+
require('./chunk-N4BRCEYB.js');
|
|
19
|
+
require('./chunk-GIZ23UUE.js');
|
|
20
|
+
require('./chunk-WXOSG64C.js');
|
|
21
|
+
require('./chunk-H6XXDZ7A.js');
|
|
22
|
+
require('./chunk-6WPG3DXV.js');
|
|
23
|
+
require('./chunk-BS5OC5E6.js');
|
|
24
|
+
require('./chunk-XJEQHMOE.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.createConfig = _chunkHCF3QA4Hjs.createConfig; exports.createConfigExtension = _chunkHCF3QA4Hjs.createConfigExtension; exports.createStormConfig = _chunkHCF3QA4Hjs.createStormConfig; exports.loadStormConfig = _chunkHCF3QA4Hjs.loadStormConfig;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createConfig,
|
|
3
|
+
createConfigExtension,
|
|
4
|
+
createStormConfig,
|
|
5
|
+
loadStormConfig
|
|
6
|
+
} from "./chunk-Z2EXWNIQ.mjs";
|
|
7
|
+
import "./chunk-7KVSSDMX.mjs";
|
|
8
|
+
import "./chunk-E3IN3SQD.mjs";
|
|
9
|
+
import "./chunk-64RYHF5D.mjs";
|
|
10
|
+
import "./chunk-XXHENMLT.mjs";
|
|
11
|
+
import "./chunk-XLMGW4ZW.mjs";
|
|
12
|
+
import "./chunk-FW22KPOW.mjs";
|
|
13
|
+
import "./chunk-6OYLNZFT.mjs";
|
|
14
|
+
import "./chunk-A7VLTBS6.mjs";
|
|
15
|
+
import "./chunk-66ACWURQ.mjs";
|
|
16
|
+
import "./chunk-PVPSTJNJ.mjs";
|
|
17
|
+
import "./chunk-TEKFJAJJ.mjs";
|
|
18
|
+
import "./chunk-TTCXDK6S.mjs";
|
|
19
|
+
import "./chunk-RAWSXKTG.mjs";
|
|
20
|
+
import "./chunk-UCUOC6LA.mjs";
|
|
21
|
+
import "./chunk-GOQAHXJF.mjs";
|
|
22
|
+
import "./chunk-VQLOUFMG.mjs";
|
|
23
|
+
import "./chunk-4IYEDNYJ.mjs";
|
|
24
|
+
import "./chunk-WRFJFYOU.mjs";
|
|
25
|
+
export {
|
|
26
|
+
createConfig,
|
|
27
|
+
createConfigExtension,
|
|
28
|
+
createStormConfig,
|
|
29
|
+
loadStormConfig
|
|
30
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { S as StormConfig } from '../types-DGWqy1xb.mjs';
|
|
2
|
+
import { DeepPartial } from '../types.mjs';
|
|
3
|
+
import 'zod';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get the config for an extension module of Storm workspace from environment variables
|
|
7
|
+
*
|
|
8
|
+
* @param extensionName - The name of the extension module
|
|
9
|
+
* @returns The config for the specified Storm extension module. If the module does not exist, `undefined` is returned.
|
|
10
|
+
*/
|
|
11
|
+
declare const getExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string) => TConfig | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Get the config for the current Storm workspace
|
|
14
|
+
*
|
|
15
|
+
* @returns The config for the current Storm workspace from environment variables
|
|
16
|
+
*/
|
|
17
|
+
declare const getConfigEnv: () => DeepPartial<StormConfig>;
|
|
18
|
+
|
|
19
|
+
export { getConfigEnv, getExtensionEnv };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { S as StormConfig } from '../types-DGWqy1xb.js';
|
|
2
|
+
import { DeepPartial } from '../types.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Get the config for an extension module of Storm workspace from environment variables
|
|
7
|
+
*
|
|
8
|
+
* @param extensionName - The name of the extension module
|
|
9
|
+
* @returns The config for the specified Storm extension module. If the module does not exist, `undefined` is returned.
|
|
10
|
+
*/
|
|
11
|
+
declare const getExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string) => TConfig | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Get the config for the current Storm workspace
|
|
14
|
+
*
|
|
15
|
+
* @returns The config for the current Storm workspace from environment variables
|
|
16
|
+
*/
|
|
17
|
+
declare const getConfigEnv: () => DeepPartial<StormConfig>;
|
|
18
|
+
|
|
19
|
+
export { getConfigEnv, getExtensionEnv };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkLKZSRXS7js = require('../chunk-LKZSRXS7.js');
|
|
5
|
+
require('../chunk-GIZ23UUE.js');
|
|
6
|
+
require('../chunk-WXOSG64C.js');
|
|
7
|
+
require('../chunk-H6XXDZ7A.js');
|
|
8
|
+
require('../chunk-6WPG3DXV.js');
|
|
9
|
+
require('../chunk-XJEQHMOE.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.getConfigEnv = _chunkLKZSRXS7js.getConfigEnv; exports.getExtensionEnv = _chunkLKZSRXS7js.getExtensionEnv;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getConfigEnv,
|
|
3
|
+
getExtensionEnv
|
|
4
|
+
} from "../chunk-6OYLNZFT.mjs";
|
|
5
|
+
import "../chunk-RAWSXKTG.mjs";
|
|
6
|
+
import "../chunk-UCUOC6LA.mjs";
|
|
7
|
+
import "../chunk-GOQAHXJF.mjs";
|
|
8
|
+
import "../chunk-VQLOUFMG.mjs";
|
|
9
|
+
import "../chunk-WRFJFYOU.mjs";
|
|
10
|
+
export {
|
|
11
|
+
getConfigEnv,
|
|
12
|
+
getExtensionEnv
|
|
13
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-MGI2M3SX.js');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkLKZSRXS7js = require('../chunk-LKZSRXS7.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkPQNCKJARjs = require('../chunk-PQNCKJAR.js');
|
|
10
|
+
require('../chunk-GIZ23UUE.js');
|
|
11
|
+
require('../chunk-WXOSG64C.js');
|
|
12
|
+
require('../chunk-H6XXDZ7A.js');
|
|
13
|
+
require('../chunk-6WPG3DXV.js');
|
|
14
|
+
require('../chunk-XJEQHMOE.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.getConfigEnv = _chunkLKZSRXS7js.getConfigEnv; exports.getExtensionEnv = _chunkLKZSRXS7js.getExtensionEnv; exports.setConfigEnv = _chunkPQNCKJARjs.setConfigEnv; exports.setExtensionEnv = _chunkPQNCKJARjs.setExtensionEnv;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "../chunk-QUVGIEZZ.mjs";
|
|
2
|
+
import {
|
|
3
|
+
getConfigEnv,
|
|
4
|
+
getExtensionEnv
|
|
5
|
+
} from "../chunk-6OYLNZFT.mjs";
|
|
6
|
+
import {
|
|
7
|
+
setConfigEnv,
|
|
8
|
+
setExtensionEnv
|
|
9
|
+
} from "../chunk-A7VLTBS6.mjs";
|
|
10
|
+
import "../chunk-RAWSXKTG.mjs";
|
|
11
|
+
import "../chunk-UCUOC6LA.mjs";
|
|
12
|
+
import "../chunk-GOQAHXJF.mjs";
|
|
13
|
+
import "../chunk-VQLOUFMG.mjs";
|
|
14
|
+
import "../chunk-WRFJFYOU.mjs";
|
|
15
|
+
export {
|
|
16
|
+
getConfigEnv,
|
|
17
|
+
getExtensionEnv,
|
|
18
|
+
setConfigEnv,
|
|
19
|
+
setExtensionEnv
|
|
20
|
+
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { S as StormConfig } from '../types-DGWqy1xb.mjs';
|
|
2
|
+
import 'zod';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* Get the config for an extension module of Storm workspace from environment variables
|
|
5
6
|
*
|
|
6
7
|
* @param extensionName - The name of the extension module
|
|
7
8
|
* @returns The config for the specified Storm extension module. If the module does not exist, `undefined` is returned.
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
declare const setExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string, extension: TConfig) => void;
|
|
10
11
|
/**
|
|
11
12
|
* Get the config for the current Storm workspace
|
|
12
13
|
*
|
|
13
14
|
* @returns The config for the current Storm workspace from environment variables
|
|
14
15
|
*/
|
|
15
|
-
|
|
16
|
+
declare const setConfigEnv: (config: StormConfig) => void;
|
|
17
|
+
|
|
18
|
+
export { setConfigEnv, setExtensionEnv };
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { S as StormConfig } from '../types-DGWqy1xb.js';
|
|
2
|
+
import 'zod';
|
|
3
|
+
|
|
2
4
|
/**
|
|
3
5
|
* Get the config for an extension module of Storm workspace from environment variables
|
|
4
6
|
*
|
|
5
7
|
* @param extensionName - The name of the extension module
|
|
6
8
|
* @returns The config for the specified Storm extension module. If the module does not exist, `undefined` is returned.
|
|
7
9
|
*/
|
|
8
|
-
|
|
10
|
+
declare const setExtensionEnv: <TConfig extends Record<string, any> = Record<string, any>>(extensionName: string, extension: TConfig) => void;
|
|
9
11
|
/**
|
|
10
12
|
* Get the config for the current Storm workspace
|
|
11
13
|
*
|
|
12
14
|
* @returns The config for the current Storm workspace from environment variables
|
|
13
15
|
*/
|
|
14
|
-
|
|
16
|
+
declare const setConfigEnv: (config: StormConfig) => void;
|
|
17
|
+
|
|
18
|
+
export { setConfigEnv, setExtensionEnv };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkPQNCKJARjs = require('../chunk-PQNCKJAR.js');
|
|
5
|
+
require('../chunk-WXOSG64C.js');
|
|
6
|
+
require('../chunk-H6XXDZ7A.js');
|
|
7
|
+
require('../chunk-6WPG3DXV.js');
|
|
8
|
+
require('../chunk-XJEQHMOE.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
exports.setConfigEnv = _chunkPQNCKJARjs.setConfigEnv; exports.setExtensionEnv = _chunkPQNCKJARjs.setExtensionEnv;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
setConfigEnv,
|
|
3
|
+
setExtensionEnv
|
|
4
|
+
} from "../chunk-A7VLTBS6.mjs";
|
|
5
|
+
import "../chunk-UCUOC6LA.mjs";
|
|
6
|
+
import "../chunk-GOQAHXJF.mjs";
|
|
7
|
+
import "../chunk-VQLOUFMG.mjs";
|
|
8
|
+
import "../chunk-WRFJFYOU.mjs";
|
|
9
|
+
export {
|
|
10
|
+
setConfigEnv,
|
|
11
|
+
setExtensionEnv
|
|
12
|
+
};
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { getConfigFile, getConfigFileByName } from './config-file/get-config-file.mjs';
|
|
2
|
+
export { createConfig, createConfigExtension, createStormConfig, loadStormConfig } from './create-storm-config.mjs';
|
|
3
|
+
export { getConfigEnv, getExtensionEnv } from './env/get-env.mjs';
|
|
4
|
+
export { setConfigEnv, setExtensionEnv } from './env/set-env.mjs';
|
|
5
|
+
export { GetChalkReturn, getChalk } from './logger/chalk.mjs';
|
|
6
|
+
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.mjs';
|
|
7
|
+
export { getLogLevel, getLogLevelLabel, isVerbose } from './logger/get-log-level.mjs';
|
|
8
|
+
export { BaseTokenizerOptions, DeepPartial, LogLevel, LogLevelLabel, ProjectTokenizerOptions } from './types.mjs';
|
|
9
|
+
export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './utilities/apply-workspace-tokens.mjs';
|
|
10
|
+
export { correctPaths, joinPaths } from './utilities/correct-paths.mjs';
|
|
11
|
+
export { findFileName, removeExtension } from './utilities/file-path-utils.mjs';
|
|
12
|
+
export { findWorkspaceRoot, findWorkspaceRootSafe } from './utilities/find-workspace-root.mjs';
|
|
13
|
+
export { DEFAULT_COLOR_CONFIG, getDefaultConfig } from './utilities/get-default-config.mjs';
|
|
14
|
+
export { exitWithError, exitWithSuccess, handleProcess } from './utilities/process-handler.mjs';
|
|
15
|
+
export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './utilities/run.mjs';
|
|
16
|
+
import './types-DGWqy1xb.mjs';
|
|
17
|
+
import 'zod';
|
|
18
|
+
import 'c12';
|
|
19
|
+
import 'child_process';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { getConfigFile, getConfigFileByName } from './config-file/get-config-file.js';
|
|
2
|
+
export { createConfig, createConfigExtension, createStormConfig, loadStormConfig } from './create-storm-config.js';
|
|
3
|
+
export { getConfigEnv, getExtensionEnv } from './env/get-env.js';
|
|
4
|
+
export { setConfigEnv, setExtensionEnv } from './env/set-env.js';
|
|
5
|
+
export { GetChalkReturn, getChalk } from './logger/chalk.js';
|
|
6
|
+
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.js';
|
|
7
|
+
export { getLogLevel, getLogLevelLabel, isVerbose } from './logger/get-log-level.js';
|
|
8
|
+
export { BaseTokenizerOptions, DeepPartial, LogLevel, LogLevelLabel, ProjectTokenizerOptions } from './types.js';
|
|
9
|
+
export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './utilities/apply-workspace-tokens.js';
|
|
10
|
+
export { correctPaths, joinPaths } from './utilities/correct-paths.js';
|
|
11
|
+
export { findFileName, removeExtension } from './utilities/file-path-utils.js';
|
|
12
|
+
export { findWorkspaceRoot, findWorkspaceRootSafe } from './utilities/find-workspace-root.js';
|
|
13
|
+
export { DEFAULT_COLOR_CONFIG, getDefaultConfig } from './utilities/get-default-config.js';
|
|
14
|
+
export { exitWithError, exitWithSuccess, handleProcess } from './utilities/process-handler.js';
|
|
15
|
+
export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './utilities/run.js';
|
|
16
|
+
import './types-DGWqy1xb.js';
|
|
17
|
+
import 'zod';
|
|
18
|
+
import 'c12';
|
|
19
|
+
import 'child_process';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-SJO5XZQA.js');
|
|
2
|
+
require('./chunk-QHVHX67K.js');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkHCF3QA4Hjs = require('./chunk-HCF3QA4H.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkJDK3PXQRjs = require('./chunk-JDK3PXQR.js');
|
|
13
|
+
require('./chunk-K6TQN2LZ.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _chunkZVXEYJQOjs = require('./chunk-ZVXEYJQO.js');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunk7XY63NMEjs = require('./chunk-7XY63NME.js');
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunkPEHVR33Ijs = require('./chunk-PEHVR33I.js');
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
var _chunk5QZ7AV2Jjs = require('./chunk-5QZ7AV2J.js');
|
|
33
|
+
require('./chunk-MGI2M3SX.js');
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
var _chunkLKZSRXS7js = require('./chunk-LKZSRXS7.js');
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
var _chunkPQNCKJARjs = require('./chunk-PQNCKJAR.js');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunkOXK45X3Ljs = require('./chunk-OXK45X3L.js');
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
var _chunkN32EGEJBjs = require('./chunk-N32EGEJB.js');
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
var _chunk6SJLAEJ3js = require('./chunk-6SJLAEJ3.js');
|
|
63
|
+
require('./chunk-N4BRCEYB.js');
|
|
64
|
+
require('./chunk-GIZ23UUE.js');
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
var _chunkWXOSG64Cjs = require('./chunk-WXOSG64C.js');
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
var _chunkH6XXDZ7Ajs = require('./chunk-H6XXDZ7A.js');
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
var _chunk6WPG3DXVjs = require('./chunk-6WPG3DXV.js');
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
var _chunkBS5OC5E6js = require('./chunk-BS5OC5E6.js');
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
var _chunkXJEQHMOEjs = require('./chunk-XJEQHMOE.js');
|
|
84
|
+
|
|
85
|
+
// src/index.ts
|
|
86
|
+
_chunkXJEQHMOEjs.init_cjs_shims.call(void 0, );
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
exports.DEFAULT_COLOR_CONFIG = _chunkN32EGEJBjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk7XY63NMEjs.LARGE_BUFFER; exports.LogLevel = _chunk6WPG3DXVjs.LogLevel; exports.LogLevelLabel = _chunk6WPG3DXVjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkPEHVR33Ijs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkPEHVR33Ijs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkPEHVR33Ijs.applyWorkspaceTokens; exports.correctPaths = _chunkH6XXDZ7Ajs.correctPaths; exports.createConfig = _chunkHCF3QA4Hjs.createConfig; exports.createConfigExtension = _chunkHCF3QA4Hjs.createConfigExtension; exports.createStormConfig = _chunkHCF3QA4Hjs.createStormConfig; exports.exitWithError = _chunkZVXEYJQOjs.exitWithError; exports.exitWithSuccess = _chunkZVXEYJQOjs.exitWithSuccess; exports.findFileName = _chunk5QZ7AV2Jjs.findFileName; exports.findWorkspaceRoot = _chunk6SJLAEJ3js.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk6SJLAEJ3js.findWorkspaceRootSafe; exports.formatLogMessage = _chunkOXK45X3Ljs.formatLogMessage; exports.getChalk = _chunkBS5OC5E6js.getChalk; exports.getConfigEnv = _chunkLKZSRXS7js.getConfigEnv; exports.getConfigFile = _chunkJDK3PXQRjs.getConfigFile; exports.getConfigFileByName = _chunkJDK3PXQRjs.getConfigFileByName; exports.getDefaultConfig = _chunkN32EGEJBjs.getDefaultConfig; exports.getExtensionEnv = _chunkLKZSRXS7js.getExtensionEnv; exports.getLogFn = _chunkOXK45X3Ljs.getLogFn; exports.getLogLevel = _chunkWXOSG64Cjs.getLogLevel; exports.getLogLevelLabel = _chunkWXOSG64Cjs.getLogLevelLabel; exports.getStopwatch = _chunkOXK45X3Ljs.getStopwatch; exports.handleProcess = _chunkZVXEYJQOjs.handleProcess; exports.isVerbose = _chunkWXOSG64Cjs.isVerbose; exports.joinPaths = _chunkH6XXDZ7Ajs.joinPaths; exports.loadStormConfig = _chunkHCF3QA4Hjs.loadStormConfig; exports.removeExtension = _chunk5QZ7AV2Jjs.removeExtension; exports.run = _chunk7XY63NMEjs.run; exports.runAsync = _chunk7XY63NMEjs.runAsync; exports.setConfigEnv = _chunkPQNCKJARjs.setConfigEnv; exports.setExtensionEnv = _chunkPQNCKJARjs.setExtensionEnv; exports.writeDebug = _chunkOXK45X3Ljs.writeDebug; exports.writeError = _chunkOXK45X3Ljs.writeError; exports.writeFatal = _chunkOXK45X3Ljs.writeFatal; exports.writeInfo = _chunkOXK45X3Ljs.writeInfo; exports.writeSuccess = _chunkOXK45X3Ljs.writeSuccess; exports.writeSystem = _chunkOXK45X3Ljs.writeSystem; exports.writeTrace = _chunkOXK45X3Ljs.writeTrace; exports.writeWarning = _chunkOXK45X3Ljs.writeWarning;
|