@storm-software/config-tools 1.189.62 → 1.189.63

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 CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-1.189.60-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-1.189.61-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/config.cjs CHANGED
@@ -1470,9 +1470,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1470
1470
  configInput.variant = (0, import_node_fs3.existsSync)(joinPaths(_workspaceRoot, "nx.json")) || (0, import_node_fs3.existsSync)(joinPaths(_workspaceRoot, ".nx")) || (0, import_node_fs3.existsSync)(joinPaths(_workspaceRoot, "lerna.json")) || (0, import_node_fs3.existsSync)(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
1471
1471
  }
1472
1472
  try {
1473
- result = applyDefaultConfig(
1474
- await import_schema.workspaceConfigSchema.parseAsync(configInput)
1473
+ const parseResult = await Promise.resolve(
1474
+ import_schema.workspaceConfigSchema._zod.parse(
1475
+ { value: configInput, issues: [] },
1476
+ { async: true }
1477
+ )
1475
1478
  );
1479
+ result = applyDefaultConfig(parseResult.value);
1476
1480
  result.workspaceRoot ??= _workspaceRoot;
1477
1481
  } catch (error) {
1478
1482
  throw new Error(
package/bin/config.js CHANGED
@@ -1445,9 +1445,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1445
1445
  configInput.variant = existsSync3(joinPaths(_workspaceRoot, "nx.json")) || existsSync3(joinPaths(_workspaceRoot, ".nx")) || existsSync3(joinPaths(_workspaceRoot, "lerna.json")) || existsSync3(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
1446
1446
  }
1447
1447
  try {
1448
- result = applyDefaultConfig(
1449
- await workspaceConfigSchema.parseAsync(configInput)
1448
+ const parseResult = await Promise.resolve(
1449
+ workspaceConfigSchema._zod.parse(
1450
+ { value: configInput, issues: [] },
1451
+ { async: true }
1452
+ )
1450
1453
  );
1454
+ result = applyDefaultConfig(parseResult.value);
1451
1455
  result.workspaceRoot ??= _workspaceRoot;
1452
1456
  } catch (error) {
1453
1457
  throw new Error(
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadStormWorkspaceConfig,
3
3
  tryLoadStormWorkspaceConfig
4
- } from "./chunk-OKLRRII7.js";
4
+ } from "./chunk-JLQZPWQ2.js";
5
5
  import {
6
6
  findWorkspaceRoot
7
7
  } from "./chunk-LF3SAK2O.js";
@@ -60,9 +60,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
60
60
  configInput.variant = existsSync(joinPaths(_workspaceRoot, "nx.json")) || existsSync(joinPaths(_workspaceRoot, ".nx")) || existsSync(joinPaths(_workspaceRoot, "lerna.json")) || existsSync(joinPaths(_workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
61
61
  }
62
62
  try {
63
- result = applyDefaultConfig(
64
- await workspaceConfigSchema.parseAsync(configInput)
63
+ const parseResult = await Promise.resolve(
64
+ workspaceConfigSchema._zod.parse(
65
+ { value: configInput, issues: [] },
66
+ { async: true }
67
+ )
65
68
  );
69
+ result = applyDefaultConfig(parseResult.value);
66
70
  result.workspaceRoot ??= _workspaceRoot;
67
71
  } catch (error) {
68
72
  throw new Error(
@@ -60,9 +60,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
60
60
  configInput.variant = _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
61
61
  }
62
62
  try {
63
- result = _chunkCFXT4ZAWcjs.applyDefaultConfig.call(void 0,
64
- await _schema.workspaceConfigSchema.parseAsync(configInput)
63
+ const parseResult = await Promise.resolve(
64
+ _schema.workspaceConfigSchema._zod.parse(
65
+ { value: configInput, issues: [] },
66
+ { async: true }
67
+ )
65
68
  );
69
+ result = _chunkCFXT4ZAWcjs.applyDefaultConfig.call(void 0, parseResult.value);
66
70
  result.workspaceRoot ??= _workspaceRoot;
67
71
  } catch (error) {
68
72
  throw new Error(
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkM7ANCUGEcjs = require('./chunk-M7ANCUGE.cjs');
4
+ var _chunkMN5CJYWOcjs = require('./chunk-MN5CJYWO.cjs');
5
5
 
6
6
 
7
7
  var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
8
8
 
9
9
  // src/get-config.ts
10
10
  function getConfig(workspaceRoot, skipLogs = false) {
11
- return _chunkM7ANCUGEcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
11
+ return _chunkMN5CJYWOcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
12
12
  }
13
13
  function getWorkspaceConfig(skipLogs = true, options = {}) {
14
14
  let workspaceRoot = options.workspaceRoot;
@@ -23,7 +23,7 @@ async function tryGetWorkspaceConfig(skipLogs = true, options = {}) {
23
23
  if (!workspaceRoot) {
24
24
  workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, options.cwd);
25
25
  }
26
- return _chunkM7ANCUGEcjs.tryLoadStormWorkspaceConfig.call(void 0,
26
+ return _chunkMN5CJYWOcjs.tryLoadStormWorkspaceConfig.call(void 0,
27
27
  workspaceRoot,
28
28
  skipLogs,
29
29
  options.useDefault
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkM7ANCUGEcjs = require('./chunk-M7ANCUGE.cjs');
6
+ var _chunkMN5CJYWOcjs = require('./chunk-MN5CJYWO.cjs');
7
7
  require('./chunk-PWT57ER4.cjs');
8
8
  require('./chunk-3COHMHPU.cjs');
9
9
  require('./chunk-Q4XFXQVF.cjs');
@@ -32,4 +32,4 @@ require('./chunk-7QBTVNMR.cjs');
32
32
 
33
33
 
34
34
 
35
- exports.createConfigExtension = _chunkM7ANCUGEcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunkM7ANCUGEcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunkM7ANCUGEcjs.loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkM7ANCUGEcjs.tryLoadStormWorkspaceConfig;
35
+ exports.createConfigExtension = _chunkMN5CJYWOcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunkMN5CJYWOcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunkMN5CJYWOcjs.loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkMN5CJYWOcjs.tryLoadStormWorkspaceConfig;
@@ -3,7 +3,7 @@ import {
3
3
  createStormWorkspaceConfig,
4
4
  loadStormWorkspaceConfig,
5
5
  tryLoadStormWorkspaceConfig
6
- } from "./chunk-OKLRRII7.js";
6
+ } from "./chunk-JLQZPWQ2.js";
7
7
  import "./chunk-G4FBFCNL.js";
8
8
  import "./chunk-UKGRDKIH.js";
9
9
  import "./chunk-JWLOTPPR.js";
@@ -1,5 +1,12 @@
1
1
  import { StormWorkspaceConfig } from '@storm-software/config';
2
2
 
3
+ declare global {
4
+ namespace NodeJS {
5
+ interface ProcessEnv {
6
+ [key: string]: string | undefined;
7
+ }
8
+ }
9
+ }
3
10
  /**
4
11
  * Get the config for an extension module of Storm workspace from environment variables
5
12
  *
@@ -1,5 +1,12 @@
1
1
  import { StormWorkspaceConfig } from '@storm-software/config';
2
2
 
3
+ declare global {
4
+ namespace NodeJS {
5
+ interface ProcessEnv {
6
+ [key: string]: string | undefined;
7
+ }
8
+ }
9
+ }
3
10
  /**
4
11
  * Get the config for an extension module of Storm workspace from environment variables
5
12
  *
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUUIUK7TTcjs = require('./chunk-UUIUK7TT.cjs');
6
- require('./chunk-M7ANCUGE.cjs');
5
+ var _chunkTVLYWDEIcjs = require('./chunk-TVLYWDEI.cjs');
6
+ require('./chunk-MN5CJYWO.cjs');
7
7
  require('./chunk-PWT57ER4.cjs');
8
8
  require('./chunk-3COHMHPU.cjs');
9
9
  require('./chunk-Q4XFXQVF.cjs');
@@ -31,4 +31,4 @@ require('./chunk-7QBTVNMR.cjs');
31
31
 
32
32
 
33
33
 
34
- exports.getConfig = _chunkUUIUK7TTcjs.getConfig; exports.getWorkspaceConfig = _chunkUUIUK7TTcjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunkUUIUK7TTcjs.tryGetWorkspaceConfig;
34
+ exports.getConfig = _chunkTVLYWDEIcjs.getConfig; exports.getWorkspaceConfig = _chunkTVLYWDEIcjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunkTVLYWDEIcjs.tryGetWorkspaceConfig;
@@ -2,8 +2,8 @@ import {
2
2
  getConfig,
3
3
  getWorkspaceConfig,
4
4
  tryGetWorkspaceConfig
5
- } from "./chunk-3DBFYM32.js";
6
- import "./chunk-OKLRRII7.js";
5
+ } from "./chunk-DTC27IVR.js";
6
+ import "./chunk-JLQZPWQ2.js";
7
7
  import "./chunk-G4FBFCNL.js";
8
8
  import "./chunk-UKGRDKIH.js";
9
9
  import "./chunk-JWLOTPPR.js";
package/dist/index.cjs CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUUIUK7TTcjs = require('./chunk-UUIUK7TT.cjs');
5
+ var _chunkTVLYWDEIcjs = require('./chunk-TVLYWDEI.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkM7ANCUGEcjs = require('./chunk-M7ANCUGE.cjs');
11
+ var _chunkMN5CJYWOcjs = require('./chunk-MN5CJYWO.cjs');
12
12
  require('./chunk-IWD6YQKX.cjs');
13
13
 
14
14
 
@@ -198,4 +198,4 @@ var _chunk7QBTVNMRcjs = require('./chunk-7QBTVNMR.cjs');
198
198
 
199
199
 
200
200
 
201
- exports.CONSOLE_ICONS = _chunkEC2KPWRGcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkL4YHJZ6Qcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.LogLevel = _chunk7QBTVNMRcjs.LogLevel; exports.LogLevelLabel = _chunk7QBTVNMRcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.brandIcon = _chunkDLJF3QQScjs.brandIcon; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.createConfigExtension = _chunkM7ANCUGEcjs.createConfigExtension; exports.createLogger = _chunkYWMI5JWGcjs.createLogger; exports.createStormWorkspaceConfig = _chunkM7ANCUGEcjs.createStormWorkspaceConfig; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunkQ4XFXQVFcjs.exitWithError; exports.exitWithSuccess = _chunkQ4XFXQVFcjs.exitWithSuccess; exports.extname = _chunkBDATZ3UBcjs.extname; exports.findFileName = _chunk2WBD2G3Ecjs.findFileName; exports.findFilePath = _chunk2WBD2G3Ecjs.findFilePath; exports.findWorkspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk3CNCDDWZcjs.findWorkspaceRootSafe; exports.format = _chunkBDATZ3UBcjs.format; exports.formatLogMessage = _chunkDLJF3QQScjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getColor = _chunkL4YHJZ6Qcjs.getColor; exports.getColors = _chunkL4YHJZ6Qcjs.getColors; exports.getConfig = _chunkUUIUK7TTcjs.getConfig; exports.getConfigEnv = _chunkNHILCONIcjs.getConfigEnv; exports.getConfigFile = _chunkPWT57ER4cjs.getConfigFile; exports.getConfigFileByName = _chunkPWT57ER4cjs.getConfigFileByName; exports.getExtensionEnv = _chunkNHILCONIcjs.getExtensionEnv; exports.getGradient = _chunkL4YHJZ6Qcjs.getGradient; exports.getLogFn = _chunkDLJF3QQScjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.getStopwatch = _chunkDLJF3QQScjs.getStopwatch; exports.getWorkspaceConfig = _chunkUUIUK7TTcjs.getWorkspaceConfig; exports.handleProcess = _chunkQ4XFXQVFcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkM7ANCUGEcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkKJJNDXDTcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkKJJNDXDTcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkKJJNDXDTcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkKJJNDXDTcjs.parseCargoTomlWithTree; exports.relative = _chunkBDATZ3UBcjs.relative; exports.removeExtension = _chunk2WBD2G3Ecjs.removeExtension; exports.resolve = _chunkBDATZ3UBcjs.resolve; exports.run = _chunk6Y623TCScjs.run; exports.runAsync = _chunk6Y623TCScjs.runAsync; exports.sep = _chunkBDATZ3UBcjs.sep; exports.setConfigEnv = _chunkB2CQPVVLcjs.setConfigEnv; exports.setExtensionEnv = _chunkB2CQPVVLcjs.setExtensionEnv; exports.stringifyCargoToml = _chunkKJJNDXDTcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunkUUIUK7TTcjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkM7ANCUGEcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunkDLJF3QQScjs.writeDebug; exports.writeError = _chunkDLJF3QQScjs.writeError; exports.writeFatal = _chunkDLJF3QQScjs.writeFatal; exports.writeInfo = _chunkDLJF3QQScjs.writeInfo; exports.writePerformance = _chunkDLJF3QQScjs.writePerformance; exports.writeSuccess = _chunkDLJF3QQScjs.writeSuccess; exports.writeSystem = _chunkDLJF3QQScjs.writeSystem; exports.writeTrace = _chunkDLJF3QQScjs.writeTrace; exports.writeWarning = _chunkDLJF3QQScjs.writeWarning;
201
+ exports.CONSOLE_ICONS = _chunkEC2KPWRGcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkL4YHJZ6Qcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.LogLevel = _chunk7QBTVNMRcjs.LogLevel; exports.LogLevelLabel = _chunk7QBTVNMRcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.brandIcon = _chunkDLJF3QQScjs.brandIcon; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.createConfigExtension = _chunkMN5CJYWOcjs.createConfigExtension; exports.createLogger = _chunkYWMI5JWGcjs.createLogger; exports.createStormWorkspaceConfig = _chunkMN5CJYWOcjs.createStormWorkspaceConfig; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunkQ4XFXQVFcjs.exitWithError; exports.exitWithSuccess = _chunkQ4XFXQVFcjs.exitWithSuccess; exports.extname = _chunkBDATZ3UBcjs.extname; exports.findFileName = _chunk2WBD2G3Ecjs.findFileName; exports.findFilePath = _chunk2WBD2G3Ecjs.findFilePath; exports.findWorkspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk3CNCDDWZcjs.findWorkspaceRootSafe; exports.format = _chunkBDATZ3UBcjs.format; exports.formatLogMessage = _chunkDLJF3QQScjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getColor = _chunkL4YHJZ6Qcjs.getColor; exports.getColors = _chunkL4YHJZ6Qcjs.getColors; exports.getConfig = _chunkTVLYWDEIcjs.getConfig; exports.getConfigEnv = _chunkNHILCONIcjs.getConfigEnv; exports.getConfigFile = _chunkPWT57ER4cjs.getConfigFile; exports.getConfigFileByName = _chunkPWT57ER4cjs.getConfigFileByName; exports.getExtensionEnv = _chunkNHILCONIcjs.getExtensionEnv; exports.getGradient = _chunkL4YHJZ6Qcjs.getGradient; exports.getLogFn = _chunkDLJF3QQScjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.getStopwatch = _chunkDLJF3QQScjs.getStopwatch; exports.getWorkspaceConfig = _chunkTVLYWDEIcjs.getWorkspaceConfig; exports.handleProcess = _chunkQ4XFXQVFcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkMN5CJYWOcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkKJJNDXDTcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkKJJNDXDTcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkKJJNDXDTcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkKJJNDXDTcjs.parseCargoTomlWithTree; exports.relative = _chunkBDATZ3UBcjs.relative; exports.removeExtension = _chunk2WBD2G3Ecjs.removeExtension; exports.resolve = _chunkBDATZ3UBcjs.resolve; exports.run = _chunk6Y623TCScjs.run; exports.runAsync = _chunk6Y623TCScjs.runAsync; exports.sep = _chunkBDATZ3UBcjs.sep; exports.setConfigEnv = _chunkB2CQPVVLcjs.setConfigEnv; exports.setExtensionEnv = _chunkB2CQPVVLcjs.setExtensionEnv; exports.stringifyCargoToml = _chunkKJJNDXDTcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunkTVLYWDEIcjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkMN5CJYWOcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunkDLJF3QQScjs.writeDebug; exports.writeError = _chunkDLJF3QQScjs.writeError; exports.writeFatal = _chunkDLJF3QQScjs.writeFatal; exports.writeInfo = _chunkDLJF3QQScjs.writeInfo; exports.writePerformance = _chunkDLJF3QQScjs.writePerformance; exports.writeSuccess = _chunkDLJF3QQScjs.writeSuccess; exports.writeSystem = _chunkDLJF3QQScjs.writeSystem; exports.writeTrace = _chunkDLJF3QQScjs.writeTrace; exports.writeWarning = _chunkDLJF3QQScjs.writeWarning;
package/dist/index.js CHANGED
@@ -2,13 +2,13 @@ import {
2
2
  getConfig,
3
3
  getWorkspaceConfig,
4
4
  tryGetWorkspaceConfig
5
- } from "./chunk-3DBFYM32.js";
5
+ } from "./chunk-DTC27IVR.js";
6
6
  import {
7
7
  createConfigExtension,
8
8
  createStormWorkspaceConfig,
9
9
  loadStormWorkspaceConfig,
10
10
  tryLoadStormWorkspaceConfig
11
- } from "./chunk-OKLRRII7.js";
11
+ } from "./chunk-JLQZPWQ2.js";
12
12
  import "./chunk-2AVLCXLT.js";
13
13
  import {
14
14
  getConfigFile,
package/package.json CHANGED
@@ -1,18 +1,31 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.189.62",
4
- "type": "module",
3
+ "version": "1.189.63",
4
+ "private": false,
5
5
  "description": "A package containing various utilities to support custom workspace configurations and environment management for Storm Software projects, including configuration file handling, environment variable management, and logging utilities.",
6
+ "keywords": [
7
+ "storm-software",
8
+ "storm",
9
+ "storm-ops",
10
+ "sullivanpj",
11
+ "monorepo",
12
+ "config"
13
+ ],
14
+ "homepage": "https://stormsoftware.com",
15
+ "bugs": {
16
+ "url": "https://stormsoftware.com/support",
17
+ "email": "support@stormsoftware.com"
18
+ },
6
19
  "repository": {
7
20
  "type": "github",
8
21
  "url": "https://github.com/storm-software/storm-ops",
9
22
  "directory": "packages/config-tools"
10
23
  },
11
- "homepage": "https://stormsoftware.com",
12
- "bugs": {
13
- "url": "https://stormsoftware.com/support",
14
- "email": "support@stormsoftware.com"
24
+ "funding": {
25
+ "type": "github",
26
+ "url": "https://github.com/sponsors/storm-software"
15
27
  },
28
+ "license": "Apache-2.0",
16
29
  "author": {
17
30
  "name": "Storm Software",
18
31
  "email": "contact@stormsoftware.com",
@@ -25,19 +38,8 @@
25
38
  "url": "https://stormsoftware.com"
26
39
  }
27
40
  ],
28
- "funding": {
29
- "type": "github",
30
- "url": "https://github.com/sponsors/storm-software"
31
- },
32
- "license": "Apache-2.0",
33
- "private": false,
34
- "bin": {
35
- "storm-config": "./bin/config.cjs",
36
- "storm-config-esm": "./bin/config.js",
37
- "storm-config-cjs": "./bin/config.cjs"
38
- },
39
- "main": "./dist/index.cjs",
40
- "module": "./dist/index.js",
41
+ "sideEffects": false,
42
+ "type": "module",
41
43
  "exports": {
42
44
  "./package.json": "./package.json",
43
45
  "./types": {
@@ -199,19 +201,18 @@
199
201
  }
200
202
  }
201
203
  },
204
+ "main": "./dist/index.cjs",
205
+ "module": "./dist/index.js",
202
206
  "types": "./dist/index.d.ts",
207
+ "bin": {
208
+ "storm-config": "./bin/config.cjs",
209
+ "storm-config-cjs": "./bin/config.cjs",
210
+ "storm-config-esm": "./bin/config.js"
211
+ },
203
212
  "files": ["dist/**/*"],
204
- "keywords": [
205
- "storm-software",
206
- "storm",
207
- "storm-ops",
208
- "sullivanpj",
209
- "monorepo",
210
- "config"
211
- ],
212
213
  "dependencies": {
213
214
  "@ltd/j-toml": "1.38.0",
214
- "@storm-software/config": "^1.137.16",
215
+ "@storm-software/config": "^1.137.17",
215
216
  "c12": "^2.0.4",
216
217
  "chalk": "^4.1.2",
217
218
  "commander": "^12.1.0",
@@ -219,11 +220,15 @@
219
220
  "defu": "6.1.4",
220
221
  "giget": "^1.2.5",
221
222
  "jiti": "2.4.2",
222
- "sqlite": "^5.1.1",
223
+ "sqlite": "^5.1.1"
224
+ },
225
+ "devDependencies": {
226
+ "@types/node": "^25.5.0",
227
+ "tsup": "8.4.0",
223
228
  "zod": "^4.3.6"
224
229
  },
225
- "devDependencies": { "@types/node": "^25.5.0", "tsup": "8.4.0" },
230
+ "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" },
231
+ "peerDependenciesMeta": { "zod": { "optional": false } },
226
232
  "publishConfig": { "access": "public" },
227
- "sideEffects": false,
228
- "gitHead": "c9e22f77a54addf393da062dd661a01624fea3b1"
233
+ "gitHead": "6b69d24518cb551fa374e8769d1adfbc34448ffb"
229
234
  }