@storm-software/eslint 0.159.19 → 0.160.1

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-0.159.18-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-0.159.19-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 -->
@@ -28,17 +28,33 @@ var getFileBanner = (name = "", workspaceConfig) => {
28
28
  }).join(" ");
29
29
  }
30
30
  const license = (process.env.STORM_LICENSE || workspaceConfig?.license || "Apache-2.0").split(" ").filter((word) => word && word.toLowerCase() !== "license").join(" ");
31
+ const organization = process.env.STORM_ORG_NAME || process.env.STORM_ORGANIZATION_NAME || process.env.STORM_ORG || process.env.STORM_ORGANIZATION || (workspaceConfig?.organization && (typeof workspaceConfig.organization === "string" || typeof workspaceConfig.organization.name === "string") ? typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name : "storm-software");
31
32
  return ` -------------------------------------------------------------------
32
33
 
33
- ${padding}\u26A1 Storm Software ${titleName ? `- ${titleName}` : ""}
34
+ ${padding}\u26A1 ${(organization.charAt(0).toUpperCase() + organization.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
35
+ if (ACRONYMS_LIST.includes(word.toUpperCase())) {
36
+ return word.toUpperCase();
37
+ }
38
+ return word.charAt(0).toUpperCase() + word.slice(1);
39
+ }).join(" ")} ${titleName ? `- ${titleName}` : ""}
34
40
 
35
- This code was released as part of ${titleName ? `the ${titleName}` : "a Storm Software"} project. ${titleName ? titleName : "The project"}
36
- is maintained by Storm Software under the ${license} license, and is
41
+ This code was released as part of ${titleName ? `the ${titleName}` : `a ${(organization.charAt(0).toUpperCase() + organization.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
42
+ if (ACRONYMS_LIST.includes(word.toUpperCase())) {
43
+ return word.toUpperCase();
44
+ }
45
+ return word.charAt(0).toUpperCase() + word.slice(1);
46
+ }).join(" ")}`} project. ${titleName ? titleName : "The project"}
47
+ is maintained by ${(organization.charAt(0).toUpperCase() + organization.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => {
48
+ if (ACRONYMS_LIST.includes(word.toUpperCase())) {
49
+ return word.toUpperCase();
50
+ }
51
+ return word.charAt(0).toUpperCase() + word.slice(1);
52
+ }).join(" ")} under the ${license} license, and is
37
53
  free for commercial and private use. For more information, please visit
38
54
  our licensing page at ${process.env.STORM_LICENSING || workspaceConfig?.licensing || `https://stormsoftware.com/${name ? `projects/${name}/` : ""}license`}.
39
55
 
40
56
  Website: ${process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com"}
41
- Repository: ${process.env.STORM_REPOSITORY || workspaceConfig?.repository || `https://github.com/storm-software${name ? `/${name}` : ""}`}
57
+ Repository: ${process.env.STORM_REPOSITORY || workspaceConfig?.repository || `https://github.com/${organization}${name ? `/${name}` : ""}`}
42
58
  Documentation: ${process.env.STORM_DOCS || workspaceConfig?.docs || `https://docs.stormsoftware.com/${name ? `projects/${name}/` : ""}`}
43
59
  Contact: ${(process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com").endsWith("/") ? (process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com").slice(-1) : process.env.STORM_HOMEPAGE || workspaceConfig?.homepage || "https://stormsoftware.com"}/contact
44
60
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "./chunk-IEGLZ75U.js";
3
+ } from "./chunk-IKNCTFX4.js";
4
4
  import {
5
5
  GLOB_SRC
6
6
  } from "./chunk-QRXN4ZQR.js";
package/dist/preset.js CHANGED
@@ -11,10 +11,10 @@ import {
11
11
  } from "./chunk-S2VVDLUR.js";
12
12
  import {
13
13
  banner_plugin_default
14
- } from "./chunk-SSVAKJKX.js";
14
+ } from "./chunk-MMEG4ETM.js";
15
15
  import {
16
16
  getFileBanner
17
- } from "./chunk-IEGLZ75U.js";
17
+ } from "./chunk-IKNCTFX4.js";
18
18
  import {
19
19
  GLOB_ASTRO,
20
20
  GLOB_ASTRO_TS,
@@ -2089,9 +2089,9 @@ var organizationConfigSchema = z.object({
2089
2089
  }).describe("The workspace's organization details");
2090
2090
  var stormWorkspaceConfigSchema = z.object({
2091
2091
  $schema: z.string().trim().default(
2092
- "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
2093
- ).optional().nullish().describe(
2094
- "The URL to the JSON schema file that describes the Storm configuration file"
2092
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
2093
+ ).describe(
2094
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
2095
2095
  ),
2096
2096
  extends: ExtendsSchema.optional(),
2097
2097
  name: z.string().trim().toLowerCase().optional().describe(
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  banner_plugin_default
3
- } from "../chunk-SSVAKJKX.js";
4
- import "../chunk-IEGLZ75U.js";
3
+ } from "../chunk-MMEG4ETM.js";
4
+ import "../chunk-IKNCTFX4.js";
5
5
  import "../chunk-QRXN4ZQR.js";
6
6
  import "../chunk-KBMKJUYQ.js";
7
7
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFileBanner
3
- } from "../chunk-IEGLZ75U.js";
3
+ } from "../chunk-IKNCTFX4.js";
4
4
  import "../chunk-QRXN4ZQR.js";
5
5
  import "../chunk-KBMKJUYQ.js";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.159.19",
3
+ "version": "0.160.1",
4
4
  "type": "module",
5
5
  "description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {
@@ -162,8 +162,8 @@
162
162
  "@eslint/eslintrc": "^3.3.1",
163
163
  "@eslint/markdown": "^6.5.0",
164
164
  "@nx/eslint-plugin": "21.0.3",
165
- "@storm-software/config": "^1.123.2",
166
- "@storm-software/config-tools": "^1.174.1",
165
+ "@storm-software/config": "^1.124.2",
166
+ "@storm-software/config-tools": "^1.174.3",
167
167
  "@stylistic/eslint-plugin": "^4.4.1",
168
168
  "@typescript-eslint/eslint-plugin": "^8.34.1",
169
169
  "@typescript-eslint/parser": "^8.34.1",