@storm-software/eslint 0.160.37 → 0.160.44

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.
Files changed (3) hide show
  1. package/README.md +1 -2
  2. package/dist/preset.js +603 -523
  3. package/package.json +5 -5
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.35-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.42-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 -->
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
-
44
43
  ## Table of Contents
45
44
 
46
45
  - [Storm Base ESLint Package](#storm-base-eslint-package)
package/dist/preset.js CHANGED
@@ -1903,281 +1903,271 @@ var LogLevelLabel = {
1903
1903
  ALL: "all"
1904
1904
  };
1905
1905
 
1906
- // ../config-tools/src/utilities/get-default-config.ts
1906
+ // ../config-tools/src/utilities/colors.ts
1907
1907
  init_esm_shims();
1908
+ var DEFAULT_COLOR_CONFIG = {
1909
+ light: {
1910
+ background: "#fafafa",
1911
+ foreground: "#1d1e22",
1912
+ brand: "#1fb2a6",
1913
+ alternate: "#db2777",
1914
+ help: "#5C4EE5",
1915
+ success: "#087f5b",
1916
+ info: "#0550ae",
1917
+ warning: "#e3b341",
1918
+ danger: "#D8314A",
1919
+ fatal: "#51070f",
1920
+ link: "#3fa6ff",
1921
+ positive: "#22c55e",
1922
+ negative: "#dc2626",
1923
+ gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
1924
+ },
1925
+ dark: {
1926
+ background: "#1d1e22",
1927
+ foreground: "#cbd5e1",
1928
+ brand: "#2dd4bf",
1929
+ alternate: "#db2777",
1930
+ help: "#818cf8",
1931
+ success: "#10b981",
1932
+ info: "#58a6ff",
1933
+ warning: "#f3d371",
1934
+ danger: "#D8314A",
1935
+ fatal: "#a40e26",
1936
+ link: "#3fa6ff",
1937
+ positive: "#22c55e",
1938
+ negative: "#dc2626",
1939
+ gradient: ["#1fb2a6", "#db2777", "#818cf8"]
1940
+ }
1941
+ };
1908
1942
 
1909
- // ../config/src/index.ts
1943
+ // ../config-tools/src/logger/chalk.ts
1910
1944
  init_esm_shims();
1945
+ import chalk from "chalk";
1946
+ var chalkDefault = {
1947
+ hex: (_) => (message) => message,
1948
+ bgHex: (_) => ({
1949
+ whiteBright: (message) => message,
1950
+ white: (message) => message
1951
+ }),
1952
+ white: (message) => message,
1953
+ whiteBright: (message) => message,
1954
+ gray: (message) => message,
1955
+ bold: {
1956
+ hex: (_) => (message) => message,
1957
+ bgHex: (_) => ({
1958
+ whiteBright: (message) => message,
1959
+ white: (message) => message
1960
+ }),
1961
+ whiteBright: (message) => message,
1962
+ white: (message) => message
1963
+ },
1964
+ dim: {
1965
+ hex: (_) => (message) => message,
1966
+ gray: (message) => message
1967
+ }
1968
+ };
1969
+ var getChalk = () => {
1970
+ let _chalk = chalk;
1971
+ if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright || !_chalk?.white) {
1972
+ _chalk = chalkDefault;
1973
+ }
1974
+ return _chalk;
1975
+ };
1911
1976
 
1912
- // ../config/src/constants.ts
1977
+ // ../config-tools/src/logger/console-icons.ts
1913
1978
  init_esm_shims();
