@storm-software/eslint 0.160.23 → 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.21-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
@@ -2003,7 +2003,7 @@ var SingleThemeColorConfigSchema = z.object({
2003
2003
  positive: PositiveColorSchema,
2004
2004
  negative: NegativeColorSchema
2005
2005
  });
2006
- 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");
2007
2007
  var RegistryConfigSchema = z.object({
2008
2008
  github: RegistryUrlConfigSchema,
2009
2009
  npm: RegistryUrlConfigSchema,
@@ -2030,7 +2030,7 @@ var WorkspaceBotConfigSchema = z.object({
2030
2030
  name: z.string().trim().default("stormie-bot").describe(
2031
2031
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
2032
2032
  ),
2033
- 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")
2034
2034
  }).describe(
2035
2035
  "The workspace's bot user's config used to automated various operations tasks"
2036
2036
  );
@@ -2073,19 +2073,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
2073
2073
  );
2074
2074
  var errorConfigSchema = z.object({
2075
2075
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
2076
- url: z.string().trim().url().optional().describe(
2076
+ url: z.url().optional().describe(
2077
2077
  "A URL to a page that looks up the workspace's error messages given a specific error code"
2078
2078
  )
2079
2079
  }).describe("The workspace's error config used during the error process");
2080
2080
  var organizationConfigSchema = z.object({
2081
2081
  name: z.string().trim().describe("The name of the organization"),
2082
2082
  description: z.string().trim().optional().describe("A description of the organization"),
2083
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
2084
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
2085
- 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(
2086
2086
  "A URL to a page that provides more information about the organization"
2087
2087
  )
2088
2088
  }).describe("The workspace's organization details");
2089
+ var MODE_OPTIONS = ["development", "staging", "production"];
2089
2090
  var stormWorkspaceConfigSchema = z.object({
2090
2091
  $schema: z.string().trim().default(
2091
2092
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -2102,12 +2103,12 @@ var stormWorkspaceConfigSchema = z.object({
2102
2103
  ),
2103
2104
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
2104
2105
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
2105
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
2106
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
2107
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
2108
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
2109
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
2110
- 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(
2111
2112
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
2112
2113
  ),
2113
2114
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -2117,7 +2118,7 @@ var stormWorkspaceConfigSchema = z.object({
2117
2118
  release: WorkspaceReleaseConfigSchema,
2118
2119
  socials: WorkspaceSocialsConfigSchema,
2119
2120
  error: errorConfigSchema,
2120
- 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"),
2121
2122
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
2122
2123
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
2123
2124
  directories: WorkspaceDirectoryConfigSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.160.23",
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.8",
166
- "@storm-software/config-tools": "^1.176.9",
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": "a8ed9927e278fdcef751286a496cea6a4727208a"
240
+ "gitHead": "ceaae9b6ba69f4bca0927a4d2e3084ee5fc4e71a"
241
241
  }