@storm-software/config-tools 1.190.119 → 1.190.121
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 +1213 -1558
- package/bin/config.mjs +1271 -0
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/config-file/get-config-file.cjs +67 -28
- package/dist/config-file/get-config-file.d.cts +5 -5
- package/dist/config-file/{get-config-file.d.ts → get-config-file.d.mts} +7 -5
- package/dist/config-file/get-config-file.mjs +66 -0
- package/dist/config-file/index.cjs +4 -29
- package/dist/config-file/index.d.cts +2 -3
- package/dist/config-file/index.d.mts +4 -0
- package/dist/config-file/index.mjs +5 -0
- package/dist/create-storm-config.cjs +115 -34
- package/dist/create-storm-config.d.cts +5 -5
- package/dist/{create-storm-config.d.ts → create-storm-config.d.mts} +7 -5
- package/dist/create-storm-config.mjs +113 -0
- package/dist/env/get-env.cjs +202 -11
- package/dist/env/get-env.d.cts +5 -5
- package/dist/env/{get-env.d.ts → get-env.d.mts} +7 -5
- package/dist/env/get-env.mjs +203 -0
- package/dist/env/index.cjs +7 -18
- package/dist/env/index.d.cts +3 -4
- package/dist/env/index.d.mts +5 -0
- package/dist/env/index.mjs +6 -0
- package/dist/env/set-env.cjs +230 -11
- package/dist/env/set-env.d.cts +8 -8
- package/dist/env/{set-env.d.ts → set-env.d.mts} +10 -8
- package/dist/env/set-env.mjs +231 -0
- package/dist/get-config.cjs +46 -34
- package/dist/get-config.d.cts +18 -18
- package/dist/{get-config.d.ts → get-config.d.mts} +20 -18
- package/dist/get-config.mjs +46 -0
- package/dist/index.cjs +98 -201
- package/dist/index.d.cts +27 -28
- package/dist/index.d.mts +29 -0
- package/dist/index.mjs +26 -0
- package/dist/logger/chalk.cjs +43 -6
- package/dist/logger/chalk.d.cts +18 -17
- package/dist/logger/chalk.d.mts +37 -0
- package/dist/logger/chalk.mjs +43 -0
- package/dist/logger/console-icons.cjs +18 -8
- package/dist/logger/console-icons.d.cts +5 -8
- package/dist/logger/console-icons.d.mts +7 -0
- package/dist/logger/console-icons.mjs +20 -0
- package/dist/logger/console.cjs +195 -37
- package/dist/logger/console.d.cts +25 -25
- package/dist/logger/{console.d.ts → console.d.mts} +27 -25
- package/dist/logger/console.mjs +185 -0
- package/dist/logger/create-logger.cjs +34 -14
- package/dist/logger/create-logger.d.cts +5 -6
- package/dist/logger/{create-logger.d.ts → create-logger.d.mts} +7 -6
- package/dist/logger/create-logger.mjs +34 -0
- package/dist/logger/format-timestamp.cjs +14 -6
- package/dist/logger/format-timestamp.d.cts +3 -2
- package/dist/logger/{format-timestamp.d.ts → format-timestamp.d.mts} +5 -2
- package/dist/logger/format-timestamp.mjs +16 -0
- package/dist/logger/get-log-level.cjs +54 -11
- package/dist/logger/get-log-level.d.cts +4 -5
- package/dist/logger/{get-log-level.d.ts → get-log-level.d.mts} +6 -5
- package/dist/logger/get-log-level.mjs +54 -0
- package/dist/logger/index.cjs +29 -61
- package/dist/logger/index.d.cts +8 -10
- package/dist/logger/index.d.mts +10 -0
- package/dist/logger/index.mjs +11 -0
- package/dist/logger/is-unicode-supported.cjs +8 -6
- package/dist/logger/is-unicode-supported.d.cts +3 -2
- package/dist/logger/is-unicode-supported.d.mts +6 -0
- package/dist/logger/is-unicode-supported.mjs +10 -0
- package/dist/types.cjs +29 -8
- package/dist/types.d.cts +39 -41
- package/dist/types.d.mts +53 -0
- package/dist/types.mjs +30 -0
- package/dist/utilities/apply-workspace-tokens.cjs +37 -13
- package/dist/utilities/apply-workspace-tokens.d.cts +4 -5
- package/dist/utilities/{apply-workspace-tokens.d.ts → apply-workspace-tokens.d.mts} +6 -5
- package/dist/utilities/apply-workspace-tokens.mjs +37 -0
- package/dist/utilities/colors.cjs +98 -12
- package/dist/utilities/colors.d.cts +4 -4
- package/dist/utilities/{colors.d.ts → colors.d.mts} +6 -4
- package/dist/utilities/colors.mjs +97 -0
- package/dist/utilities/correct-paths.cjs +201 -32
- package/dist/utilities/correct-paths.d.cts +4 -4
- package/dist/utilities/{correct-paths.d.ts → correct-paths.d.mts} +6 -4
- package/dist/utilities/correct-paths.mjs +190 -0
- package/dist/utilities/file-path-utils.cjs +48 -11
- package/dist/utilities/file-path-utils.d.cts +15 -14
- package/dist/utilities/{file-path-utils.d.ts → file-path-utils.d.mts} +17 -14
- package/dist/utilities/file-path-utils.mjs +48 -0
- package/dist/utilities/find-up.cjs +17 -6
- package/dist/utilities/find-up.d.cts +3 -2
- package/dist/utilities/{find-up.d.ts → find-up.d.mts} +5 -2
- package/dist/utilities/find-up.mjs +19 -0
- package/dist/utilities/find-workspace-root.cjs +72 -10
- package/dist/utilities/find-workspace-root.d.cts +3 -2
- package/dist/utilities/{find-workspace-root.d.ts → find-workspace-root.d.mts} +5 -2
- package/dist/utilities/find-workspace-root.mjs +73 -0
- package/dist/utilities/get-default-config.cjs +73 -11
- package/dist/utilities/get-default-config.d.cts +4 -4
- package/dist/utilities/{get-default-config.d.ts → get-default-config.d.mts} +6 -4
- package/dist/utilities/get-default-config.mjs +74 -0
- package/dist/utilities/index.cjs +49 -109
- package/dist/utilities/index.d.cts +10 -14
- package/dist/utilities/index.d.mts +12 -0
- package/dist/utilities/index.mjs +13 -0
- package/dist/utilities/process-handler.cjs +38 -18
- package/dist/utilities/process-handler.d.cts +4 -4
- package/dist/utilities/process-handler.d.mts +9 -0
- package/dist/utilities/process-handler.mjs +38 -0
- package/dist/utilities/run.cjs +64 -10
- package/dist/utilities/run.d.cts +5 -6
- package/dist/utilities/{run.d.ts → run.d.mts} +7 -6
- package/dist/utilities/run.mjs +64 -0
- package/dist/utilities/toml.cjs +37 -24
- package/dist/utilities/toml.d.cts +148 -147
- package/dist/utilities/toml.d.mts +192 -0
- package/dist/utilities/toml.mjs +33 -0
- package/package.json +106 -158
- package/bin/config.js +0 -1616
- package/dist/chunk-24B36RDB.cjs +0 -81
- package/dist/chunk-27N3QEX5.js +0 -40
- package/dist/chunk-2AVLCXLT.js +0 -0
- package/dist/chunk-2RLMTBVZ.js +0 -233
- package/dist/chunk-2WBD2G3E.cjs +0 -38
- package/dist/chunk-3COHMHPU.cjs +0 -1
- package/dist/chunk-4Q45WJYQ.js +0 -165
- package/dist/chunk-5C7PIENF.js +0 -92
- package/dist/chunk-5J2SS4QU.js +0 -83
- package/dist/chunk-65SWKEHV.cjs +0 -1
- package/dist/chunk-6Y623TCS.cjs +0 -40
- package/dist/chunk-7PV6L7I7.cjs +0 -1
- package/dist/chunk-7QBTVNMR.cjs +0 -30
- package/dist/chunk-BDATZ3UB.cjs +0 -233
- package/dist/chunk-BZRTSWH4.cjs +0 -395
- package/dist/chunk-D3FRXXDE.js +0 -947
- package/dist/chunk-DTGT4OI3.cjs +0 -14
- package/dist/chunk-EC2KPWRG.cjs +0 -24
- package/dist/chunk-EENQN6N2.js +0 -40
- package/dist/chunk-ENI4UUSK.cjs +0 -35
- package/dist/chunk-FJNXECWU.js +0 -395
- package/dist/chunk-FMDVBSP6.cjs +0 -83
- package/dist/chunk-G2MK47WL.js +0 -14
- package/dist/chunk-HFS7WJVW.js +0 -81
- package/dist/chunk-HVVJHTFS.js +0 -36
- package/dist/chunk-IWD6YQKX.cjs +0 -1
- package/dist/chunk-IWQRXQ4N.cjs +0 -84
- package/dist/chunk-JK4TT5IV.js +0 -35
- package/dist/chunk-JWLDCEBZ.cjs +0 -70
- package/dist/chunk-JZAYHDV3.js +0 -8
- package/dist/chunk-KSMN3HSC.js +0 -38
- package/dist/chunk-L6UNTUC4.js +0 -0
- package/dist/chunk-LOY6ICHZ.cjs +0 -36
- package/dist/chunk-MBG2FTBL.cjs +0 -47
- package/dist/chunk-MQG74XF7.js +0 -102
- package/dist/chunk-MSAQEGBK.cjs +0 -92
- package/dist/chunk-NJFLUTGH.cjs +0 -25
- package/dist/chunk-PCYB64MB.cjs +0 -40
- package/dist/chunk-RALMUN5C.js +0 -30
- package/dist/chunk-RRKB32OH.js +0 -0
- package/dist/chunk-RUKM6FCF.js +0 -25
- package/dist/chunk-SIW7AXUG.js +0 -56
- package/dist/chunk-SLICWTO2.cjs +0 -165
- package/dist/chunk-SO3FWVXC.js +0 -84
- package/dist/chunk-SXPH7ILL.js +0 -70
- package/dist/chunk-T7YISGRS.cjs +0 -102
- package/dist/chunk-TZZRLM5J.cjs +0 -947
- package/dist/chunk-UJ77IBHD.cjs +0 -233
- package/dist/chunk-UKGRDKIH.js +0 -0
- package/dist/chunk-V3GMJ4TX.js +0 -233
- package/dist/chunk-WQJYIPSL.cjs +0 -8
- package/dist/chunk-YBVOKYAM.cjs +0 -56
- package/dist/chunk-YX4736HU.js +0 -47
- package/dist/chunk-ZFNAUMQS.js +0 -24
- package/dist/config-file/get-config-file.js +0 -28
- package/dist/config-file/index.d.ts +0 -3
- package/dist/config-file/index.js +0 -29
- package/dist/create-storm-config.js +0 -35
- package/dist/env/get-env.js +0 -11
- package/dist/env/index.d.ts +0 -4
- package/dist/env/index.js +0 -18
- package/dist/env/set-env.js +0 -11
- package/dist/get-config.js +0 -34
- package/dist/index.d.ts +0 -28
- package/dist/index.js +0 -201
- package/dist/logger/chalk.d.ts +0 -34
- package/dist/logger/chalk.js +0 -6
- package/dist/logger/console-icons.d.ts +0 -8
- package/dist/logger/console-icons.js +0 -8
- package/dist/logger/console.js +0 -37
- package/dist/logger/create-logger.js +0 -14
- package/dist/logger/format-timestamp.js +0 -6
- package/dist/logger/get-log-level.js +0 -11
- package/dist/logger/index.d.ts +0 -10
- package/dist/logger/index.js +0 -61
- package/dist/logger/is-unicode-supported.d.ts +0 -3
- package/dist/logger/is-unicode-supported.js +0 -6
- package/dist/types.d.ts +0 -53
- package/dist/types.js +0 -8
- package/dist/utilities/apply-workspace-tokens.js +0 -13
- package/dist/utilities/colors.js +0 -12
- package/dist/utilities/correct-paths.js +0 -32
- package/dist/utilities/file-path-utils.js +0 -11
- package/dist/utilities/find-up.js +0 -6
- package/dist/utilities/find-workspace-root.js +0 -10
- package/dist/utilities/get-default-config.js +0 -11
- package/dist/utilities/index.d.ts +0 -14
- package/dist/utilities/index.js +0 -109
- package/dist/utilities/process-handler.d.ts +0 -7
- package/dist/utilities/process-handler.js +0 -18
- package/dist/utilities/run.js +0 -10
- package/dist/utilities/toml.d.ts +0 -189
- package/dist/utilities/toml.js +0 -24
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createConfigExtension,
|
|
3
|
-
createStormWorkspaceConfig,
|
|
4
|
-
loadStormWorkspaceConfig,
|
|
5
|
-
tryLoadStormWorkspaceConfig
|
|
6
|
-
} from "./chunk-4Q45WJYQ.js";
|
|
7
|
-
import "./chunk-5C7PIENF.js";
|
|
8
|
-
import "./chunk-UKGRDKIH.js";
|
|
9
|
-
import "./chunk-SIW7AXUG.js";
|
|
10
|
-
import "./chunk-EENQN6N2.js";
|
|
11
|
-
import "./chunk-YX4736HU.js";
|
|
12
|
-
import "./chunk-HFS7WJVW.js";
|
|
13
|
-
import "./chunk-KSMN3HSC.js";
|
|
14
|
-
import "./chunk-MQG74XF7.js";
|
|
15
|
-
import "./chunk-SO3FWVXC.js";
|
|
16
|
-
import "./chunk-RUKM6FCF.js";
|
|
17
|
-
import "./chunk-RRKB32OH.js";
|
|
18
|
-
import "./chunk-JK4TT5IV.js";
|
|
19
|
-
import "./chunk-D3FRXXDE.js";
|
|
20
|
-
import "./chunk-5J2SS4QU.js";
|
|
21
|
-
import "./chunk-HVVJHTFS.js";
|
|
22
|
-
import "./chunk-ZFNAUMQS.js";
|
|
23
|
-
import "./chunk-G2MK47WL.js";
|
|
24
|
-
import "./chunk-JZAYHDV3.js";
|
|
25
|
-
import "./chunk-FJNXECWU.js";
|
|
26
|
-
import "./chunk-2RLMTBVZ.js";
|
|
27
|
-
import "./chunk-V3GMJ4TX.js";
|
|
28
|
-
import "./chunk-SXPH7ILL.js";
|
|
29
|
-
import "./chunk-RALMUN5C.js";
|
|
30
|
-
export {
|
|
31
|
-
createConfigExtension,
|
|
32
|
-
createStormWorkspaceConfig,
|
|
33
|
-
loadStormWorkspaceConfig,
|
|
34
|
-
tryLoadStormWorkspaceConfig
|
|
35
|
-
};
|
package/dist/env/get-env.js
DELETED
package/dist/env/index.d.ts
DELETED
package/dist/env/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import "../chunk-L6UNTUC4.js";
|
|
2
|
-
import {
|
|
3
|
-
setConfigEnv,
|
|
4
|
-
setExtensionEnv
|
|
5
|
-
} from "../chunk-FJNXECWU.js";
|
|
6
|
-
import {
|
|
7
|
-
getConfigEnv,
|
|
8
|
-
getExtensionEnv
|
|
9
|
-
} from "../chunk-2RLMTBVZ.js";
|
|
10
|
-
import "../chunk-V3GMJ4TX.js";
|
|
11
|
-
import "../chunk-SXPH7ILL.js";
|
|
12
|
-
import "../chunk-RALMUN5C.js";
|
|
13
|
-
export {
|
|
14
|
-
getConfigEnv,
|
|
15
|
-
getExtensionEnv,
|
|
16
|
-
setConfigEnv,
|
|
17
|
-
setExtensionEnv
|
|
18
|
-
};
|
package/dist/env/set-env.js
DELETED
package/dist/get-config.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getConfig,
|
|
3
|
-
getWorkspaceConfig,
|
|
4
|
-
tryGetWorkspaceConfig
|
|
5
|
-
} from "./chunk-27N3QEX5.js";
|
|
6
|
-
import "./chunk-4Q45WJYQ.js";
|
|
7
|
-
import "./chunk-5C7PIENF.js";
|
|
8
|
-
import "./chunk-UKGRDKIH.js";
|
|
9
|
-
import "./chunk-SIW7AXUG.js";
|
|
10
|
-
import "./chunk-EENQN6N2.js";
|
|
11
|
-
import "./chunk-YX4736HU.js";
|
|
12
|
-
import "./chunk-HFS7WJVW.js";
|
|
13
|
-
import "./chunk-KSMN3HSC.js";
|
|
14
|
-
import "./chunk-MQG74XF7.js";
|
|
15
|
-
import "./chunk-SO3FWVXC.js";
|
|
16
|
-
import "./chunk-RUKM6FCF.js";
|
|
17
|
-
import "./chunk-RRKB32OH.js";
|
|
18
|
-
import "./chunk-JK4TT5IV.js";
|
|
19
|
-
import "./chunk-D3FRXXDE.js";
|
|
20
|
-
import "./chunk-5J2SS4QU.js";
|
|
21
|
-
import "./chunk-HVVJHTFS.js";
|
|
22
|
-
import "./chunk-ZFNAUMQS.js";
|
|
23
|
-
import "./chunk-G2MK47WL.js";
|
|
24
|
-
import "./chunk-JZAYHDV3.js";
|
|
25
|
-
import "./chunk-FJNXECWU.js";
|
|
26
|
-
import "./chunk-2RLMTBVZ.js";
|
|
27
|
-
import "./chunk-V3GMJ4TX.js";
|
|
28
|
-
import "./chunk-SXPH7ILL.js";
|
|
29
|
-
import "./chunk-RALMUN5C.js";
|
|
30
|
-
export {
|
|
31
|
-
getConfig,
|
|
32
|
-
getWorkspaceConfig,
|
|
33
|
-
tryGetWorkspaceConfig
|
|
34
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export { getConfigFile, getConfigFileByName } from './config-file/get-config-file.js';
|
|
2
|
-
export { createConfigExtension, createStormWorkspaceConfig, loadStormWorkspaceConfig, tryLoadStormWorkspaceConfig } 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 { GetWorkspaceConfigOptions, getConfig, getWorkspaceConfig, tryGetWorkspaceConfig } from './get-config.js';
|
|
6
|
-
export { GetChalkReturn, getChalk } from './logger/chalk.js';
|
|
7
|
-
export { FormatLogMessageOptions, GetLogFnOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning } from './logger/console.js';
|
|
8
|
-
export { CONSOLE_ICONS } from './logger/console-icons.js';
|
|
9
|
-
export { createLogger } from './logger/create-logger.js';
|
|
10
|
-
export { formatTimestamp } from './logger/format-timestamp.js';
|
|
11
|
-
export { getLogLevel, getLogLevelLabel, isVerbose } from './logger/get-log-level.js';
|
|
12
|
-
export { isUnicodeSupported } from './logger/is-unicode-supported.js';
|
|
13
|
-
export { BaseTokenizerOptions, DeepPartial, LogLevel, LogLevelLabel, Logger, ProjectTokenizerOptions } from './types.js';
|
|
14
|
-
export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './utilities/apply-workspace-tokens.js';
|
|
15
|
-
export { DEFAULT_COLOR_CONFIG, getColor, getColors, getGradient } from './utilities/colors.js';
|
|
16
|
-
export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from './utilities/correct-paths.js';
|
|
17
|
-
export { FindFileNameOptions, findFileName, findFilePath, removeExtension } from './utilities/file-path-utils.js';
|
|
18
|
-
export { findWorkspaceRoot, findWorkspaceRootSafe } from './utilities/find-workspace-root.js';
|
|
19
|
-
export { applyDefaultConfig, getPackageJsonConfig } from './utilities/get-default-config.js';
|
|
20
|
-
export { exitWithError, exitWithSuccess, handleProcess } from './utilities/process-handler.js';
|
|
21
|
-
export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './utilities/run.js';
|
|
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
|
-
import '@storm-software/config';
|
|
24
|
-
import 'c12';
|
|
25
|
-
import 'zod';
|
|
26
|
-
import '@storm-software/config/types';
|
|
27
|
-
import 'node:path';
|
|
28
|
-
import 'node:child_process';
|
package/dist/index.js
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getConfig,
|
|
3
|
-
getWorkspaceConfig,
|
|
4
|
-
tryGetWorkspaceConfig
|
|
5
|
-
} from "./chunk-27N3QEX5.js";
|
|
6
|
-
import {
|
|
7
|
-
createConfigExtension,
|
|
8
|
-
createStormWorkspaceConfig,
|
|
9
|
-
loadStormWorkspaceConfig,
|
|
10
|
-
tryLoadStormWorkspaceConfig
|
|
11
|
-
} from "./chunk-4Q45WJYQ.js";
|
|
12
|
-
import "./chunk-2AVLCXLT.js";
|
|
13
|
-
import {
|
|
14
|
-
getConfigFile,
|
|
15
|
-
getConfigFileByName
|
|
16
|
-
} from "./chunk-5C7PIENF.js";
|
|
17
|
-
import "./chunk-UKGRDKIH.js";
|
|
18
|
-
import {
|
|
19
|
-
exitWithError,
|
|
20
|
-
exitWithSuccess,
|
|
21
|
-
handleProcess
|
|
22
|
-
} from "./chunk-SIW7AXUG.js";
|
|
23
|
-
import {
|
|
24
|
-
LARGE_BUFFER,
|
|
25
|
-
run,
|
|
26
|
-
runAsync
|
|
27
|
-
} from "./chunk-EENQN6N2.js";
|
|
28
|
-
import {
|
|
29
|
-
modifyCargoNestedTable,
|
|
30
|
-
modifyCargoTable,
|
|
31
|
-
parseCargoToml,
|
|
32
|
-
parseCargoTomlWithTree,
|
|
33
|
-
stringifyCargoToml
|
|
34
|
-
} from "./chunk-YX4736HU.js";
|
|
35
|
-
import {
|
|
36
|
-
applyWorkspaceBaseTokens,
|
|
37
|
-
applyWorkspaceProjectTokens,
|
|
38
|
-
applyWorkspaceTokens
|
|
39
|
-
} from "./chunk-HFS7WJVW.js";
|
|
40
|
-
import {
|
|
41
|
-
findFileName,
|
|
42
|
-
findFilePath,
|
|
43
|
-
removeExtension
|
|
44
|
-
} from "./chunk-KSMN3HSC.js";
|
|
45
|
-
import {
|
|
46
|
-
applyDefaultConfig,
|
|
47
|
-
getPackageJsonConfig
|
|
48
|
-
} from "./chunk-MQG74XF7.js";
|
|
49
|
-
import {
|
|
50
|
-
findWorkspaceRoot,
|
|
51
|
-
findWorkspaceRootSafe
|
|
52
|
-
} from "./chunk-SO3FWVXC.js";
|
|
53
|
-
import "./chunk-RUKM6FCF.js";
|
|
54
|
-
import "./chunk-RRKB32OH.js";
|
|
55
|
-
import {
|
|
56
|
-
createLogger
|
|
57
|
-
} from "./chunk-JK4TT5IV.js";
|
|
58
|
-
import {
|
|
59
|
-
brandIcon,
|
|
60
|
-
formatLogMessage,
|
|
61
|
-
getLogFn,
|
|
62
|
-
getStopwatch,
|
|
63
|
-
writeDebug,
|
|
64
|
-
writeError,
|
|
65
|
-
writeFatal,
|
|
66
|
-
writeInfo,
|
|
67
|
-
writePerformance,
|
|
68
|
-
writeSuccess,
|
|
69
|
-
writeSystem,
|
|
70
|
-
writeTrace,
|
|
71
|
-
writeWarning
|
|
72
|
-
} from "./chunk-D3FRXXDE.js";
|
|
73
|
-
import {
|
|
74
|
-
DEFAULT_COLOR_CONFIG,
|
|
75
|
-
getColor,
|
|
76
|
-
getColors,
|
|
77
|
-
getGradient
|
|
78
|
-
} from "./chunk-5J2SS4QU.js";
|
|
79
|
-
import {
|
|
80
|
-
getChalk
|
|
81
|
-
} from "./chunk-HVVJHTFS.js";
|
|
82
|
-
import {
|
|
83
|
-
CONSOLE_ICONS
|
|
84
|
-
} from "./chunk-ZFNAUMQS.js";
|
|
85
|
-
import {
|
|
86
|
-
isUnicodeSupported
|
|
87
|
-
} from "./chunk-G2MK47WL.js";
|
|
88
|
-
import {
|
|
89
|
-
formatTimestamp
|
|
90
|
-
} from "./chunk-JZAYHDV3.js";
|
|
91
|
-
import "./chunk-L6UNTUC4.js";
|
|
92
|
-
import {
|
|
93
|
-
setConfigEnv,
|
|
94
|
-
setExtensionEnv
|
|
95
|
-
} from "./chunk-FJNXECWU.js";
|
|
96
|
-
import {
|
|
97
|
-
getConfigEnv,
|
|
98
|
-
getExtensionEnv
|
|
99
|
-
} from "./chunk-2RLMTBVZ.js";
|
|
100
|
-
import {
|
|
101
|
-
basename,
|
|
102
|
-
correctPaths,
|
|
103
|
-
dirname,
|
|
104
|
-
extname,
|
|
105
|
-
format,
|
|
106
|
-
isAbsolute,
|
|
107
|
-
joinPaths,
|
|
108
|
-
normalizeString,
|
|
109
|
-
normalizeWindowsPath,
|
|
110
|
-
parse,
|
|
111
|
-
relative,
|
|
112
|
-
resolve,
|
|
113
|
-
sep,
|
|
114
|
-
toNamespacedPath
|
|
115
|
-
} from "./chunk-V3GMJ4TX.js";
|
|
116
|
-
import {
|
|
117
|
-
getLogLevel,
|
|
118
|
-
getLogLevelLabel,
|
|
119
|
-
isVerbose
|
|
120
|
-
} from "./chunk-SXPH7ILL.js";
|
|
121
|
-
import {
|
|
122
|
-
LogLevel,
|
|
123
|
-
LogLevelLabel
|
|
124
|
-
} from "./chunk-RALMUN5C.js";
|
|
125
|
-
export {
|
|
126
|
-
CONSOLE_ICONS,
|
|
127
|
-
DEFAULT_COLOR_CONFIG,
|
|
128
|
-
LARGE_BUFFER,
|
|
129
|
-
LogLevel,
|
|
130
|
-
LogLevelLabel,
|
|
131
|
-
applyDefaultConfig,
|
|
132
|
-
applyWorkspaceBaseTokens,
|
|
133
|
-
applyWorkspaceProjectTokens,
|
|
134
|
-
applyWorkspaceTokens,
|
|
135
|
-
basename,
|
|
136
|
-
brandIcon,
|
|
137
|
-
correctPaths,
|
|
138
|
-
createConfigExtension,
|
|
139
|
-
createLogger,
|
|
140
|
-
createStormWorkspaceConfig,
|
|
141
|
-
dirname,
|
|
142
|
-
exitWithError,
|
|
143
|
-
exitWithSuccess,
|
|
144
|
-
extname,
|
|
145
|
-
findFileName,
|
|
146
|
-
findFilePath,
|
|
147
|
-
findWorkspaceRoot,
|
|
148
|
-
findWorkspaceRootSafe,
|
|
149
|
-
format,
|
|
150
|
-
formatLogMessage,
|
|
151
|
-
formatTimestamp,
|
|
152
|
-
getChalk,
|
|
153
|
-
getColor,
|
|
154
|
-
getColors,
|
|
155
|
-
getConfig,
|
|
156
|
-
getConfigEnv,
|
|
157
|
-
getConfigFile,
|
|
158
|
-
getConfigFileByName,
|
|
159
|
-
getExtensionEnv,
|
|
160
|
-
getGradient,
|
|
161
|
-
getLogFn,
|
|
162
|
-
getLogLevel,
|
|
163
|
-
getLogLevelLabel,
|
|
164
|
-
getPackageJsonConfig,
|
|
165
|
-
getStopwatch,
|
|
166
|
-
getWorkspaceConfig,
|
|
167
|
-
handleProcess,
|
|
168
|
-
isAbsolute,
|
|
169
|
-
isUnicodeSupported,
|
|
170
|
-
isVerbose,
|
|
171
|
-
joinPaths,
|
|
172
|
-
loadStormWorkspaceConfig,
|
|
173
|
-
modifyCargoNestedTable,
|
|
174
|
-
modifyCargoTable,
|
|
175
|
-
normalizeString,
|
|
176
|
-
normalizeWindowsPath,
|
|
177
|
-
parse,
|
|
178
|
-
parseCargoToml,
|
|
179
|
-
parseCargoTomlWithTree,
|
|
180
|
-
relative,
|
|
181
|
-
removeExtension,
|
|
182
|
-
resolve,
|
|
183
|
-
run,
|
|
184
|
-
runAsync,
|
|
185
|
-
sep,
|
|
186
|
-
setConfigEnv,
|
|
187
|
-
setExtensionEnv,
|
|
188
|
-
stringifyCargoToml,
|
|
189
|
-
toNamespacedPath,
|
|
190
|
-
tryGetWorkspaceConfig,
|
|
191
|
-
tryLoadStormWorkspaceConfig,
|
|
192
|
-
writeDebug,
|
|
193
|
-
writeError,
|
|
194
|
-
writeFatal,
|
|
195
|
-
writeInfo,
|
|
196
|
-
writePerformance,
|
|
197
|
-
writeSuccess,
|
|
198
|
-
writeSystem,
|
|
199
|
-
writeTrace,
|
|
200
|
-
writeWarning
|
|
201
|
-
};
|
package/dist/logger/chalk.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
type GetChalkReturn = {
|
|
2
|
-
hex: (_: string) => (message?: string) => string | undefined;
|
|
3
|
-
bgHex: (_: string) => {
|
|
4
|
-
whiteBright: (message?: string) => string | undefined;
|
|
5
|
-
white: (message?: string) => string | undefined;
|
|
6
|
-
};
|
|
7
|
-
whiteBright: (message?: string) => string | undefined;
|
|
8
|
-
white: (message?: string) => string | undefined;
|
|
9
|
-
gray: (message?: string) => string | undefined;
|
|
10
|
-
bold: {
|
|
11
|
-
hex: (_: string) => (message?: string) => string | undefined;
|
|
12
|
-
bgHex: (_: string) => {
|
|
13
|
-
whiteBright: (message?: string) => string | undefined;
|
|
14
|
-
white: (message?: string) => string | undefined;
|
|
15
|
-
};
|
|
16
|
-
whiteBright: (message?: string) => string | undefined;
|
|
17
|
-
white: (message?: string) => string | undefined;
|
|
18
|
-
};
|
|
19
|
-
dim: {
|
|
20
|
-
hex: (_: string) => (message?: string) => string | undefined;
|
|
21
|
-
gray: (message?: string) => string | undefined;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Get the chalk instance
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* Annoying polyfill to temporarily fix the issue with the `chalk` import
|
|
29
|
-
*
|
|
30
|
-
* @returns The chalk instance
|
|
31
|
-
*/
|
|
32
|
-
declare const getChalk: () => GetChalkReturn;
|
|
33
|
-
|
|
34
|
-
export { type GetChalkReturn, getChalk };
|
package/dist/logger/chalk.js
DELETED
package/dist/logger/console.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
brandIcon,
|
|
3
|
-
formatLogMessage,
|
|
4
|
-
getLogFn,
|
|
5
|
-
getStopwatch,
|
|
6
|
-
writeDebug,
|
|
7
|
-
writeError,
|
|
8
|
-
writeFatal,
|
|
9
|
-
writeInfo,
|
|
10
|
-
writePerformance,
|
|
11
|
-
writeSuccess,
|
|
12
|
-
writeSystem,
|
|
13
|
-
writeTrace,
|
|
14
|
-
writeWarning
|
|
15
|
-
} from "../chunk-D3FRXXDE.js";
|
|
16
|
-
import "../chunk-5J2SS4QU.js";
|
|
17
|
-
import "../chunk-HVVJHTFS.js";
|
|
18
|
-
import "../chunk-ZFNAUMQS.js";
|
|
19
|
-
import "../chunk-G2MK47WL.js";
|
|
20
|
-
import "../chunk-JZAYHDV3.js";
|
|
21
|
-
import "../chunk-SXPH7ILL.js";
|
|
22
|
-
import "../chunk-RALMUN5C.js";
|
|
23
|
-
export {
|
|
24
|
-
brandIcon,
|
|
25
|
-
formatLogMessage,
|
|
26
|
-
getLogFn,
|
|
27
|
-
getStopwatch,
|
|
28
|
-
writeDebug,
|
|
29
|
-
writeError,
|
|
30
|
-
writeFatal,
|
|
31
|
-
writeInfo,
|
|
32
|
-
writePerformance,
|
|
33
|
-
writeSuccess,
|
|
34
|
-
writeSystem,
|
|
35
|
-
writeTrace,
|
|
36
|
-
writeWarning
|
|
37
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createLogger
|
|
3
|
-
} from "../chunk-JK4TT5IV.js";
|
|
4
|
-
import "../chunk-D3FRXXDE.js";
|
|
5
|
-
import "../chunk-5J2SS4QU.js";
|
|
6
|
-
import "../chunk-HVVJHTFS.js";
|
|
7
|
-
import "../chunk-ZFNAUMQS.js";
|
|
8
|
-
import "../chunk-G2MK47WL.js";
|
|
9
|
-
import "../chunk-JZAYHDV3.js";
|
|
10
|
-
import "../chunk-SXPH7ILL.js";
|
|
11
|
-
import "../chunk-RALMUN5C.js";
|
|
12
|
-
export {
|
|
13
|
-
createLogger
|
|
14
|
-
};
|
package/dist/logger/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { GetChalkReturn, getChalk } from './chalk.js';
|
|
2
|
-
export { FormatLogMessageOptions, GetLogFnOptions, brandIcon, formatLogMessage, getLogFn, getStopwatch, writeDebug, writeError, writeFatal, writeInfo, writePerformance, writeSuccess, writeSystem, writeTrace, writeWarning } from './console.js';
|
|
3
|
-
export { CONSOLE_ICONS } from './console-icons.js';
|
|
4
|
-
export { createLogger } from './create-logger.js';
|
|
5
|
-
export { formatTimestamp } from './format-timestamp.js';
|
|
6
|
-
export { getLogLevel, getLogLevelLabel, isVerbose } from './get-log-level.js';
|
|
7
|
-
export { isUnicodeSupported } from './is-unicode-supported.js';
|
|
8
|
-
import '@storm-software/config';
|
|
9
|
-
import '../types.js';
|
|
10
|
-
import '@storm-software/config/types';
|
package/dist/logger/index.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import "../chunk-RRKB32OH.js";
|
|
2
|
-
import {
|
|
3
|
-
createLogger
|
|
4
|
-
} from "../chunk-JK4TT5IV.js";
|
|
5
|
-
import {
|
|
6
|
-
brandIcon,
|
|
7
|
-
formatLogMessage,
|
|
8
|
-
getLogFn,
|
|
9
|
-
getStopwatch,
|
|
10
|
-
writeDebug,
|
|
11
|
-
writeError,
|
|
12
|
-
writeFatal,
|
|
13
|
-
writeInfo,
|
|
14
|
-
writePerformance,
|
|
15
|
-
writeSuccess,
|
|
16
|
-
writeSystem,
|
|
17
|
-
writeTrace,
|
|
18
|
-
writeWarning
|
|
19
|
-
} from "../chunk-D3FRXXDE.js";
|
|
20
|
-
import "../chunk-5J2SS4QU.js";
|
|
21
|
-
import {
|
|
22
|
-
getChalk
|
|
23
|
-
} from "../chunk-HVVJHTFS.js";
|
|
24
|
-
import {
|
|
25
|
-
CONSOLE_ICONS
|
|
26
|
-
} from "../chunk-ZFNAUMQS.js";
|
|
27
|
-
import {
|
|
28
|
-
isUnicodeSupported
|
|
29
|
-
} from "../chunk-G2MK47WL.js";
|
|
30
|
-
import {
|
|
31
|
-
formatTimestamp
|
|
32
|
-
} from "../chunk-JZAYHDV3.js";
|
|
33
|
-
import {
|
|
34
|
-
getLogLevel,
|
|
35
|
-
getLogLevelLabel,
|
|
36
|
-
isVerbose
|
|
37
|
-
} from "../chunk-SXPH7ILL.js";
|
|
38
|
-
import "../chunk-RALMUN5C.js";
|
|
39
|
-
export {
|
|
40
|
-
CONSOLE_ICONS,
|
|
41
|
-
brandIcon,
|
|
42
|
-
createLogger,
|
|
43
|
-
formatLogMessage,
|
|
44
|
-
formatTimestamp,
|
|
45
|
-
getChalk,
|
|
46
|
-
getLogFn,
|
|
47
|
-
getLogLevel,
|
|
48
|
-
getLogLevelLabel,
|
|
49
|
-
getStopwatch,
|
|
50
|
-
isUnicodeSupported,
|
|
51
|
-
isVerbose,
|
|
52
|
-
writeDebug,
|
|
53
|
-
writeError,
|
|
54
|
-
writeFatal,
|
|
55
|
-
writeInfo,
|
|
56
|
-
writePerformance,
|
|
57
|
-
writeSuccess,
|
|
58
|
-
writeSystem,
|
|
59
|
-
writeTrace,
|
|
60
|
-
writeWarning
|
|
61
|
-
};
|
package/dist/types.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { StormWorkspaceConfig } from '@storm-software/config';
|
|
2
|
-
|
|
3
|
-
type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 50 | 60 | 70 | 100;
|
|
4
|
-
declare const LogLevel: {
|
|
5
|
-
readonly SILENT: LogLevel;
|
|
6
|
-
readonly FATAL: LogLevel;
|
|
7
|
-
readonly ERROR: LogLevel;
|
|
8
|
-
readonly WARN: LogLevel;
|
|
9
|
-
readonly SUCCESS: LogLevel;
|
|
10
|
-
readonly INFO: LogLevel;
|
|
11
|
-
readonly PERFORMANCE: LogLevel;
|
|
12
|
-
readonly DEBUG: LogLevel;
|
|
13
|
-
readonly TRACE: LogLevel;
|
|
14
|
-
readonly ALL: LogLevel;
|
|
15
|
-
};
|
|
16
|
-
type LogLevelLabel = "silent" | "fatal" | "error" | "warn" | "success" | "info" | "performance" | "debug" | "trace" | "all";
|
|
17
|
-
declare const LogLevelLabel: {
|
|
18
|
-
readonly SILENT: LogLevelLabel;
|
|
19
|
-
readonly FATAL: LogLevelLabel;
|
|
20
|
-
readonly ERROR: LogLevelLabel;
|
|
21
|
-
readonly WARN: LogLevelLabel;
|
|
22
|
-
readonly SUCCESS: LogLevelLabel;
|
|
23
|
-
readonly INFO: LogLevelLabel;
|
|
24
|
-
readonly PERFORMANCE: LogLevelLabel;
|
|
25
|
-
readonly DEBUG: LogLevelLabel;
|
|
26
|
-
readonly TRACE: LogLevelLabel;
|
|
27
|
-
readonly ALL: LogLevelLabel;
|
|
28
|
-
};
|
|
29
|
-
type Logger = {
|
|
30
|
-
fatal: (message?: any) => void;
|
|
31
|
-
error: (message?: any) => void;
|
|
32
|
-
warning: (message?: any) => void;
|
|
33
|
-
info: (message?: any) => void;
|
|
34
|
-
success: (message?: any) => void;
|
|
35
|
-
performance: (message?: any) => void;
|
|
36
|
-
debug: (message?: any) => void;
|
|
37
|
-
trace: (message?: any) => void;
|
|
38
|
-
getStopwatch: (name: string) => () => void;
|
|
39
|
-
};
|
|
40
|
-
interface BaseTokenizerOptions {
|
|
41
|
-
workspaceRoot?: string;
|
|
42
|
-
config?: StormWorkspaceConfig;
|
|
43
|
-
}
|
|
44
|
-
interface ProjectTokenizerOptions extends BaseTokenizerOptions {
|
|
45
|
-
projectRoot?: string;
|
|
46
|
-
projectName?: string;
|
|
47
|
-
sourceRoot?: string;
|
|
48
|
-
}
|
|
49
|
-
type DeepPartial<T> = {
|
|
50
|
-
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export { type BaseTokenizerOptions, type DeepPartial, LogLevel, LogLevelLabel, type Logger, type ProjectTokenizerOptions };
|
package/dist/types.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
applyWorkspaceBaseTokens,
|
|
3
|
-
applyWorkspaceProjectTokens,
|
|
4
|
-
applyWorkspaceTokens
|
|
5
|
-
} from "../chunk-HFS7WJVW.js";
|
|
6
|
-
import "../chunk-SO3FWVXC.js";
|
|
7
|
-
import "../chunk-RUKM6FCF.js";
|
|
8
|
-
import "../chunk-V3GMJ4TX.js";
|
|
9
|
-
export {
|
|
10
|
-
applyWorkspaceBaseTokens,
|
|
11
|
-
applyWorkspaceProjectTokens,
|
|
12
|
-
applyWorkspaceTokens
|
|
13
|
-
};
|