@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 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.109.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.109.1-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.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.js");
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.js" }) {
1690
+ async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
1691
1691
  try {
1692
- console.log("\u26A1Linting the workspace spelling");
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
- console.log("\u26A1Linting the workspace CODEOWNERS file");
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.js");
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.js" }) {
1669
+ async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
1670
1670
  try {
1671
- console.log("\u26A1Linting the workspace spelling");
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
- console.log("\u26A1Linting the workspace CODEOWNERS file");
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.js");
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.js" }) {
1634
+ async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
1635
1635
  try {
1636
- console.log("\u26A1Linting the workspace spelling");
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
- console.log("\u26A1Linting the workspace CODEOWNERS file");
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.js");
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.js" }) {
1634
+ async function cspellAction({ cspellConfig = "@storm-software/linting-tools/cspell/config.json" }) {
1635
1635
  try {
1636
- console.log("\u26A1Linting the workspace spelling");
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
- console.log("\u26A1Linting the workspace CODEOWNERS file");
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.1",
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"