@storm-software/config-tools 1.160.5 → 1.160.7
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/config.cjs +7 -7
- package/bin/config.js +8 -8
- package/dist/{chunk-QYUGFJAQ.cjs → chunk-2DBIWPIU.cjs} +7 -7
- package/dist/chunk-6TID4WHT.cjs +26 -0
- package/dist/{chunk-COH3YZXA.js → chunk-DDM25SM5.js} +9 -9
- package/dist/chunk-YVGP2ECT.js +26 -0
- package/dist/config-file/get-config-file.d.cts +3 -3
- package/dist/config-file/get-config-file.d.ts +3 -3
- package/dist/create-storm-config.cjs +2 -2
- package/dist/create-storm-config.d.cts +5 -5
- package/dist/create-storm-config.d.ts +5 -5
- package/dist/create-storm-config.js +5 -5
- package/dist/env/get-env.d.cts +2 -2
- package/dist/env/get-env.d.ts +2 -2
- package/dist/env/set-env.d.cts +2 -2
- package/dist/env/set-env.d.ts +2 -2
- package/dist/get-config.cjs +3 -3
- package/dist/get-config.d.cts +15 -4
- package/dist/get-config.d.ts +15 -4
- package/dist/get-config.js +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/logger/console.d.cts +10 -10
- package/dist/logger/console.d.ts +10 -10
- package/dist/logger/create-logger.d.cts +2 -2
- package/dist/logger/create-logger.d.ts +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/utilities/get-default-config.d.cts +2 -2
- package/dist/utilities/get-default-config.d.ts +2 -2
- package/dist/utilities/process-handler.d.cts +4 -4
- package/dist/utilities/process-handler.d.ts +4 -4
- package/dist/utilities/run.d.cts +3 -3
- package/dist/utilities/run.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunk-75KTDF4L.cjs +0 -19
- package/dist/chunk-X4IT3ZLQ.js +0 -19
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/config.cjs
CHANGED
|
@@ -1106,7 +1106,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
|
|
|
1106
1106
|
// src/create-storm-config.ts
|
|
1107
1107
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
1108
1108
|
var _static_cache = void 0;
|
|
1109
|
-
var
|
|
1109
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
|
|
1110
1110
|
let result;
|
|
1111
1111
|
if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1112
1112
|
let _workspaceRoot = workspaceRoot;
|
|
@@ -1121,7 +1121,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
1121
1121
|
logLevel: "all"
|
|
1122
1122
|
});
|
|
1123
1123
|
}
|
|
1124
|
-
result = await import_schema.
|
|
1124
|
+
result = await import_schema.stormWorkspaceConfigSchema.parseAsync((0, import_defu2.default)(configEnv, configFile, defaultConfig));
|
|
1125
1125
|
result.workspaceRoot ??= _workspaceRoot;
|
|
1126
1126
|
} else {
|
|
1127
1127
|
result = _static_cache.data;
|
|
@@ -1137,7 +1137,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
1137
1137
|
data: result
|
|
1138
1138
|
};
|
|
1139
1139
|
return result;
|
|
1140
|
-
}, "
|
|
1140
|
+
}, "createStormWorkspaceConfig");
|
|
1141
1141
|
var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
1142
1142
|
const extension_cache_key = {
|
|
1143
1143
|
extensionName
|
|
@@ -1152,19 +1152,19 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
1152
1152
|
_extension_cache.set(extension_cache_key, extension);
|
|
1153
1153
|
return extension;
|
|
1154
1154
|
}, "createConfigExtension");
|
|
1155
|
-
var
|
|
1156
|
-
const config = await
|
|
1155
|
+
var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
1156
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
1157
1157
|
setConfigEnv(config);
|
|
1158
1158
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1159
1159
|
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1160
1160
|
${formatLogMessage(config)}`, config);
|
|
1161
1161
|
}
|
|
1162
1162
|
return config;
|
|
1163
|
-
}, "
|
|
1163
|
+
}, "loadStormWorkspaceConfig");
|
|
1164
1164
|
|
|
1165
1165
|
// src/get-config.ts
|
|
1166
1166
|
var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
|
|
1167
|
-
return
|
|
1167
|
+
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1168
1168
|
}, "getConfig");
|
|
1169
1169
|
|
|
1170
1170
|
// bin/config.ts
|
package/bin/config.js
CHANGED
|
@@ -6,7 +6,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
6
6
|
import { Command, Option } from "commander";
|
|
7
7
|
|
|
8
8
|
// src/create-storm-config.ts
|
|
9
|
-
import {
|
|
9
|
+
import { stormWorkspaceConfigSchema } from "@storm-software/config/schema";
|
|
10
10
|
import defu2 from "defu";
|
|
11
11
|
|
|
12
12
|
// src/config-file/get-config-file.ts
|
|
@@ -1074,7 +1074,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
|
|
|
1074
1074
|
// src/create-storm-config.ts
|
|
1075
1075
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
1076
1076
|
var _static_cache = void 0;
|
|
1077
|
-
var
|
|
1077
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
|
|
1078
1078
|
let result;
|
|
1079
1079
|
if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1080
1080
|
let _workspaceRoot = workspaceRoot;
|
|
@@ -1089,7 +1089,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
1089
1089
|
logLevel: "all"
|
|
1090
1090
|
});
|
|
1091
1091
|
}
|
|
1092
|
-
result = await
|
|
1092
|
+
result = await stormWorkspaceConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
|
|
1093
1093
|
result.workspaceRoot ??= _workspaceRoot;
|
|
1094
1094
|
} else {
|
|
1095
1095
|
result = _static_cache.data;
|
|
@@ -1105,7 +1105,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
1105
1105
|
data: result
|
|
1106
1106
|
};
|
|
1107
1107
|
return result;
|
|
1108
|
-
}, "
|
|
1108
|
+
}, "createStormWorkspaceConfig");
|
|
1109
1109
|
var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
1110
1110
|
const extension_cache_key = {
|
|
1111
1111
|
extensionName
|
|
@@ -1120,19 +1120,19 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
1120
1120
|
_extension_cache.set(extension_cache_key, extension);
|
|
1121
1121
|
return extension;
|
|
1122
1122
|
}, "createConfigExtension");
|
|
1123
|
-
var
|
|
1124
|
-
const config = await
|
|
1123
|
+
var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
1124
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
1125
1125
|
setConfigEnv(config);
|
|
1126
1126
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1127
1127
|
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1128
1128
|
${formatLogMessage(config)}`, config);
|
|
1129
1129
|
}
|
|
1130
1130
|
return config;
|
|
1131
|
-
}, "
|
|
1131
|
+
}, "loadStormWorkspaceConfig");
|
|
1132
1132
|
|
|
1133
1133
|
// src/get-config.ts
|
|
1134
1134
|
var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
|
|
1135
|
-
return
|
|
1135
|
+
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
1136
1136
|
}, "getConfig");
|
|
1137
1137
|
|
|
1138
1138
|
// bin/config.ts
|
|
@@ -28,7 +28,7 @@ var _schema = require('@storm-software/config/schema');
|
|
|
28
28
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
29
29
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
30
30
|
var _static_cache = void 0;
|
|
31
|
-
var
|
|
31
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (extensionName, schema, workspaceRoot, skipLogs = false) => {
|
|
32
32
|
let result;
|
|
33
33
|
if (!_optionalChain([_static_cache, 'optionalAccess', _ => _.data]) || !_optionalChain([_static_cache, 'optionalAccess', _2 => _2.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
34
34
|
let _workspaceRoot = workspaceRoot;
|
|
@@ -43,7 +43,7 @@ var createStormConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, as
|
|
|
43
43
|
logLevel: "all"
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
result = await _schema.
|
|
46
|
+
result = await _schema.stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
|
|
47
47
|
result.workspaceRoot ??= _workspaceRoot;
|
|
48
48
|
} else {
|
|
49
49
|
result = _static_cache.data;
|
|
@@ -59,7 +59,7 @@ var createStormConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, as
|
|
|
59
59
|
data: result
|
|
60
60
|
};
|
|
61
61
|
return result;
|
|
62
|
-
}, "
|
|
62
|
+
}, "createStormWorkspaceConfig");
|
|
63
63
|
var createConfigExtension = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (extensionName, schema) => {
|
|
64
64
|
const extension_cache_key = {
|
|
65
65
|
extensionName
|
|
@@ -74,18 +74,18 @@ var createConfigExtension = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0
|
|
|
74
74
|
_extension_cache.set(extension_cache_key, extension);
|
|
75
75
|
return extension;
|
|
76
76
|
}, "createConfigExtension");
|
|
77
|
-
var
|
|
78
|
-
const config = await
|
|
77
|
+
var loadStormWorkspaceConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
|
|
78
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
79
79
|
_chunkDRG6BGOIcjs.setConfigEnv.call(void 0, config);
|
|
80
80
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
81
81
|
_chunkPI4PV3UGcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
|
|
82
82
|
${_chunkPI4PV3UGcjs.formatLogMessage.call(void 0, config)}`, config);
|
|
83
83
|
}
|
|
84
84
|
return config;
|
|
85
|
-
}, "
|
|
85
|
+
}, "loadStormWorkspaceConfig");
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
exports.
|
|
91
|
+
exports.createStormWorkspaceConfig = createStormWorkspaceConfig; exports.createConfigExtension = createConfigExtension; exports.loadStormWorkspaceConfig = loadStormWorkspaceConfig;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk2DBIWPIUcjs = require('./chunk-2DBIWPIU.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunk6LIPH2JWcjs = require('./chunk-6LIPH2JW.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
|
|
10
|
+
|
|
11
|
+
// src/get-config.ts
|
|
12
|
+
var getConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
|
|
13
|
+
return _chunk2DBIWPIUcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
|
|
14
|
+
}, "getConfig");
|
|
15
|
+
var getWorkspaceConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (skipLogs = false, options = {}) => {
|
|
16
|
+
let workspaceRoot = options.workspaceRoot;
|
|
17
|
+
if (!workspaceRoot) {
|
|
18
|
+
workspaceRoot = _chunk6LIPH2JWcjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
19
|
+
}
|
|
20
|
+
return getConfig(workspaceRoot, skipLogs);
|
|
21
|
+
}, "getWorkspaceConfig");
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig;
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
} from "./chunk-SHUYVCID.js";
|
|
25
25
|
|
|
26
26
|
// src/create-storm-config.ts
|
|
27
|
-
import {
|
|
27
|
+
import { stormWorkspaceConfigSchema } from "@storm-software/config/schema";
|
|
28
28
|
import defu from "defu";
|
|
29
29
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
30
30
|
var _static_cache = void 0;
|
|
31
|
-
var
|
|
31
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
|
|
32
32
|
let result;
|
|
33
33
|
if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
|
|
34
34
|
let _workspaceRoot = workspaceRoot;
|
|
@@ -43,7 +43,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
43
43
|
logLevel: "all"
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
result = await
|
|
46
|
+
result = await stormWorkspaceConfigSchema.parseAsync(defu(configEnv, configFile, defaultConfig));
|
|
47
47
|
result.workspaceRoot ??= _workspaceRoot;
|
|
48
48
|
} else {
|
|
49
49
|
result = _static_cache.data;
|
|
@@ -59,7 +59,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
|
|
|
59
59
|
data: result
|
|
60
60
|
};
|
|
61
61
|
return result;
|
|
62
|
-
}, "
|
|
62
|
+
}, "createStormWorkspaceConfig");
|
|
63
63
|
var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
64
64
|
const extension_cache_key = {
|
|
65
65
|
extensionName
|
|
@@ -74,18 +74,18 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
74
74
|
_extension_cache.set(extension_cache_key, extension);
|
|
75
75
|
return extension;
|
|
76
76
|
}, "createConfigExtension");
|
|
77
|
-
var
|
|
78
|
-
const config = await
|
|
77
|
+
var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
78
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
79
79
|
setConfigEnv(config);
|
|
80
80
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
81
81
|
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|
|
82
82
|
${formatLogMessage(config)}`, config);
|
|
83
83
|
}
|
|
84
84
|
return config;
|
|
85
|
-
}, "
|
|
85
|
+
}, "loadStormWorkspaceConfig");
|
|
86
86
|
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
createStormWorkspaceConfig,
|
|
89
89
|
createConfigExtension,
|
|
90
|
-
|
|
90
|
+
loadStormWorkspaceConfig
|
|
91
91
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadStormWorkspaceConfig
|
|
3
|
+
} from "./chunk-DDM25SM5.js";
|
|
4
|
+
import {
|
|
5
|
+
findWorkspaceRoot
|
|
6
|
+
} from "./chunk-K6PUXRK3.js";
|
|
7
|
+
import {
|
|
8
|
+
__name
|
|
9
|
+
} from "./chunk-SHUYVCID.js";
|
|
10
|
+
|
|
11
|
+
// src/get-config.ts
|
|
12
|
+
var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
|
|
13
|
+
return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
|
|
14
|
+
}, "getConfig");
|
|
15
|
+
var getWorkspaceConfig = /* @__PURE__ */ __name((skipLogs = false, options = {}) => {
|
|
16
|
+
let workspaceRoot = options.workspaceRoot;
|
|
17
|
+
if (!workspaceRoot) {
|
|
18
|
+
workspaceRoot = findWorkspaceRoot(options.cwd);
|
|
19
|
+
}
|
|
20
|
+
return getConfig(workspaceRoot, skipLogs);
|
|
21
|
+
}, "getWorkspaceConfig");
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
getConfig,
|
|
25
|
+
getWorkspaceConfig
|
|
26
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfigInput } from '@storm-software/config';
|
|
2
2
|
import { LoadConfigOptions, ResolvedConfig } from 'c12';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -8,12 +8,12 @@ import { LoadConfigOptions, ResolvedConfig } from 'c12';
|
|
|
8
8
|
* @param filePath - The path to search for the config file in
|
|
9
9
|
* @returns The config file for the current Storm workspace
|
|
10
10
|
*/
|
|
11
|
-
declare const getConfigFileByName: (fileName: string, filePath?: string, options?: LoadConfigOptions<Partial<
|
|
11
|
+
declare const getConfigFileByName: (fileName: string, filePath?: string, options?: LoadConfigOptions<Partial<StormWorkspaceConfigInput>>) => Promise<ResolvedConfig<Partial<StormWorkspaceConfigInput>>>;
|
|
12
12
|
/**
|
|
13
13
|
* Get the config file for the current Storm workspace
|
|
14
14
|
*
|
|
15
15
|
* @returns The config file for the current Storm workspace
|
|
16
16
|
*/
|
|
17
|
-
declare const getConfigFile: (filePath?: string, additionalFileNames?: string[]) => Promise<Partial<
|
|
17
|
+
declare const getConfigFile: (filePath?: string, additionalFileNames?: string[]) => Promise<Partial<StormWorkspaceConfigInput> | undefined>;
|
|
18
18
|
|
|
19
19
|
export { getConfigFile, getConfigFileByName };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfigInput } from '@storm-software/config';
|
|
2
2
|
import { LoadConfigOptions, ResolvedConfig } from 'c12';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -8,12 +8,12 @@ import { LoadConfigOptions, ResolvedConfig } from 'c12';
|
|
|
8
8
|
* @param filePath - The path to search for the config file in
|
|
9
9
|
* @returns The config file for the current Storm workspace
|
|
10
10
|
*/
|
|
11
|
-
declare const getConfigFileByName: (fileName: string, filePath?: string, options?: LoadConfigOptions<Partial<
|
|
11
|
+
declare const getConfigFileByName: (fileName: string, filePath?: string, options?: LoadConfigOptions<Partial<StormWorkspaceConfigInput>>) => Promise<ResolvedConfig<Partial<StormWorkspaceConfigInput>>>;
|
|
12
12
|
/**
|
|
13
13
|
* Get the config file for the current Storm workspace
|
|
14
14
|
*
|
|
15
15
|
* @returns The config file for the current Storm workspace
|
|
16
16
|
*/
|
|
17
|
-
declare const getConfigFile: (filePath?: string, additionalFileNames?: string[]) => Promise<Partial<
|
|
17
|
+
declare const getConfigFile: (filePath?: string, additionalFileNames?: string[]) => Promise<Partial<StormWorkspaceConfigInput> | undefined>;
|
|
18
18
|
|
|
19
19
|
export { getConfigFile, getConfigFileByName };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2DBIWPIUcjs = require('./chunk-2DBIWPIU.cjs');
|
|
6
6
|
require('./chunk-4Y3WX4X5.cjs');
|
|
7
7
|
require('./chunk-UNXQ2AR4.cjs');
|
|
8
8
|
require('./chunk-WEZDTJJ3.cjs');
|
|
@@ -27,4 +27,4 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
exports.createConfigExtension =
|
|
30
|
+
exports.createConfigExtension = _chunk2DBIWPIUcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunk2DBIWPIUcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunk2DBIWPIUcjs.loadStormWorkspaceConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
import { ZodTypeAny } from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ import { ZodTypeAny } from 'zod';
|
|
|
6
6
|
*
|
|
7
7
|
* @returns The config for the current Storm workspace
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
9
|
+
declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName?: TExtensionName, schema?: TExtensionSchema, workspaceRoot?: string, skipLogs?: boolean) => Promise<StormWorkspaceConfig<TExtensionName, TExtensionConfig>>;
|
|
10
10
|
/**
|
|
11
11
|
* Get the config for a specific Storm config Extension
|
|
12
12
|
*
|
|
@@ -14,10 +14,10 @@ declare const createStormConfig: <TExtensionName extends keyof StormConfig["exte
|
|
|
14
14
|
* @param options - The options for the config extension
|
|
15
15
|
* @returns The config for the specified Storm config extension. If the extension does not exist, `undefined` is returned.
|
|
16
16
|
*/
|
|
17
|
-
declare const createConfigExtension: <TExtensionName extends keyof
|
|
17
|
+
declare const createConfigExtension: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName: TExtensionName, schema: TExtensionSchema) => TExtensionConfig;
|
|
18
18
|
/**
|
|
19
19
|
* Load the config file values for the current Storm workspace into environment variables
|
|
20
20
|
*/
|
|
21
|
-
declare const
|
|
21
|
+
declare const loadStormWorkspaceConfig: (workspaceRoot?: string, skipLogs?: boolean) => Promise<StormWorkspaceConfig>;
|
|
22
22
|
|
|
23
|
-
export { createConfigExtension,
|
|
23
|
+
export { createConfigExtension, createStormWorkspaceConfig, loadStormWorkspaceConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
import { ZodTypeAny } from 'zod';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ import { ZodTypeAny } from 'zod';
|
|
|
6
6
|
*
|
|
7
7
|
* @returns The config for the current Storm workspace
|
|
8
8
|
*/
|
|
9
|
-
declare const
|
|
9
|
+
declare const createStormWorkspaceConfig: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName?: TExtensionName, schema?: TExtensionSchema, workspaceRoot?: string, skipLogs?: boolean) => Promise<StormWorkspaceConfig<TExtensionName, TExtensionConfig>>;
|
|
10
10
|
/**
|
|
11
11
|
* Get the config for a specific Storm config Extension
|
|
12
12
|
*
|
|
@@ -14,10 +14,10 @@ declare const createStormConfig: <TExtensionName extends keyof StormConfig["exte
|
|
|
14
14
|
* @param options - The options for the config extension
|
|
15
15
|
* @returns The config for the specified Storm config extension. If the extension does not exist, `undefined` is returned.
|
|
16
16
|
*/
|
|
17
|
-
declare const createConfigExtension: <TExtensionName extends keyof
|
|
17
|
+
declare const createConfigExtension: <TExtensionName extends keyof StormWorkspaceConfig["extensions"] = keyof StormWorkspaceConfig["extensions"], TExtensionConfig = any, TExtensionSchema extends ZodTypeAny = ZodTypeAny>(extensionName: TExtensionName, schema: TExtensionSchema) => TExtensionConfig;
|
|
18
18
|
/**
|
|
19
19
|
* Load the config file values for the current Storm workspace into environment variables
|
|
20
20
|
*/
|
|
21
|
-
declare const
|
|
21
|
+
declare const loadStormWorkspaceConfig: (workspaceRoot?: string, skipLogs?: boolean) => Promise<StormWorkspaceConfig>;
|
|
22
22
|
|
|
23
|
-
export { createConfigExtension,
|
|
23
|
+
export { createConfigExtension, createStormWorkspaceConfig, loadStormWorkspaceConfig };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createConfigExtension,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./chunk-
|
|
3
|
+
createStormWorkspaceConfig,
|
|
4
|
+
loadStormWorkspaceConfig
|
|
5
|
+
} from "./chunk-DDM25SM5.js";
|
|
6
6
|
import "./chunk-5A64HBAS.js";
|
|
7
7
|
import "./chunk-I6MMCLIA.js";
|
|
8
8
|
import "./chunk-WNKSRKPT.js";
|
|
@@ -25,6 +25,6 @@ import "./chunk-3QAWRU2B.js";
|
|
|
25
25
|
import "./chunk-SHUYVCID.js";
|
|
26
26
|
export {
|
|
27
27
|
createConfigExtension,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
createStormWorkspaceConfig,
|
|
29
|
+
loadStormWorkspaceConfig
|
|
30
30
|
};
|
package/dist/env/get-env.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
import { DeepPartial } from '../types.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -13,6 +13,6 @@ declare const getExtensionEnv: <TConfig extends Record<string, any> = Record<str
|
|
|
13
13
|
*
|
|
14
14
|
* @returns The config for the current Storm workspace from environment variables
|
|
15
15
|
*/
|
|
16
|
-
declare const getConfigEnv: () => DeepPartial<
|
|
16
|
+
declare const getConfigEnv: () => DeepPartial<StormWorkspaceConfig>;
|
|
17
17
|
|
|
18
18
|
export { getConfigEnv, getExtensionEnv };
|
package/dist/env/get-env.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
import { DeepPartial } from '../types.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -13,6 +13,6 @@ declare const getExtensionEnv: <TConfig extends Record<string, any> = Record<str
|
|
|
13
13
|
*
|
|
14
14
|
* @returns The config for the current Storm workspace from environment variables
|
|
15
15
|
*/
|
|
16
|
-
declare const getConfigEnv: () => DeepPartial<
|
|
16
|
+
declare const getConfigEnv: () => DeepPartial<StormWorkspaceConfig>;
|
|
17
17
|
|
|
18
18
|
export { getConfigEnv, getExtensionEnv };
|
package/dist/env/set-env.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the config for an extension module of Storm workspace from environment variables
|
|
@@ -12,6 +12,6 @@ declare const setExtensionEnv: <TConfig extends Record<string, any> = Record<str
|
|
|
12
12
|
*
|
|
13
13
|
* @returns The config for the current Storm workspace from environment variables
|
|
14
14
|
*/
|
|
15
|
-
declare const setConfigEnv: (config:
|
|
15
|
+
declare const setConfigEnv: (config: StormWorkspaceConfig) => void;
|
|
16
16
|
|
|
17
17
|
export { setConfigEnv, setExtensionEnv };
|
package/dist/env/set-env.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the config for an extension module of Storm workspace from environment variables
|
|
@@ -12,6 +12,6 @@ declare const setExtensionEnv: <TConfig extends Record<string, any> = Record<str
|
|
|
12
12
|
*
|
|
13
13
|
* @returns The config for the current Storm workspace from environment variables
|
|
14
14
|
*/
|
|
15
|
-
declare const setConfigEnv: (config:
|
|
15
|
+
declare const setConfigEnv: (config: StormWorkspaceConfig) => void;
|
|
16
16
|
|
|
17
17
|
export { setConfigEnv, setExtensionEnv };
|
package/dist/get-config.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6TID4WHTcjs = require('./chunk-6TID4WHT.cjs');
|
|
5
|
+
require('./chunk-2DBIWPIU.cjs');
|
|
6
6
|
require('./chunk-4Y3WX4X5.cjs');
|
|
7
7
|
require('./chunk-UNXQ2AR4.cjs');
|
|
8
8
|
require('./chunk-WEZDTJJ3.cjs');
|
|
@@ -26,4 +26,4 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
exports.getConfig =
|
|
29
|
+
exports.getConfig = _chunk6TID4WHTcjs.getConfig; exports.getWorkspaceConfig = _chunk6TID4WHTcjs.getWorkspaceConfig;
|
package/dist/get-config.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the config for the current Storm workspace
|
|
@@ -7,13 +7,24 @@ import { StormConfig } from '@storm-software/config/types';
|
|
|
7
7
|
* @param skipLogs - Skip writing logs to the console
|
|
8
8
|
* @returns The config for the current Storm workspace
|
|
9
9
|
*/
|
|
10
|
-
declare const getConfig: (workspaceRoot?: string, skipLogs?: boolean) => Promise<
|
|
10
|
+
declare const getConfig: (workspaceRoot?: string, skipLogs?: boolean) => Promise<StormWorkspaceConfig>;
|
|
11
|
+
type GetWorkspaceConfigOptions = {
|
|
12
|
+
/**
|
|
13
|
+
* The root directory of the workspace
|
|
14
|
+
*/
|
|
15
|
+
workspaceRoot?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A directory inside the monorepo to start searching from
|
|
18
|
+
*/
|
|
19
|
+
cwd?: string;
|
|
20
|
+
};
|
|
11
21
|
/**
|
|
12
22
|
* Get the config for the current Storm workspace
|
|
13
23
|
*
|
|
14
24
|
* @param skipLogs - Skip writing logs to the console
|
|
25
|
+
* @param options - Options for getting the workspace config
|
|
15
26
|
* @returns The config for the current Storm workspace
|
|
16
27
|
*/
|
|
17
|
-
declare const getWorkspaceConfig: (skipLogs?: boolean) => Promise<
|
|
28
|
+
declare const getWorkspaceConfig: (skipLogs?: boolean, options?: GetWorkspaceConfigOptions) => Promise<StormWorkspaceConfig>;
|
|
18
29
|
|
|
19
|
-
export { getConfig, getWorkspaceConfig };
|
|
30
|
+
export { type GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig };
|
package/dist/get-config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the config for the current Storm workspace
|
|
@@ -7,13 +7,24 @@ import { StormConfig } from '@storm-software/config/types';
|
|
|
7
7
|
* @param skipLogs - Skip writing logs to the console
|
|
8
8
|
* @returns The config for the current Storm workspace
|
|
9
9
|
*/
|
|
10
|
-
declare const getConfig: (workspaceRoot?: string, skipLogs?: boolean) => Promise<
|
|
10
|
+
declare const getConfig: (workspaceRoot?: string, skipLogs?: boolean) => Promise<StormWorkspaceConfig>;
|
|
11
|
+
type GetWorkspaceConfigOptions = {
|
|
12
|
+
/**
|
|
13
|
+
* The root directory of the workspace
|
|
14
|
+
*/
|
|
15
|
+
workspaceRoot?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A directory inside the monorepo to start searching from
|
|
18
|
+
*/
|
|
19
|
+
cwd?: string;
|
|
20
|
+
};
|
|
11
21
|
/**
|
|
12
22
|
* Get the config for the current Storm workspace
|
|
13
23
|
*
|
|
14
24
|
* @param skipLogs - Skip writing logs to the console
|
|
25
|
+
* @param options - Options for getting the workspace config
|
|
15
26
|
* @returns The config for the current Storm workspace
|
|
16
27
|
*/
|
|
17
|
-
declare const getWorkspaceConfig: (skipLogs?: boolean) => Promise<
|
|
28
|
+
declare const getWorkspaceConfig: (skipLogs?: boolean, options?: GetWorkspaceConfigOptions) => Promise<StormWorkspaceConfig>;
|
|
18
29
|
|
|
19
|
-
export { getConfig, getWorkspaceConfig };
|
|
30
|
+
export { type GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig };
|
package/dist/get-config.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getConfig,
|
|
3
3
|
getWorkspaceConfig
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-YVGP2ECT.js";
|
|
5
|
+
import "./chunk-DDM25SM5.js";
|
|
6
6
|
import "./chunk-5A64HBAS.js";
|
|
7
7
|
import "./chunk-I6MMCLIA.js";
|
|
8
8
|
import "./chunk-WNKSRKPT.js";
|
package/dist/index.cjs
CHANGED
|
@@ -5,12 +5,12 @@ var _chunkQGPIYCGYcjs = require('./chunk-QGPIYCGY.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk6TID4WHTcjs = require('./chunk-6TID4WHT.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk2DBIWPIUcjs = require('./chunk-2DBIWPIU.cjs');
|
|
14
14
|
require('./chunk-E4R6RI5D.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -167,4 +167,4 @@ require('./chunk-USNT2KNT.cjs');
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
exports.CONSOLE_ICONS = _chunkKBPYCUVGcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunk7QZVNQ25cjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkCHA6766Ncjs.LARGE_BUFFER; exports.LogLevel = _chunkC5OTFOQBcjs.LogLevel; exports.LogLevelLabel = _chunkC5OTFOQBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkWZSBZDAUcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkWZSBZDAUcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkWZSBZDAUcjs.applyWorkspaceTokens; exports.basename = _chunkE5AUC34Gcjs.basename; exports.correctPaths = _chunkE5AUC34Gcjs.correctPaths; exports.createConfigExtension =
|
|
170
|
+
exports.CONSOLE_ICONS = _chunkKBPYCUVGcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunk7QZVNQ25cjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkCHA6766Ncjs.LARGE_BUFFER; exports.LogLevel = _chunkC5OTFOQBcjs.LogLevel; exports.LogLevelLabel = _chunkC5OTFOQBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkWZSBZDAUcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkWZSBZDAUcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkWZSBZDAUcjs.applyWorkspaceTokens; exports.basename = _chunkE5AUC34Gcjs.basename; exports.correctPaths = _chunkE5AUC34Gcjs.correctPaths; exports.createConfigExtension = _chunk2DBIWPIUcjs.createConfigExtension; exports.createLogger = _chunkQGPIYCGYcjs.createLogger; exports.createStormWorkspaceConfig = _chunk2DBIWPIUcjs.createStormWorkspaceConfig; exports.dirname = _chunkE5AUC34Gcjs.dirname; exports.exitWithError = _chunkWEZDTJJ3cjs.exitWithError; exports.exitWithSuccess = _chunkWEZDTJJ3cjs.exitWithSuccess; exports.extname = _chunkE5AUC34Gcjs.extname; exports.findFileName = _chunkVULQ4N4Zcjs.findFileName; exports.findWorkspaceRoot = _chunk6LIPH2JWcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk6LIPH2JWcjs.findWorkspaceRootSafe; exports.format = _chunkE5AUC34Gcjs.format; exports.formatLogMessage = _chunkPI4PV3UGcjs.formatLogMessage; exports.formatTimestamp = _chunkIGUYFX5Bcjs.formatTimestamp; exports.getChalk = _chunkVICC23NVcjs.getChalk; exports.getConfig = _chunk6TID4WHTcjs.getConfig; exports.getConfigEnv = _chunkEGODLCSUcjs.getConfigEnv; exports.getConfigFile = _chunk4Y3WX4X5cjs.getConfigFile; exports.getConfigFileByName = _chunk4Y3WX4X5cjs.getConfigFileByName; exports.getDefaultConfig = _chunk7QZVNQ25cjs.getDefaultConfig; exports.getExtensionEnv = _chunkEGODLCSUcjs.getExtensionEnv; exports.getLogFn = _chunkPI4PV3UGcjs.getLogFn; exports.getLogLevel = _chunk7HCO3WBNcjs.getLogLevel; exports.getLogLevelLabel = _chunk7HCO3WBNcjs.getLogLevelLabel; exports.getStopwatch = _chunkPI4PV3UGcjs.getStopwatch; exports.getWorkspaceConfig = _chunk6TID4WHTcjs.getWorkspaceConfig; exports.handleProcess = _chunkWEZDTJJ3cjs.handleProcess; exports.isAbsolute = _chunkE5AUC34Gcjs.isAbsolute; exports.isUnicodeSupported = _chunkOSY5X2AIcjs.isUnicodeSupported; exports.isVerbose = _chunk7HCO3WBNcjs.isVerbose; exports.joinPaths = _chunkE5AUC34Gcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunk2DBIWPIUcjs.loadStormWorkspaceConfig; exports.normalizeString = _chunkE5AUC34Gcjs.normalizeString; exports.normalizeWindowsPath = _chunkE5AUC34Gcjs.normalizeWindowsPath; exports.parse = _chunkE5AUC34Gcjs.parse; exports.relative = _chunkE5AUC34Gcjs.relative; exports.removeExtension = _chunkVULQ4N4Zcjs.removeExtension; exports.resolve = _chunkE5AUC34Gcjs.resolve; exports.run = _chunkCHA6766Ncjs.run; exports.runAsync = _chunkCHA6766Ncjs.runAsync; exports.sep = _chunkE5AUC34Gcjs.sep; exports.setConfigEnv = _chunkDRG6BGOIcjs.setConfigEnv; exports.setExtensionEnv = _chunkDRG6BGOIcjs.setExtensionEnv; exports.toNamespacedPath = _chunkE5AUC34Gcjs.toNamespacedPath; exports.writeDebug = _chunkPI4PV3UGcjs.writeDebug; exports.writeError = _chunkPI4PV3UGcjs.writeError; exports.writeFatal = _chunkPI4PV3UGcjs.writeFatal; exports.writeInfo = _chunkPI4PV3UGcjs.writeInfo; exports.writeSuccess = _chunkPI4PV3UGcjs.writeSuccess; exports.writeSystem = _chunkPI4PV3UGcjs.writeSystem; exports.writeTrace = _chunkPI4PV3UGcjs.writeTrace; exports.writeWarning = _chunkPI4PV3UGcjs.writeWarning;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { getConfigFile, getConfigFileByName } from './config-file/get-config-file.cjs';
|
|
2
|
-
export { createConfigExtension,
|
|
2
|
+
export { createConfigExtension, createStormWorkspaceConfig, loadStormWorkspaceConfig } from './create-storm-config.cjs';
|
|
3
3
|
export { getConfigEnv, getExtensionEnv } from './env/get-env.cjs';
|
|
4
4
|
export { setConfigEnv, setExtensionEnv } from './env/set-env.cjs';
|
|
5
|
-
export { getConfig, getWorkspaceConfig } from './get-config.cjs';
|
|
5
|
+
export { GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig } from './get-config.cjs';
|
|
6
6
|
export { GetChalkReturn, getChalk } from './logger/chalk.cjs';
|
|
7
7
|
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.cjs';
|
|
8
8
|
export { CONSOLE_ICONS } from './logger/console-icons.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { getConfigFile, getConfigFileByName } from './config-file/get-config-file.js';
|
|
2
|
-
export { createConfigExtension,
|
|
2
|
+
export { createConfigExtension, createStormWorkspaceConfig, loadStormWorkspaceConfig } from './create-storm-config.js';
|
|
3
3
|
export { getConfigEnv, getExtensionEnv } from './env/get-env.js';
|
|
4
4
|
export { setConfigEnv, setExtensionEnv } from './env/set-env.js';
|
|
5
|
-
export { getConfig, getWorkspaceConfig } from './get-config.js';
|
|
5
|
+
export { GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig } from './get-config.js';
|
|
6
6
|
export { GetChalkReturn, getChalk } from './logger/chalk.js';
|
|
7
7
|
export { FormatLogMessageOptions, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.js';
|
|
8
8
|
export { CONSOLE_ICONS } from './logger/console-icons.js';
|
package/dist/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getConfig,
|
|
7
7
|
getWorkspaceConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YVGP2ECT.js";
|
|
9
9
|
import {
|
|
10
10
|
createConfigExtension,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
11
|
+
createStormWorkspaceConfig,
|
|
12
|
+
loadStormWorkspaceConfig
|
|
13
|
+
} from "./chunk-DDM25SM5.js";
|
|
14
14
|
import "./chunk-SABD7NYM.js";
|
|
15
15
|
import {
|
|
16
16
|
getConfigFile,
|
|
@@ -118,7 +118,7 @@ export {
|
|
|
118
118
|
correctPaths,
|
|
119
119
|
createConfigExtension,
|
|
120
120
|
createLogger,
|
|
121
|
-
|
|
121
|
+
createStormWorkspaceConfig,
|
|
122
122
|
dirname,
|
|
123
123
|
exitWithError,
|
|
124
124
|
exitWithSuccess,
|
|
@@ -146,7 +146,7 @@ export {
|
|
|
146
146
|
isUnicodeSupported,
|
|
147
147
|
isVerbose,
|
|
148
148
|
joinPaths,
|
|
149
|
-
|
|
149
|
+
loadStormWorkspaceConfig,
|
|
150
150
|
normalizeString,
|
|
151
151
|
normalizeWindowsPath,
|
|
152
152
|
parse,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
import { LogLevel } from '../types.cjs';
|
|
3
3
|
import { getChalk } from './chalk.cjs';
|
|
4
4
|
|
|
@@ -9,63 +9,63 @@ import { getChalk } from './chalk.cjs';
|
|
|
9
9
|
* @param config - The Storm configuration
|
|
10
10
|
* @returns The log function
|
|
11
11
|
*/
|
|
12
|
-
declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<
|
|
12
|
+
declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => ((message?: any) => void);
|
|
13
13
|
/**
|
|
14
14
|
* Write a message to the console at the `fatal` log level
|
|
15
15
|
*
|
|
16
16
|
* @param message - The message to write
|
|
17
17
|
* @param config - The Storm configuration
|
|
18
18
|
*/
|
|
19
|
-
declare const writeFatal: (message?: any, config?: Partial<
|
|
19
|
+
declare const writeFatal: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Write a message to the console at the `error` log level
|
|
22
22
|
*
|
|
23
23
|
* @param message - The message to write
|
|
24
24
|
* @param config - The Storm configuration
|
|
25
25
|
*/
|
|
26
|
-
declare const writeError: (message?: any, config?: Partial<
|
|
26
|
+
declare const writeError: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
27
27
|
/**
|
|
28
28
|
* Write a message to the console at the `warning` log level
|
|
29
29
|
*
|
|
30
30
|
* @param message - The message to write
|
|
31
31
|
* @param config - The Storm configuration
|
|
32
32
|
*/
|
|
33
|
-
declare const writeWarning: (message?: any, config?: Partial<
|
|
33
|
+
declare const writeWarning: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
34
34
|
/**
|
|
35
35
|
* Write a message to the console at the `info` log level
|
|
36
36
|
*
|
|
37
37
|
* @param message - The message to write
|
|
38
38
|
* @param config - The Storm configuration
|
|
39
39
|
*/
|
|
40
|
-
declare const writeInfo: (message?: any, config?: Partial<
|
|
40
|
+
declare const writeInfo: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
41
41
|
/**
|
|
42
42
|
* Write a message to the console at the `success` log level
|
|
43
43
|
*
|
|
44
44
|
* @param message - The message to write
|
|
45
45
|
* @param config - The Storm configuration
|
|
46
46
|
*/
|
|
47
|
-
declare const writeSuccess: (message?: any, config?: Partial<
|
|
47
|
+
declare const writeSuccess: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
48
48
|
/**
|
|
49
49
|
* Write a message to the console at the `debug` log level
|
|
50
50
|
*
|
|
51
51
|
* @param message - The message to write
|
|
52
52
|
* @param config - The Storm configuration
|
|
53
53
|
*/
|
|
54
|
-
declare const writeDebug: (message?: any, config?: Partial<
|
|
54
|
+
declare const writeDebug: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
55
55
|
/**
|
|
56
56
|
* Write a message to the console at the `trace` log level
|
|
57
57
|
*
|
|
58
58
|
* @param message - The message to write
|
|
59
59
|
* @param config - The Storm configuration
|
|
60
60
|
*/
|
|
61
|
-
declare const writeTrace: (message?: any, config?: Partial<
|
|
61
|
+
declare const writeTrace: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
62
62
|
/**
|
|
63
63
|
* Write a message to the console at the `all` log level
|
|
64
64
|
*
|
|
65
65
|
* @param message - The message to write
|
|
66
66
|
* @param config - The Storm configuration
|
|
67
67
|
*/
|
|
68
|
-
declare const writeSystem: (message?: any, config?: Partial<
|
|
68
|
+
declare const writeSystem: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
69
69
|
/**
|
|
70
70
|
* Get a stopwatch function
|
|
71
71
|
*
|
package/dist/logger/console.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
import { LogLevel } from '../types.js';
|
|
3
3
|
import { getChalk } from './chalk.js';
|
|
4
4
|
|
|
@@ -9,63 +9,63 @@ import { getChalk } from './chalk.js';
|
|
|
9
9
|
* @param config - The Storm configuration
|
|
10
10
|
* @returns The log function
|
|
11
11
|
*/
|
|
12
|
-
declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<
|
|
12
|
+
declare const getLogFn: (logLevel?: number | LogLevel, config?: Partial<StormWorkspaceConfig>, _chalk?: ReturnType<typeof getChalk>) => ((message?: any) => void);
|
|
13
13
|
/**
|
|
14
14
|
* Write a message to the console at the `fatal` log level
|
|
15
15
|
*
|
|
16
16
|
* @param message - The message to write
|
|
17
17
|
* @param config - The Storm configuration
|
|
18
18
|
*/
|
|
19
|
-
declare const writeFatal: (message?: any, config?: Partial<
|
|
19
|
+
declare const writeFatal: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Write a message to the console at the `error` log level
|
|
22
22
|
*
|
|
23
23
|
* @param message - The message to write
|
|
24
24
|
* @param config - The Storm configuration
|
|
25
25
|
*/
|
|
26
|
-
declare const writeError: (message?: any, config?: Partial<
|
|
26
|
+
declare const writeError: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
27
27
|
/**
|
|
28
28
|
* Write a message to the console at the `warning` log level
|
|
29
29
|
*
|
|
30
30
|
* @param message - The message to write
|
|
31
31
|
* @param config - The Storm configuration
|
|
32
32
|
*/
|
|
33
|
-
declare const writeWarning: (message?: any, config?: Partial<
|
|
33
|
+
declare const writeWarning: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
34
34
|
/**
|
|
35
35
|
* Write a message to the console at the `info` log level
|
|
36
36
|
*
|
|
37
37
|
* @param message - The message to write
|
|
38
38
|
* @param config - The Storm configuration
|
|
39
39
|
*/
|
|
40
|
-
declare const writeInfo: (message?: any, config?: Partial<
|
|
40
|
+
declare const writeInfo: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
41
41
|
/**
|
|
42
42
|
* Write a message to the console at the `success` log level
|
|
43
43
|
*
|
|
44
44
|
* @param message - The message to write
|
|
45
45
|
* @param config - The Storm configuration
|
|
46
46
|
*/
|
|
47
|
-
declare const writeSuccess: (message?: any, config?: Partial<
|
|
47
|
+
declare const writeSuccess: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
48
48
|
/**
|
|
49
49
|
* Write a message to the console at the `debug` log level
|
|
50
50
|
*
|
|
51
51
|
* @param message - The message to write
|
|
52
52
|
* @param config - The Storm configuration
|
|
53
53
|
*/
|
|
54
|
-
declare const writeDebug: (message?: any, config?: Partial<
|
|
54
|
+
declare const writeDebug: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
55
55
|
/**
|
|
56
56
|
* Write a message to the console at the `trace` log level
|
|
57
57
|
*
|
|
58
58
|
* @param message - The message to write
|
|
59
59
|
* @param config - The Storm configuration
|
|
60
60
|
*/
|
|
61
|
-
declare const writeTrace: (message?: any, config?: Partial<
|
|
61
|
+
declare const writeTrace: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
62
62
|
/**
|
|
63
63
|
* Write a message to the console at the `all` log level
|
|
64
64
|
*
|
|
65
65
|
* @param message - The message to write
|
|
66
66
|
* @param config - The Storm configuration
|
|
67
67
|
*/
|
|
68
|
-
declare const writeSystem: (message?: any, config?: Partial<
|
|
68
|
+
declare const writeSystem: (message?: any, config?: Partial<StormWorkspaceConfig>) => void;
|
|
69
69
|
/**
|
|
70
70
|
* Get a stopwatch function
|
|
71
71
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
2
2
|
import { Logger } from '../types.cjs';
|
|
3
3
|
import '@storm-software/config';
|
|
4
4
|
|
|
5
|
-
declare function createLogger(config?: Partial<
|
|
5
|
+
declare function createLogger(config?: Partial<StormWorkspaceConfig>): Promise<Logger>;
|
|
6
6
|
|
|
7
7
|
export { createLogger };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
2
2
|
import { Logger } from '../types.js';
|
|
3
3
|
import '@storm-software/config';
|
|
4
4
|
|
|
5
|
-
declare function createLogger(config?: Partial<
|
|
5
|
+
declare function createLogger(config?: Partial<StormWorkspaceConfig>): Promise<Logger>;
|
|
6
6
|
|
|
7
7
|
export { createLogger };
|
package/dist/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 60 | 70 | 100;
|
|
4
4
|
declare const LogLevel: {
|
|
@@ -36,7 +36,7 @@ type Logger = {
|
|
|
36
36
|
};
|
|
37
37
|
interface BaseTokenizerOptions {
|
|
38
38
|
workspaceRoot?: string;
|
|
39
|
-
config?:
|
|
39
|
+
config?: StormWorkspaceConfig;
|
|
40
40
|
}
|
|
41
41
|
interface ProjectTokenizerOptions extends BaseTokenizerOptions {
|
|
42
42
|
projectRoot?: string;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 60 | 70 | 100;
|
|
4
4
|
declare const LogLevel: {
|
|
@@ -36,7 +36,7 @@ type Logger = {
|
|
|
36
36
|
};
|
|
37
37
|
interface BaseTokenizerOptions {
|
|
38
38
|
workspaceRoot?: string;
|
|
39
|
-
config?:
|
|
39
|
+
config?: StormWorkspaceConfig;
|
|
40
40
|
}
|
|
41
41
|
interface ProjectTokenizerOptions extends BaseTokenizerOptions {
|
|
42
42
|
projectRoot?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorConfig,
|
|
1
|
+
import { ColorConfig, StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Storm theme config values used for styling various workspace elements
|
|
@@ -9,6 +9,6 @@ declare const DEFAULT_COLOR_CONFIG: ColorConfig;
|
|
|
9
9
|
*
|
|
10
10
|
* @returns The default Storm config values
|
|
11
11
|
*/
|
|
12
|
-
declare const getDefaultConfig: (root?: string) => Promise<Pick<
|
|
12
|
+
declare const getDefaultConfig: (root?: string) => Promise<Pick<StormWorkspaceConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "docs" | "licensing">>;
|
|
13
13
|
|
|
14
14
|
export { DEFAULT_COLOR_CONFIG, getDefaultConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorConfig,
|
|
1
|
+
import { ColorConfig, StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Storm theme config values used for styling various workspace elements
|
|
@@ -9,6 +9,6 @@ declare const DEFAULT_COLOR_CONFIG: ColorConfig;
|
|
|
9
9
|
*
|
|
10
10
|
* @returns The default Storm config values
|
|
11
11
|
*/
|
|
12
|
-
declare const getDefaultConfig: (root?: string) => Promise<Pick<
|
|
12
|
+
declare const getDefaultConfig: (root?: string) => Promise<Pick<StormWorkspaceConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "docs" | "licensing">>;
|
|
13
13
|
|
|
14
14
|
export { DEFAULT_COLOR_CONFIG, getDefaultConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
|
-
declare const exitWithError: (config?: Partial<
|
|
4
|
-
declare const exitWithSuccess: (config?: Partial<
|
|
5
|
-
declare const handleProcess: (config?: Partial<
|
|
3
|
+
declare const exitWithError: (config?: Partial<StormWorkspaceConfig>) => never;
|
|
4
|
+
declare const exitWithSuccess: (config?: Partial<StormWorkspaceConfig>) => never;
|
|
5
|
+
declare const handleProcess: (config?: Partial<StormWorkspaceConfig>) => void;
|
|
6
6
|
|
|
7
7
|
export { exitWithError, exitWithSuccess, handleProcess };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
2
|
|
|
3
|
-
declare const exitWithError: (config?: Partial<
|
|
4
|
-
declare const exitWithSuccess: (config?: Partial<
|
|
5
|
-
declare const handleProcess: (config?: Partial<
|
|
3
|
+
declare const exitWithError: (config?: Partial<StormWorkspaceConfig>) => never;
|
|
4
|
+
declare const exitWithSuccess: (config?: Partial<StormWorkspaceConfig>) => never;
|
|
5
|
+
declare const handleProcess: (config?: Partial<StormWorkspaceConfig>) => void;
|
|
6
6
|
|
|
7
7
|
export { exitWithError, exitWithSuccess, handleProcess };
|
package/dist/utilities/run.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as child_process from 'child_process';
|
|
2
|
-
import {
|
|
2
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
3
3
|
|
|
4
4
|
declare const LARGE_BUFFER: number;
|
|
5
5
|
type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
|
|
@@ -17,7 +17,7 @@ type StdioOptions = IOType | Array<IOType | "ipc" | number | null | undefined>;
|
|
|
17
17
|
* @param env - The environment variables
|
|
18
18
|
* @returns The result of the command
|
|
19
19
|
*/
|
|
20
|
-
declare const run: (config: Partial<
|
|
20
|
+
declare const run: (config: Partial<StormWorkspaceConfig>, command: string, cwd?: string, stdio?: StdioOptions, env?: NodeJS.ProcessEnv) => Buffer<ArrayBufferLike>;
|
|
21
21
|
/**
|
|
22
22
|
* Run an asynchronous command line process
|
|
23
23
|
*
|
|
@@ -30,6 +30,6 @@ declare const run: (config: Partial<StormConfig>, command: string, cwd?: string,
|
|
|
30
30
|
* @param env - The environment variables
|
|
31
31
|
* @returns A promise with the result of the command
|
|
32
32
|
*/
|
|
33
|
-
declare const runAsync: (config: Partial<
|
|
33
|
+
declare const runAsync: (config: Partial<StormWorkspaceConfig>, command: string, cwd?: string, env?: NodeJS.ProcessEnv) => child_process.ChildProcess;
|
|
34
34
|
|
|
35
35
|
export { type IOType, LARGE_BUFFER, type StdioOptions, run, runAsync };
|
package/dist/utilities/run.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as child_process from 'child_process';
|
|
2
|
-
import {
|
|
2
|
+
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
3
3
|
|
|
4
4
|
declare const LARGE_BUFFER: number;
|
|
5
5
|
type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
|
|
@@ -17,7 +17,7 @@ type StdioOptions = IOType | Array<IOType | "ipc" | number | null | undefined>;
|
|
|
17
17
|
* @param env - The environment variables
|
|
18
18
|
* @returns The result of the command
|
|
19
19
|
*/
|
|
20
|
-
declare const run: (config: Partial<
|
|
20
|
+
declare const run: (config: Partial<StormWorkspaceConfig>, command: string, cwd?: string, stdio?: StdioOptions, env?: NodeJS.ProcessEnv) => Buffer<ArrayBufferLike>;
|
|
21
21
|
/**
|
|
22
22
|
* Run an asynchronous command line process
|
|
23
23
|
*
|
|
@@ -30,6 +30,6 @@ declare const run: (config: Partial<StormConfig>, command: string, cwd?: string,
|
|
|
30
30
|
* @param env - The environment variables
|
|
31
31
|
* @returns A promise with the result of the command
|
|
32
32
|
*/
|
|
33
|
-
declare const runAsync: (config: Partial<
|
|
33
|
+
declare const runAsync: (config: Partial<StormWorkspaceConfig>, command: string, cwd?: string, env?: NodeJS.ProcessEnv) => child_process.ChildProcess;
|
|
34
34
|
|
|
35
35
|
export { type IOType, LARGE_BUFFER, type StdioOptions, run, runAsync };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.160.
|
|
3
|
+
"version": "1.160.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
6
6
|
"repository": {
|
package/dist/chunk-75KTDF4L.cjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkQYUGFJAQcjs = require('./chunk-QYUGFJAQ.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
|
|
7
|
-
|
|
8
|
-
// src/get-config.ts
|
|
9
|
-
var getConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
|
|
10
|
-
return _chunkQYUGFJAQcjs.loadStormConfig.call(void 0, workspaceRoot, skipLogs);
|
|
11
|
-
}, "getConfig");
|
|
12
|
-
var getWorkspaceConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (skipLogs = false) => {
|
|
13
|
-
return getConfig(void 0, skipLogs);
|
|
14
|
-
}, "getWorkspaceConfig");
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig;
|
package/dist/chunk-X4IT3ZLQ.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
loadStormConfig
|
|
3
|
-
} from "./chunk-COH3YZXA.js";
|
|
4
|
-
import {
|
|
5
|
-
__name
|
|
6
|
-
} from "./chunk-SHUYVCID.js";
|
|
7
|
-
|
|
8
|
-
// src/get-config.ts
|
|
9
|
-
var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
|
|
10
|
-
return loadStormConfig(workspaceRoot, skipLogs);
|
|
11
|
-
}, "getConfig");
|
|
12
|
-
var getWorkspaceConfig = /* @__PURE__ */ __name((skipLogs = false) => {
|
|
13
|
-
return getConfig(void 0, skipLogs);
|
|
14
|
-
}, "getWorkspaceConfig");
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
getConfig,
|
|
18
|
-
getWorkspaceConfig
|
|
19
|
-
};
|