@storm-software/linting-tools 1.119.18 → 1.119.19

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/bin/lint.cjs CHANGED
@@ -343748,7 +343748,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
343748
343748
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
343749
343749
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
343750
343750
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
343751
- var StormConfigSchema = z.object({
343751
+ var stormWorkspaceConfigSchema = z.object({
343752
343752
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
343753
343753
  extends: ExtendsSchema.optional(),
343754
343754
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
@@ -344894,7 +344894,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(v
344894
344894
  // ../config-tools/src/create-storm-config.ts
344895
344895
  var _extension_cache = /* @__PURE__ */ new WeakMap();
344896
344896
  var _static_cache = void 0;
344897
- var createStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344897
+ var createStormWorkspaceConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344898
344898
  let result;
344899
344899
  if (!_optionalChain([_static_cache, 'optionalAccess', _558 => _558.data]) || !_optionalChain([_static_cache, 'optionalAccess', _559 => _559.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
344900
344900
  let _workspaceRoot = workspaceRoot;
@@ -344909,7 +344909,7 @@ var createStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, as
344909
344909
  logLevel: "all"
344910
344910
  });
344911
344911
  }
344912
- result = await StormConfigSchema.parseAsync(_chunkEF2QNWS4cjs.defu.call(void 0, configEnv, configFile, defaultConfig));
344912
+ result = await stormWorkspaceConfigSchema.parseAsync(_chunkEF2QNWS4cjs.defu.call(void 0, configEnv, configFile, defaultConfig));
344913
344913
  result.workspaceRoot ??= _workspaceRoot;
344914
344914
  } else {
344915
344915
  result = _static_cache.data;
@@ -344925,7 +344925,7 @@ var createStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, as
344925
344925
  data: result
344926
344926
  };
344927
344927
  return result;
344928
- }, "createStormConfig");
344928
+ }, "createStormWorkspaceConfig");
344929
344929
  var createConfigExtension = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (extensionName, schema2) => {
344930
344930
  const extension_cache_key = {
344931
344931
  extensionName
@@ -344940,20 +344940,20 @@ var createConfigExtension = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0
344940
344940
  _extension_cache.set(extension_cache_key, extension);
344941
344941
  return extension;
344942
344942
  }, "createConfigExtension");
344943
- var loadStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
344944
- const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
344943
+ var loadStormWorkspaceConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
344944
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
344945
344945
  setConfigEnv(config);
344946
344946
  if (!skipLogs && !config.skipConfigLogging) {
344947
344947
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
344948
344948
  ${formatLogMessage(config)}`, config);
344949
344949
  }
344950
344950
  return config;
344951
- }, "loadStormConfig");
344951
+ }, "loadStormWorkspaceConfig");
344952
344952
 
344953
344953
  // ../config-tools/src/get-config.ts
344954
344954
  _chunk2HPUSEOWcjs.init_cjs_shims.call(void 0, );
344955
344955
  var getConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
344956
- return loadStormConfig(workspaceRoot, skipLogs);
344956
+ return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
344957
344957
  }, "getConfig");
344958
344958
 
344959
344959
  // src/cli/index.ts
@@ -416250,7 +416250,9 @@ function createProgram(config) {
416250
416250
  const root = findWorkspaceRootSafe();
416251
416251
  process.env.STORM_WORKSPACE_ROOT ??= root;
416252
416252
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
416253
- root && process.chdir(root);
416253
+ if (root) {
416254
+ process.chdir(root);
416255
+ }
416254
416256
  const program2 = new Command("storm-lint");
416255
416257
  program2.version("1.0.0", "-v --version", "display CLI version");
416256
416258
  program2.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
package/bin/lint.js CHANGED
@@ -343746,7 +343746,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
343746
343746
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
343747
343747
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
343748
343748
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
343749
- var StormConfigSchema = z.object({
343749
+ var stormWorkspaceConfigSchema = z.object({
343750
343750
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
343751
343751
  extends: ExtendsSchema.optional(),
343752
343752
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
@@ -344892,7 +344892,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
344892
344892
  // ../config-tools/src/create-storm-config.ts
344893
344893
  var _extension_cache = /* @__PURE__ */ new WeakMap();
344894
344894
  var _static_cache = void 0;
344895
- var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344895
+ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344896
344896
  let result;
344897
344897
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
344898
344898
  let _workspaceRoot = workspaceRoot;
@@ -344907,7 +344907,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema2, wo
344907
344907
  logLevel: "all"
344908
344908
  });
344909
344909
  }
344910
- result = await StormConfigSchema.parseAsync(defu(configEnv, configFile, defaultConfig));
344910
+ result = await stormWorkspaceConfigSchema.parseAsync(defu(configEnv, configFile, defaultConfig));
344911
344911
  result.workspaceRoot ??= _workspaceRoot;
344912
344912
  } else {
344913
344913
  result = _static_cache.data;
@@ -344923,7 +344923,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema2, wo
344923
344923
  data: result
344924
344924
  };
344925
344925
  return result;
344926
- }, "createStormConfig");
344926
+ }, "createStormWorkspaceConfig");
344927
344927
  var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema2) => {
344928
344928
  const extension_cache_key = {
344929
344929
  extensionName
@@ -344938,20 +344938,20 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema2) => {
344938
344938
  _extension_cache.set(extension_cache_key, extension);
344939
344939
  return extension;
344940
344940
  }, "createConfigExtension");
344941
- var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
344942
- const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
344941
+ var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
344942
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
344943
344943
  setConfigEnv(config);
344944
344944
  if (!skipLogs && !config.skipConfigLogging) {
344945
344945
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
344946
344946
  ${formatLogMessage(config)}`, config);
