@storm-software/linting-tools 1.109.1 → 1.109.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/README.md +1 -1
- package/bin/lint.cjs +4 -4
- package/bin/lint.js +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +2 -4
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.cjs
CHANGED
|
@@ -1629,7 +1629,7 @@ function createProgram(config) {
|
|
|
1629
1629
|
const program = new import_commander.Command("storm-lint");
|
|
1630
1630
|
program.version("1.0.0", "-v --version", "display CLI version");
|
|
1631
1631
|
program.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
|
|
1632
|
-
const cspellConfig = new import_commander.Option("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.
|
|
1632
|
+
const cspellConfig = new import_commander.Option("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.json");
|
|
1633
1633
|
program.command("cspell").description("Run spell-check lint for the workspace.").addOption(cspellConfig).action(cspellAction);
|
|
1634
1634
|
const alexConfig = new import_commander.Option("--alex-config <file>", "Alex.js config file path").default("@storm-software/linting-tools/alex/.alexrc");
|
|
1635
1635
|
const alexIgnore = new import_commander.Option("--alex-ignore <file>", "Alex.js Ignore file path").default("@storm-software/linting-tools/alex/.alexignore");
|
|
@@ -1687,9 +1687,9 @@ async function allAction({ skipCspell, skipAlex, skipDepsVersion, skipCircularDe
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
__name(allAction, "allAction");
|
|
1690
|
-
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.
|
|
1690
|
+
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
|
|
1691
1691
|
try {
|
|
1692
|
-
|
|
1692
|
+
writeInfo("\u26A1Linting the workspace spelling");
|
|
1693
1693
|
const result = await (0, import_cspell.lint)([
|
|
1694
1694
|
"**/*.{txt,js,jsx,ts,tsx,md,mdx}"
|
|
1695
1695
|
], {
|
|
@@ -1721,7 +1721,7 @@ ${e.message}`, _config);
|
|
|
1721
1721
|
__name(cspellAction, "cspellAction");
|
|
1722
1722
|
async function codeownersAction() {
|
|
1723
1723
|
try {
|
|
1724
|
-
|
|
1724
|
+
writeInfo("\u26A1Linting the workspace CODEOWNERS file");
|
|
1725
1725
|
await runCodeowners();
|
|
1726
1726
|
writeSuccess("CODEOWNERS linting is complete \u2705", _config);
|
|
1727
1727
|
} catch (e) {
|
package/bin/lint.js
CHANGED
|
@@ -1608,7 +1608,7 @@ function createProgram(config) {
|
|
|
1608
1608
|
const program = new Command("storm-lint");
|
|
1609
1609
|
program.version("1.0.0", "-v --version", "display CLI version");
|
|
1610
1610
|
program.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
|
|
1611
|
-
const cspellConfig = new Option("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.
|
|
1611
|
+
const cspellConfig = new Option("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.json");
|
|
1612
1612
|
program.command("cspell").description("Run spell-check lint for the workspace.").addOption(cspellConfig).action(cspellAction);
|
|
1613
1613
|
const alexConfig = new Option("--alex-config <file>", "Alex.js config file path").default("@storm-software/linting-tools/alex/.alexrc");
|
|
1614
1614
|
const alexIgnore = new Option("--alex-ignore <file>", "Alex.js Ignore file path").default("@storm-software/linting-tools/alex/.alexignore");
|
|
@@ -1666,9 +1666,9 @@ async function allAction({ skipCspell, skipAlex, skipDepsVersion, skipCircularDe
|
|
|
1666
1666
|
}
|
|
1667
1667
|
}
|
|
1668
1668
|
__name(allAction, "allAction");
|
|
1669
|
-
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.
|
|
1669
|
+
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
|
|
1670
1670
|
try {
|
|
1671
|
-
|
|
1671
|
+
writeInfo("\u26A1Linting the workspace spelling");
|
|
1672
1672
|
const result = await lint([
|
|
1673
1673
|
"**/*.{txt,js,jsx,ts,tsx,md,mdx}"
|
|
1674
1674
|
], {
|
|
@@ -1700,7 +1700,7 @@ ${e.message}`, _config);
|
|
|
1700
1700
|
__name(cspellAction, "cspellAction");
|
|
1701
1701
|
async function codeownersAction() {
|
|
1702
1702
|
try {
|
|
1703
|
-
|
|
1703
|
+
writeInfo("\u26A1Linting the workspace CODEOWNERS file");
|
|
1704
1704
|
await runCodeowners();
|
|
1705
1705
|
writeSuccess("CODEOWNERS linting is complete \u2705", _config);
|
|
1706
1706
|
} catch (e) {
|
package/dist/index.cjs
CHANGED
|
@@ -1573,7 +1573,7 @@ function createProgram(config) {
|
|
|
1573
1573
|
const program = new (0, _commander.Command)("storm-lint");
|
|
1574
1574
|
program.version("1.0.0", "-v --version", "display CLI version");
|
|
1575
1575
|
program.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
|
|
1576
|
-
const cspellConfig = new (0, _commander.Option)("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.
|
|
1576
|
+
const cspellConfig = new (0, _commander.Option)("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.json");
|
|
1577
1577
|
program.command("cspell").description("Run spell-check lint for the workspace.").addOption(cspellConfig).action(cspellAction);
|
|
1578
1578
|
const alexConfig = new (0, _commander.Option)("--alex-config <file>", "Alex.js config file path").default("@storm-software/linting-tools/alex/.alexrc");
|
|
1579
1579
|
const alexIgnore = new (0, _commander.Option)("--alex-ignore <file>", "Alex.js Ignore file path").default("@storm-software/linting-tools/alex/.alexignore");
|
|
@@ -1631,9 +1631,9 @@ async function allAction({ skipCspell, skipAlex, skipDepsVersion, skipCircularDe
|
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
__name(allAction, "allAction");
|
|
1634
|
-
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.
|
|
1634
|
+
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
|
|
1635
1635
|
try {
|
|
1636
|
-
|
|
1636
|
+
writeInfo("\u26A1Linting the workspace spelling");
|
|
1637
1637
|
const result = await _cspell.lint.call(void 0, [
|
|
1638
1638
|
"**/*.{txt,js,jsx,ts,tsx,md,mdx}"
|
|
1639
1639
|
], {
|
|
@@ -1665,7 +1665,7 @@ ${e.message}`, _config);
|
|
|
1665
1665
|
__name(cspellAction, "cspellAction");
|
|
1666
1666
|
async function codeownersAction() {
|
|
1667
1667
|
try {
|
|
1668
|
-
|
|
1668
|
+
writeInfo("\u26A1Linting the workspace CODEOWNERS file");
|
|
1669
1669
|
await runCodeowners();
|
|
1670
1670
|
writeSuccess("CODEOWNERS linting is complete \u2705", _config);
|
|
1671
1671
|
} catch (e) {
|
package/dist/index.js
CHANGED
|
@@ -1573,7 +1573,7 @@ function createProgram(config) {
|
|
|
1573
1573
|
const program = new Command("storm-lint");
|
|
1574
1574
|
program.version("1.0.0", "-v --version", "display CLI version");
|
|
1575
1575
|
program.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
|
|
1576
|
-
const cspellConfig = new Option("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.
|
|
1576
|
+
const cspellConfig = new Option("--cspell-config <file>", "CSpell config file path").default("@storm-software/linting-tools/cspell/config.json");
|
|
1577
1577
|
program.command("cspell").description("Run spell-check lint for the workspace.").addOption(cspellConfig).action(cspellAction);
|
|
1578
1578
|
const alexConfig = new Option("--alex-config <file>", "Alex.js config file path").default("@storm-software/linting-tools/alex/.alexrc");
|
|
1579
1579
|
const alexIgnore = new Option("--alex-ignore <file>", "Alex.js Ignore file path").default("@storm-software/linting-tools/alex/.alexignore");
|
|
@@ -1631,9 +1631,9 @@ async function allAction({ skipCspell, skipAlex, skipDepsVersion, skipCircularDe
|
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
__name(allAction, "allAction");
|
|
1634
|
-
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.
|
|
1634
|
+
async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
|
|
1635
1635
|
try {
|
|
1636
|
-
|
|
1636
|
+
writeInfo("\u26A1Linting the workspace spelling");
|
|
1637
1637
|
const result = await lint([
|
|
1638
1638
|
"**/*.{txt,js,jsx,ts,tsx,md,mdx}"
|
|
1639
1639
|
], {
|
|
@@ -1665,7 +1665,7 @@ ${e.message}`, _config);
|
|
|
1665
1665
|
__name(cspellAction, "cspellAction");
|
|
1666
1666
|
async function codeownersAction() {
|
|
1667
1667
|
try {
|
|
1668
|
-
|
|
1668
|
+
writeInfo("\u26A1Linting the workspace CODEOWNERS file");
|
|
1669
1669
|
await runCodeowners();
|
|
1670
1670
|
writeSuccess("CODEOWNERS linting is complete \u2705", _config);
|
|
1671
1671
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.109.
|
|
3
|
+
"version": "1.109.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": {
|
|
@@ -102,12 +102,11 @@
|
|
|
102
102
|
"syncpack",
|
|
103
103
|
"zizmor"
|
|
104
104
|
],
|
|
105
|
-
"peerDependencies": { "@storm-software/cspell": "workspace:*" },
|
|
106
|
-
"peerDependenciesMeta": { "@storm-software/cspell": { "optional": false } },
|
|
107
105
|
"dependencies": {
|
|
108
106
|
"@angular-devkit/architect": "0.1900.6",
|
|
109
107
|
"@manypkg/cli": "0.21.4",
|
|
110
108
|
"@manypkg/get-packages": "2.2.1",
|
|
109
|
+
"@storm-software/cspell": "workspace:*",
|
|
111
110
|
"alex": "11.0.1",
|
|
112
111
|
"check-dependency-version-consistency": "4.1.0",
|
|
113
112
|
"commander": "^12.1.0",
|
|
@@ -127,7 +126,6 @@
|
|
|
127
126
|
"retext-equality": "7.1.0",
|
|
128
127
|
"retext-profanities": "8.0.0",
|
|
129
128
|
"spawndamnit": "2.0.0",
|
|
130
|
-
"tsconfig-paths": "4.2.0",
|
|
131
129
|
"unified": "11.0.5",
|
|
132
130
|
"unified-engine": "11.2.1",
|
|
133
131
|
"vfile-reporter": "8.1.1"
|