1914
- var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
1915
- var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
1916
- var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
1917
- var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
1918
- var STORM_DEFAULT_LICENSE = "Apache-2.0";
1919
- var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
1920
- var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
1921
- var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
1922
- var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
1923
- var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
1924
- var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
1925
- var STORM_DEFAULT_RELEASE_FOOTER = `
1926
- Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
1927
1979
 
1928
- Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
1980
+ // ../config-tools/src/logger/is-unicode-supported.ts
1981
+ init_esm_shims();
1982
+ function isUnicodeSupported() {
1983
+ if (process.platform !== "win32") {
1984
+ return process.env.TERM !== "linux";
1985
+ }
1986
+ return Boolean(process.env.WT_SESSION) || // Windows Terminal
1987
+ Boolean(process.env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
1988
+ process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
1989
+ process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
1990
+ }
1929
1991
 
1930
- If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_SOCIAL_SLACK}) channel!
1931
- `;
1932
- var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
1992
+ // ../config-tools/src/logger/console-icons.ts
1993
+ var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
1994
+ var CONSOLE_ICONS = {
1995
+ [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
1996
+ [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
1997
+ [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
1998
+ [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
1999
+ [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
2000
+ [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
2001
+ [LogLevelLabel.TRACE]: useIcon("\u{1F6E0}", "T"),
2002
+ [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
2003
+ };
1933
2004
 
1934
- // ../config/src/define-config.ts
2005
+ // ../config-tools/src/logger/format-timestamp.ts
1935
2006
  init_esm_shims();
2007
+ var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2008
+ return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2009
+ };
1936
2010
 
1937
- // ../config/src/schema.ts
2011
+ // ../config-tools/src/logger/get-log-level.ts
1938
2012
  init_esm_shims();
1939
- import * as z from "zod";
1940
- var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
1941
- var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
1942
- var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
1943
- var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
1944
- var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
1945
- var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
1946
- var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
1947
- var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
1948
- var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
1949
- var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
1950
- var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
1951
- var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
1952
- var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
1953
- var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
1954
- var DarkThemeColorConfigSchema = z.object({
1955
- foreground: LightColorSchema,
1956
- background: DarkColorSchema,
1957
- brand: BrandColorSchema,
1958
- alternate: AlternateColorSchema,
1959
- accent: AccentColorSchema,
1960
- link: LinkColorSchema,
1961
- help: HelpColorSchema,
1962
- success: SuccessColorSchema,
1963
- info: InfoColorSchema,
1964
- warning: WarningColorSchema,
1965
- danger: DangerColorSchema,
1966
- fatal: FatalColorSchema,
1967
- positive: PositiveColorSchema,
1968
- negative: NegativeColorSchema
1969
- });
1970
- var LightThemeColorConfigSchema = z.object({
1971
- foreground: DarkColorSchema,
1972
- background: LightColorSchema,
1973
- brand: BrandColorSchema,
1974
- alternate: AlternateColorSchema,
1975
- accent: AccentColorSchema,
1976
- link: LinkColorSchema,
1977
- help: HelpColorSchema,
1978
- success: SuccessColorSchema,
1979
- info: InfoColorSchema,
1980
- warning: WarningColorSchema,
1981
- danger: DangerColorSchema,
1982
- fatal: FatalColorSchema,
1983
- positive: PositiveColorSchema,
1984
- negative: NegativeColorSchema
1985
- });
1986
- var MultiThemeColorConfigSchema = z.object({
1987
- dark: DarkThemeColorConfigSchema,
1988
- light: LightThemeColorConfigSchema
1989
- });
1990
- var SingleThemeColorConfigSchema = z.object({
1991
- dark: DarkColorSchema,
1992
- light: LightColorSchema,
1993
- brand: BrandColorSchema,
1994
- alternate: AlternateColorSchema,
1995
- accent: AccentColorSchema,
1996
- link: LinkColorSchema,
1997
- help: HelpColorSchema,
1998
- success: SuccessColorSchema,
1999
- info: InfoColorSchema,
2000
- warning: WarningColorSchema,
2001
- danger: DangerColorSchema,
2002
- fatal: FatalColorSchema,
2003
- positive: PositiveColorSchema,
2004
- negative: NegativeColorSchema
2005
- });
2006
- var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
2007
- var RegistryConfigSchema = z.object({
2008
- github: RegistryUrlConfigSchema,
2009
- npm: RegistryUrlConfigSchema,
2010
- cargo: RegistryUrlConfigSchema,
2011
- cyclone: RegistryUrlConfigSchema,
2012
- container: RegistryUrlConfigSchema
2013
- }).default({}).describe("A list of remote registry URLs used by Storm Software");
2014
- var ColorConfigSchema = SingleThemeColorConfigSchema.or(
2015
- MultiThemeColorConfigSchema
2016
- ).describe("Colors used for various workspace elements");
2017
- var ColorConfigMapSchema = z.record(
2018
- z.union([z.literal("base"), z.string()]),
2019
- ColorConfigSchema
2020
- );
2021
- var ExtendsItemSchema = z.string().trim().describe(
2022
- "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."
2023
- );
2024
- var ExtendsSchema = ExtendsItemSchema.or(
2025
- z.array(ExtendsItemSchema)
2026
- ).describe(
2027
- "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."
2028
- );
2029
- var WorkspaceBotConfigSchema = z.object({
2030
- name: z.string().trim().default("stormie-bot").describe(
2031
- "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
2032
- ),
2033
- email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
2034
- }).describe(
2035
- "The workspace's bot user's config used to automated various operations tasks"
2036
- );
2037
- var WorkspaceReleaseConfigSchema = z.object({
2038
- banner: z.string().trim().optional().describe(
2039
- "A URL to a banner image used to display the workspace's release"
2040
- ),
2041
- header: z.string().trim().optional().describe(
2042
- "A header message appended to the start of the workspace's release notes"
2043
- ),
2044
- footer: z.string().trim().optional().describe(
2045
- "A footer message appended to the end of the workspace's release notes"
2046
- )
2047
- }).describe("The workspace's release config used during the release process");
2048
- var WorkspaceSocialsConfigSchema = z.object({
2049
- twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
2050
- discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
2051
- telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
2052
- slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
2053
- medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
2054
- github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
2055
- }).describe(
2056
- "The workspace's account config used to store various social media links"
2057
- );
2058
- var WorkspaceDirectoryConfigSchema = z.object({
2059
- cache: z.string().trim().optional().describe(
2060
- "The directory used to store the environment's cached file data"
2061
- ),
2062
- data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
2063
- config: z.string().trim().optional().describe(
2064
- "The directory used to store the environment's configuration files"
2065
- ),
2066
- temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
2067
- log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
2068
- build: z.string().trim().default("dist").describe(
2069
- "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
2070
- )
2071
- }).describe(
2072
- "Various directories used by the workspace to store data, cache, and configuration files"
2073
- );
2074
- var errorConfigSchema = z.object({
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.url().optional().describe(
2077
- "A URL to a page that looks up the workspace's error messages given a specific error code"
2078
- )
2079
- }).describe("The workspace's error config used during the error process");
2080
- var organizationConfigSchema = z.object({
2081
- name: z.string().trim().describe("The name of the organization"),
2082
- description: z.string().trim().optional().describe("A description of the organization"),
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
- "A URL to a page that provides more information about the organization"
2087
- )
2088
- }).describe("The workspace's organization details");
2089
- var stormWorkspaceConfigSchema = z.object({
2090
- $schema: z.string().trim().default(
2091
- "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
2092
- ).describe(
2093
- "The URL or file path to the JSON schema file that describes the Storm configuration file"
2094
- ),
2095
- extends: ExtendsSchema.optional(),
2096
- name: z.string().trim().toLowerCase().optional().describe(
2097
- "The name of the service/package/scope using this configuration"
2098
- ),
2099
- namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
2100
- organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
2101
- "The organization of the workspace. This can be a string or an object containing the organization's details"
2102
- ),
2103
- repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
2104
- license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
2105
- homepage: z.url().optional().describe("The homepage of the workspace"),
2106
- docs: z.url().optional().describe("The documentation site for the workspace"),
2107
- portal: z.url().optional().describe("The development portal site for the workspace"),
2108
- licensing: z.url().optional().describe("The licensing site for the workspace"),
2109
- contact: z.url().optional().describe("The contact site for the workspace"),
2110
- support: z.url().optional().describe(
2111
- "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
2112
- ),
2113
- branch: z.string().trim().default("main").describe("The branch of the workspace"),
2114
- preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
2115
- owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
2116
- bot: WorkspaceBotConfigSchema,
2117
- release: WorkspaceReleaseConfigSchema,
2118
- socials: WorkspaceSocialsConfigSchema,
2119
- error: errorConfigSchema,
2120
- mode: z.string().trim().default("production").describe("The current runtime environment mode for the package"),
2121
- workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
2122
- skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
2123
- directories: WorkspaceDirectoryConfigSchema,
2124
- packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
2125
- "The JavaScript/TypeScript package manager used by the repository"
2126
- ),
2127
- timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
2128
- locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
2129
- logLevel: z.enum([
2130
- "silent",
2131
- "fatal",
2132
- "error",
2133
- "warn",
2134
- "success",
2135
- "info",
2136
- "debug",
2137
- "trace",
2138
- "all"
2139
- ]).default("info").describe(
2140
- "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
2141
- ),
2142
- skipConfigLogging: z.boolean().optional().describe(
2143
- "Should the logging of the current Storm Workspace configuration be skipped?"
2144
- ),
2145
- registry: RegistryConfigSchema,
2146
- configFile: z.string().trim().nullable().default(null).describe(
2147
- "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
2148
- ),
2149
- colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
2150
- "Storm theme config values used for styling various package elements"
2151
- ),
2152
- extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
2153
- }).describe(
2154
- "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."
2155
- );
2013
+ var getLogLevel = (label) => {
2014
+ switch (label) {
2015
+ case "all":
2016
+ return LogLevel.ALL;
2017
+ case "trace":
2018
+ return LogLevel.TRACE;
2019
+ case "debug":
2020
+ return LogLevel.DEBUG;
2021
+ case "info":
2022
+ return LogLevel.INFO;
2023
+ case "warn":
2024
+ return LogLevel.WARN;
2025
+ case "error":
2026
+ return LogLevel.ERROR;
2027
+ case "fatal":
2028
+ return LogLevel.FATAL;
2029
+ case "silent":
2030
+ return LogLevel.SILENT;
2031
+ default:
2032
+ return LogLevel.INFO;
2033
+ }
2034
+ };
2035
+ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
2036
+ if (logLevel >= LogLevel.ALL) {
2037
+ return LogLevelLabel.ALL;
2038
+ }
2039
+ if (logLevel >= LogLevel.TRACE) {
2040
+ return LogLevelLabel.TRACE;
2041
+ }
2042
+ if (logLevel >= LogLevel.DEBUG) {
2043
+ return LogLevelLabel.DEBUG;
2044
+ }
2045
+ if (logLevel >= LogLevel.INFO) {
2046
+ return LogLevelLabel.INFO;
2047
+ }
2048
+ if (logLevel >= LogLevel.WARN) {
2049
+ return LogLevelLabel.WARN;
2050
+ }
2051
+ if (logLevel >= LogLevel.ERROR) {
2052
+ return LogLevelLabel.ERROR;
2053
+ }
2054
+ if (logLevel >= LogLevel.FATAL) {
2055
+ return LogLevelLabel.FATAL;
2056
+ }
2057
+ if (logLevel <= LogLevel.SILENT) {
2058
+ return LogLevelLabel.SILENT;
2059
+ }
2060
+ return LogLevelLabel.INFO;
2061
+ };
2156
2062
 
2157
- // ../config/src/types.ts
2158
- init_esm_shims();
2159
- var COLOR_KEYS = [
2160
- "dark",
2161
- "light",
2162
- "base",
2163
- "brand",
2164
- "alternate",
2165
- "accent",
2166
- "link",
2167
- "success",
2168
- "help",
2169
- "info",
2170
- "warning",
2171
- "danger",
2172
- "fatal",
2173
- "positive",
2174
- "negative"
2175
- ];
2063
+ // ../config-tools/src/logger/console.ts
2064
+ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, _chalk = getChalk()) => {
2065
+ const colors = !config2.colors?.dark && !config2.colors?.["base"] && !config2.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config2.colors?.dark && typeof config2.colors.dark === "string" ? config2.colors : config2.colors?.["base"]?.dark && typeof config2.colors["base"].dark === "string" ? config2.colors["base"].dark : config2.colors?.["base"] ? config2.colors?.["base"] : DEFAULT_COLOR_CONFIG;
2066
+ const configLogLevel = config2.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
2067
+ if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
2068
+ return (_) => {
2069
+ };
2070
+ }
2071
+ if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
2072
+ return (message) => {
2073
+ console.error(
2074
+ `
2075
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2076
+ `
2077
+ );
2078
+ };
2079
+ }
2080
+ if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
2081
+ return (message) => {
2082
+ console.error(
2083
+ `
2084
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2085
+ `
2086
+ );
2087
+ };
2088
+ }
2089
+ if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
2090
+ return (message) => {
2091
+ console.warn(
2092
+ `
2093
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2094
+ `
2095
+ );
2096
+ };
2097
+ }
2098
+ if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
2099
+ return (message) => {
2100
+ console.info(
2101
+ `
2102
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2103
+ `
2104
+ );
2105
+ };
2106
+ }
2107
+ if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
2108
+ return (message) => {
2109
+ console.info(
2110
+ `
2111
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2112
+ `
2113
+ );
2114
+ };
2115
+ }
2116
+ if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
2117
+ return (message) => {
2118
+ console.debug(
2119
+ `
2120
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2121
+ `
2122
+ );
2123
+ };
2124
+ }
2125
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
2126
+ return (message) => {
2127
+ console.debug(
2128
+ `
2129
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2130
+ `
2131
+ );
2132
+ };
2133
+ }
2134
+ return (message) => {
2135
+ console.log(
2136
+ `
2137
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2138
+ `
2139
+ );
2140
+ };
2141
+ };
2142
+ var writeWarning = (message, config2) => getLogFn(LogLevel.WARN, config2)(message);
2143
+ var writeTrace = (message, config2) => getLogFn(LogLevel.TRACE, config2)(message);
2144
+ var MAX_DEPTH = 4;
2145
+ var formatLogMessage = (message, options = {}, depth2 = 0) => {
2146
+ if (depth2 > MAX_DEPTH) {
2147
+ return "<max depth>";
2148
+ }
2149
+ const prefix = options.prefix ?? "-";
2150
+ const skip = options.skip ?? [];
2151
+ return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
2152
+ ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
2153
+ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
2154
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
2155
+ message[key],
2156
+ { prefix: `${prefix}-`, skip },
2157
+ depth2 + 1
2158
+ ) : message[key]}`
2159
+ ).join("\n")}` : message;
2160
+ };
2161
+ var _isFunction = (value) => {
2162
+ try {
2163
+ return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
2164
+ } catch {
2165
+ return false;
2166
+ }
2167
+ };
2176
2168
 
