@storm-software/config-tools 1.140.1 → 1.141.1

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.140.0-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.141.0-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 -->
@@ -8,51 +8,51 @@ import {
8
8
 
9
9
  // src/utilities/apply-workspace-tokens.ts
10
10
  init_esm_shims();
11
- var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenizerOptions) => {
11
+ var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenParams) => {
12
12
  let result = option;
13
13
  if (!result) {
14
14
  return result;
15
15
  }
16
- if (tokenizerOptions) {
17
- const optionKeys = Object.keys(tokenizerOptions);
16
+ if (tokenParams) {
17
+ const optionKeys = Object.keys(tokenParams);
18
18
  if (optionKeys.some((optionKey) => result.includes(`{${optionKey}}`))) {
19
19
  for (const optionKey of optionKeys) {
20
20
  if (result.includes(`{${optionKey}}`)) {
21
- result = result.replaceAll(`{${optionKey}}`, tokenizerOptions.config?.[optionKey] ?? "");
21
+ result = result.replaceAll(`{${optionKey}}`, tokenParams?.[optionKey] || "");
22
22
  }
23
23
  }
24
24
  }
25
25
  }
26
- if (tokenizerOptions.config) {
27
- const configKeys = Object.keys(tokenizerOptions.config);
26
+ if (tokenParams.config) {
27
+ const configKeys = Object.keys(tokenParams.config);
28
28
  if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
29
29
  for (const configKey of configKeys) {
30
30
  if (result.includes(`{${configKey}}`)) {
31
- result = result.replaceAll(`{${configKey}}`, tokenizerOptions.config[configKey]);
31
+ result = result.replaceAll(`{${configKey}}`, tokenParams.config[configKey] || "");
32
32
  }
33
33
  }
34
34
  }
35
35
  }
36
36
  if (result.includes("{workspaceRoot}")) {
37
- result = result.replaceAll("{workspaceRoot}", tokenizerOptions.workspaceRoot ?? tokenizerOptions.config?.workspaceRoot ?? findWorkspaceRoot());
37
+ result = result.replaceAll("{workspaceRoot}", tokenParams.workspaceRoot ?? tokenParams.config?.workspaceRoot ?? findWorkspaceRoot());
38
38
  }
39
39
  return result;
40
40
  }, "applyWorkspaceBaseTokens");
41
- var applyWorkspaceProjectTokens = /* @__PURE__ */ __name((option, tokenizerOptions) => {
42
- return applyWorkspaceBaseTokens(option, tokenizerOptions);
41
+ var applyWorkspaceProjectTokens = /* @__PURE__ */ __name((option, tokenParams) => {
42
+ return applyWorkspaceBaseTokens(option, tokenParams);
43
43
  }, "applyWorkspaceProjectTokens");
44
- var applyWorkspaceTokens = /* @__PURE__ */ __name(async (options, config, tokenizerFn) => {
44
+ var applyWorkspaceTokens = /* @__PURE__ */ __name(async (options, tokenParams, tokenizerFn) => {
45
45
  if (!options) {
46
46
  return {};
47
47
  }
48
48
  const result = {};
49
49
  for (const option of Object.keys(options)) {
50
50
  if (typeof options[option] === "string") {
51
- result[option] = await Promise.resolve(tokenizerFn(options[option], config));
51
+ result[option] = await Promise.resolve(tokenizerFn(options[option], tokenParams));
52
52
  } else if (Array.isArray(options[option])) {
53
- result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, config)) : item));
53
+ result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, tokenParams)) : item));
54
54
  } else if (typeof options[option] === "object") {
55
- result[option] = await applyWorkspaceTokens(options[option], config, tokenizerFn);
55
+ result[option] = await applyWorkspaceTokens(options[option], tokenParams, tokenizerFn);
56
56
  } else {
57
57
  result[option] = options[option];
58
58
  }
@@ -8,51 +8,51 @@ var _chunkDFJNOFN2cjs = require('./chunk-DFJNOFN2.cjs');
8
8
 
9
9
  // src/utilities/apply-workspace-tokens.ts
10
10
  _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
