@storm-software/linting-tools 1.39.4 → 1.40.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,27 @@
1
+ ## 1.40.0 (2024-02-26)
2
+
3
+
4
+ ### 🚀 Features
5
+
6
+ - **storm-ops:** Major updates to tsconfig values ([a3638fae](https://github.com/storm-software/storm-ops/commit/a3638fae))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
13
+ ## 1.39.5 (2024-02-24)
14
+
15
+
16
+ ### 🩹 Fixes
17
+
18
+ - **linting-tools:** Various updates to module resolution ([5f312f00](https://github.com/storm-software/storm-ops/commit/5f312f00))
19
+
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - Patrick Sullivan
24
+
1
25
  ## 1.39.4 (2024-02-24)
2
26
 
3
27
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
16
16
 
17
17
  <h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
18
18
 
19
- [![Version](https://img.shields.io/badge/version-1.39.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.40.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
21
21
 
22
22
  > [!IMPORTANT]
package/bin/lint.js CHANGED
@@ -289219,7 +289219,7 @@ var getLogLevel = (label) => {
289219
289219
  return LogLevel.INFO;
289220
289220
  }
289221
289221
  };
289222
- var getLogLevelLabel = (logLevel) => {
289222
+ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
289223
289223
  if (logLevel >= LogLevel.ALL) {
289224
289224
  return LogLevelLabel.ALL;
289225
289225
  }
@@ -289464,14 +289464,14 @@ var setExtensionEnv = (extensionName, extension) => {
289464
289464
  if (extension[key]) {
289465
289465
  const result = key?.replace(
289466
289466
  /([A-Z])+/g,
289467
- (input) => input ? input[0].toUpperCase() + input.slice(1) : ""
289467
+ (input) => input ? input[0]?.toUpperCase() + input.slice(1) : ""
289468
289468
  ).split(/(?=[A-Z])|[\.\-\s_]/).map((x) => x.toLowerCase()) ?? [];
289469
289469
  let extensionKey;
289470
289470
  if (result.length === 0) {
289471
289471
  return;
289472
289472
  }
289473
289473
  if (result.length === 1) {
289474
- extensionKey = result[0].toUpperCase();
289474
+ extensionKey = result[0]?.toUpperCase() ?? "";
289475
289475
  } else {
289476
289476
  extensionKey = result.reduce((ret, part) => {
289477
289477
  return `${ret}_${part.toLowerCase()}`;
@@ -332464,6 +332464,7 @@ var checks = {
332464
332464
 
332465
332465
  // node_modules/.pnpm/@manypkg+cli@0.21.2/node_modules/@manypkg/cli/src/errors.ts
332466
332466
  var ExitError = class extends Error {
332467
+ code;
332467
332468
  constructor(code) {
332468
332469
  super(`The process should exit with code ${code}`);
332469
332470
  this.code = code;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.39.4",
3
+ "version": "1.40.0",
4
4
  "private": false,
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
  "keywords": [
@@ -85,8 +85,6 @@
85
85
  "@manypkg/get-packages": "2.2.0",
86
86
  "@size-limit/file": "11.0.2",
87
87
  "@size-limit/time": "11.0.2",
88
- "@total-typescript/ts-reset": "0.5.1",
89
- "@tsconfig/recommended": "1.0.3",
90
88
  "alex": "11.0.1",
91
89
  "check-dependency-version-consistency": "4.1.0",
92
90
  "child_process": "1.0.2",
package/src/cli/index.js CHANGED
@@ -327894,6 +327894,7 @@ var checks = {
327894
327894
 
327895
327895
  // node_modules/.pnpm/@manypkg+cli@0.21.2/node_modules/@manypkg/cli/src/errors.ts
327896
327896
  var ExitError = class extends Error {
327897
+ code;
327897
327898
  constructor(code) {
327898
327899
  super(`The process should exit with code ${code}`);
327899
327900
  this.code = code;
@@ -34269,6 +34269,7 @@ var checks = {
34269
34269
 
34270
34270
  // node_modules/.pnpm/@manypkg+cli@0.21.2/node_modules/@manypkg/cli/src/errors.ts
34271
34271
  var ExitError = class extends Error {
34272
+ code;
34272
34273
  constructor(code) {
34273
34274
  super(`The process should exit with code ${code}`);
34274
34275
  this.code = code;
@@ -1,2 +0,0 @@
1
- // Do not add any other lines of code to this file!
2
- import "@total-typescript/ts-reset";
@@ -1,48 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "Storm Software",
4
- "extends": "@tsconfig/recommended/tsconfig.json",
5
- "compileOnSave": false,
6
- "compilerOptions": {
7
- "sourceMap": true,
8
- "incremental": true,
9
- "noImplicitReturns": true,
10
- "noUnusedLocals": true,
11
- "noUncheckedIndexedAccess": true,
12
- "strictNullChecks": true,
13
- "strict": true,
14
- "types": [
15
- "node"
16
- ],
17
- "resolveJsonModule": true,
18
- "isolatedModules": true,
19
- "moduleResolution": "Bundler",
20
- "allowSyntheticDefaultImports": true,
21
- "forceConsistentCasingInFileNames": true,
22
- "noImplicitOverride": true,
23
- "noPropertyAccessFromIndexSignature": false,
24
- "noFallthroughCasesInSwitch": true,
25
- "importHelpers": true,
26
- "experimentalDecorators": true,
27
- "emitDecoratorMetadata": true,
28
- "target": "esnext",
29
- "module": "esnext",
30
- "lib": [
31
- "esnext",
32
- "dom",
33
- "dom.iterable"
34
- ],
35
- "skipLibCheck": true,
36
- "skipDefaultLibCheck": true,
37
- "esModuleInterop": true
38
- },
39
- "include": [
40
- "**/*.ts",
41
- "**/*.d.ts",
42
- "**/*.json"
43
- ],
44
- "exclude": [
45
- "**/node_modules",
46
- "**/tmp"
47
- ]
48
- }