2177
- // ../config-tools/src/utilities/get-default-config.ts
2178
- import { existsSync as existsSync3 } from "node:fs";
2179
- import { readFile } from "node:fs/promises";
2180
- import { join as join2 } from "node:path";
2169
+ // ../config-tools/src/utilities/find-workspace-root.ts
2170
+ init_esm_shims();
2181
2171
 
2182
2172
  // ../config-tools/src/utilities/correct-paths.ts
2183
2173
  init_esm_shims();
@@ -2305,9 +2295,6 @@ var isAbsolute = function(p) {
2305
2295
  return _IS_ABSOLUTE_RE.test(p);
2306
2296
  };
2307
2297
 
2308
- // ../config-tools/src/utilities/find-workspace-root.ts
2309
- init_esm_shims();
2310
-
2311
2298
  // ../config-tools/src/utilities/find-up.ts
2312
2299
  init_esm_shims();
2313
2300
  import { existsSync as existsSync2 } from "node:fs";
@@ -2335,7 +2322,6 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
2335
2322
 
2336
2323
  // ../config-tools/src/utilities/find-workspace-root.ts
2337
2324
  var rootFiles = [
2338
- "storm-workspace.json",
2339
2325
  "storm-workspace.json",
2340
2326
  "storm-workspace.yaml",
2341
2327
  "storm-workspace.yml",
@@ -2405,34 +2391,315 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
2405
2391
  }