344947
344947
  }
344948
344948
  return config;
344949
- }, "loadStormConfig");
344949
+ }, "loadStormWorkspaceConfig");
344950
344950
 
344951
344951
  // ../config-tools/src/get-config.ts
344952
344952
  init_esm_shims();
344953
344953
  var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
344954
- return loadStormConfig(workspaceRoot, skipLogs);
344954
+ return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
344955
344955
  }, "getConfig");
344956
344956
 
344957
344957
  // src/cli/index.ts
@@ -416238,7 +416238,9 @@ function createProgram(config) {
416238
416238
  const root = findWorkspaceRootSafe();
416239
416239
  process.env.STORM_WORKSPACE_ROOT ??= root;
416240
416240
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
416241
- root && process.chdir(root);
416241
+ if (root) {
416242
+ process.chdir(root);
416243
+ }
416242
416244
  const program2 = new Command("storm-lint");
416243
416245
  program2.version("1.0.0", "-v --version", "display CLI version");
416244
416246
  program2.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
package/dist/index.cjs CHANGED
@@ -343750,7 +343750,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
343750
343750
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
343751
343751
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
343752
343752
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
343753
- var StormConfigSchema = z.object({
343753
+ var stormWorkspaceConfigSchema = z.object({
343754
343754
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
343755
343755
  extends: ExtendsSchema.optional(),
343756
343756
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
@@ -344861,7 +344861,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(v
344861
344861
  // ../config-tools/src/create-storm-config.ts
344862
344862
  var _extension_cache = /* @__PURE__ */ new WeakMap();
344863
344863
  var _static_cache = void 0;
344864
- var createStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344864
+ var createStormWorkspaceConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344865
344865
  let result;
344866
344866
  if (!_optionalChain([_static_cache, 'optionalAccess', _558 => _558.data]) || !_optionalChain([_static_cache, 'optionalAccess', _559 => _559.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
344867
344867
  let _workspaceRoot = workspaceRoot;
@@ -344876,7 +344876,7 @@ var createStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, as
344876
344876
  logLevel: "all"
344877
344877
  });
344878
344878
  }
344879
- result = await StormConfigSchema.parseAsync(_chunkEF2QNWS4cjs.defu.call(void 0, configEnv, configFile, defaultConfig));
344879
+ result = await stormWorkspaceConfigSchema.parseAsync(_chunkEF2QNWS4cjs.defu.call(void 0, configEnv, configFile, defaultConfig));
344880
344880
  result.workspaceRoot ??= _workspaceRoot;
344881
344881
  } else {
344882
344882
  result = _static_cache.data;
@@ -344892,7 +344892,7 @@ var createStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, as
344892
344892
  data: result
344893
344893
  };
344894
344894
  return result;
344895
- }, "createStormConfig");
344895
+ }, "createStormWorkspaceConfig");
344896
344896
  var createConfigExtension = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (extensionName, schema2) => {
344897
344897
  const extension_cache_key = {
344898
344898
  extensionName
@@ -344907,20 +344907,20 @@ var createConfigExtension = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0
344907
344907
  _extension_cache.set(extension_cache_key, extension);
344908
344908
  return extension;
344909
344909
  }, "createConfigExtension");
344910
- var loadStormConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
344911
- const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
344910
+ var loadStormWorkspaceConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
344911
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
344912
344912
  setConfigEnv(config);
344913
344913
  if (!skipLogs && !config.skipConfigLogging) {
344914
344914
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
344915
344915
  ${formatLogMessage(config)}`, config);
344916
344916
  }
344917
344917
  return config;
344918
- }, "loadStormConfig");
344918
+ }, "loadStormWorkspaceConfig");
344919
344919
 
344920
344920
  // ../config-tools/src/get-config.ts
344921
344921
  _chunk2HPUSEOWcjs.init_cjs_shims.call(void 0, );
344922
344922
  var getConfig = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
344923
- return loadStormConfig(workspaceRoot, skipLogs);
344923
+ return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
344924
344924
  }, "getConfig");
344925
344925
 
344926
344926
  // ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/index.js
@@ -416214,7 +416214,9 @@ function createProgram(config) {
416214
416214
  const root = findWorkspaceRootSafe();
416215
416215
  process.env.STORM_WORKSPACE_ROOT ??= root;
416216
416216
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
416217
- root && process.chdir(root);
416217
+ if (root) {
416218
+ process.chdir(root);
416219
+ }
416218
416220
  const program2 = new Command("storm-lint");
416219
416221
  program2.version("1.0.0", "-v --version", "display CLI version");
416220
416222
  program2.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
package/dist/index.d.cts CHANGED
@@ -4,7 +4,7 @@ import { Command } from 'commander';
4
4
  /**
5
5
  * Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
6
6
  */
7
- declare const StormConfigSchema: z.ZodObject<{
7
+ declare const stormWorkspaceConfigSchema: z.ZodObject<{
8
8
  $schema: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>>;
9
9
  extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
10
10
  name: z.ZodOptional<z.ZodString>;
@@ -1243,13 +1243,29 @@ declare const StormConfigSchema: z.ZodObject<{
1243
1243
  extensions?: Record<string, any> | undefined;
1244
1244
  }>;
1245
1245
 
1246
- type TStormConfig = z.infer<typeof StormConfigSchema>;
1247
- type StormConfig<TExtensionName extends keyof TStormConfig["extensions"] = keyof TStormConfig["extensions"], TExtensionConfig extends TStormConfig["extensions"][TExtensionName] = TStormConfig["extensions"][TExtensionName]> = TStormConfig & {
1248
- extensions: (TStormConfig["extensions"] & {
1246
+ type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
1247
+ /**
1248
+ * The Storm workspace's configuration object
1249
+ *
1250
+ * @remarks
1251
+ * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
1252
+ *
1253
+ * @deprecated
1254
+ * This type is deprecated and will be removed in the next major version. Use `StormWorkspaceConfig` instead.
1255
+ */
1256
+ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
1257
+ extensions: (TStormWorkspaceConfig["extensions"] & {
1249
1258
  [extensionName in TExtensionName]: TExtensionConfig;
1250
1259
  }) | NonNullable<Record<string, any>>;
1251
1260
  };
1261
+ /**
1262
+ * The Storm workspace's configuration object
1263
+ *
1264
+ * @remarks
1265
+ * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
1266
+ */
1267
+ type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
1252
1268
 
1253
- declare function createProgram(config: StormConfig): Command;
1269
+ declare function createProgram(config: StormWorkspaceConfig): Command;
1254
1270
 
1255
1271
  export { createProgram };
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Command } from 'commander';
4
4
  /**
5
5
  * Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
6
6
  */
7
- declare const StormConfigSchema: z.ZodObject<{
7
+ declare const stormWorkspaceConfigSchema: z.ZodObject<{
8
8
  $schema: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>>;
9
9
  extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
10
10
  name: z.ZodOptional<z.ZodString>;
@@ -1243,13 +1243,29 @@ declare const StormConfigSchema: z.ZodObject<{
1243
1243
  extensions?: Record<string, any> | undefined;
1244
1244
  }>;
1245
1245
 
1246
- type TStormConfig = z.infer<typeof StormConfigSchema>;
1247
- type StormConfig<TExtensionName extends keyof TStormConfig["extensions"] = keyof TStormConfig["extensions"], TExtensionConfig extends TStormConfig["extensions"][TExtensionName] = TStormConfig["extensions"][TExtensionName]> = TStormConfig & {
1248
- extensions: (TStormConfig["extensions"] & {
1246
+ type TStormWorkspaceConfig = z.infer<typeof stormWorkspaceConfigSchema>;
1247
+ /**
1248
+ * The Storm workspace's configuration object
1249
+ *
1250
+ * @remarks
1251
+ * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
1252
+ *
1253
+ * @deprecated
1254
+ * This type is deprecated and will be removed in the next major version. Use `StormWorkspaceConfig` instead.
1255
+ */
1256
+ type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
1257
+ extensions: (TStormWorkspaceConfig["extensions"] & {
1249
1258
  [extensionName in TExtensionName]: TExtensionConfig;
1250
1259
  }) | NonNullable<Record<string, any>>;
1251
1260
  };
1261
+ /**
1262
+ * The Storm workspace's configuration object
1263
+ *
1264
+ * @remarks
1265
+ * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
1266
+ */
1267
+ type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
1252
1268
 
1253
- declare function createProgram(config: StormConfig): Command;
1269
+ declare function createProgram(config: StormWorkspaceConfig): Command;
1254
1270
 
1255
1271
  export { createProgram };
package/dist/index.js CHANGED
@@ -343748,7 +343748,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
343748
343748
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
343749
343749
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
343750
343750
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
343751
- var StormConfigSchema = z.object({
343751
+ var stormWorkspaceConfigSchema = z.object({
343752
343752
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
343753
343753
  extends: ExtendsSchema.optional(),
343754
343754
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
@@ -344859,7 +344859,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
344859
344859
  // ../config-tools/src/create-storm-config.ts
344860
344860
  var _extension_cache = /* @__PURE__ */ new WeakMap();
344861
344861
  var _static_cache = void 0;
344862
- var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344862
+ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema2, workspaceRoot, skipLogs = false) => {
344863
344863
  let result;
344864
344864
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
344865
344865
  let _workspaceRoot = workspaceRoot;
@@ -344874,7 +344874,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema2, wo
344874
344874
  logLevel: "all"
344875
344875
  });
344876
344876
  }
344877
- result = await StormConfigSchema.parseAsync(defu(configEnv, configFile, defaultConfig));
344877
+ result = await stormWorkspaceConfigSchema.parseAsync(defu(configEnv, configFile, defaultConfig));
344878
344878
  result.workspaceRoot ??= _workspaceRoot;
344879
344879
  } else {
344880
344880
  result = _static_cache.data;
@@ -344890,7 +344890,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema2, wo
344890
344890
  data: result
344891
344891
  };
344892
344892
  return result;
344893
- }, "createStormConfig");
344893
+ }, "createStormWorkspaceConfig");
344894
344894
  var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema2) => {
344895
344895
  const extension_cache_key = {
344896
344896
  extensionName
@@ -344905,20 +344905,20 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema2) => {
344905
344905
  _extension_cache.set(extension_cache_key, extension);
344906
344906
  return extension;
344907
344907
  }, "createConfigExtension");
344908
- var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
344909
- const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
344908
+ var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
344909
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
344910
344910
  setConfigEnv(config);
344911
344911
  if (!skipLogs && !config.skipConfigLogging) {
344912
344912
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
344913
344913
  ${formatLogMessage(config)}`, config);
344914
344914
  }
344915
344915
  return config;
344916
- }, "loadStormConfig");
344916
+ }, "loadStormWorkspaceConfig");
344917
344917
 
344918
344918
  // ../config-tools/src/get-config.ts
344919
344919
  init_esm_shims();
344920
344920
  var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
344921
- return loadStormConfig(workspaceRoot, skipLogs);
344921
+ return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
344922
344922
  }, "getConfig");
344923
344923
 
344924
344924
  // ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/index.js
@@ -416202,7 +416202,9 @@ function createProgram(config) {
416202
416202
  const root = findWorkspaceRootSafe();
416203
416203
  process.env.STORM_WORKSPACE_ROOT ??= root;
416204
416204
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
416205
- root && process.chdir(root);
416205
+ if (root) {
416206
+ process.chdir(root);
416207
+ }
416206
416208
  const program2 = new Command("storm-lint");
416207
416209
  program2.version("1.0.0", "-v --version", "display CLI version");
416208
416210
  program2.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.119.18",
3
+ "version": "1.119.19",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
6
6
  "repository": {