11
- var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async (option, tokenizerOptions) => {
11
+ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async (option, tokenParams) => {
12
12
  let result = option;
13
13
  if (!result) {
14
14
  return result;
15
15
  }
16
- if (tokenizerOptions) {
17
- const optionKeys = Object.keys(tokenizerOptions);
16
+ if (tokenParams) {
17
+ const optionKeys = Object.keys(tokenParams);
18
18
  if (optionKeys.some((optionKey) => result.includes(`{${optionKey}}`))) {
19
19
  for (const optionKey of optionKeys) {
20
20
  if (result.includes(`{${optionKey}}`)) {
21
- result = result.replaceAll(`{${optionKey}}`, _nullishCoalesce(_optionalChain([tokenizerOptions, 'access', _ => _.config, 'optionalAccess', _2 => _2[optionKey]]), () => ( "")));
21
+ result = result.replaceAll(`{${optionKey}}`, _optionalChain([tokenParams, 'optionalAccess', _ => _[optionKey]]) || "");
22
22
  }
23
23
  }
24
24
  }
25
25
  }
26
- if (tokenizerOptions.config) {
27
- const configKeys = Object.keys(tokenizerOptions.config);
26
+ if (tokenParams.config) {
27
+ const configKeys = Object.keys(tokenParams.config);
28
28
  if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
29
29
  for (const configKey of configKeys) {
30
30
  if (result.includes(`{${configKey}}`)) {
31
- result = result.replaceAll(`{${configKey}}`, tokenizerOptions.config[configKey]);
31
+ result = result.replaceAll(`{${configKey}}`, tokenParams.config[configKey] || "");
32
32
  }
33
33
  }
34
34
  }
35
35
  }
36
36
  if (result.includes("{workspaceRoot}")) {
37
- result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenizerOptions.workspaceRoot, () => ( _optionalChain([tokenizerOptions, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkMUKNCWDCcjs.findWorkspaceRoot.call(void 0, ))));
37
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _2 => _2.config, 'optionalAccess', _3 => _3.workspaceRoot]))), () => ( _chunkMUKNCWDCcjs.findWorkspaceRoot.call(void 0, ))));
38
38
  }
39
39
  return result;
40
40
  }, "applyWorkspaceBaseTokens");
41
- var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (option, tokenizerOptions) => {
42
- return applyWorkspaceBaseTokens(option, tokenizerOptions);
41
+ var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, (option, tokenParams) => {
42
+ return applyWorkspaceBaseTokens(option, tokenParams);
43
43
  }, "applyWorkspaceProjectTokens");
44
- var applyWorkspaceTokens = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async (options, config, tokenizerFn) => {
44
+ var applyWorkspaceTokens = /* @__PURE__ */ _chunkDFJNOFN2cjs.__name.call(void 0, async (options, tokenParams, tokenizerFn) => {
45
45
  if (!options) {
46
46
  return {};
47
47
  }
48
48
  const result = {};
49
49
  for (const option of Object.keys(options)) {
50
50
  if (typeof options[option] === "string") {
51
- result[option] = await Promise.resolve(tokenizerFn(options[option], config));
51
+ result[option] = await Promise.resolve(tokenizerFn(options[option], tokenParams));
52
52
  } else if (Array.isArray(options[option])) {
53
- result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, config)) : item));
53
+ result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, tokenParams)) : item));
54
54
  } else if (typeof options[option] === "object") {
55
- result[option] = await applyWorkspaceTokens(options[option], config, tokenizerFn);
55
+ result[option] = await applyWorkspaceTokens(options[option], tokenParams, tokenizerFn);
56
56
  } else {
57
57
  result[option] = options[option];
58
58
  }
@@ -10,7 +10,7 @@ require('../chunk-6E5A2ZAH.cjs');
10
10
  require('../chunk-PKJKHCLN.cjs');
11
11
  require('../chunk-SKMG52TD.cjs');
12
12
  require('../chunk-6O7E2ODJ.cjs');
13
- require('../chunk-VSGLIY6F.cjs');
13
+ require('../chunk-ZYPYO5WA.cjs');
14
14
  require('../chunk-JPL6SA45.cjs');
15
15
  require('../chunk-MXIXJOXF.cjs');
16
16
  require('../chunk-D7SRJTRQ.cjs');
@@ -10,7 +10,7 @@ import "../chunk-BVYQ2BKK.js";
10
10
  import "../chunk-5EL2OHUB.js";
11
11
  import "../chunk-C47MHGNY.js";
12
12
  import "../chunk-TRG5FOW5.js";
