@storm-software/linting-tools 1.90.0 → 1.93.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 1.93.0 (2024-12-01)
2
+
3
+ ### Features
4
+
5
+ - **storm-ops:** Added `lint-sherif` script to the CI workflow ([906e0c2b](https://github.com/storm-software/storm-ops/commit/906e0c2b))
6
+
7
+ ## 1.92.0 (2024-11-30)
8
+
9
+ ### Features
10
+
11
+ - **storm-ops:** Added `sherif` and `knip` linting to CI pipeline ([181d782a](https://github.com/storm-software/storm-ops/commit/181d782a))
12
+ - **linting-tools:** Added `syncpack` config and CI reusable actions ([a95fd8e5](https://github.com/storm-software/storm-ops/commit/a95fd8e5))
13
+
14
+ ## 1.91.0 (2024-11-18)
15
+
16
+ ### Features
17
+
18
+ - **build-tools:** Allow default package.json exports by no longer overriding them ([f19fc362](https://github.com/storm-software/storm-ops/commit/f19fc362))
19
+
20
+ ## 1.90.1 (2024-11-10)
21
+
22
+ ### Bug Fixes
23
+
24
+ - **config-tools:** Ensure trace logging is not marked as system logging ([e8dca171](https://github.com/storm-software/storm-ops/commit/e8dca171))
25
+
1
26
  ## 1.90.0 (2024-11-08)
2
27
 
3
28
  ### Features
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.89.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.92.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 -->
package/bin/lint.js CHANGED
@@ -356956,7 +356956,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
356956
356956
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
356957
356957
  const _chalk = getChalk();
356958
356958
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
356959
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
356959
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
356960
356960
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
356961
356961
  return (_6) => {
356962
356962
  };
@@ -356964,9 +356964,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
356964
356964
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
356965
356965
  return (message) => {
356966
356966
  console.error(
356967
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
356967
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
356968
356968
  " \u{1F480} Fatal "
356969
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
356969
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
356970
356970
  `
356971
356971
  );
356972
356972
  };
@@ -356976,7 +356976,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
356976
356976
  console.error(
356977
356977
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
356978
356978
  " \u2718 Error "
356979
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
356979
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
356980
356980
  `
356981
356981
  );
356982
356982
  };
@@ -356986,7 +356986,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
356986
356986
  console.warn(
356987
356987
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
356988
356988
  " \u26A0 Warn "
356989
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
356989
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
356990
356990
  `
356991
356991
  );
356992
356992
  };
@@ -356996,7 +356996,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
356996
356996
  console.info(
356997
356997
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
356998
356998
  " \u2713 Success "
356999
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
356999
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
357000
357000
  `
357001
357001
  );
357002
357002
  };
@@ -357006,17 +357006,17 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
357006
357006
  console.info(
357007
357007
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
357008
357008
  " \u2139 Info "
357009
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
357009
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
357010
357010
  `
357011
357011
  );
357012
357012
  };
357013
357013
  }
357014
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
357014
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
357015
357015
  return (message) => {
357016
357016
  console.debug(
357017
357017
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
357018
357018
  " \u{1F6E0} Debug "
357019
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
357019
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
357020
357020
  `
357021
357021
  );
357022
357022
  };
@@ -357025,7 +357025,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
357025
357025
  console.log(
357026
357026
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
357027
357027
  " \u2709 System "
357028
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
357028
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
357029
357029
  `
357030
357030
  );
357031
357031
  };
@@ -357037,6 +357037,7 @@ var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
357037
357037
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
357038
357038
  var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
357039
357039
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
357040
+ var writeSystem = (message, config) => getLogFn(LogLevel.ALL, config)(message);
357040
357041
  var MAX_DEPTH = 4;
357041
357042
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
357042
357043
  if (depth2 > MAX_DEPTH) {
@@ -357117,8 +357118,8 @@ var getConfigFileByName = async (fileName, filePath2, options = {}) => {
357117
357118
  name: fileName,
357118
357119
  envName: fileName?.toUpperCase(),
357119
357120
  jitiOptions: {
357120
- debug: true,
357121
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
357121
+ debug: false,
357122
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
357122
357123
  },
357123
357124
  ...options
357124
357125
  });
@@ -357129,8 +357130,8 @@ var getConfigFileByName = async (fileName, filePath2, options = {}) => {
357129
357130
  name: fileName,
357130
357131
  envName: fileName?.toUpperCase(),
357131
357132
  jitiOptions: {
357132
- debug: true,
357133
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
357133
+ debug: false,
357134
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
357134
357135
  },
357135
357136
  configFile: fileName,
357136
357137
  ...options
@@ -357143,9 +357144,9 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
357143
357144
  const result = await getConfigFileByName("storm", workspacePath);
357144
357145
  let config = result.config;
357145
357146
  const configFile = result.configFile;
357146
- if (config && Object.keys(config).length > 0) {
357147
- writeTrace(
357148
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
357147
+ if (config && configFile && Object.keys(config).length > 0) {
357148
+ writeSystem(
357149
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
357149
357150
  {
357150
357151
  logLevel: "all"
357151
357152
  }
@@ -357158,9 +357159,9 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
357158
357159
  )
357159
357160
  );
357160
357161
  for (const result2 of results) {
357161
- if (result2?.config && Object.keys(result2.config).length > 0) {
357162
- writeTrace(
357163
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
357162
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
357163
+ writeSystem(
357164
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
357164
357165
  {
357165
357166
  logLevel: "all"
357166
357167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.90.0",
3
+ "version": "1.93.0",
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": {
package/src/cli/index.js CHANGED
@@ -355146,7 +355146,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
355146
355146
  var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355147
355147
  const _chalk = getChalk();
355148
355148
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
355149
- const configLogLevel = config.logLevel ?? process.env?.STORM_LOG_LEVEL ?? LogLevelLabel.INFO;
355149
+ const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
355150
355150
  if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
355151
355151
  return (_6) => {
355152
355152
  };
@@ -355154,9 +355154,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355154
355154
  if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
355155
355155
  return (message) => {
355156
355156
  console.error(
355157
- `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
355157
+ `${_chalk.bold.hex(colors.fatal ?? "#7d1a1a")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
355158
355158
  " \u{1F480} Fatal "
355159
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
355159
+ )} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(formatLogMessage(message))}
355160
355160
  `
355161
355161
  );
355162
355162
  };
@@ -355166,7 +355166,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355166
355166
  console.error(
355167
355167
  `${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
355168
355168
  " \u2718 Error "
355169
- )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}\r
355169
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
355170
355170
  `
355171
355171
  );
355172
355172
  };
@@ -355176,7 +355176,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355176
355176
  console.warn(
355177
355177
  `${_chalk.bold.hex(colors.warning ?? "#e3b341")(">")} ${_chalk.bold.bgHex(colors.warning ?? "#e3b341").whiteBright(
355178
355178
  " \u26A0 Warn "
355179
- )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}\r
355179
+ )} ${_chalk.hex(colors.warning ?? "#e3b341")(formatLogMessage(message))}
355180
355180
  `
355181
355181
  );
355182
355182
  };
@@ -355186,7 +355186,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355186
355186
  console.info(
355187
355187
  `${_chalk.bold.hex(colors.success ?? "#56d364")(">")} ${_chalk.bold.bgHex(colors.success ?? "#56d364").whiteBright(
355188
355188
  " \u2713 Success "
355189
- )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}\r
355189
+ )} ${_chalk.hex(colors.success ?? "#56d364")(formatLogMessage(message))}
355190
355190
  `
355191
355191
  );
355192
355192
  };
@@ -355196,17 +355196,17 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355196
355196
  console.info(
355197
355197
  `${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.info ?? "#58a6ff").whiteBright(
355198
355198
  " \u2139 Info "
355199
- )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}\r
355199
+ )} ${_chalk.hex(colors.info ?? "#58a6ff")(formatLogMessage(message))}
355200
355200
  `
355201
355201
  );
355202
355202
  };
355203
355203
  }
355204
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel || typeof logLevel === "string" && LogLevel.DEBUG >= getLogLevel(logLevel)) {
355204
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
355205
355205
  return (message) => {
355206
355206
  console.debug(
355207
355207
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
355208
355208
  " \u{1F6E0} Debug "
355209
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
355209
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
355210
355210
  `
355211
355211
  );
355212
355212
  };
@@ -355215,7 +355215,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355215
355215
  console.log(
355216
355216
  `${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
355217
355217
  " \u2709 System "
355218
- )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}\r
355218
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
355219
355219
  `
355220
355220
  );
355221
355221
  };
@@ -355227,6 +355227,7 @@ var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
355227
355227
  var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
355228
355228
  var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
355229
355229
  var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
355230
+ var writeSystem = (message, config) => getLogFn(LogLevel.ALL, config)(message);
355230
355231
  var MAX_DEPTH = 4;
355231
355232
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
355232
355233
  if (depth2 > MAX_DEPTH) {
@@ -355264,8 +355265,8 @@ var getConfigFileByName = async (fileName, filePath2, options = {}) => {
355264
355265
  name: fileName,
355265
355266
  envName: fileName?.toUpperCase(),
355266
355267
  jitiOptions: {
355267
- debug: true,
355268
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
355268
+ debug: false,
355269
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
355269
355270
  },
355270
355271
  ...options
355271
355272
  });
@@ -355276,8 +355277,8 @@ var getConfigFileByName = async (fileName, filePath2, options = {}) => {
355276
355277
  name: fileName,
355277
355278
  envName: fileName?.toUpperCase(),
355278
355279
  jitiOptions: {
355279
- debug: true,
355280
- cache: process.env.STORM_CACHE ? process.env.STORM_CACHE_DIRECTORY : false
355280
+ debug: false,
355281
+ cache: process.env.STORM_SKIP_CACHE === "true" ? false : process.env.STORM_CACHE_DIRECTORY || "node_modules/.cache/storm"
355281
355282
  },
355282
355283
  configFile: fileName,
355283
355284
  ...options
@@ -355290,9 +355291,9 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
355290
355291
  const result = await getConfigFileByName("storm", workspacePath);
355291
355292
  let config = result.config;
355292
355293
  const configFile = result.configFile;
355293
- if (config && Object.keys(config).length > 0) {
355294
- writeTrace(
355295
- `Found Storm configuration file "${configFile}" at "${workspacePath}"`,
355294
+ if (config && configFile && Object.keys(config).length > 0) {
355295
+ writeSystem(
355296
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
355296
355297
  {
355297
355298
  logLevel: "all"
355298
355299
  }
@@ -355305,9 +355306,9 @@ var getConfigFile = async (filePath2, additionalFileNames = []) => {
355305
355306
  )
355306
355307
  );
355307
355308
  for (const result2 of results) {
355308
- if (result2?.config && Object.keys(result2.config).length > 0) {
355309
- writeTrace(
355310
- `Found additional configuration file "${result2.configFile}" at "${workspacePath}"`,
355309
+ if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
355310
+ writeSystem(
355311
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
355311
355312
  {
355312
355313
  logLevel: "all"
355313
355314
  }
@@ -0,0 +1,105 @@
1
+ {
2
+ "customTypes": {
3
+ "dev": {
4
+ "strategy": "versionsByName",
5
+ "path": "devDependencies"
6
+ },
7
+ "local": {
8
+ "strategy": "name~version",
9
+ "namePath": "name",
10
+ "path": "version"
11
+ },
12
+ "overrides": {
13
+ "strategy": "versionsByName",
14
+ "path": "overrides"
15
+ },
16
+ "peer": {
17
+ "strategy": "versionsByName",
18
+ "path": "peerDependencies"
19
+ },
20
+ "pnpmOverrides": {
21
+ "strategy": "versionsByName",
22
+ "path": "pnpm.overrides"
23
+ },
24
+ "prod": {
25
+ "strategy": "versionsByName",
26
+ "path": "dependencies"
27
+ },
28
+ "resolutions": {
29
+ "strategy": "versionsByName",
30
+ "path": "resolutions"
31
+ },
32
+ "engines": {
33
+ "path": "engines",
34
+ "strategy": "versionsByName"
35
+ },
36
+ "packageManager": {
37
+ "path": "packageManager",
38
+ "strategy": "name@version"
39
+ },
40
+ "nodeEngine": {
41
+ "path": "engines.node",
42
+ "strategy": "version"
43
+ }
44
+ },
45
+ "dependencyTypes": ["**"],
46
+ "filter": ".",
47
+ "formatBugs": true,
48
+ "formatRepository": true,
49
+ "indent": " ",
50
+ "semverGroups": [],
51
+ "sortAz": [
52
+ "bin",
53
+ "contributors",
54
+ "dependencies",
55
+ "devDependencies",
56
+ "keywords",
57
+ "peerDependencies",
58
+ "resolutions",
59
+ "scripts"
60
+ ],
61
+ "sortExports": [
62
+ "types",
63
+ "node-addons",
64
+ "node",
65
+ "browser",
66
+ "import",
67
+ "require",
68
+ "development",
69
+ "production",
70
+ "default"
71
+ ],
72
+ "sortFirst": ["name", "description", "version", "author"],
73
+ "sortPackages": true,
74
+ "source": [
75
+ "package.json",
76
+ "packages/*/package.json",
77
+ "apps/*/package.json",
78
+ "libs/*/package.json",
79
+ "tools/*/package.json"
80
+ ],
81
+ "specifierTypes": ["**"],
82
+ "versionGroups": [
83
+ {
84
+ "dependencies": ["@storm-software/**", "@storm-stack/**"],
85
+ "pinVersion": "latest",
86
+ "label": "Storm Software Dependencies should all use the latest version"
87
+ },
88
+ {
89
+ "dependencies": ["@types/**"],
90
+ "dependencyTypes": ["!dev"],
91
+ "isBanned": true,
92
+ "label": "@types packages should only be under devDependencies"
93
+ },
94
+ {
95
+ "dependencies": ["@nx/**", "nx"],
96
+ "pinVersion": "^20.0.6",
97
+ "label": "Nx Dependencies should all use the same version"
98
+ },
99
+ {
100
+ "dependencies": ["@tamagui/**", "tamagui"],
101
+ "pinVersion": "^1.116.15",
102
+ "label": "Tamagui Dependencies should all use the same version"
103
+ }
104
+ ]
105
+ }