@storm-software/config-tools 1.169.6 → 1.169.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md 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
- [![Version](https://img.shields.io/badge/version-1.169.5-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)
24
+ [![Version](https://img.shields.io/badge/version-1.169.6-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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -3,9 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkPKYL423Fcjs = require('./chunk-PKYL423F.cjs');
7
- require('./chunk-56NGBR4S.cjs');
8
- require('./chunk-H425P7G5.cjs');
6
+ var _chunkBJ2W75ZOcjs = require('./chunk-BJ2W75ZO.cjs');
9
7
  require('./chunk-7HCUD67D.cjs');
10
8
  require('./chunk-KT6HSF26.cjs');
11
9
  require('./chunk-FCWF3I34.cjs');
@@ -23,6 +21,8 @@ require('./chunk-NS5PJ2RM.cjs');
23
21
  require('./chunk-PSHJQ2NP.cjs');
24
22
  require('./chunk-PLLCZVZO.cjs');
25
23
  require('./chunk-QNDF3RQL.cjs');
24
+ require('./chunk-H425P7G5.cjs');
25
+ require('./chunk-56NGBR4S.cjs');
26
26
  require('./chunk-4JREL2GQ.cjs');
27
27
  require('./chunk-7BZWQZUV.cjs');
28
28
  require('./chunk-C5OTFOQB.cjs');
@@ -31,4 +31,4 @@ require('./chunk-C5OTFOQB.cjs');
31
31
 
32
32
 
33
33
 
34
- exports.createConfigExtension = _chunkPKYL423Fcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunkPKYL423Fcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunkPKYL423Fcjs.loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkPKYL423Fcjs.tryLoadStormWorkspaceConfig;
34
+ exports.createConfigExtension = _chunkBJ2W75ZOcjs.createConfigExtension; exports.createStormWorkspaceConfig = _chunkBJ2W75ZOcjs.createStormWorkspaceConfig; exports.loadStormWorkspaceConfig = _chunkBJ2W75ZOcjs.loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkBJ2W75ZOcjs.tryLoadStormWorkspaceConfig;
@@ -3,9 +3,7 @@ import {
3
3
  createStormWorkspaceConfig,
4
4
  loadStormWorkspaceConfig,
5
5
  tryLoadStormWorkspaceConfig
6
- } from "./chunk-GK6OSUUD.js";
7
- import "./chunk-RSKVXFI5.js";
8
- import "./chunk-XS7LVKAI.js";
6
+ } from "./chunk-WITKEKZ5.js";
9
7
  import "./chunk-XO6ICAFH.js";
10
8
  import "./chunk-3EVEDCXL.js";
11
9
  import "./chunk-ELNIDXR5.js";
@@ -23,6 +21,8 @@ import "./chunk-T3MUE32G.js";
23
21
  import "./chunk-OJP4XIBV.js";
24
22
  import "./chunk-R6A4VPC4.js";
25
23
  import "./chunk-XEZGYUS2.js";
24
+ import "./chunk-XS7LVKAI.js";
25
+ import "./chunk-RSKVXFI5.js";
26
26
  import "./chunk-FRR2ZRWD.js";
27
27
  import "./chunk-4XRV4CVP.js";
28
28
  import "./chunk-3QAWRU2B.js";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk56NGBR4Scjs = require('../chunk-56NGBR4S.cjs');
5
+ var _chunkH425P7G5cjs = require('../chunk-H425P7G5.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkH425P7G5cjs = require('../chunk-H425P7G5.cjs');
9
+ var _chunk56NGBR4Scjs = require('../chunk-56NGBR4S.cjs');
10
10
  require('../chunk-4JREL2GQ.cjs');
11
11
  require('../chunk-7BZWQZUV.cjs');
12
12
  require('../chunk-C5OTFOQB.cjs');
package/dist/env/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import "../chunk-GSK6EGCB.js";
2
- import {
3
- getConfigEnv,
4
- getExtensionEnv
5
- } from "../chunk-RSKVXFI5.js";
6
2
  import {
7
3
  setConfigEnv,
8
4
  setExtensionEnv
9
5
  } from "../chunk-XS7LVKAI.js";
6
+ import {
7
+ getConfigEnv,
8
+ getExtensionEnv
9
+ } from "../chunk-RSKVXFI5.js";
10
10
  import "../chunk-FRR2ZRWD.js";
11
11
  import "../chunk-4XRV4CVP.js";
12
12
  import "../chunk-3QAWRU2B.js";
@@ -2,10 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk7BYG54D7cjs = require('./chunk-7BYG54D7.cjs');
6
- require('./chunk-PKYL423F.cjs');
7
- require('./chunk-56NGBR4S.cjs');
8
- require('./chunk-H425P7G5.cjs');
5
+ var _chunkH2GU4JMJcjs = require('./chunk-H2GU4JMJ.cjs');
6
+ require('./chunk-BJ2W75ZO.cjs');
9
7
  require('./chunk-7HCUD67D.cjs');
10
8
  require('./chunk-KT6HSF26.cjs');
11
9
  require('./chunk-FCWF3I34.cjs');
@@ -23,6 +21,8 @@ require('./chunk-NS5PJ2RM.cjs');
23
21
  require('./chunk-PSHJQ2NP.cjs');
24
22
  require('./chunk-PLLCZVZO.cjs');
25
23
  require('./chunk-QNDF3RQL.cjs');
24
+ require('./chunk-H425P7G5.cjs');
25
+ require('./chunk-56NGBR4S.cjs');
26
26
  require('./chunk-4JREL2GQ.cjs');
27
27
  require('./chunk-7BZWQZUV.cjs');
28
28
  require('./chunk-C5OTFOQB.cjs');
@@ -30,4 +30,4 @@ require('./chunk-C5OTFOQB.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.getConfig = _chunk7BYG54D7cjs.getConfig; exports.getWorkspaceConfig = _chunk7BYG54D7cjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunk7BYG54D7cjs.tryGetWorkspaceConfig;
33
+ exports.getConfig = _chunkH2GU4JMJcjs.getConfig; exports.getWorkspaceConfig = _chunkH2GU4JMJcjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunkH2GU4JMJcjs.tryGetWorkspaceConfig;
@@ -2,10 +2,8 @@ import {
2
2
  getConfig,
3
3
  getWorkspaceConfig,
4
4
  tryGetWorkspaceConfig
5
- } from "./chunk-DBNZROVM.js";
6
- import "./chunk-GK6OSUUD.js";
7
- import "./chunk-RSKVXFI5.js";
8
- import "./chunk-XS7LVKAI.js";
5
+ } from "./chunk-BAWQ37NK.js";
6
+ import "./chunk-WITKEKZ5.js";
9
7
  import "./chunk-XO6ICAFH.js";
10
8
  import "./chunk-3EVEDCXL.js";
11
9
  import "./chunk-ELNIDXR5.js";
@@ -23,6 +21,8 @@ import "./chunk-T3MUE32G.js";
23
21
  import "./chunk-OJP4XIBV.js";
24
22
  import "./chunk-R6A4VPC4.js";
25
23
  import "./chunk-XEZGYUS2.js";
24
+ import "./chunk-XS7LVKAI.js";
25
+ import "./chunk-RSKVXFI5.js";
26
26
  import "./chunk-FRR2ZRWD.js";
27
27
  import "./chunk-4XRV4CVP.js";
28
28
  import "./chunk-3QAWRU2B.js";
package/dist/index.cjs CHANGED
@@ -1,24 +1,15 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-E4R6RI5D.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
4
 
5
+ var _chunkH2GU4JMJcjs = require('./chunk-H2GU4JMJ.cjs');
5
6
 
6
- var _chunk7BYG54D7cjs = require('./chunk-7BYG54D7.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
-
12
- var _chunkPKYL423Fcjs = require('./chunk-PKYL423F.cjs');
13
- require('./chunk-6DTRKFZD.cjs');
14
-
15
-
16
-
17
- var _chunk56NGBR4Scjs = require('./chunk-56NGBR4S.cjs');
18
-
19
-
20
-
21
- var _chunkH425P7G5cjs = require('./chunk-H425P7G5.cjs');
11
+ var _chunkBJ2W75ZOcjs = require('./chunk-BJ2W75ZO.cjs');
12
+ require('./chunk-E4R6RI5D.cjs');
22
13
 
23
14
 
24
15
 
@@ -89,6 +80,15 @@ var _chunkPLLCZVZOcjs = require('./chunk-PLLCZVZO.cjs');
89
80
 
90
81
 
91
82
  var _chunkQNDF3RQLcjs = require('./chunk-QNDF3RQL.cjs');
83
+ require('./chunk-6DTRKFZD.cjs');
84
+
85
+
86
+
87
+ var _chunkH425P7G5cjs = require('./chunk-H425P7G5.cjs');
88
+
89
+
90
+
91
+ var _chunk56NGBR4Scjs = require('./chunk-56NGBR4S.cjs');
92
92
 
93
93
 
94
94
 
@@ -184,4 +184,4 @@ var _chunkC5OTFOQBcjs = require('./chunk-C5OTFOQB.cjs');
184
184
 
185
185
 
186
186
 
187
- exports.CONSOLE_ICONS = _chunkPSHJQ2NPcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkGIXUQACBcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkZGLOKOL3cjs.LARGE_BUFFER; exports.LogLevel = _chunkC5OTFOQBcjs.LogLevel; exports.LogLevelLabel = _chunkC5OTFOQBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkAQ2NOVJFcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkAQ2NOVJFcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkAQ2NOVJFcjs.applyWorkspaceTokens; exports.basename = _chunk4JREL2GQcjs.basename; exports.correctPaths = _chunk4JREL2GQcjs.correctPaths; exports.createConfigExtension = _chunkPKYL423Fcjs.createConfigExtension; exports.createLogger = _chunkJ2LCTMCIcjs.createLogger; exports.createStormWorkspaceConfig = _chunkPKYL423Fcjs.createStormWorkspaceConfig; exports.dirname = _chunk4JREL2GQcjs.dirname; exports.exitWithError = _chunkFCWF3I34cjs.exitWithError; exports.exitWithSuccess = _chunkFCWF3I34cjs.exitWithSuccess; exports.extname = _chunk4JREL2GQcjs.extname; exports.findFileName = _chunkT4ZMKMEGcjs.findFileName; exports.findFilePath = _chunkT4ZMKMEGcjs.findFilePath; exports.findWorkspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkAEZINHEAcjs.findWorkspaceRootSafe; exports.format = _chunk4JREL2GQcjs.format; exports.formatLogMessage = _chunk7SIKKF62cjs.formatLogMessage; exports.formatTimestamp = _chunkQNDF3RQLcjs.formatTimestamp; exports.getChalk = _chunkNS5PJ2RMcjs.getChalk; exports.getConfig = _chunk7BYG54D7cjs.getConfig; exports.getConfigEnv = _chunk56NGBR4Scjs.getConfigEnv; exports.getConfigFile = _chunk7HCUD67Dcjs.getConfigFile; exports.getConfigFileByName = _chunk7HCUD67Dcjs.getConfigFileByName; exports.getDefaultConfig = _chunkGIXUQACBcjs.getDefaultConfig; exports.getExtensionEnv = _chunk56NGBR4Scjs.getExtensionEnv; exports.getLogFn = _chunk7SIKKF62cjs.getLogFn; exports.getLogLevel = _chunk7BZWQZUVcjs.getLogLevel; exports.getLogLevelLabel = _chunk7BZWQZUVcjs.getLogLevelLabel; exports.getStopwatch = _chunk7SIKKF62cjs.getStopwatch; exports.getWorkspaceConfig = _chunk7BYG54D7cjs.getWorkspaceConfig; exports.handleProcess = _chunkFCWF3I34cjs.handleProcess; exports.isAbsolute = _chunk4JREL2GQcjs.isAbsolute; exports.isUnicodeSupported = _chunkPLLCZVZOcjs.isUnicodeSupported; exports.isVerbose = _chunk7BZWQZUVcjs.isVerbose; exports.joinPaths = _chunk4JREL2GQcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkPKYL423Fcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkXBNXWUW3cjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkXBNXWUW3cjs.modifyCargoTable; exports.normalizeString = _chunk4JREL2GQcjs.normalizeString; exports.normalizeWindowsPath = _chunk4JREL2GQcjs.normalizeWindowsPath; exports.parse = _chunk4JREL2GQcjs.parse; exports.parseCargoToml = _chunkXBNXWUW3cjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkXBNXWUW3cjs.parseCargoTomlWithTree; exports.relative = _chunk4JREL2GQcjs.relative; exports.removeExtension = _chunkT4ZMKMEGcjs.removeExtension; exports.resolve = _chunk4JREL2GQcjs.resolve; exports.run = _chunkZGLOKOL3cjs.run; exports.runAsync = _chunkZGLOKOL3cjs.runAsync; exports.sep = _chunk4JREL2GQcjs.sep; exports.setConfigEnv = _chunkH425P7G5cjs.setConfigEnv; exports.setExtensionEnv = _chunkH425P7G5cjs.setExtensionEnv; exports.stringifyCargoToml = _chunkXBNXWUW3cjs.stringifyCargoToml; exports.toNamespacedPath = _chunk4JREL2GQcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunk7BYG54D7cjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkPKYL423Fcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunk7SIKKF62cjs.writeDebug; exports.writeError = _chunk7SIKKF62cjs.writeError; exports.writeFatal = _chunk7SIKKF62cjs.writeFatal; exports.writeInfo = _chunk7SIKKF62cjs.writeInfo; exports.writeSuccess = _chunk7SIKKF62cjs.writeSuccess; exports.writeSystem = _chunk7SIKKF62cjs.writeSystem; exports.writeTrace = _chunk7SIKKF62cjs.writeTrace; exports.writeWarning = _chunk7SIKKF62cjs.writeWarning;
187
+ exports.CONSOLE_ICONS = _chunkPSHJQ2NPcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkGIXUQACBcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkZGLOKOL3cjs.LARGE_BUFFER; exports.LogLevel = _chunkC5OTFOQBcjs.LogLevel; exports.LogLevelLabel = _chunkC5OTFOQBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkAQ2NOVJFcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkAQ2NOVJFcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkAQ2NOVJFcjs.applyWorkspaceTokens; exports.basename = _chunk4JREL2GQcjs.basename; exports.correctPaths = _chunk4JREL2GQcjs.correctPaths; exports.createConfigExtension = _chunkBJ2W75ZOcjs.createConfigExtension; exports.createLogger = _chunkJ2LCTMCIcjs.createLogger; exports.createStormWorkspaceConfig = _chunkBJ2W75ZOcjs.createStormWorkspaceConfig; exports.dirname = _chunk4JREL2GQcjs.dirname; exports.exitWithError = _chunkFCWF3I34cjs.exitWithError; exports.exitWithSuccess = _chunkFCWF3I34cjs.exitWithSuccess; exports.extname = _chunk4JREL2GQcjs.extname; exports.findFileName = _chunkT4ZMKMEGcjs.findFileName; exports.findFilePath = _chunkT4ZMKMEGcjs.findFilePath; exports.findWorkspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkAEZINHEAcjs.findWorkspaceRootSafe; exports.format = _chunk4JREL2GQcjs.format; exports.formatLogMessage = _chunk7SIKKF62cjs.formatLogMessage; exports.formatTimestamp = _chunkQNDF3RQLcjs.formatTimestamp; exports.getChalk = _chunkNS5PJ2RMcjs.getChalk; exports.getConfig = _chunkH2GU4JMJcjs.getConfig; exports.getConfigEnv = _chunk56NGBR4Scjs.getConfigEnv; exports.getConfigFile = _chunk7HCUD67Dcjs.getConfigFile; exports.getConfigFileByName = _chunk7HCUD67Dcjs.getConfigFileByName; exports.getDefaultConfig = _chunkGIXUQACBcjs.getDefaultConfig; exports.getExtensionEnv = _chunk56NGBR4Scjs.getExtensionEnv; exports.getLogFn = _chunk7SIKKF62cjs.getLogFn; exports.getLogLevel = _chunk7BZWQZUVcjs.getLogLevel; exports.getLogLevelLabel = _chunk7BZWQZUVcjs.getLogLevelLabel; exports.getStopwatch = _chunk7SIKKF62cjs.getStopwatch; exports.getWorkspaceConfig = _chunkH2GU4JMJcjs.getWorkspaceConfig; exports.handleProcess = _chunkFCWF3I34cjs.handleProcess; exports.isAbsolute = _chunk4JREL2GQcjs.isAbsolute; exports.isUnicodeSupported = _chunkPLLCZVZOcjs.isUnicodeSupported; exports.isVerbose = _chunk7BZWQZUVcjs.isVerbose; exports.joinPaths = _chunk4JREL2GQcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkBJ2W75ZOcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkXBNXWUW3cjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkXBNXWUW3cjs.modifyCargoTable; exports.normalizeString = _chunk4JREL2GQcjs.normalizeString; exports.normalizeWindowsPath = _chunk4JREL2GQcjs.normalizeWindowsPath; exports.parse = _chunk4JREL2GQcjs.parse; exports.parseCargoToml = _chunkXBNXWUW3cjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkXBNXWUW3cjs.parseCargoTomlWithTree; exports.relative = _chunk4JREL2GQcjs.relative; exports.removeExtension = _chunkT4ZMKMEGcjs.removeExtension; exports.resolve = _chunk4JREL2GQcjs.resolve; exports.run = _chunkZGLOKOL3cjs.run; exports.runAsync = _chunkZGLOKOL3cjs.runAsync; exports.sep = _chunk4JREL2GQcjs.sep; exports.setConfigEnv = _chunkH425P7G5cjs.setConfigEnv; exports.setExtensionEnv = _chunkH425P7G5cjs.setExtensionEnv; exports.stringifyCargoToml = _chunkXBNXWUW3cjs.stringifyCargoToml; exports.toNamespacedPath = _chunk4JREL2GQcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunkH2GU4JMJcjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkBJ2W75ZOcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunk7SIKKF62cjs.writeDebug; exports.writeError = _chunk7SIKKF62cjs.writeError; exports.writeFatal = _chunk7SIKKF62cjs.writeFatal; exports.writeInfo = _chunk7SIKKF62cjs.writeInfo; exports.writeSuccess = _chunk7SIKKF62cjs.writeSuccess; exports.writeSystem = _chunk7SIKKF62cjs.writeSystem; exports.writeTrace = _chunk7SIKKF62cjs.writeTrace; exports.writeWarning = _chunk7SIKKF62cjs.writeWarning;
package/dist/index.js CHANGED
@@ -1,24 +1,15 @@
1
- import "./chunk-SABD7NYM.js";
2
1
  import {
3
2
  getConfig,
4
3
  getWorkspaceConfig,
5
4
  tryGetWorkspaceConfig
6
- } from "./chunk-DBNZROVM.js";
5
+ } from "./chunk-BAWQ37NK.js";
7
6
  import {
8
7
  createConfigExtension,
9
8
  createStormWorkspaceConfig,
10
9
  loadStormWorkspaceConfig,
11
10
  tryLoadStormWorkspaceConfig
12
- } from "./chunk-GK6OSUUD.js";
13
- import "./chunk-GSK6EGCB.js";
14
- import {
15
- getConfigEnv,
16
- getExtensionEnv
17
- } from "./chunk-RSKVXFI5.js";
18
- import {
19
- setConfigEnv,
20
- setExtensionEnv
21
- } from "./chunk-XS7LVKAI.js";
11
+ } from "./chunk-WITKEKZ5.js";
12
+ import "./chunk-SABD7NYM.js";
22
13
  import {
23
14
  getConfigFile,
24
15
  getConfigFileByName
@@ -89,6 +80,15 @@ import {
89
80
  import {
90
81
  formatTimestamp
91
82
  } from "./chunk-XEZGYUS2.js";
83
+ import "./chunk-GSK6EGCB.js";
84
+ import {
85
+ setConfigEnv,
86
+ setExtensionEnv
87
+ } from "./chunk-XS7LVKAI.js";
88
+ import {
89
+ getConfigEnv,
90
+ getExtensionEnv
91
+ } from "./chunk-RSKVXFI5.js";
92
92
  import {
93
93
  basename,
94
94
  correctPaths,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.169.6",
3
+ "version": "1.169.8",
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": {
@@ -219,7 +219,7 @@
219
219
  ],
220
220
  "dependencies": {
221
221
  "@ltd/j-toml": "1.38.0",
222
- "@storm-software/config": "^1.119.6",
222
+ "@storm-software/config": "^1.119.7",
223
223
  "c12": "^2.0.0-beta.2",
224
224
  "chalk": "^4.1.2",
225
225
  "commander": "^12.1.0",
@@ -1,40 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkPKYL423Fcjs = require('./chunk-PKYL423F.cjs');
5
-
6
-
7
- var _chunkAEZINHEAcjs = require('./chunk-AEZINHEA.cjs');
8
-
9
- // src/get-config.ts
10
- var getConfig = (workspaceRoot, skipLogs = false) => {
11
- return _chunkPKYL423Fcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
12
- };
13
- var getWorkspaceConfig = (skipLogs = false, options = {}) => {
14
- let workspaceRoot = options.workspaceRoot;
15
- if (!workspaceRoot) {
16
- workspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot.call(void 0, options.cwd);
17
- }
18
- return getConfig(workspaceRoot, skipLogs);
19
- };
20
- var tryGetWorkspaceConfig = async (skipLogs = false, options = {}) => {
21
- try {
22
- let workspaceRoot = options.workspaceRoot;
23
- if (!workspaceRoot) {
24
- workspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot.call(void 0, options.cwd);
25
- }
26
- return _chunkPKYL423Fcjs.tryLoadStormWorkspaceConfig.call(void 0,
27
- workspaceRoot,
28
- skipLogs,
29
- options.useDefault
30
- );
31
- } catch (e) {
32
- return void 0;
33
- }
34
- };
35
-
36
-
37
-
38
-
39
-
40
- exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig; exports.tryGetWorkspaceConfig = tryGetWorkspaceConfig;
@@ -1,40 +0,0 @@
1
- import {
2
- loadStormWorkspaceConfig,
3
- tryLoadStormWorkspaceConfig
4
- } from "./chunk-GK6OSUUD.js";
5
- import {
6
- findWorkspaceRoot
7
- } from "./chunk-VLWSWYG7.js";
8
-
9
- // src/get-config.ts
10
- var getConfig = (workspaceRoot, skipLogs = false) => {
11
- return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
12
- };
13
- var getWorkspaceConfig = (skipLogs = false, options = {}) => {
14
- let workspaceRoot = options.workspaceRoot;
15
- if (!workspaceRoot) {
16
- workspaceRoot = findWorkspaceRoot(options.cwd);
17
- }
18
- return getConfig(workspaceRoot, skipLogs);
19
- };
20
- var tryGetWorkspaceConfig = async (skipLogs = false, options = {}) => {
21
- try {
22
- let workspaceRoot = options.workspaceRoot;
23
- if (!workspaceRoot) {
24
- workspaceRoot = findWorkspaceRoot(options.cwd);
25
- }
26
- return tryLoadStormWorkspaceConfig(
27
- workspaceRoot,
28
- skipLogs,
29
- options.useDefault
30
- );
31
- } catch {
32
- return void 0;
33
- }
34
- };
35
-
36
- export {
37
- getConfig,
38
- getWorkspaceConfig,
39
- tryGetWorkspaceConfig
40
- };
@@ -1,135 +0,0 @@
1
- import {
2
- getConfigEnv,
3
- getExtensionEnv
4
- } from "./chunk-RSKVXFI5.js";
5
- import {
6
- setConfigEnv
7
- } from "./chunk-XS7LVKAI.js";
8
- import {
9
- getConfigFile
10
- } from "./chunk-XO6ICAFH.js";
11
- import {
12
- formatLogMessage,
13
- writeTrace,
14
- writeWarning
15
- } from "./chunk-QJUAU656.js";
16
- import {
17
- getDefaultConfig
18
- } from "./chunk-JX5NLB4S.js";
19
- import {
20
- findWorkspaceRoot
21
- } from "./chunk-VLWSWYG7.js";
22
-
23
- // src/create-storm-config.ts
24
- import { stormWorkspaceConfigSchema } from "@storm-software/config/schema";
25
- import defu from "defu";
26
- var _extension_cache = /* @__PURE__ */ new WeakMap();
27
- var _static_cache = void 0;
28
- var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
29
- let result;
30
- if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
31
- let _workspaceRoot = workspaceRoot;
32
- if (!_workspaceRoot) {
33
- _workspaceRoot = findWorkspaceRoot();
34
- }
35
- const configEnv = getConfigEnv();
36
- const configFile = await getConfigFile(_workspaceRoot);
37
- if (!configFile) {
38
- if (!skipLogs) {
39
- writeWarning(
40
- "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
41
- { logLevel: "all" }
42
- );
43
- }
44
- if (useDefault === false) {
45
- return void 0;
46
- }
47
- }
48
- const defaultConfig = await getDefaultConfig(_workspaceRoot);
49
- result = await stormWorkspaceConfigSchema.parseAsync(
50
- defu(configEnv, configFile, defaultConfig)
51
- );
52
- result.workspaceRoot ??= _workspaceRoot;
53
- } else {
54
- result = _static_cache.data;
55
- }
56
- if (schema && extensionName) {
57
- result.extensions = {
58
- ...result.extensions,
59
- [extensionName]: createConfigExtension(extensionName, schema)
60
- };
61
- }
62
- _static_cache = {
63
- timestamp: Date.now(),
64
- data: result
65
- };
66
- return result;
67
- };
68
- var createConfigExtension = (extensionName, schema) => {
69
- const extension_cache_key = { extensionName };
70
- if (_extension_cache.has(extension_cache_key)) {
71
- return _extension_cache.get(extension_cache_key);
72
- }
73
- let extension = getExtensionEnv(extensionName);
74
- if (schema) {
75
- extension = schema.parse(extension);
76
- }
77
- _extension_cache.set(extension_cache_key, extension);
78
- return extension;
79
- };
80
- var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
81
- const config = await createStormWorkspaceConfig(
82
- void 0,
83
- void 0,
84
- workspaceRoot,
85
- skipLogs,
86
- true
87
- );
88
- setConfigEnv(config);
89
- if (!skipLogs && !config.skipConfigLogging) {
90
- writeTrace(
91
- `\u2699\uFE0F Using Storm Workspace configuration:
92
- ${formatLogMessage(config)}`,
93
- config
94
- );
95
- }
96
- return config;
97
- };
98
- var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefault = false) => {
99
- try {
100
- const config = await createStormWorkspaceConfig(
101
- void 0,
102
- void 0,
103
- workspaceRoot,
104
- skipLogs,
105
- useDefault
106
- );
107
- if (!config) {
108
- return void 0;
109
- }
110
- setConfigEnv(config);
111
- if (!skipLogs && !config.skipConfigLogging) {
112
- writeTrace(
113
- `\u2699\uFE0F Using Storm Workspace configuration:
114
- ${formatLogMessage(config)}`,
115
- config
116
- );
117
- }
118
- return config;
119
- } catch (error) {
120
- if (!skipLogs) {
121
- writeWarning(
122
- `\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
123
- { logLevel: "all" }
124
- );
125
- }
126
- return void 0;
127
- }
128
- };
129
-
130
- export {
131
- createStormWorkspaceConfig,
132
- createConfigExtension,
133
- loadStormWorkspaceConfig,
134
- tryLoadStormWorkspaceConfig
135
- };
@@ -1,135 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
-
3
-
4
- var _chunk56NGBR4Scjs = require('./chunk-56NGBR4S.cjs');
5
-
6
-
7
- var _chunkH425P7G5cjs = require('./chunk-H425P7G5.cjs');
8
-
9
-
10
- var _chunk7HCUD67Dcjs = require('./chunk-7HCUD67D.cjs');
11
-
12
-
13
-
14
-
15
- var _chunk7SIKKF62cjs = require('./chunk-7SIKKF62.cjs');
16
-
17
-
18
- var _chunkGIXUQACBcjs = require('./chunk-GIXUQACB.cjs');
19
-
20
-
21
- var _chunkAEZINHEAcjs = require('./chunk-AEZINHEA.cjs');
22
-
23
- // src/create-storm-config.ts
24
- var _schema = require('@storm-software/config/schema');
25
- var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
26
- var _extension_cache = /* @__PURE__ */ new WeakMap();
27
- var _static_cache = void 0;
28
- var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
29
- let result;
30
- if (!_optionalChain([_static_cache, 'optionalAccess', _ => _.data]) || !_optionalChain([_static_cache, 'optionalAccess', _2 => _2.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
31
- let _workspaceRoot = workspaceRoot;
32
- if (!_workspaceRoot) {
33
- _workspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot.call(void 0, );
34
- }
35
- const configEnv = _chunk56NGBR4Scjs.getConfigEnv.call(void 0, );
36
- const configFile = await _chunk7HCUD67Dcjs.getConfigFile.call(void 0, _workspaceRoot);
37
- if (!configFile) {
38
- if (!skipLogs) {
39
- _chunk7SIKKF62cjs.writeWarning.call(void 0,
40
- "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
41
- { logLevel: "all" }
42
- );
43
- }
44
- if (useDefault === false) {
45
- return void 0;
46
- }
47
- }
48
- const defaultConfig = await _chunkGIXUQACBcjs.getDefaultConfig.call(void 0, _workspaceRoot);
49
- result = await _schema.stormWorkspaceConfigSchema.parseAsync(
50
- _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
51
- );
52
- result.workspaceRoot ??= _workspaceRoot;
53
- } else {
54
- result = _static_cache.data;
55
- }
56
- if (schema && extensionName) {
57
- result.extensions = {
58
- ...result.extensions,
59
- [extensionName]: createConfigExtension(extensionName, schema)
60
- };
61
- }
62
- _static_cache = {
63
- timestamp: Date.now(),
64
- data: result
65
- };
66
- return result;
67
- };
68
- var createConfigExtension = (extensionName, schema) => {
69
- const extension_cache_key = { extensionName };
70
- if (_extension_cache.has(extension_cache_key)) {
71
- return _extension_cache.get(extension_cache_key);
72
- }
73
- let extension = _chunk56NGBR4Scjs.getExtensionEnv.call(void 0, extensionName);
74
- if (schema) {
75
- extension = schema.parse(extension);
76
- }
77
- _extension_cache.set(extension_cache_key, extension);
78
- return extension;
79
- };
80
- var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
81
- const config = await createStormWorkspaceConfig(
82
- void 0,
83
- void 0,
84
- workspaceRoot,
85
- skipLogs,
86
- true
87
- );
88
- _chunkH425P7G5cjs.setConfigEnv.call(void 0, config);
89
- if (!skipLogs && !config.skipConfigLogging) {
90
- _chunk7SIKKF62cjs.writeTrace.call(void 0,
91
- `\u2699\uFE0F Using Storm Workspace configuration:
92
- ${_chunk7SIKKF62cjs.formatLogMessage.call(void 0, config)}`,
93
- config
94
- );
95
- }
96
- return config;
97
- };
98
- var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefault = false) => {
99
- try {
100
- const config = await createStormWorkspaceConfig(
101
- void 0,
102
- void 0,
103
- workspaceRoot,
104
- skipLogs,
105
- useDefault
106
- );
107
- if (!config) {
108
- return void 0;
109
- }
110
- _chunkH425P7G5cjs.setConfigEnv.call(void 0, config);
111
- if (!skipLogs && !config.skipConfigLogging) {
112
- _chunk7SIKKF62cjs.writeTrace.call(void 0,
113
- `\u2699\uFE0F Using Storm Workspace configuration:
114
- ${_chunk7SIKKF62cjs.formatLogMessage.call(void 0, config)}`,
115
- config
116
- );
117
- }
118
- return config;
119
- } catch (error) {
120
- if (!skipLogs) {
121
- _chunk7SIKKF62cjs.writeWarning.call(void 0,
122
- `\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
123
- { logLevel: "all" }
124
- );
125
- }
126
- return void 0;
127
- }
128
- };
129
-
130
-
131
-
132
-
133
-
134
-
135
- exports.createStormWorkspaceConfig = createStormWorkspaceConfig; exports.createConfigExtension = createConfigExtension; exports.loadStormWorkspaceConfig = loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = tryLoadStormWorkspaceConfig;