13
- import "../chunk-HKXAGPSU.js";
13
+ import "../chunk-TPVIVOXV.js";
14
14
  import "../chunk-JMTLS4UN.js";
15
15
  import "../chunk-X457FIXK.js";
16
16
  import "../chunk-4RQGNE37.js";
@@ -11,7 +11,7 @@ require('../chunk-6E5A2ZAH.cjs');
11
11
  require('../chunk-PKJKHCLN.cjs');
12
12
  require('../chunk-SKMG52TD.cjs');
13
13
  require('../chunk-6O7E2ODJ.cjs');
14
- require('../chunk-VSGLIY6F.cjs');
14
+ require('../chunk-ZYPYO5WA.cjs');
15
15
  require('../chunk-JPL6SA45.cjs');
16
16
  require('../chunk-MXIXJOXF.cjs');
17
17
  require('../chunk-D7SRJTRQ.cjs');
@@ -11,7 +11,7 @@ import "../chunk-BVYQ2BKK.js";
11
11
  import "../chunk-5EL2OHUB.js";
12
12
  import "../chunk-C47MHGNY.js";
13
13
  import "../chunk-TRG5FOW5.js";
14
- import "../chunk-HKXAGPSU.js";
14
+ import "../chunk-TPVIVOXV.js";
15
15
  import "../chunk-JMTLS4UN.js";
16
16
  import "../chunk-X457FIXK.js";
17
17
  import "../chunk-4RQGNE37.js";
@@ -13,7 +13,7 @@ require('./chunk-6E5A2ZAH.cjs');
13
13
  require('./chunk-PKJKHCLN.cjs');
14
14
  require('./chunk-SKMG52TD.cjs');
15
15
  require('./chunk-6O7E2ODJ.cjs');
16
- require('./chunk-VSGLIY6F.cjs');
16
+ require('./chunk-ZYPYO5WA.cjs');
17
17
  require('./chunk-JPL6SA45.cjs');
18
18
  require('./chunk-MXIXJOXF.cjs');
19
19
  require('./chunk-D7SRJTRQ.cjs');
@@ -13,7 +13,7 @@ import "./chunk-BVYQ2BKK.js";
13
13
  import "./chunk-5EL2OHUB.js";
14
14
  import "./chunk-C47MHGNY.js";
15
15
  import "./chunk-TRG5FOW5.js";
16
- import "./chunk-HKXAGPSU.js";
16
+ import "./chunk-TPVIVOXV.js";
17
17
  import "./chunk-JMTLS4UN.js";
18
18
  import "./chunk-X457FIXK.js";
19
19
  import "./chunk-4RQGNE37.js";
