@storm-software/eslint 0.113.5 → 0.114.0

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.113.4-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.113.6-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.cjs CHANGED
@@ -141,6 +141,8 @@ var ColorConfigMapSchema = _zod2.default.union([
141
141
  }),
142
142
  _zod2.default.record(_zod2.default.string(), ColorConfigSchema)
143
143
  ]);
144
+ var ExtendsItemSchema = _zod2.default.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
145
+ var ExtendsSchema = ExtendsItemSchema.or(_zod2.default.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
144
146
  var WorkspaceBotConfigSchema = _zod2.default.object({
145
147
  name: _zod2.default.string().trim().default("Stormie-Bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
146
148
  email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
@@ -155,11 +157,11 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
155
157
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
156
158
  var StormConfigSchema = _zod2.default.object({
157
159
  $schema: _zod2.default.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
158
- extends: _zod2.default.string().trim().optional().describe("The path to a base JSON file to use as a configuration preset file"),
160
+ extends: ExtendsSchema.optional(),
159
161
  name: _zod2.default.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
160
162
  namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
161
163
  organization: _zod2.default.string().trim().default("storm-software").describe("The organization of the workspace"),
162
- repository: _zod2.default.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
164
+ repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
163
165
  license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
164
166
  homepage: _zod2.default.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
165
167
  docs: _zod2.default.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
@@ -204,6 +206,7 @@ var StormConfigSchema = _zod2.default.object({
204
206
 
205
207
  // ../config-tools/src/utilities/get-default-config.ts
206
208
  var _fs = require('fs');
209
+ var _promises = require('fs/promises');
207
210
  var _path = require('path');
208
211
 
209
212
  // ../config-tools/src/utilities/correct-paths.ts
package/dist/preset.js CHANGED
@@ -141,6 +141,8 @@ var ColorConfigMapSchema = z.union([
141
141
  }),
142
142
  z.record(z.string(), ColorConfigSchema)
143
143
  ]);
144
+ var ExtendsItemSchema = z.string().trim().describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
145
+ var ExtendsSchema = ExtendsItemSchema.or(z.array(ExtendsItemSchema)).describe("The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration.");
144
146
  var WorkspaceBotConfigSchema = z.object({
145
147
  name: z.string().trim().default("Stormie-Bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
146
148
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
@@ -155,11 +157,11 @@ var WorkspaceDirectoryConfigSchema = z.object({
155
157
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
156
158
  var StormConfigSchema = z.object({
157
159
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
158
- extends: z.string().trim().optional().describe("The path to a base JSON file to use as a configuration preset file"),
160
+ extends: ExtendsSchema.optional(),
159
161
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
160
162
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
161
163
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
162
- repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
164
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
163
165
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
164
166
  homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
165
167
  docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
@@ -203,7 +205,8 @@ var StormConfigSchema = z.object({
203
205
  }).describe("Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo.");
204
206
 
205
207
  // ../config-tools/src/utilities/get-default-config.ts
206
- import { existsSync as existsSync2, readFileSync } from "node:fs";
208
+ import { existsSync as existsSync2 } from "node:fs";
209
+ import { readFile } from "node:fs/promises";
207
210
  import { join as join2 } from "node:path";
208
211
 
209
212
  // ../config-tools/src/utilities/correct-paths.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.113.5",
3
+ "version": "0.114.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing the base ESLint configuration used by Storm Software across many projects.",
6
6
  "repository": {