2406
2392
 
2407
2393
  // ../config-tools/src/utilities/get-default-config.ts
2408
- var DEFAULT_COLOR_CONFIG = {
2409
- light: {
2410
- background: "#fafafa",
2411
- foreground: "#1d1e22",
2412
- brand: "#1fb2a6",
2413
- alternate: "#db2777",
2414
- help: "#5C4EE5",
2415
- success: "#087f5b",
2416
- info: "#0550ae",
2417
- warning: "#e3b341",
2418
- danger: "#D8314A",
2419
- positive: "#22c55e",
2420
- negative: "#dc2626"
2421
- },
2422
- dark: {
2423
- background: "#1d1e22",
2424
- foreground: "#cbd5e1",
2425
- brand: "#2dd4bf",
2426
- alternate: "#db2777",
2427
- help: "#818cf8",
2428
- success: "#10b981",
2429
- info: "#58a6ff",
2430
- warning: "#f3d371",
2431
- danger: "#D8314A",
2432
- positive: "#22c55e",
2433
- negative: "#dc2626"
2434
- }
2435
- };
2394
+ init_esm_shims();
2395
+
2396
+ // ../config/src/index.ts
2397
+ init_esm_shims();
2398
+
2399
+ // ../config/src/constants.ts
2400
+ init_esm_shims();
2401
+ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
2402
+ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
2403
+ var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
2404
+ var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
2405
+ var STORM_DEFAULT_LICENSE = "Apache-2.0";
2406
+ var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
2407
+ var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
2408
+ var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
2409
+ var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
2410
+ var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
2411
+ var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
2412
+ var STORM_DEFAULT_RELEASE_FOOTER = `
2413
+ Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
2414
+
2415
+ Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
2416
+
2417
+ If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_SOCIAL_SLACK}) channel!
2418
+ `;
2419
+ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
2420
+
2421
+ // ../config/src/define-config.ts
2422
+ init_esm_shims();
2423
+
2424
+ // ../config/src/schema.ts
2425
+ init_esm_shims();
2426
+ import * as z from "zod";
2427
+ var ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7);
2428
+ var DarkColorSchema = ColorSchema.default("#151718").describe(
2429
+ "The dark background color of the workspace"
2430
+ );
2431
+ var LightColorSchema = ColorSchema.default("#cbd5e1").describe(
2432
+ "The light background color of the workspace"
2433
+ );
2434
+ var BrandColorSchema = ColorSchema.default("#1fb2a6").describe(
2435
+ "The primary brand specific color of the workspace"
2436
+ );
2437
+ var AlternateColorSchema = ColorSchema.optional().describe(
2438
+ "The alternate brand specific color of the workspace"
2439
+ );
2440
+ var AccentColorSchema = ColorSchema.optional().describe(
2441
+ "The secondary brand specific color of the workspace"
2442
+ );
2443
+ var LinkColorSchema = ColorSchema.default("#3fa6ff").describe(
2444
+ "The color used to display hyperlink text"
2445
+ );
2446
+ var HelpColorSchema = ColorSchema.default("#818cf8").describe(
2447
+ "The second brand specific color of the workspace"
2448
+ );
2449
+ var SuccessColorSchema = ColorSchema.default("#45b27e").describe(
2450
+ "The success color of the workspace"
2451
+ );
2452
+ var InfoColorSchema = ColorSchema.default("#38bdf8").describe(
2453
+ "The informational color of the workspace"
2454
+ );
2455
+ var WarningColorSchema = ColorSchema.default("#f3d371").describe(
2456
+ "The warning color of the workspace"
2457
+ );
2458
+ var DangerColorSchema = ColorSchema.default("#d8314a").describe(
2459
+ "The danger color of the workspace"
2460
+ );
2461
+ var FatalColorSchema = ColorSchema.optional().describe(
2462
+ "The fatal color of the workspace"
2463
+ );
2464
+ var PositiveColorSchema = ColorSchema.default("#4ade80").describe(
2465
+ "The positive number color of the workspace"
2466
+ );
2467
+ var NegativeColorSchema = ColorSchema.default("#ef4444").describe(
2468
+ "The negative number color of the workspace"
2469
+ );
2470
+ var GradientStopsSchema = z.array(ColorSchema).optional().describe(
2471
+ "The color stops for the base gradient color pattern used in the workspace"
2472
+ );
2473
+ var DarkThemeColorConfigSchema = z.object({
2474
+ foreground: LightColorSchema,
2475
+ background: DarkColorSchema,
2476
+ brand: BrandColorSchema,
2477
+ alternate: AlternateColorSchema,
2478
+ accent: AccentColorSchema,
2479
+ link: LinkColorSchema,
2480
+ help: HelpColorSchema,
2481
+ success: SuccessColorSchema,
2482
+ info: InfoColorSchema,
2483
+ warning: WarningColorSchema,
2484
+ danger: DangerColorSchema,
2485
+ fatal: FatalColorSchema,
2486
+ positive: PositiveColorSchema,
2487
+ negative: NegativeColorSchema,
2488
+ gradient: GradientStopsSchema
2489
+ });
2490
+ var LightThemeColorConfigSchema = z.object({
2491
+ foreground: DarkColorSchema,
2492
+ background: LightColorSchema,
2493
+ brand: BrandColorSchema,
2494
+ alternate: AlternateColorSchema,
2495
+ accent: AccentColorSchema,
2496
+ link: LinkColorSchema,
2497
+ help: HelpColorSchema,
2498
+ success: SuccessColorSchema,
2499
+ info: InfoColorSchema,
2500
+ warning: WarningColorSchema,
2501
+ danger: DangerColorSchema,
2502
+ fatal: FatalColorSchema,
2503
+ positive: PositiveColorSchema,
2504
+ negative: NegativeColorSchema,
2505
+ gradient: GradientStopsSchema
2506
+ });
2507
+ var MultiThemeColorConfigSchema = z.object({
2508
+ dark: DarkThemeColorConfigSchema,
2509
+ light: LightThemeColorConfigSchema
2510
+ });
2511
+ var SingleThemeColorConfigSchema = z.object({
2512
+ dark: DarkColorSchema,
2513
+ light: LightColorSchema,
2514
+ brand: BrandColorSchema,
2515
+ alternate: AlternateColorSchema,
2516
+ accent: AccentColorSchema,
2517
+ link: LinkColorSchema,
2518
+ help: HelpColorSchema,
2519
+ success: SuccessColorSchema,
2520
+ info: InfoColorSchema,
2521
+ warning: WarningColorSchema,
2522
+ danger: DangerColorSchema,
2523
+ fatal: FatalColorSchema,
2524
+ positive: PositiveColorSchema,
2525
+ negative: NegativeColorSchema,
2526
+ gradient: GradientStopsSchema
2527
+ });
2528
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
2529
+ var RegistryConfigSchema = z.object({
2530
+ github: RegistryUrlConfigSchema,
2531
+ npm: RegistryUrlConfigSchema,
2532
+ cargo: RegistryUrlConfigSchema,
2533
+ cyclone: RegistryUrlConfigSchema,
2534
+ container: RegistryUrlConfigSchema
2535
+ }).default({}).describe("A list of remote registry URLs used by Storm Software");
2536
+ var ColorConfigSchema = SingleThemeColorConfigSchema.or(
2537
+ MultiThemeColorConfigSchema
2538
+ ).describe("Colors used for various workspace elements");
2539
+ var ColorConfigMapSchema = z.record(
2540
+ z.union([z.literal("base"), z.string()]),
2541
+ ColorConfigSchema
2542
+ );
2543
+ var ExtendsItemSchema = z.string().trim().describe(
2544
+ "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."
2545
+ );
2546
+ var ExtendsSchema = ExtendsItemSchema.or(
2547
+ z.array(ExtendsItemSchema)
2548
+ ).describe(
2549
+ "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."
2550
+ );
2551
+ var WorkspaceBotConfigSchema = z.object({
2552
+ name: z.string().trim().default("stormie-bot").describe(
2553
+ "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
2554
+ ),
2555
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
2556
+ }).describe(
2557
+ "The workspace's bot user's config used to automated various operations tasks"
2558
+ );
2559
+ var WorkspaceReleaseConfigSchema = z.object({
2560
+ banner: z.string().trim().optional().describe(
2561
+ "A URL to a banner image used to display the workspace's release"
2562
+ ),
2563
+ header: z.string().trim().optional().describe(
2564
+ "A header message appended to the start of the workspace's release notes"
2565
+ ),
2566
+ footer: z.string().trim().optional().describe(
2567
+ "A footer message appended to the end of the workspace's release notes"
2568
+ )
2569
+ }).describe("The workspace's release config used during the release process");
2570
+ var WorkspaceSocialsConfigSchema = z.object({
2571
+ twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
2572
+ discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
2573
+ telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
2574
+ slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
2575
+ medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
2576
+ github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
2577
+ }).describe(
2578
+ "The workspace's account config used to store various social media links"
2579
+ );
2580
+ var WorkspaceDirectoryConfigSchema = z.object({
2581
+ cache: z.string().trim().optional().describe(
2582
+ "The directory used to store the environment's cached file data"
2583
+ ),
2584
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
2585
+ config: z.string().trim().optional().describe(
2586
+ "The directory used to store the environment's configuration files"
2587
+ ),
2588
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
2589
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
2590
+ build: z.string().trim().default("dist").describe(
2591
+ "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
2592
+ )
2593
+ }).describe(
2594
+ "Various directories used by the workspace to store data, cache, and configuration files"
2595
+ );
2596
+ var errorConfigSchema = z.object({
2597
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
2598
+ url: z.url().optional().describe(
2599
+ "A URL to a page that looks up the workspace's error messages given a specific error code"
2600
+ )
2601
+ }).describe("The workspace's error config used during the error process");
2602
+ var organizationConfigSchema = z.object({
2603
+ name: z.string().trim().describe("The name of the organization"),
2604
+ description: z.string().trim().optional().describe("A description of the organization"),
2605
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
2606
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
2607
+ url: z.url().optional().describe(
2608
+ "A URL to a page that provides more information about the organization"
2609
+ )
2610
+ }).describe("The workspace's organization details");
2611
+ var stormWorkspaceConfigSchema = z.object({
2612
+ $schema: z.string().trim().default(
2613
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
2614
+ ).describe(
2615
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
2616
+ ),
2617
+ extends: ExtendsSchema.optional(),
2618
+ name: z.string().trim().toLowerCase().optional().describe(
2619
+ "The name of the service/package/scope using this configuration"
2620
+ ),
2621
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
2622
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
2623
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
2624
+ ),
2625
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
2626
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
2627
+ homepage: z.url().optional().describe("The homepage of the workspace"),
2628
+ docs: z.url().optional().describe("The documentation site for the workspace"),
2629
+ portal: z.url().optional().describe("The development portal site for the workspace"),
2630
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
2631
+ contact: z.url().optional().describe("The contact site for the workspace"),
2632
+ support: z.url().optional().describe(
2633
+ "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
2634
+ ),
2635
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
2636
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
2637
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
2638
+ bot: WorkspaceBotConfigSchema,
2639
+ release: WorkspaceReleaseConfigSchema,
2640
+ socials: WorkspaceSocialsConfigSchema,
2641
+ error: errorConfigSchema,
2642
+ mode: z.string().trim().default("production").describe("The current runtime environment mode for the package"),
2643
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
2644
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
2645
+ directories: WorkspaceDirectoryConfigSchema,
2646
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
2647
+ "The JavaScript/TypeScript package manager used by the repository"
2648
+ ),
2649
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
2650
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
2651
+ logLevel: z.enum([
2652
+ "silent",
2653
+ "fatal",
2654
+ "error",
2655
+ "warn",
2656
+ "success",
2657
+ "info",
2658
+ "debug",
2659
+ "trace",
2660
+ "all"
2661
+ ]).default("info").describe(
2662
+ "The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
2663
+ ),
2664
+ skipConfigLogging: z.boolean().optional().describe(
2665
+ "Should the logging of the current Storm Workspace configuration be skipped?"
2666
+ ),
2667
+ registry: RegistryConfigSchema,
2668
+ configFile: z.string().trim().nullable().default(null).describe(
2669
+ "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
2670
+ ),
2671
+ colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
2672
+ "Storm theme config values used for styling various package elements"
2673
+ ),
2674
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
2675
+ }).describe(
2676
+ "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."
2677
+ );
2678
+
2679
+ // ../config/src/types.ts
2680
+ init_esm_shims();
2681
+ var COLOR_KEYS = [
2682
+ "dark",
2683
+ "light",
2684
+ "base",
2685
+ "brand",
2686
+ "alternate",
2687
+ "accent",
2688
+ "link",
2689
+ "success",
2690
+ "help",
2691
+ "info",
2692
+ "warning",
2693
+ "danger",
2694
+ "fatal",
2695
+ "positive",
2696
+ "negative"
2697
+ ];
2698
+
2699
+ // ../config-tools/src/utilities/get-default-config.ts
2700
+ import { existsSync as existsSync3 } from "node:fs";
2701
+ import { readFile } from "node:fs/promises";
2702
+ import { join as join2 } from "node:path";
2436
2703
  async function getPackageJsonConfig(root) {
2437
2704
  let license = STORM_DEFAULT_LICENSE;
2438
2705
  let homepage = void 0;
@@ -2516,232 +2783,6 @@ function applyDefaultConfig(config2) {
2516
2783
  return config2;
2517
2784
  }
2518
2785
 
2519
- // ../config-tools/src/logger/chalk.ts
2520
- init_esm_shims();
2521
- import chalk from "chalk";
2522
- var chalkDefault = {
2523
- hex: (_) => (message) => message,
2524
- bgHex: (_) => ({
2525
- whiteBright: (message) => message,
2526
- white: (message) => message
2527
- }),
2528
- white: (message) => message,
2529
- whiteBright: (message) => message,
2530
- gray: (message) => message,
2531
- bold: {
2532
- hex: (_) => (message) => message,
2533
- bgHex: (_) => ({
2534
- whiteBright: (message) => message,
2535
- white: (message) => message
2536
- }),
2537
- whiteBright: (message) => message,
2538
- white: (message) => message
2539
- },
2540
- dim: {
2541
- hex: (_) => (message) => message,
2542
- gray: (message) => message
2543
- }
2544
- };
2545
- var getChalk = () => {
2546
- let _chalk = chalk;
2547
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright || !_chalk?.white) {
2548
- _chalk = chalkDefault;
2549
- }
2550
- return _chalk;
2551
- };
2552
-
2553
- // ../config-tools/src/logger/console-icons.ts
2554
- init_esm_shims();
2555
-
2556
- // ../config-tools/src/logger/is-unicode-supported.ts
2557
- init_esm_shims();
2558
- function isUnicodeSupported() {
2559
- if (process.platform !== "win32") {
2560
- return process.env.TERM !== "linux";
2561
- }
2562
- return Boolean(process.env.WT_SESSION) || // Windows Terminal
2563
- Boolean(process.env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
2564
- process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
2565
- process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2566
- }
2567
-
2568
- // ../config-tools/src/logger/console-icons.ts
2569
- var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
2570
- var CONSOLE_ICONS = {
2571
- [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
2572
- [LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
2573
- [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
2574
- [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
2575
- [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
2576
- [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
2577
- [LogLevelLabel.TRACE]: useIcon("\u{1F6E0}", "T"),
2578
- [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
2579
- };
2580
-
2581
- // ../config-tools/src/logger/format-timestamp.ts
2582
- init_esm_shims();
2583
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2584
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2585
- };
2586
-
2587
- // ../config-tools/src/logger/get-log-level.ts
2588
- init_esm_shims();
2589
- var getLogLevel = (label) => {
2590
- switch (label) {
2591
- case "all":
2592
- return LogLevel.ALL;
2593
- case "trace":
2594
- return LogLevel.TRACE;
2595
- case "debug":
2596
- return LogLevel.DEBUG;
2597
- case "info":
2598
- return LogLevel.INFO;
2599
- case "warn":
2600
- return LogLevel.WARN;
2601
- case "error":
2602
- return LogLevel.ERROR;
2603
- case "fatal":
2604
- return LogLevel.FATAL;
2605
- case "silent":
2606
- return LogLevel.SILENT;
2607
- default:
2608
- return LogLevel.INFO;
2609
- }
2610
- };
2611
- var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
2612
- if (logLevel >= LogLevel.ALL) {
2613
- return LogLevelLabel.ALL;
2614
- }
2615
- if (logLevel >= LogLevel.TRACE) {
2616
- return LogLevelLabel.TRACE;
2617
- }
2618
- if (logLevel >= LogLevel.DEBUG) {
2619
- return LogLevelLabel.DEBUG;
2620
- }
2621
- if (logLevel >= LogLevel.INFO) {
2622
- return LogLevelLabel.INFO;
2623
- }
2624
- if (logLevel >= LogLevel.WARN) {
2625
- return LogLevelLabel.WARN;
2626
- }
2627
- if (logLevel >= LogLevel.ERROR) {
2628
- return LogLevelLabel.ERROR;
2629
- }
2630
- if (logLevel >= LogLevel.FATAL) {
2631
- return LogLevelLabel.FATAL;
2632
- }
2633
- if (logLevel <= LogLevel.SILENT) {
2634
- return LogLevelLabel.SILENT;
2635
- }
2636
- return LogLevelLabel.INFO;
2637
- };
2638
-
2639
- // ../config-tools/src/logger/console.ts
2640
- var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, _chalk = getChalk()) => {
2641
- const colors = !config2.colors?.dark && !config2.colors?.["base"] && !config2.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config2.colors?.dark && typeof config2.colors.dark === "string" ? config2.colors : config2.colors?.["base"]?.dark && typeof config2.colors["base"].dark === "string" ? config2.colors["base"].dark : config2.colors?.["base"] ? config2.colors?.["base"] : DEFAULT_COLOR_CONFIG;
2642
- const configLogLevel = config2.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
2643
- if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
2644
- return (_) => {
2645
- };
2646
- }
2647
- if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
2648
- return (message) => {
2649
- console.error(
2650
- `
2651
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2652
- `
2653
- );
2654
- };
2655
- }
2656
- if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
2657
- return (message) => {
2658
- console.error(
2659
- `
2660
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2661
- `
2662
- );
2663
- };
2664
- }
2665
- if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
2666
- return (message) => {
2667
- console.warn(
2668
- `
2669
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2670
- `
2671
- );
2672
- };
2673
- }
2674
- if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
2675
- return (message) => {
2676
- console.info(
2677
- `
2678
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2679
- `
2680
- );
2681
- };
2682
- }
2683
- if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
2684
- return (message) => {
2685
- console.info(
2686
- `
2687
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2688
- `
2689
- );
2690
- };
2691
- }
2692
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
2693
- return (message) => {
2694
- console.debug(
2695
- `
2696
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2697
- `
2698
- );
2699
- };
2700
- }
2701
- if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
2702
- return (message) => {
2703
- console.debug(
2704
- `
2705
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2706
- `
2707
- );
2708
- };
2709
- }
2710
- return (message) => {
2711
- console.log(
2712
- `
2713
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2714
- `
2715
- );
2716
- };
2717
- };
2718
- var writeWarning = (message, config2) => getLogFn(LogLevel.WARN, config2)(message);
2719
- var writeTrace = (message, config2) => getLogFn(LogLevel.TRACE, config2)(message);
2720
- var MAX_DEPTH = 4;
2721
- var formatLogMessage = (message, options = {}, depth2 = 0) => {
2722
- if (depth2 > MAX_DEPTH) {
2723
- return "<max depth>";
2724
- }
2725
- const prefix = options.prefix ?? "-";
2726
- const skip = options.skip ?? [];
2727
- return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
2728
- ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
2729
- ${Object.keys(message).filter((key) => !skip.includes(key)).map(
2730
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
2731
- message[key],
2732
- { prefix: `${prefix}-`, skip },
2733
- depth2 + 1
2734
- ) : message[key]}`
2735
- ).join("\n")}` : message;
2736
- };
2737
- var _isFunction = (value) => {
2738
- try {
2739
- return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
2740
- } catch (e) {
2741
- return false;
2742
- }
2743
- };
2744
-
2745
2786
  // ../config-tools/src/config-file/get-config-file.ts