package/dist/index.cjs CHANGED
@@ -29,7 +29,7 @@ var _chunk6O7E2ODJcjs = require('./chunk-6O7E2ODJ.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkVSGLIY6Fcjs = require('./chunk-VSGLIY6F.cjs');
32
+ var _chunkZYPYO5WAcjs = require('./chunk-ZYPYO5WA.cjs');
33
33
 
34
34
 
35
35
 
@@ -151,4 +151,4 @@ _chunkDFJNOFN2cjs.init_cjs_shims.call(void 0, );
151
151
 
152
152
 
153
153
 
154
- exports.CONSOLE_ICONS = _chunkG5KDHCJJcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.LogLevel = _chunkO4SGVAEBcjs.LogLevel; exports.LogLevelLabel = _chunkO4SGVAEBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.createConfig = _chunkVSOK2CSTcjs.createConfig; exports.createConfigExtension = _chunkVSOK2CSTcjs.createConfigExtension; exports.createLogger = _chunkZBZHPMLEcjs.createLogger; exports.createStormConfig = _chunkVSOK2CSTcjs.createStormConfig; exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.findFileName = _chunkJPL6SA45cjs.findFileName; exports.findWorkspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkMUKNCWDCcjs.findWorkspaceRootSafe; exports.formatLogMessage = _chunkD7SRJTRQcjs.formatLogMessage; exports.formatTimestamp = _chunkGWLF37REcjs.formatTimestamp; exports.getChalk = _chunk3ALZEFKMcjs.getChalk; exports.getConfigEnv = _chunkEG6MZ74Dcjs.getConfigEnv; exports.getConfigFile = _chunkA2QPNGB4cjs.getConfigFile; exports.getConfigFileByName = _chunkA2QPNGB4cjs.getConfigFileByName; exports.getDefaultConfig = _chunkGNNKAT6Ccjs.getDefaultConfig; exports.getExtensionEnv = _chunkEG6MZ74Dcjs.getExtensionEnv; exports.getLogFn = _chunkD7SRJTRQcjs.getLogFn; exports.getLogLevel = _chunk2AAM5DJOcjs.getLogLevel; exports.getLogLevelLabel = _chunk2AAM5DJOcjs.getLogLevelLabel; exports.getStopwatch = _chunkD7SRJTRQcjs.getStopwatch; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess; exports.isUnicodeSupported = _chunkFBGCL5ZAcjs.isUnicodeSupported; exports.isVerbose = _chunk2AAM5DJOcjs.isVerbose; exports.joinPaths = _chunkNXXPCLO3cjs.joinPaths; exports.loadStormConfig = _chunkVSOK2CSTcjs.loadStormConfig; exports.removeExtension = _chunkJPL6SA45cjs.removeExtension; exports.run = _chunk6O7E2ODJcjs.run; exports.runAsync = _chunk6O7E2ODJcjs.runAsync; exports.setConfigEnv = _chunkGTJILL6Ucjs.setConfigEnv; exports.setExtensionEnv = _chunkGTJILL6Ucjs.setExtensionEnv; exports.writeDebug = _chunkD7SRJTRQcjs.writeDebug; exports.writeError = _chunkD7SRJTRQcjs.writeError; exports.writeFatal = _chunkD7SRJTRQcjs.writeFatal; exports.writeInfo = _chunkD7SRJTRQcjs.writeInfo; exports.writeSuccess = _chunkD7SRJTRQcjs.writeSuccess; exports.writeSystem = _chunkD7SRJTRQcjs.writeSystem; exports.writeTrace = _chunkD7SRJTRQcjs.writeTrace; exports.writeWarning = _chunkD7SRJTRQcjs.writeWarning;
154
+ exports.CONSOLE_ICONS = _chunkG5KDHCJJcjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.LogLevel = _chunkO4SGVAEBcjs.LogLevel; exports.LogLevelLabel = _chunkO4SGVAEBcjs.LogLevelLabel; exports.applyWorkspaceBaseTokens = _chunkZYPYO5WAcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkZYPYO5WAcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkZYPYO5WAcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.createConfig = _chunkVSOK2CSTcjs.createConfig; exports.createConfigExtension = _chunkVSOK2CSTcjs.createConfigExtension; exports.createLogger = _chunkZBZHPMLEcjs.createLogger; exports.createStormConfig = _chunkVSOK2CSTcjs.createStormConfig; exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.findFileName = _chunkJPL6SA45cjs.findFileName; exports.findWorkspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkMUKNCWDCcjs.findWorkspaceRootSafe; exports.formatLogMessage = _chunkD7SRJTRQcjs.formatLogMessage; exports.formatTimestamp = _chunkGWLF37REcjs.formatTimestamp; exports.getChalk = _chunk3ALZEFKMcjs.getChalk; exports.getConfigEnv = _chunkEG6MZ74Dcjs.getConfigEnv; exports.getConfigFile = _chunkA2QPNGB4cjs.getConfigFile; exports.getConfigFileByName = _chunkA2QPNGB4cjs.getConfigFileByName; exports.getDefaultConfig = _chunkGNNKAT6Ccjs.getDefaultConfig; exports.getExtensionEnv = _chunkEG6MZ74Dcjs.getExtensionEnv; exports.getLogFn = _chunkD7SRJTRQcjs.getLogFn; exports.getLogLevel = _chunk2AAM5DJOcjs.getLogLevel; exports.getLogLevelLabel = _chunk2AAM5DJOcjs.getLogLevelLabel; exports.getStopwatch = _chunkD7SRJTRQcjs.getStopwatch; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess; exports.isUnicodeSupported = _chunkFBGCL5ZAcjs.isUnicodeSupported; exports.isVerbose = _chunk2AAM5DJOcjs.isVerbose; exports.joinPaths = _chunkNXXPCLO3cjs.joinPaths; exports.loadStormConfig = _chunkVSOK2CSTcjs.loadStormConfig; exports.removeExtension = _chunkJPL6SA45cjs.removeExtension; exports.run = _chunk6O7E2ODJcjs.run; exports.runAsync = _chunk6O7E2ODJcjs.runAsync; exports.setConfigEnv = _chunkGTJILL6Ucjs.setConfigEnv; exports.setExtensionEnv = _chunkGTJILL6Ucjs.setExtensionEnv; exports.writeDebug = _chunkD7SRJTRQcjs.writeDebug; exports.writeError = _chunkD7SRJTRQcjs.writeError; exports.writeFatal = _chunkD7SRJTRQcjs.writeFatal; exports.writeInfo = _chunkD7SRJTRQcjs.writeInfo; exports.writeSuccess = _chunkD7SRJTRQcjs.writeSuccess; exports.writeSystem = _chunkD7SRJTRQcjs.writeSystem; exports.writeTrace = _chunkD7SRJTRQcjs.writeTrace; exports.writeWarning = _chunkD7SRJTRQcjs.writeWarning;
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  applyWorkspaceBaseTokens,
30
30
  applyWorkspaceProjectTokens,
31
31
  applyWorkspaceTokens
32
- } from "./chunk-HKXAGPSU.js";
32
+ } from "./chunk-TPVIVOXV.js";
33
33
  import {
34
34
  findFileName,
35
35
  removeExtension
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVSGLIY6Fcjs = require('../chunk-VSGLIY6F.cjs');
5
+ var _chunkZYPYO5WAcjs = require('../chunk-ZYPYO5WA.cjs');
6
6
  require('../chunk-MUKNCWDC.cjs');
7
7
  require('../chunk-4AYNBMPP.cjs');
8
8
  require('../chunk-NXXPCLO3.cjs');
@@ -11,4 +11,4 @@ require('../chunk-DFJNOFN2.cjs');
11
11
 
12
12
 
13
13
 
14
- exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens;
14
+ exports.applyWorkspaceBaseTokens = _chunkZYPYO5WAcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkZYPYO5WAcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkZYPYO5WAcjs.applyWorkspaceTokens;
@@ -2,8 +2,8 @@ import { BaseTokenizerOptions, ProjectTokenizerOptions } from '../types.cjs';
2
2
  import '../types-CN4ccKlk.cjs';
3
3
  import 'zod';
4
4
 
5
- declare const applyWorkspaceBaseTokens: (option: string, tokenizerOptions: BaseTokenizerOptions) => Promise<string>;
6
- declare const applyWorkspaceProjectTokens: (option: string, tokenizerOptions: ProjectTokenizerOptions) => Promise<string>;
7
- declare const applyWorkspaceTokens: <TConfig extends BaseTokenizerOptions = BaseTokenizerOptions>(options: Record<string, any>, config: TConfig, tokenizerFn: (option: string, config: TConfig) => string | Promise<string>) => Promise<Record<string, any>>;
5
+ declare const applyWorkspaceBaseTokens: <TTokenizerOptions extends BaseTokenizerOptions = BaseTokenizerOptions>(option: string, tokenParams: TTokenizerOptions) => Promise<string>;
6
+ declare const applyWorkspaceProjectTokens: <TTokenizerOptions extends ProjectTokenizerOptions = ProjectTokenizerOptions>(option: string, tokenParams: TTokenizerOptions) => Promise<string>;
7
+ declare const applyWorkspaceTokens: <TTokenizerOptions extends BaseTokenizerOptions = BaseTokenizerOptions>(options: Record<string, any>, tokenParams: TTokenizerOptions, tokenizerFn: (option: string, tokenParams: TTokenizerOptions) => string | Promise<string>) => Promise<Record<string, any>>;
8
8
 
9
9
  export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens };
@@ -2,8 +2,8 @@ import { BaseTokenizerOptions, ProjectTokenizerOptions } from '../types.js';
2
2
  import '../types-CN4ccKlk.js';
3
3
  import 'zod';
4
4
 
5
- declare const applyWorkspaceBaseTokens: (option: string, tokenizerOptions: BaseTokenizerOptions) => Promise<string>;
6
- declare const applyWorkspaceProjectTokens: (option: string, tokenizerOptions: ProjectTokenizerOptions) => Promise<string>;
7
- declare const applyWorkspaceTokens: <TConfig extends BaseTokenizerOptions = BaseTokenizerOptions>(options: Record<string, any>, config: TConfig, tokenizerFn: (option: string, config: TConfig) => string | Promise<string>) => Promise<Record<string, any>>;
5
+ declare const applyWorkspaceBaseTokens: <TTokenizerOptions extends BaseTokenizerOptions = BaseTokenizerOptions>(option: string, tokenParams: TTokenizerOptions) => Promise<string>;
6
+ declare const applyWorkspaceProjectTokens: <TTokenizerOptions extends ProjectTokenizerOptions = ProjectTokenizerOptions>(option: string, tokenParams: TTokenizerOptions) => Promise<string>;
7
+ declare const applyWorkspaceTokens: <TTokenizerOptions extends BaseTokenizerOptions = BaseTokenizerOptions>(options: Record<string, any>, tokenParams: TTokenizerOptions, tokenizerFn: (option: string, tokenParams: TTokenizerOptions) => string | Promise<string>) => Promise<Record<string, any>>;
8
8
 
