@storm-software/eslint 0.160.22 → 0.160.24

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.160.20-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.160.22-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/dist/preset.js CHANGED
@@ -1916,7 +1916,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
1916
1916
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
1917
1917
  var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
1918
1918
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
1919
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
1920
1919
  var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
1921
1920
  var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
1922
1921
  var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
@@ -2004,7 +2003,7 @@ var SingleThemeColorConfigSchema = z.object({
2004
2003
  positive: PositiveColorSchema,
2005
2004
  negative: NegativeColorSchema
2006
2005
  });
2007
- var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
2006
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
2008
2007
  var RegistryConfigSchema = z.object({
2009
2008
  github: RegistryUrlConfigSchema,
2010
2009
  npm: RegistryUrlConfigSchema,
@@ -2031,18 +2030,18 @@ var WorkspaceBotConfigSchema = z.object({
2031
2030
  name: z.string().trim().default("stormie-bot").describe(
2032
2031
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
2033
2032
  ),
2034
- email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
2033
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
2035
2034
  }).describe(
2036
2035
  "The workspace's bot user's config used to automated various operations tasks"
2037
2036
  );
2038
2037
  var WorkspaceReleaseConfigSchema = z.object({
2039
- banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
2038
+ banner: z.string().trim().optional().describe(
2040
2039
  "A URL to a banner image used to display the workspace's release"
2041
2040
  ),
2042
2041
  header: z.string().trim().optional().describe(
2043
2042
  "A header message appended to the start of the workspace's release notes"
2044
2043
  ),
2045
- footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
2044
+ footer: z.string().trim().optional().describe(
2046
2045
  "A footer message appended to the end of the workspace's release notes"
2047
2046
  )
2048
2047
  }).describe("The workspace's release config used during the release process");
@@ -2074,19 +2073,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
2074
2073
  );
2075
2074
  var errorConfigSchema = z.object({
2076
2075
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
2077
- url: z.string().trim().url().optional().describe(
2076
+ url: z.url().optional().describe(
2078
2077
  "A URL to a page that looks up the workspace's error messages given a specific error code"
2079
2078
  )
2080
2079
  }).describe("The workspace's error config used during the error process");
2081
2080
  var organizationConfigSchema = z.object({
2082
2081
  name: z.string().trim().describe("The name of the organization"),
2083
2082
  description: z.string().trim().optional().describe("A description of the organization"),
2084
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
2085
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
2086
- url: z.string().trim().url().optional().describe(
2083
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
2084
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
2085
+ url: z.url().optional().describe(
2087
2086
  "A URL to a page that provides more information about the organization"
2088
2087
  )
2089
2088
  }).describe("The workspace's organization details");
2089
+ var MODE_OPTIONS = ["development", "staging", "production"];
2090
2090
  var stormWorkspaceConfigSchema = z.object({
2091
2091
  $schema: z.string().trim().default(
2092
2092
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -2103,12 +2103,12 @@ var stormWorkspaceConfigSchema = z.object({
2103
2103
  ),
2104
2104
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
2105
2105
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
2106
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
2107
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
2108
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
2109
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
2110
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
2111
- support: z.string().trim().url().optional().describe(
2106
+ homepage: z.url().optional().describe("The homepage of the workspace"),
2107
+ docs: z.url().optional().describe("The documentation site for the workspace"),
2108
+ portal: z.url().optional().describe("The development portal site for the workspace"),
2109
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
2110
+ contact: z.url().optional().describe("The contact site for the workspace"),
2111
+ support: z.url().optional().describe(
2112
2112
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
2113
2113
  ),
2114
2114
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -2118,7 +2118,7 @@ var stormWorkspaceConfigSchema = z.object({
2118
2118
  release: WorkspaceReleaseConfigSchema,
2119
2119
  socials: WorkspaceSocialsConfigSchema,
2120
2120
  error: errorConfigSchema,
2121
- mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
2121
+ mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
2122
2122
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
2123
2123
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
2124
2124
  directories: WorkspaceDirectoryConfigSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.160.22",
3
+ "version": "0.160.24",
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.6.0",
164
164
  "@nx/eslint-plugin": "21.0.3",
165
- "@storm-software/config": "^1.125.7",
166
- "@storm-software/config-tools": "^1.176.8",
165
+ "@storm-software/config": "^1.125.9",
166
+ "@storm-software/config-tools": "^1.176.10",
167
167
  "@stylistic/eslint-plugin": "^4.4.1",
168
168
  "@typescript-eslint/eslint-plugin": "^8.35.0",
169
169
  "@typescript-eslint/parser": "^8.35.0",
@@ -237,5 +237,5 @@
237
237
  },
238
238
  "publishConfig": { "access": "public" },
239
239
  "sideEffects": false,
240
- "gitHead": "b0d8f489b75626777c4ba65ba127298f9cafa3f0"
240
+ "gitHead": "ceaae9b6ba69f4bca0927a4d2e3084ee5fc4e71a"
241
241
  }