@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 +1 -1
- package/dist/preset.js +16 -16
- package/package.json +4 -4
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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.
|
|
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.
|
|
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().
|
|
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().
|
|
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.
|
|
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.
|
|
2085
|
-
icon: z.
|
|
2086
|
-
url: z.
|
|
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.
|
|
2107
|
-
docs: z.
|
|
2108
|
-
portal: z.
|
|
2109
|
-
licensing: z.
|
|
2110
|
-
contact: z.
|
|
2111
|
-
support: z.
|
|
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(
|
|
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.
|
|
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.
|
|
166
|
-
"@storm-software/config-tools": "^1.176.
|
|
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": "
|
|
240
|
+
"gitHead": "ceaae9b6ba69f4bca0927a4d2e3084ee5fc4e71a"
|
|
241
241
|
}
|