2746
2787
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
2747
2788
  const workspacePath = filePath || findWorkspaceRoot2(filePath);
@@ -2961,6 +3002,19 @@ var getThemeColorConfigEnv = (prefix, theme) => {
2961
3002
  return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
2962
3003
  };
2963
3004
  var getSingleThemeColorConfigEnv = (prefix) => {
3005
+ const gradient = [];
3006
+ if (process.env[`${prefix}GRADIENT_START`] && process.env[`${prefix}GRADIENT_END`]) {
3007
+ gradient.push(
3008
+ process.env[`${prefix}GRADIENT_START`],
3009
+ process.env[`${prefix}GRADIENT_END`]
3010
+ );
3011
+ } else if (process.env[`${prefix}GRADIENT_0`] || process.env[`${prefix}GRADIENT_1`]) {
3012
+ let index = process.env[`${prefix}GRADIENT_0`] ? 0 : 1;
3013
+ while (process.env[`${prefix}GRADIENT_${index}`]) {
3014
+ gradient.push(process.env[`${prefix}GRADIENT_${index}`]);
3015
+ index++;
3016
+ }
3017
+ }
2964
3018
  return {
2965
3019
  dark: process.env[`${prefix}DARK`],
2966
3020
  light: process.env[`${prefix}LIGHT`],
@@ -2975,7 +3029,8 @@ var getSingleThemeColorConfigEnv = (prefix) => {
2975
3029
  danger: process.env[`${prefix}DANGER`],
2976
3030
  fatal: process.env[`${prefix}FATAL`],
2977
3031
  positive: process.env[`${prefix}POSITIVE`],
2978
- negative: process.env[`${prefix}NEGATIVE`]
3032
+ negative: process.env[`${prefix}NEGATIVE`],
3033
+ gradient
2979
3034
  };
2980
3035
  };
2981
3036
  var getMultiThemeColorConfigEnv = (prefix) => {
@@ -2987,6 +3042,19 @@ var getMultiThemeColorConfigEnv = (prefix) => {
2987
3042
  };
2988
3043
  };
2989
3044
  var getBaseThemeColorConfigEnv = (prefix) => {
3045
+ const gradient = [];
3046
+ if (process.env[`${prefix}GRADIENT_START`] && process.env[`${prefix}GRADIENT_END`]) {
3047
+ gradient.push(
3048
+ process.env[`${prefix}GRADIENT_START`],
3049
+ process.env[`${prefix}GRADIENT_END`]
3050
+ );
3051
+ } else if (process.env[`${prefix}GRADIENT_0`] || process.env[`${prefix}GRADIENT_1`]) {
3052
+ let index = process.env[`${prefix}GRADIENT_0`] ? 0 : 1;
3053
+ while (process.env[`${prefix}GRADIENT_${index}`]) {
3054
+ gradient.push(process.env[`${prefix}GRADIENT_${index}`]);
3055
+ index++;
3056
+ }
3057
+ }
2990
3058
  return {
2991
3059
  foreground: process.env[`${prefix}FOREGROUND`],
2992
3060
  background: process.env[`${prefix}BACKGROUND`],
@@ -3001,7 +3069,8 @@ var getBaseThemeColorConfigEnv = (prefix) => {
3001
3069
  danger: process.env[`${prefix}DANGER`],
3002
3070
  fatal: process.env[`${prefix}FATAL`],
3003
3071
  positive: process.env[`${prefix}POSITIVE`],
3004
- negative: process.env[`${prefix}NEGATIVE`]
3072
+ negative: process.env[`${prefix}NEGATIVE`],
3073
+ gradient
3005
3074
  };
3006
3075
  };
3007
3076
 
@@ -3133,11 +3202,12 @@ var setConfigEnv = (config2) => {
3133
3202
  process.env[`${prefix}TIMEZONE`] = config2.timezone;
3134
3203
  process.env.TZ = config2.timezone;
3135
3204
  process.env.DEFAULT_TIMEZONE = config2.timezone;
3205
+ process.env.TIMEZONE = config2.timezone;
3136
3206
  }
3137
3207
  if (config2.locale) {
3138
3208
  process.env[`${prefix}LOCALE`] = config2.locale;
3139
- process.env.LOCALE = config2.locale;
3140
3209
  process.env.DEFAULT_LOCALE = config2.locale;
3210
+ process.env.LOCALE = config2.locale;
3141
3211
  process.env.LANG = config2.locale ? `${config2.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
3142
3212
  }
3143
3213
  if (config2.configFile) {
@@ -3298,6 +3368,11 @@ var setSingleThemeColorConfigEnv = (prefix, config2) => {
3298
3368
  if (config2.negative) {
3299
3369
  process.env[`${prefix}NEGATIVE`] = config2.negative;
3300
3370
  }
3371
+ if (config2.gradient) {
3372
+ for (let i = 0; i < config2.gradient.length; i++) {
3373
+ process.env[`${prefix}GRADIENT_${i}`] = config2.gradient[i];
3374
+ }
3375
+ }
3301
3376
  };
3302
3377
  var setMultiThemeColorConfigEnv = (prefix, config2) => {
3303
3378
  return {
@@ -3348,6 +3423,11 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
3348
3423
  if (config2.negative) {
3349
3424
  process.env[`${prefix}NEGATIVE`] = config2.negative;
3350
3425
  }
3426
+ if (config2.gradient) {
3427
+ for (let i = 0; i < config2.gradient.length; i++) {
3428
+ process.env[`${prefix}GRADIENT_${i}`] = config2.gradient[i];
3429
+ }
3430
+ }
3351
3431
  };
3352
3432
 
3353
3433
  // ../config-tools/src/create-storm-config.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/eslint",
3
- "version": "0.160.37",
3
+ "version": "0.160.44",
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.3.10",
165
- "@storm-software/config": "^1.125.21",
166
- "@storm-software/config-tools": "^1.176.23",
165
+ "@storm-software/config": "^1.126.3",
166
+ "@storm-software/config-tools": "^1.177.3",
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",
@@ -190,7 +190,7 @@
190
190
  "eslint-plugin-perfectionist": "^4.15.0",
191
191
  "eslint-plugin-pnpm": "0.3.0",
192
192
  "eslint-plugin-prettier": "^5.5.3",
193
- "eslint-plugin-regexp": "^2.9.0",
193
+ "eslint-plugin-regexp": "^2.9.1",
194
194
  "eslint-plugin-toml": "^0.12.0",
195
195
  "eslint-plugin-tsdoc": "0.4.0",
196
196
  "eslint-plugin-unicorn": "^57.0.0",
@@ -237,5 +237,5 @@
237
237
  },
238
238
  "publishConfig": { "access": "public" },
239
239
  "sideEffects": false,
240
- "gitHead": "a4728ac16328228608f32db774e1968a9835b6e1"
240
+ "gitHead": "083ea768c334db192d1dd4126872bbed21bedaef"
241
241
  }