@storm-software/linting-tools 1.83.0 → 1.83.2
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 +14 -0
- package/README.md +1 -1
- package/bin/lint.js +42 -57
- package/package.json +1 -1
- package/src/cli/index.js +42 -57
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 1.83.2 (2024-09-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
- **eslint:** Resolve issue with invalid react file configurations ([524b22be](https://github.com/storm-software/storm-ops/commit/524b22be))
|
|
7
|
+
|
|
8
|
+
## 1.83.1 (2024-09-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
- **linting-tools:** Updated the paths provided to the circular dependency linter ([5c10a255](https://github.com/storm-software/storm-ops/commit/5c10a255))
|
|
14
|
+
|
|
1
15
|
## 1.83.0 (2024-09-15)
|
|
2
16
|
|
|
3
17
|
### 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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/lint.js
CHANGED
|
@@ -356505,8 +356505,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
356505
356505
|
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
356506
356506
|
var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
356507
356507
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
356508
|
-
var
|
|
356509
|
-
var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
356508
|
+
var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
356510
356509
|
var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
356511
356510
|
var HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
356512
356511
|
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -356518,8 +356517,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
356518
356517
|
foreground: LightColorSchema,
|
|
356519
356518
|
background: DarkColorSchema,
|
|
356520
356519
|
brand: BrandColorSchema,
|
|
356521
|
-
|
|
356522
|
-
brand3: Brand3ColorSchema,
|
|
356520
|
+
alternate: AlternateColorSchema,
|
|
356523
356521
|
accent: AccentColorSchema,
|
|
356524
356522
|
help: HelpColorSchema,
|
|
356525
356523
|
success: SuccessColorSchema,
|
|
@@ -356532,8 +356530,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
356532
356530
|
foreground: DarkColorSchema,
|
|
356533
356531
|
background: LightColorSchema,
|
|
356534
356532
|
brand: BrandColorSchema,
|
|
356535
|
-
|
|
356536
|
-
brand3: Brand3ColorSchema,
|
|
356533
|
+
alternate: AlternateColorSchema,
|
|
356537
356534
|
accent: AccentColorSchema,
|
|
356538
356535
|
help: HelpColorSchema,
|
|
356539
356536
|
success: SuccessColorSchema,
|
|
@@ -356550,8 +356547,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
356550
356547
|
dark: DarkColorSchema,
|
|
356551
356548
|
light: LightColorSchema,
|
|
356552
356549
|
brand: BrandColorSchema,
|
|
356553
|
-
|
|
356554
|
-
brand3: Brand3ColorSchema,
|
|
356550
|
+
alternate: AlternateColorSchema,
|
|
356555
356551
|
accent: AccentColorSchema,
|
|
356556
356552
|
help: HelpColorSchema,
|
|
356557
356553
|
success: SuccessColorSchema,
|
|
@@ -356657,29 +356653,25 @@ var COLOR_KEYS = [
|
|
|
356657
356653
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
356658
356654
|
import { join as join3 } from "node:path";
|
|
356659
356655
|
var DEFAULT_COLOR_CONFIG = {
|
|
356660
|
-
light: {
|
|
356661
|
-
background: "#
|
|
356662
|
-
foreground: "#
|
|
356663
|
-
brand: "#1fb2a6",
|
|
356664
|
-
|
|
356665
|
-
|
|
356666
|
-
|
|
356667
|
-
|
|
356668
|
-
|
|
356669
|
-
warning: "#e3b341",
|
|
356670
|
-
error: "#a40e26"
|
|
356656
|
+
"light": {
|
|
356657
|
+
"background": "#fafafa",
|
|
356658
|
+
"foreground": "#121212",
|
|
356659
|
+
"brand": "#1fb2a6",
|
|
356660
|
+
"help": "#5C4EE5",
|
|
356661
|
+
"success": "#087f5b",
|
|
356662
|
+
"info": "#0550ae",
|
|
356663
|
+
"warning": "#e3b341",
|
|
356664
|
+
"error": "#a40e26"
|
|
356671
356665
|
},
|
|
356672
|
-
dark: {
|
|
356673
|
-
background: "#
|
|
356674
|
-
foreground: "#
|
|
356675
|
-
brand: "#
|
|
356676
|
-
|
|
356677
|
-
|
|
356678
|
-
|
|
356679
|
-
|
|
356680
|
-
|
|
356681
|
-
warning: "#F3D371",
|
|
356682
|
-
error: "#d1242f"
|
|
356666
|
+
"dark": {
|
|
356667
|
+
"background": "#22272e",
|
|
356668
|
+
"foreground": "#f0f0f0",
|
|
356669
|
+
"brand": "#3fc1b0",
|
|
356670
|
+
"help": "#5C4EE5",
|
|
356671
|
+
"success": "#10b981",
|
|
356672
|
+
"info": "#58a6ff",
|
|
356673
|
+
"warning": "#f3d371",
|
|
356674
|
+
"error": "#d1242f"
|
|
356683
356675
|
}
|
|
356684
356676
|
};
|
|
356685
356677
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -357155,8 +357147,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
357155
357147
|
dark: process.env[`${prefix}DARK`],
|
|
357156
357148
|
light: process.env[`${prefix}LIGHT`],
|
|
357157
357149
|
brand: process.env[`${prefix}BRAND`],
|
|
357158
|
-
|
|
357159
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
357150
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
357160
357151
|
accent: process.env[`${prefix}ACCENT`],
|
|
357161
357152
|
help: process.env[`${prefix}HELP`],
|
|
357162
357153
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -357179,8 +357170,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
357179
357170
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
357180
357171
|
background: process.env[`${prefix}BACKGROUND`],
|
|
357181
357172
|
brand: process.env[`${prefix}BRAND`],
|
|
357182
|
-
|
|
357183
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
357173
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
357184
357174
|
accent: process.env[`${prefix}ACCENT`],
|
|
357185
357175
|
help: process.env[`${prefix}HELP`],
|
|
357186
357176
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -357383,11 +357373,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
357383
357373
|
if (config.brand) {
|
|
357384
357374
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
357385
357375
|
}
|
|
357386
|
-
if (config.
|
|
357387
|
-
process.env[`${prefix}
|
|
357388
|
-
}
|
|
357389
|
-
if (config.brand3) {
|
|
357390
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
357376
|
+
if (config.alternate) {
|
|
357377
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
357391
357378
|
}
|
|
357392
357379
|
if (config.accent) {
|
|
357393
357380
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -357427,11 +357414,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
357427
357414
|
if (config.brand) {
|
|
357428
357415
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
357429
357416
|
}
|
|
357430
|
-
if (config.
|
|
357431
|
-
process.env[`${prefix}
|
|
357432
|
-
}
|
|
357433
|
-
if (config.brand3) {
|
|
357434
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
357417
|
+
if (config.alternate) {
|
|
357418
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
357435
357419
|
}
|
|
357436
357420
|
if (config.accent) {
|
|
357437
357421
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -407844,7 +407828,7 @@ async function allAction({
|
|
|
407844
407828
|
manypkgArgs
|
|
407845
407829
|
}) {
|
|
407846
407830
|
try {
|
|
407847
|
-
|
|
407831
|
+
writeDebug("\u26A1 Linting the Storm Workspace", _config);
|
|
407848
407832
|
const promises4 = [];
|
|
407849
407833
|
if (!skipCspell) {
|
|
407850
407834
|
promises4.push(cspellAction({ cspellConfig }));
|
|
@@ -407924,7 +407908,7 @@ async function alexAction({
|
|
|
407924
407908
|
alexIgnore = "@storm-software/linting-tools/alex/.alexignore"
|
|
407925
407909
|
}) {
|
|
407926
407910
|
try {
|
|
407927
|
-
|
|
407911
|
+
writeDebug("\u26A1 Linting the workspace language with alexjs.com", _config);
|
|
407928
407912
|
const result = await runAlex(alexConfig, alexIgnore);
|
|
407929
407913
|
if (result) {
|
|
407930
407914
|
throw new Error(`Alex CLI Error Code: ${result}`);
|
|
@@ -407946,7 +407930,7 @@ ${e2.message}
|
|
|
407946
407930
|
}
|
|
407947
407931
|
async function depsVersionAction() {
|
|
407948
407932
|
try {
|
|
407949
|
-
|
|
407933
|
+
writeDebug(
|
|
407950
407934
|
"\u26A1 Linting the workspace dependency version consistency",
|
|
407951
407935
|
_config
|
|
407952
407936
|
);
|
|
@@ -407975,16 +407959,17 @@ ${e2.message} `,
|
|
|
407975
407959
|
}
|
|
407976
407960
|
async function circularDepsAction() {
|
|
407977
407961
|
try {
|
|
407978
|
-
|
|
407962
|
+
writeDebug("\u26A1 Linting the workspace circular dependency", _config);
|
|
407979
407963
|
const circulars = (0, import_dpdm.parseCircular)(
|
|
407980
|
-
await (0, import_dpdm.parseDependencyTree)(
|
|
407981
|
-
|
|
407982
|
-
|
|
407983
|
-
|
|
407984
|
-
|
|
407985
|
-
|
|
407986
|
-
|
|
407987
|
-
|
|
407964
|
+
await (0, import_dpdm.parseDependencyTree)(["**/*"], {
|
|
407965
|
+
exclude: new RegExp(
|
|
407966
|
+
"^(.*/(node_modules|dist|tmp|coverage|.nx|.cache|.next|__test__|__fixtures__)/).*"
|
|
407967
|
+
),
|
|
407968
|
+
extensions: [".ts", ".tsx"],
|
|
407969
|
+
tsconfig: "./tsconfig.base.json",
|
|
407970
|
+
transform: true,
|
|
407971
|
+
skipDynamicImports: false
|
|
407972
|
+
}),
|
|
407988
407973
|
true
|
|
407989
407974
|
);
|
|
407990
407975
|
if (circulars.length > 0) {
|
|
@@ -408015,7 +408000,7 @@ async function manypkgAction({
|
|
|
408015
408000
|
manypkgArgs = []
|
|
408016
408001
|
}) {
|
|
408017
408002
|
try {
|
|
408018
|
-
|
|
408003
|
+
writeDebug("\u26A1 Linting the workspace's packages with Manypkg", _config);
|
|
408019
408004
|
await runManypkg(manypkgType, manypkgArgs);
|
|
408020
408005
|
writeSuccess("Manypkg linting is complete \u2705", _config);
|
|
408021
408006
|
} catch (e2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.83.
|
|
3
|
+
"version": "1.83.2",
|
|
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
|
@@ -354695,8 +354695,7 @@ var z2 = /* @__PURE__ */ Object.freeze({
|
|
|
354695
354695
|
var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
354696
354696
|
var LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
354697
354697
|
var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
354698
|
-
var
|
|
354699
|
-
var Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
354698
|
+
var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
354700
354699
|
var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
354701
354700
|
var HelpColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
|
|
354702
354701
|
var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
|
|
@@ -354708,8 +354707,7 @@ var DarkThemeColorConfigSchema = z2.object({
|
|
|
354708
354707
|
foreground: LightColorSchema,
|
|
354709
354708
|
background: DarkColorSchema,
|
|
354710
354709
|
brand: BrandColorSchema,
|
|
354711
|
-
|
|
354712
|
-
brand3: Brand3ColorSchema,
|
|
354710
|
+
alternate: AlternateColorSchema,
|
|
354713
354711
|
accent: AccentColorSchema,
|
|
354714
354712
|
help: HelpColorSchema,
|
|
354715
354713
|
success: SuccessColorSchema,
|
|
@@ -354722,8 +354720,7 @@ var LightThemeColorConfigSchema = z2.object({
|
|
|
354722
354720
|
foreground: DarkColorSchema,
|
|
354723
354721
|
background: LightColorSchema,
|
|
354724
354722
|
brand: BrandColorSchema,
|
|
354725
|
-
|
|
354726
|
-
brand3: Brand3ColorSchema,
|
|
354723
|
+
alternate: AlternateColorSchema,
|
|
354727
354724
|
accent: AccentColorSchema,
|
|
354728
354725
|
help: HelpColorSchema,
|
|
354729
354726
|
success: SuccessColorSchema,
|
|
@@ -354740,8 +354737,7 @@ var SingleThemeColorConfigSchema = z2.object({
|
|
|
354740
354737
|
dark: DarkColorSchema,
|
|
354741
354738
|
light: LightColorSchema,
|
|
354742
354739
|
brand: BrandColorSchema,
|
|
354743
|
-
|
|
354744
|
-
brand3: Brand3ColorSchema,
|
|
354740
|
+
alternate: AlternateColorSchema,
|
|
354745
354741
|
accent: AccentColorSchema,
|
|
354746
354742
|
help: HelpColorSchema,
|
|
354747
354743
|
success: SuccessColorSchema,
|
|
@@ -354847,29 +354843,25 @@ var COLOR_KEYS = [
|
|
|
354847
354843
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
354848
354844
|
import { join as join3 } from "node:path";
|
|
354849
354845
|
var DEFAULT_COLOR_CONFIG = {
|
|
354850
|
-
light: {
|
|
354851
|
-
background: "#
|
|
354852
|
-
foreground: "#
|
|
354853
|
-
brand: "#1fb2a6",
|
|
354854
|
-
|
|
354855
|
-
|
|
354856
|
-
|
|
354857
|
-
|
|
354858
|
-
|
|
354859
|
-
warning: "#e3b341",
|
|
354860
|
-
error: "#a40e26"
|
|
354846
|
+
"light": {
|
|
354847
|
+
"background": "#fafafa",
|
|
354848
|
+
"foreground": "#121212",
|
|
354849
|
+
"brand": "#1fb2a6",
|
|
354850
|
+
"help": "#5C4EE5",
|
|
354851
|
+
"success": "#087f5b",
|
|
354852
|
+
"info": "#0550ae",
|
|
354853
|
+
"warning": "#e3b341",
|
|
354854
|
+
"error": "#a40e26"
|
|
354861
354855
|
},
|
|
354862
|
-
dark: {
|
|
354863
|
-
background: "#
|
|
354864
|
-
foreground: "#
|
|
354865
|
-
brand: "#
|
|
354866
|
-
|
|
354867
|
-
|
|
354868
|
-
|
|
354869
|
-
|
|
354870
|
-
|
|
354871
|
-
warning: "#F3D371",
|
|
354872
|
-
error: "#d1242f"
|
|
354856
|
+
"dark": {
|
|
354857
|
+
"background": "#22272e",
|
|
354858
|
+
"foreground": "#f0f0f0",
|
|
354859
|
+
"brand": "#3fc1b0",
|
|
354860
|
+
"help": "#5C4EE5",
|
|
354861
|
+
"success": "#10b981",
|
|
354862
|
+
"info": "#58a6ff",
|
|
354863
|
+
"warning": "#f3d371",
|
|
354864
|
+
"error": "#d1242f"
|
|
354873
354865
|
}
|
|
354874
354866
|
};
|
|
354875
354867
|
var DEFAULT_STORM_CONFIG = {
|
|
@@ -355302,8 +355294,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
|
|
|
355302
355294
|
dark: process.env[`${prefix}DARK`],
|
|
355303
355295
|
light: process.env[`${prefix}LIGHT`],
|
|
355304
355296
|
brand: process.env[`${prefix}BRAND`],
|
|
355305
|
-
|
|
355306
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
355297
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
355307
355298
|
accent: process.env[`${prefix}ACCENT`],
|
|
355308
355299
|
help: process.env[`${prefix}HELP`],
|
|
355309
355300
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -355326,8 +355317,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
|
|
|
355326
355317
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
355327
355318
|
background: process.env[`${prefix}BACKGROUND`],
|
|
355328
355319
|
brand: process.env[`${prefix}BRAND`],
|
|
355329
|
-
|
|
355330
|
-
brand3: process.env[`${prefix}BRAND3`],
|
|
355320
|
+
alternate: process.env[`${prefix}ALTERNATE`],
|
|
355331
355321
|
accent: process.env[`${prefix}ACCENT`],
|
|
355332
355322
|
help: process.env[`${prefix}HELP`],
|
|
355333
355323
|
success: process.env[`${prefix}SUCCESS`],
|
|
@@ -355530,11 +355520,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
|
|
|
355530
355520
|
if (config.brand) {
|
|
355531
355521
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
355532
355522
|
}
|
|
355533
|
-
if (config.
|
|
355534
|
-
process.env[`${prefix}
|
|
355535
|
-
}
|
|
355536
|
-
if (config.brand3) {
|
|
355537
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
355523
|
+
if (config.alternate) {
|
|
355524
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
355538
355525
|
}
|
|
355539
355526
|
if (config.accent) {
|
|
355540
355527
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -355574,11 +355561,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
|
|
|
355574
355561
|
if (config.brand) {
|
|
355575
355562
|
process.env[`${prefix}BRAND`] = config.brand;
|
|
355576
355563
|
}
|
|
355577
|
-
if (config.
|
|
355578
|
-
process.env[`${prefix}
|
|
355579
|
-
}
|
|
355580
|
-
if (config.brand3) {
|
|
355581
|
-
process.env[`${prefix}BRAND3`] = config.brand3;
|
|
355564
|
+
if (config.alternate) {
|
|
355565
|
+
process.env[`${prefix}ALTERNATE`] = config.alternate;
|
|
355582
355566
|
}
|
|
355583
355567
|
if (config.accent) {
|
|
355584
355568
|
process.env[`${prefix}ACCENT`] = config.accent;
|
|
@@ -405986,7 +405970,7 @@ async function allAction({
|
|
|
405986
405970
|
manypkgArgs
|
|
405987
405971
|
}) {
|
|
405988
405972
|
try {
|
|
405989
|
-
|
|
405973
|
+
writeDebug("\u26A1 Linting the Storm Workspace", _config);
|
|
405990
405974
|
const promises4 = [];
|
|
405991
405975
|
if (!skipCspell) {
|
|
405992
405976
|
promises4.push(cspellAction({ cspellConfig }));
|
|
@@ -406066,7 +406050,7 @@ async function alexAction({
|
|
|
406066
406050
|
alexIgnore = "@storm-software/linting-tools/alex/.alexignore"
|
|
406067
406051
|
}) {
|
|
406068
406052
|
try {
|
|
406069
|
-
|
|
406053
|
+
writeDebug("\u26A1 Linting the workspace language with alexjs.com", _config);
|
|
406070
406054
|
const result = await runAlex(alexConfig, alexIgnore);
|
|
406071
406055
|
if (result) {
|
|
406072
406056
|
throw new Error(`Alex CLI Error Code: ${result}`);
|
|
@@ -406088,7 +406072,7 @@ ${e2.message}
|
|
|
406088
406072
|
}
|
|
406089
406073
|
async function depsVersionAction() {
|
|
406090
406074
|
try {
|
|
406091
|
-
|
|
406075
|
+
writeDebug(
|
|
406092
406076
|
"\u26A1 Linting the workspace dependency version consistency",
|
|
406093
406077
|
_config
|
|
406094
406078
|
);
|
|
@@ -406117,16 +406101,17 @@ ${e2.message} `,
|
|
|
406117
406101
|
}
|
|
406118
406102
|
async function circularDepsAction() {
|
|
406119
406103
|
try {
|
|
406120
|
-
|
|
406104
|
+
writeDebug("\u26A1 Linting the workspace circular dependency", _config);
|
|
406121
406105
|
const circulars = (0, import_dpdm.parseCircular)(
|
|
406122
|
-
await (0, import_dpdm.parseDependencyTree)(
|
|
406123
|
-
|
|
406124
|
-
|
|
406125
|
-
|
|
406126
|
-
|
|
406127
|
-
|
|
406128
|
-
|
|
406129
|
-
|
|
406106
|
+
await (0, import_dpdm.parseDependencyTree)(["**/*"], {
|
|
406107
|
+
exclude: new RegExp(
|
|
406108
|
+
"^(.*/(node_modules|dist|tmp|coverage|.nx|.cache|.next|__test__|__fixtures__)/).*"
|
|
406109
|
+
),
|
|
406110
|
+
extensions: [".ts", ".tsx"],
|
|
406111
|
+
tsconfig: "./tsconfig.base.json",
|
|
406112
|
+
transform: true,
|
|
406113
|
+
skipDynamicImports: false
|
|
406114
|
+
}),
|
|
406130
406115
|
true
|
|
406131
406116
|
);
|
|
406132
406117
|
if (circulars.length > 0) {
|
|
@@ -406157,7 +406142,7 @@ async function manypkgAction({
|
|
|
406157
406142
|
manypkgArgs = []
|
|
406158
406143
|
}) {
|
|
406159
406144
|
try {
|
|
406160
|
-
|
|
406145
|
+
writeDebug("\u26A1 Linting the workspace's packages with Manypkg", _config);
|
|
406161
406146
|
await runManypkg(manypkgType, manypkgArgs);
|
|
406162
406147
|
writeSuccess("Manypkg linting is complete \u2705", _config);
|
|
406163
406148
|
} catch (e2) {
|