9
9
  export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens };
@@ -2,7 +2,7 @@ import {
2
2
  applyWorkspaceBaseTokens,
3
3
  applyWorkspaceProjectTokens,
4
4
  applyWorkspaceTokens
5
- } from "../chunk-HKXAGPSU.js";
5
+ } from "../chunk-TPVIVOXV.js";
6
6
  import "../chunk-BDW32BZK.js";
7
7
  import "../chunk-HBVGMJMF.js";
8
8
  import "../chunk-NLLVE3DA.js";
@@ -8,7 +8,7 @@ var _chunk6O7E2ODJcjs = require('../chunk-6O7E2ODJ.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunkVSGLIY6Fcjs = require('../chunk-VSGLIY6F.cjs');
11
+ var _chunkZYPYO5WAcjs = require('../chunk-ZYPYO5WA.cjs');
12
12
 
13
13
 
14
14
 
@@ -58,4 +58,4 @@ require('../chunk-DFJNOFN2.cjs');
58
58
 
59
59
 
60
60
 
61
- exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.applyWorkspaceBaseTokens = _chunkVSGLIY6Fcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkVSGLIY6Fcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkVSGLIY6Fcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.findFileName = _chunkJPL6SA45cjs.findFileName; exports.findWorkspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkMUKNCWDCcjs.findWorkspaceRootSafe; exports.getDefaultConfig = _chunkGNNKAT6Ccjs.getDefaultConfig; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess; exports.joinPaths = _chunkNXXPCLO3cjs.joinPaths; exports.removeExtension = _chunkJPL6SA45cjs.removeExtension; exports.run = _chunk6O7E2ODJcjs.run; exports.runAsync = _chunk6O7E2ODJcjs.runAsync;
61
+ exports.DEFAULT_COLOR_CONFIG = _chunkGNNKAT6Ccjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6O7E2ODJcjs.LARGE_BUFFER; exports.applyWorkspaceBaseTokens = _chunkZYPYO5WAcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkZYPYO5WAcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkZYPYO5WAcjs.applyWorkspaceTokens; exports.correctPaths = _chunkNXXPCLO3cjs.correctPaths; exports.exitWithError = _chunkMXIXJOXFcjs.exitWithError; exports.exitWithSuccess = _chunkMXIXJOXFcjs.exitWithSuccess; exports.findFileName = _chunkJPL6SA45cjs.findFileName; exports.findWorkspaceRoot = _chunkMUKNCWDCcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkMUKNCWDCcjs.findWorkspaceRootSafe; exports.getDefaultConfig = _chunkGNNKAT6Ccjs.getDefaultConfig; exports.handleProcess = _chunkMXIXJOXFcjs.handleProcess; exports.joinPaths = _chunkNXXPCLO3cjs.joinPaths; exports.removeExtension = _chunkJPL6SA45cjs.removeExtension; exports.run = _chunk6O7E2ODJcjs.run; exports.runAsync = _chunk6O7E2ODJcjs.runAsync;
@@ -8,7 +8,7 @@ import {
8
8
  applyWorkspaceBaseTokens,
9
9
  applyWorkspaceProjectTokens,
10
10
  applyWorkspaceTokens
11
- } from "../chunk-HKXAGPSU.js";
11
+ } from "../chunk-TPVIVOXV.js";
12
12
  import {
13
13
  findFileName,
14
14
  removeExtension
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.140.1",
3
+ "version": "1.141.1",
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": {