@storm-software/eslint 0.170.102 → 0.170.104
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.cjs +525 -471
- package/dist/preset.js +523 -469
- package/package.json +14 -13
package/dist/preset.js
CHANGED
|
@@ -1292,10 +1292,10 @@ var require_eslint_plugin_react_native = __commonJS({
|
|
|
1292
1292
|
"no-raw-text": __import___lib_rules_noRawText,
|
|
1293
1293
|
"no-single-element-style-arrays": __import___lib_rules_noSingleElementStyleArrays
|
|
1294
1294
|
};
|
|
1295
|
-
function configureAsError(
|
|
1295
|
+
function configureAsError(rules6) {
|
|
1296
1296
|
const result = {};
|
|
1297
|
-
for (const key in
|
|
1298
|
-
if (!
|
|
1297
|
+
for (const key in rules6) {
|
|
1298
|
+
if (!rules6.hasOwnProperty(key)) {
|
|
1299
1299
|
continue;
|
|
1300
1300
|
}
|
|
1301
1301
|
result["react-native/" + key] = 2;
|
|
@@ -1697,7 +1697,7 @@ var require_lib = __commonJS({
|
|
|
1697
1697
|
defaultTSDocConfiguration.allTsdocMessageIds.forEach((messageId) => {
|
|
1698
1698
|
tsdocMessageIds[messageId] = `${messageId}: {{unformattedText}}`;
|
|
1699
1699
|
});
|
|
1700
|
-
var
|
|
1700
|
+
var plugin8 = {
|
|
1701
1701
|
rules: {
|
|
1702
1702
|
// NOTE: The actual ESLint rule name will be "tsdoc/syntax". It is calculated by deleting "eslint-plugin-"
|
|
1703
1703
|
// from the NPM package name, and then appending this string.
|
|
@@ -1759,9 +1759,9 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
|
|
|
1759
1759
|
if (!tsConfigDir && context.parserOptions && context.parserOptions.tsconfigRootDir) {
|
|
1760
1760
|
tsConfigDir = context.parserOptions.tsconfigRootDir;
|
|
1761
1761
|
}
|
|
1762
|
-
const
|
|
1763
|
-
Debug_1.Debug.log(`Using eslint-plugin-tsdoc config: ${JSON.stringify(
|
|
1764
|
-
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(
|
|
1762
|
+
const config6 = { type: userOptions.type || "recommended", configFile: userOptions.configFile };
|
|
1763
|
+
Debug_1.Debug.log(`Using eslint-plugin-tsdoc config: ${JSON.stringify(config6, void 0, 2)}`);
|
|
1764
|
+
tsdocConfigFile = ConfigCache_1.ConfigCache.getStormConfigFile(config6);
|
|
1765
1765
|
if (!tsdocConfigFile.fileNotFound) {
|
|
1766
1766
|
if (tsdocConfigFile.hasErrors) {
|
|
1767
1767
|
context.report({
|
|
@@ -1866,7 +1866,7 @@ Please ensure "@storm-software/tsdoc" is installed in the workspace root.`,
|
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
|
-
module.exports =
|
|
1869
|
+
module.exports = plugin8;
|
|
1870
1870
|
}
|
|
1871
1871
|
});
|
|
1872
1872
|
|
|
@@ -2268,14 +2268,14 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
2268
2268
|
};
|
|
2269
2269
|
|
|
2270
2270
|
// ../config-tools/src/logger/console.ts
|
|
2271
|
-
var getLogFn = (logLevel = LogLevel.INFO,
|
|
2271
|
+
var getLogFn = (logLevel = LogLevel.INFO, config6 = {}, options = {}) => {
|
|
2272
2272
|
const {
|
|
2273
2273
|
chalk: _chalk = getChalk(),
|
|
2274
2274
|
fullDateTime = false,
|
|
2275
2275
|
hideDateTime = false
|
|
2276
2276
|
} = options;
|
|
2277
|
-
const colors = !
|
|
2278
|
-
const configLogLevel =
|
|
2277
|
+
const colors = !config6.colors?.dark && !config6.colors?.["base"] && !config6.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config6.colors?.dark && typeof config6.colors.dark === "string" ? config6.colors : config6.colors?.["base"]?.dark && typeof config6.colors["base"].dark === "string" ? config6.colors["base"].dark : config6.colors?.["base"] ? config6.colors?.["base"] : DEFAULT_COLOR_CONFIG;
|
|
2278
|
+
const configLogLevel = config6.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
2279
2279
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
2280
2280
|
return (_) => {
|
|
2281
2281
|
};
|
|
@@ -2378,8 +2378,8 @@ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.
|
|
|
2378
2378
|
);
|
|
2379
2379
|
};
|
|
2380
2380
|
};
|
|
2381
|
-
var writeWarning = (message2,
|
|
2382
|
-
var writeTrace = (message2,
|
|
2381
|
+
var writeWarning = (message2, config6) => getLogFn(LogLevel.WARN, config6)(message2);
|
|
2382
|
+
var writeTrace = (message2, config6) => getLogFn(LogLevel.TRACE, config6)(message2);
|
|
2383
2383
|
var MAX_DEPTH = 10;
|
|
2384
2384
|
var formatLogMessage = (message2, options = {}, depth2 = 0) => {
|
|
2385
2385
|
if (depth2 > MAX_DEPTH) {
|
|
@@ -2884,8 +2884,8 @@ function prefixIssues(path23, issues) {
|
|
|
2884
2884
|
function unwrapMessage(message2) {
|
|
2885
2885
|
return typeof message2 === "string" ? message2 : message2?.message;
|
|
2886
2886
|
}
|
|
2887
|
-
function finalizeIssue(iss, ctx,
|
|
2888
|
-
const message2 = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(
|
|
2887
|
+
function finalizeIssue(iss, ctx, config6) {
|
|
2888
|
+
const message2 = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config6.customError?.(iss)) ?? unwrapMessage(config6.localeError?.(iss)) ?? "Invalid input";
|
|
2889
2889
|
const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
|
|
2890
2890
|
rest.path ?? (rest.path = []);
|
|
2891
2891
|
rest.message = message2;
|
|
@@ -4755,40 +4755,40 @@ async function getPackageJsonConfig(root) {
|
|
|
4755
4755
|
support
|
|
4756
4756
|
};
|
|
4757
4757
|
}
|
|
4758
|
-
function applyDefaultConfig(
|
|
4759
|
-
if (!
|
|
4760
|
-
|
|
4758
|
+
function applyDefaultConfig(config6) {
|
|
4759
|
+
if (!config6.support && config6.contact) {
|
|
4760
|
+
config6.support = config6.contact;
|
|
4761
4761
|
}
|
|
4762
|
-
if (!
|
|
4763
|
-
|
|
4762
|
+
if (!config6.contact && config6.support) {
|
|
4763
|
+
config6.contact = config6.support;
|
|
4764
4764
|
}
|
|
4765
|
-
if (
|
|
4766
|
-
if (!
|
|
4767
|
-
|
|
4765
|
+
if (config6.homepage) {
|
|
4766
|
+
if (!config6.docs) {
|
|
4767
|
+
config6.docs = `${config6.homepage}/docs`;
|
|
4768
4768
|
}
|
|
4769
|
-
if (!
|
|
4770
|
-
|
|
4769
|
+
if (!config6.license) {
|
|
4770
|
+
config6.license = `${config6.homepage}/license`;
|
|
4771
4771
|
}
|
|
4772
|
-
if (!
|
|
4773
|
-
|
|
4772
|
+
if (!config6.support) {
|
|
4773
|
+
config6.support = `${config6.homepage}/support`;
|
|
4774
4774
|
}
|
|
4775
|
-
if (!
|
|
4776
|
-
|
|
4775
|
+
if (!config6.contact) {
|
|
4776
|
+
config6.contact = `${config6.homepage}/contact`;
|
|
4777
4777
|
}
|
|
4778
|
-
if (!
|
|
4779
|
-
|
|
4780
|
-
if (
|
|
4781
|
-
|
|
4778
|
+
if (!config6.error?.codesFile || !config6?.error?.url) {
|
|
4779
|
+
config6.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
|
|
4780
|
+
if (config6.homepage) {
|
|
4781
|
+
config6.error.url ??= `${config6.homepage}/errors`;
|
|
4782
4782
|
}
|
|
4783
4783
|
}
|
|
4784
4784
|
}
|
|
4785
|
-
return
|
|
4785
|
+
return config6;
|
|
4786
4786
|
}
|
|
4787
4787
|
|
|
4788
4788
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
4789
4789
|
var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
4790
4790
|
const workspacePath = filePath || findWorkspaceRoot2(filePath);
|
|
4791
|
-
const
|
|
4791
|
+
const configs7 = await Promise.all([
|
|
4792
4792
|
loadConfig({
|
|
4793
4793
|
cwd: workspacePath,
|
|
4794
4794
|
packageJson: true,
|
|
@@ -4819,14 +4819,14 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
4819
4819
|
...options
|
|
4820
4820
|
})
|
|
4821
4821
|
]);
|
|
4822
|
-
return defu(
|
|
4822
|
+
return defu(configs7[0] ?? {}, configs7[1] ?? {});
|
|
4823
4823
|
};
|
|
4824
4824
|
var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
4825
4825
|
const workspacePath = filePath ? filePath : findWorkspaceRoot2(filePath);
|
|
4826
4826
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
4827
|
-
let
|
|
4827
|
+
let config6 = result.config;
|
|
4828
4828
|
const configFile = result.configFile;
|
|
4829
|
-
if (
|
|
4829
|
+
if (config6 && configFile && Object.keys(config6).length > 0 && !config6.skipConfigLogging) {
|
|
4830
4830
|
writeTrace(
|
|
4831
4831
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
4832
4832
|
{
|
|
@@ -4842,7 +4842,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
4842
4842
|
);
|
|
4843
4843
|
for (const result2 of results) {
|
|
4844
4844
|
if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
|
|
4845
|
-
if (!
|
|
4845
|
+
if (!config6.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
4846
4846
|
writeTrace(
|
|
4847
4847
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
4848
4848
|
{
|
|
@@ -4850,15 +4850,15 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
4850
4850
|
}
|
|
4851
4851
|
);
|
|
4852
4852
|
}
|
|
4853
|
-
|
|
4853
|
+
config6 = defu(result2.config ?? {}, config6 ?? {});
|
|
4854
4854
|
}
|
|
4855
4855
|
}
|
|
4856
4856
|
}
|
|
4857
|
-
if (!
|
|
4857
|
+
if (!config6 || Object.keys(config6).length === 0) {
|
|
4858
4858
|
return void 0;
|
|
4859
4859
|
}
|
|
4860
|
-
|
|
4861
|
-
return
|
|
4860
|
+
config6.configFile = configFile;
|
|
4861
|
+
return config6;
|
|
4862
4862
|
};
|
|
4863
4863
|
|
|
4864
4864
|
// ../config-tools/src/create-storm-config.ts
|
|
@@ -4868,7 +4868,7 @@ init_esm_shims();
|
|
|
4868
4868
|
init_esm_shims();
|
|
4869
4869
|
var getConfigEnv = () => {
|
|
4870
4870
|
const prefix = "STORM_";
|
|
4871
|
-
let
|
|
4871
|
+
let config6 = {
|
|
4872
4872
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
4873
4873
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
4874
4874
|
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
@@ -4957,38 +4957,38 @@ var getConfigEnv = () => {
|
|
|
4957
4957
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
4958
4958
|
)
|
|
4959
4959
|
);
|
|
4960
|
-
|
|
4960
|
+
config6.colors = themeNames.length > 0 ? themeNames.reduce(
|
|
4961
4961
|
(ret, themeName) => {
|
|
4962
4962
|
ret[themeName] = getThemeColorsEnv(prefix, themeName);
|
|
4963
4963
|
return ret;
|
|
4964
4964
|
},
|
|
4965
4965
|
{}
|
|
4966
4966
|
) : getThemeColorsEnv(prefix);
|
|
4967
|
-
if (
|
|
4968
|
-
if (
|
|
4969
|
-
|
|
4967
|
+
if (config6.docs === STORM_DEFAULT_DOCS) {
|
|
4968
|
+
if (config6.homepage === STORM_DEFAULT_HOMEPAGE) {
|
|
4969
|
+
config6.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config6.name}/docs`;
|
|
4970
4970
|
} else {
|
|
4971
|
-
|
|
4971
|
+
config6.docs = `${config6.homepage}/docs`;
|
|
4972
4972
|
}
|
|
4973
4973
|
}
|
|
4974
|
-
if (
|
|
4975
|
-
if (
|
|
4976
|
-
|
|
4974
|
+
if (config6.licensing === STORM_DEFAULT_LICENSING) {
|
|
4975
|
+
if (config6.homepage === STORM_DEFAULT_HOMEPAGE) {
|
|
4976
|
+
config6.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config6.name}/licensing`;
|
|
4977
4977
|
} else {
|
|
4978
|
-
|
|
4978
|
+
config6.licensing = `${config6.homepage}/docs`;
|
|
4979
4979
|
}
|
|
4980
4980
|
}
|
|
4981
4981
|
const serializedConfig = process.env[`${prefix}WORKSPACE_CONFIG`];
|
|
4982
4982
|
if (serializedConfig) {
|
|
4983
4983
|
const parsed = JSON.parse(serializedConfig);
|
|
4984
|
-
|
|
4985
|
-
...
|
|
4984
|
+
config6 = {
|
|
4985
|
+
...config6,
|
|
4986
4986
|
...parsed,
|
|
4987
|
-
colors: { ...
|
|
4988
|
-
extensions: { ...
|
|
4987
|
+
colors: { ...config6.colors, ...parsed.colors },
|
|
4988
|
+
extensions: { ...config6.extensions, ...parsed.extensions }
|
|
4989
4989
|
};
|
|
4990
4990
|
}
|
|
4991
|
-
return
|
|
4991
|
+
return config6;
|
|
4992
4992
|
};
|
|
4993
4993
|
var getThemeColorsEnv = (prefix, theme) => {
|
|
4994
4994
|
const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
|
|
@@ -5093,360 +5093,360 @@ var setExtensionEnv = (extensionName, extension) => {
|
|
|
5093
5093
|
}
|
|
5094
5094
|
}
|
|
5095
5095
|
};
|
|
5096
|
-
var setConfigEnv = (
|
|
5096
|
+
var setConfigEnv = (config6) => {
|
|
5097
5097
|
const prefix = "STORM_";
|
|
5098
|
-
if (
|
|
5099
|
-
process.env[`${prefix}EXTENDS`] = Array.isArray(
|
|
5098
|
+
if (config6.extends) {
|
|
5099
|
+
process.env[`${prefix}EXTENDS`] = Array.isArray(config6.extends) ? JSON.stringify(config6.extends) : config6.extends;
|
|
5100
5100
|
}
|
|
5101
|
-
if (
|
|
5102
|
-
process.env[`${prefix}NAME`] =
|
|
5101
|
+
if (config6.name) {
|
|
5102
|
+
process.env[`${prefix}NAME`] = config6.name;
|
|
5103
5103
|
}
|
|
5104
|
-
if (
|
|
5105
|
-
process.env[`${prefix}VARIANT`] =
|
|
5104
|
+
if (config6.variant) {
|
|
5105
|
+
process.env[`${prefix}VARIANT`] = config6.variant;
|
|
5106
5106
|
}
|
|
5107
|
-
if (
|
|
5108
|
-
process.env[`${prefix}NAMESPACE`] =
|
|
5107
|
+
if (config6.namespace) {
|
|
5108
|
+
process.env[`${prefix}NAMESPACE`] = config6.namespace;
|
|
5109
5109
|
}
|
|
5110
|
-
if (
|
|
5111
|
-
process.env[`${prefix}OWNER`] =
|
|
5110
|
+
if (config6.owner) {
|
|
5111
|
+
process.env[`${prefix}OWNER`] = config6.owner;
|
|
5112
5112
|
}
|
|
5113
|
-
if (
|
|
5114
|
-
process.env[`${prefix}BOT_NAME`] =
|
|
5115
|
-
process.env[`${prefix}BOT_EMAIL`] =
|
|
5113
|
+
if (config6.bot) {
|
|
5114
|
+
process.env[`${prefix}BOT_NAME`] = config6.bot.name;
|
|
5115
|
+
process.env[`${prefix}BOT_EMAIL`] = config6.bot.email;
|
|
5116
5116
|
}
|
|
5117
|
-
if (
|
|
5118
|
-
process.env[`${prefix}ERROR_CODES_FILE`] =
|
|
5119
|
-
process.env[`${prefix}ERROR_URL`] =
|
|
5117
|
+
if (config6.error) {
|
|
5118
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config6.error.codesFile;
|
|
5119
|
+
process.env[`${prefix}ERROR_URL`] = config6.error.url;
|
|
5120
5120
|
}
|
|
5121
|
-
if (
|
|
5122
|
-
if (
|
|
5123
|
-
if (typeof
|
|
5124
|
-
process.env[`${prefix}RELEASE_BANNER`] =
|
|
5125
|
-
process.env[`${prefix}RELEASE_BANNER_URL`] =
|
|
5121
|
+
if (config6.release) {
|
|
5122
|
+
if (config6.release.banner) {
|
|
5123
|
+
if (typeof config6.release.banner === "string") {
|
|
5124
|
+
process.env[`${prefix}RELEASE_BANNER`] = config6.release.banner;
|
|
5125
|
+
process.env[`${prefix}RELEASE_BANNER_URL`] = config6.release.banner;
|
|
5126
5126
|
} else {
|
|
5127
|
-
process.env[`${prefix}RELEASE_BANNER`] =
|
|
5128
|
-
process.env[`${prefix}RELEASE_BANNER_URL`] =
|
|
5129
|
-
process.env[`${prefix}RELEASE_BANNER_ALT`] =
|
|
5127
|
+
process.env[`${prefix}RELEASE_BANNER`] = config6.release.banner.url;
|
|
5128
|
+
process.env[`${prefix}RELEASE_BANNER_URL`] = config6.release.banner.url;
|
|
5129
|
+
process.env[`${prefix}RELEASE_BANNER_ALT`] = config6.release.banner.alt;
|
|
5130
5130
|
}
|
|
5131
5131
|
}
|
|
5132
|
-
process.env[`${prefix}RELEASE_HEADER`] =
|
|
5133
|
-
process.env[`${prefix}RELEASE_FOOTER`] =
|
|
5132
|
+
process.env[`${prefix}RELEASE_HEADER`] = config6.release.header;
|
|
5133
|
+
process.env[`${prefix}RELEASE_FOOTER`] = config6.release.footer;
|
|
5134
5134
|
}
|
|
5135
|
-
if (
|
|
5136
|
-
if (
|
|
5137
|
-
process.env[`${prefix}SOCIAL_TWITTER`] =
|
|
5135
|
+
if (config6.socials) {
|
|
5136
|
+
if (config6.socials.twitter) {
|
|
5137
|
+
process.env[`${prefix}SOCIAL_TWITTER`] = config6.socials.twitter;
|
|
5138
5138
|
}
|
|
5139
|
-
if (
|
|
5140
|
-
process.env[`${prefix}SOCIAL_DISCORD`] =
|
|
5139
|
+
if (config6.socials.discord) {
|
|
5140
|
+
process.env[`${prefix}SOCIAL_DISCORD`] = config6.socials.discord;
|
|
5141
5141
|
}
|
|
5142
|
-
if (
|
|
5143
|
-
process.env[`${prefix}SOCIAL_TELEGRAM`] =
|
|
5142
|
+
if (config6.socials.telegram) {
|
|
5143
|
+
process.env[`${prefix}SOCIAL_TELEGRAM`] = config6.socials.telegram;
|
|
5144
5144
|
}
|
|
5145
|
-
if (
|
|
5146
|
-
process.env[`${prefix}SOCIAL_SLACK`] =
|
|
5145
|
+
if (config6.socials.slack) {
|
|
5146
|
+
process.env[`${prefix}SOCIAL_SLACK`] = config6.socials.slack;
|
|
5147
5147
|
}
|
|
5148
|
-
if (
|
|
5149
|
-
process.env[`${prefix}SOCIAL_MEDIUM`] =
|
|
5148
|
+
if (config6.socials.medium) {
|
|
5149
|
+
process.env[`${prefix}SOCIAL_MEDIUM`] = config6.socials.medium;
|
|
5150
5150
|
}
|
|
5151
|
-
if (
|
|
5152
|
-
process.env[`${prefix}SOCIAL_GITHUB`] =
|
|
5151
|
+
if (config6.socials.github) {
|
|
5152
|
+
process.env[`${prefix}SOCIAL_GITHUB`] = config6.socials.github;
|
|
5153
5153
|
}
|
|
5154
5154
|
}
|
|
5155
|
-
if (
|
|
5156
|
-
if (typeof
|
|
5157
|
-
process.env[`${prefix}ORG`] =
|
|
5158
|
-
process.env[`${prefix}ORG_NAME`] =
|
|
5159
|
-
process.env[`${prefix}ORGANIZATION`] =
|
|
5160
|
-
process.env[`${prefix}ORGANIZATION_NAME`] =
|
|
5155
|
+
if (config6.organization) {
|
|
5156
|
+
if (typeof config6.organization === "string") {
|
|
5157
|
+
process.env[`${prefix}ORG`] = config6.organization;
|
|
5158
|
+
process.env[`${prefix}ORG_NAME`] = config6.organization;
|
|
5159
|
+
process.env[`${prefix}ORGANIZATION`] = config6.organization;
|
|
5160
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config6.organization;
|
|
5161
5161
|
} else {
|
|
5162
|
-
process.env[`${prefix}ORG`] =
|
|
5163
|
-
process.env[`${prefix}ORG_NAME`] =
|
|
5164
|
-
process.env[`${prefix}ORGANIZATION`] =
|
|
5165
|
-
process.env[`${prefix}ORGANIZATION_NAME`] =
|
|
5166
|
-
if (
|
|
5167
|
-
process.env[`${prefix}ORG_URL`] =
|
|
5168
|
-
process.env[`${prefix}ORGANIZATION_URL`] =
|
|
5162
|
+
process.env[`${prefix}ORG`] = config6.organization.name;
|
|
5163
|
+
process.env[`${prefix}ORG_NAME`] = config6.organization.name;
|
|
5164
|
+
process.env[`${prefix}ORGANIZATION`] = config6.organization.name;
|
|
5165
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config6.organization.name;
|
|
5166
|
+
if (config6.organization.url) {
|
|
5167
|
+
process.env[`${prefix}ORG_URL`] = config6.organization.url;
|
|
5168
|
+
process.env[`${prefix}ORGANIZATION_URL`] = config6.organization.url;
|
|
5169
5169
|
}
|
|
5170
|
-
if (
|
|
5171
|
-
process.env[`${prefix}ORG_DESCRIPTION`] =
|
|
5172
|
-
process.env[`${prefix}ORGANIZATION_DESCRIPTION`] =
|
|
5170
|
+
if (config6.organization.description) {
|
|
5171
|
+
process.env[`${prefix}ORG_DESCRIPTION`] = config6.organization.description;
|
|
5172
|
+
process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config6.organization.description;
|
|
5173
5173
|
}
|
|
5174
|
-
if (
|
|
5175
|
-
process.env[`${prefix}ORG_LOGO`] =
|
|
5176
|
-
process.env[`${prefix}ORGANIZATION_LOGO`] =
|
|
5174
|
+
if (config6.organization.logo) {
|
|
5175
|
+
process.env[`${prefix}ORG_LOGO`] = config6.organization.logo;
|
|
5176
|
+
process.env[`${prefix}ORGANIZATION_LOGO`] = config6.organization.logo;
|
|
5177
5177
|
}
|
|
5178
|
-
if (
|
|
5179
|
-
process.env[`${prefix}ORG_ICON`] =
|
|
5180
|
-
process.env[`${prefix}ORGANIZATION_ICON`] =
|
|
5178
|
+
if (config6.organization.icon) {
|
|
5179
|
+
process.env[`${prefix}ORG_ICON`] = config6.organization.icon;
|
|
5180
|
+
process.env[`${prefix}ORGANIZATION_ICON`] = config6.organization.icon;
|
|
5181
5181
|
}
|
|
5182
5182
|
}
|
|
5183
5183
|
}
|
|
5184
|
-
if (
|
|
5185
|
-
process.env[`${prefix}PACKAGE_MANAGER`] =
|
|
5184
|
+
if (config6.packageManager) {
|
|
5185
|
+
process.env[`${prefix}PACKAGE_MANAGER`] = config6.packageManager;
|
|
5186
5186
|
}
|
|
5187
|
-
if (
|
|
5188
|
-
process.env[`${prefix}LICENSE`] =
|
|
5187
|
+
if (config6.license) {
|
|
5188
|
+
process.env[`${prefix}LICENSE`] = config6.license;
|
|
5189
5189
|
}
|
|
5190
|
-
if (
|
|
5191
|
-
process.env[`${prefix}HOMEPAGE`] =
|
|
5190
|
+
if (config6.homepage) {
|
|
5191
|
+
process.env[`${prefix}HOMEPAGE`] = config6.homepage;
|
|
5192
5192
|
}
|
|
5193
|
-
if (
|
|
5194
|
-
process.env[`${prefix}DOCS`] =
|
|
5193
|
+
if (config6.docs) {
|
|
5194
|
+
process.env[`${prefix}DOCS`] = config6.docs;
|
|
5195
5195
|
}
|
|
5196
|
-
if (
|
|
5197
|
-
process.env[`${prefix}PORTAL`] =
|
|
5196
|
+
if (config6.portal) {
|
|
5197
|
+
process.env[`${prefix}PORTAL`] = config6.portal;
|
|
5198
5198
|
}
|
|
5199
|
-
if (
|
|
5200
|
-
process.env[`${prefix}LICENSING`] =
|
|
5199
|
+
if (config6.licensing) {
|
|
5200
|
+
process.env[`${prefix}LICENSING`] = config6.licensing;
|
|
5201
5201
|
}
|
|
5202
|
-
if (
|
|
5203
|
-
process.env[`${prefix}CONTACT`] =
|
|
5202
|
+
if (config6.contact) {
|
|
5203
|
+
process.env[`${prefix}CONTACT`] = config6.contact;
|
|
5204
5204
|
}
|
|
5205
|
-
if (
|
|
5206
|
-
process.env[`${prefix}SUPPORT`] =
|
|
5205
|
+
if (config6.support) {
|
|
5206
|
+
process.env[`${prefix}SUPPORT`] = config6.support;
|
|
5207
5207
|
}
|
|
5208
|
-
if (
|
|
5209
|
-
process.env[`${prefix}TIMEZONE`] =
|
|
5210
|
-
process.env.TZ =
|
|
5211
|
-
process.env.DEFAULT_TIMEZONE =
|
|
5212
|
-
process.env.TIMEZONE =
|
|
5208
|
+
if (config6.timezone) {
|
|
5209
|
+
process.env[`${prefix}TIMEZONE`] = config6.timezone;
|
|
5210
|
+
process.env.TZ = config6.timezone;
|
|
5211
|
+
process.env.DEFAULT_TIMEZONE = config6.timezone;
|
|
5212
|
+
process.env.TIMEZONE = config6.timezone;
|
|
5213
5213
|
}
|
|
5214
|
-
if (
|
|
5215
|
-
process.env[`${prefix}LOCALE`] =
|
|
5216
|
-
process.env.DEFAULT_LOCALE =
|
|
5217
|
-
process.env.LOCALE =
|
|
5218
|
-
process.env.LANG =
|
|
5214
|
+
if (config6.locale) {
|
|
5215
|
+
process.env[`${prefix}LOCALE`] = config6.locale;
|
|
5216
|
+
process.env.DEFAULT_LOCALE = config6.locale;
|
|
5217
|
+
process.env.LOCALE = config6.locale;
|
|
5218
|
+
process.env.LANG = config6.locale ? `${config6.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
5219
5219
|
}
|
|
5220
|
-
if (
|
|
5220
|
+
if (config6.configFile) {
|
|
5221
5221
|
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = correctPaths(
|
|
5222
|
-
|
|
5222
|
+
config6.configFile
|
|
5223
5223
|
);
|
|
5224
5224
|
}
|
|
5225
|
-
if (
|
|
5226
|
-
process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(
|
|
5227
|
-
process.env.NX_WORKSPACE_ROOT = correctPaths(
|
|
5228
|
-
process.env.NX_WORKSPACE_ROOT_PATH = correctPaths(
|
|
5225
|
+
if (config6.workspaceRoot) {
|
|
5226
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = correctPaths(config6.workspaceRoot);
|
|
5227
|
+
process.env.NX_WORKSPACE_ROOT = correctPaths(config6.workspaceRoot);
|
|
5228
|
+
process.env.NX_WORKSPACE_ROOT_PATH = correctPaths(config6.workspaceRoot);
|
|
5229
5229
|
}
|
|
5230
|
-
if (
|
|
5231
|
-
if (!
|
|
5230
|
+
if (config6.directories) {
|
|
5231
|
+
if (!config6.skipCache && config6.directories.cache) {
|
|
5232
5232
|
process.env[`${prefix}CACHE_DIR`] = correctPaths(
|
|
5233
|
-
|
|
5233
|
+
config6.directories.cache
|
|
5234
5234
|
);
|
|
5235
5235
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
5236
5236
|
}
|
|
5237
|
-
if (
|
|
5238
|
-
process.env[`${prefix}DATA_DIR`] = correctPaths(
|
|
5237
|
+
if (config6.directories.data) {
|
|
5238
|
+
process.env[`${prefix}DATA_DIR`] = correctPaths(config6.directories.data);
|
|
5239
5239
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
5240
5240
|
}
|
|
5241
|
-
if (
|
|
5241
|
+
if (config6.directories.config) {
|
|
5242
5242
|
process.env[`${prefix}CONFIG_DIR`] = correctPaths(
|
|
5243
|
-
|
|
5243
|
+
config6.directories.config
|
|
5244
5244
|
);
|
|
5245
5245
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
5246
5246
|
}
|
|
5247
|
-
if (
|
|
5248
|
-
process.env[`${prefix}TEMP_DIR`] = correctPaths(
|
|
5247
|
+
if (config6.directories.temp) {
|
|
5248
|
+
process.env[`${prefix}TEMP_DIR`] = correctPaths(config6.directories.temp);
|
|
5249
5249
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
5250
5250
|
}
|
|
5251
|
-
if (
|
|
5252
|
-
process.env[`${prefix}LOG_DIR`] = correctPaths(
|
|
5251
|
+
if (config6.directories.log) {
|
|
5252
|
+
process.env[`${prefix}LOG_DIR`] = correctPaths(config6.directories.log);
|
|
5253
5253
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
5254
5254
|
}
|
|
5255
|
-
if (
|
|
5255
|
+
if (config6.directories.build) {
|
|
5256
5256
|
process.env[`${prefix}BUILD_DIR`] = correctPaths(
|
|
5257
|
-
|
|
5257
|
+
config6.directories.build
|
|
5258
5258
|
);
|
|
5259
5259
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
5260
5260
|
}
|
|
5261
5261
|
}
|
|
5262
|
-
if (
|
|
5263
|
-
process.env[`${prefix}SKIP_CACHE`] = String(
|
|
5264
|
-
if (
|
|
5265
|
-
process.env.NX_SKIP_NX_CACHE ??= String(
|
|
5266
|
-
process.env.NX_CACHE_PROJECT_GRAPH ??= String(
|
|
5262
|
+
if (config6.skipCache !== void 0) {
|
|
5263
|
+
process.env[`${prefix}SKIP_CACHE`] = String(config6.skipCache);
|
|
5264
|
+
if (config6.skipCache) {
|
|
5265
|
+
process.env.NX_SKIP_NX_CACHE ??= String(config6.skipCache);
|
|
5266
|
+
process.env.NX_CACHE_PROJECT_GRAPH ??= String(config6.skipCache);
|
|
5267
5267
|
}
|
|
5268
5268
|
}
|
|
5269
|
-
if (
|
|
5270
|
-
process.env[`${prefix}MODE`] =
|
|
5271
|
-
process.env.NODE_ENV =
|
|
5272
|
-
process.env.ENVIRONMENT =
|
|
5269
|
+
if (config6.mode) {
|
|
5270
|
+
process.env[`${prefix}MODE`] = config6.mode;
|
|
5271
|
+
process.env.NODE_ENV = config6.mode;
|
|
5272
|
+
process.env.ENVIRONMENT = config6.mode;
|
|
5273
5273
|
}
|
|
5274
|
-
if (
|
|
5275
|
-
for (const key of Object.keys(
|
|
5276
|
-
setThemeColorsEnv(`${prefix}COLOR_${key}_`,
|
|
5274
|
+
if (config6.colors?.base?.light || config6.colors?.base?.dark) {
|
|
5275
|
+
for (const key of Object.keys(config6.colors)) {
|
|
5276
|
+
setThemeColorsEnv(`${prefix}COLOR_${key}_`, config6.colors[key]);
|
|
5277
5277
|
}
|
|
5278
5278
|
} else {
|
|
5279
5279
|
setThemeColorsEnv(
|
|
5280
5280
|
`${prefix}COLOR_`,
|
|
5281
|
-
|
|
5281
|
+
config6.colors
|
|
5282
5282
|
);
|
|
5283
5283
|
}
|
|
5284
|
-
if (
|
|
5285
|
-
process.env[`${prefix}REPOSITORY`] =
|
|
5284
|
+
if (config6.repository) {
|
|
5285
|
+
process.env[`${prefix}REPOSITORY`] = config6.repository;
|
|
5286
5286
|
}
|
|
5287
|
-
if (
|
|
5288
|
-
process.env[`${prefix}BRANCH`] =
|
|
5287
|
+
if (config6.branch) {
|
|
5288
|
+
process.env[`${prefix}BRANCH`] = config6.branch;
|
|
5289
5289
|
}
|
|
5290
|
-
if (
|
|
5291
|
-
process.env[`${prefix}PRE_ID`] = String(
|
|
5290
|
+
if (config6.preid) {
|
|
5291
|
+
process.env[`${prefix}PRE_ID`] = String(config6.preid);
|
|
5292
5292
|
}
|
|
5293
|
-
if (
|
|
5294
|
-
if (
|
|
5295
|
-
process.env[`${prefix}REGISTRY_GITHUB`] = String(
|
|
5293
|
+
if (config6.registry) {
|
|
5294
|
+
if (config6.registry.github) {
|
|
5295
|
+
process.env[`${prefix}REGISTRY_GITHUB`] = String(config6.registry.github);
|
|
5296
5296
|
}
|
|
5297
|
-
if (
|
|
5298
|
-
process.env[`${prefix}REGISTRY_NPM`] = String(
|
|
5297
|
+
if (config6.registry.npm) {
|
|
5298
|
+
process.env[`${prefix}REGISTRY_NPM`] = String(config6.registry.npm);
|
|
5299
5299
|
}
|
|
5300
|
-
if (
|
|
5301
|
-
process.env[`${prefix}REGISTRY_CARGO`] = String(
|
|
5300
|
+
if (config6.registry.cargo) {
|
|
5301
|
+
process.env[`${prefix}REGISTRY_CARGO`] = String(config6.registry.cargo);
|
|
5302
5302
|
}
|
|
5303
|
-
if (
|
|
5303
|
+
if (config6.registry.cyclone) {
|
|
5304
5304
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(
|
|
5305
|
-
|
|
5305
|
+
config6.registry.cyclone
|
|
5306
5306
|
);
|
|
5307
5307
|
}
|
|
5308
|
-
if (
|
|
5308
|
+
if (config6.registry.container) {
|
|
5309
5309
|
process.env[`${prefix}REGISTRY_CONTAINER`] = String(
|
|
5310
|
-
|
|
5310
|
+
config6.registry.container
|
|
5311
5311
|
);
|
|
5312
5312
|
}
|
|
5313
5313
|
}
|
|
5314
|
-
if (
|
|
5315
|
-
process.env[`${prefix}LOG_LEVEL`] = String(
|
|
5316
|
-
process.env.LOG_LEVEL = String(
|
|
5314
|
+
if (config6.logLevel) {
|
|
5315
|
+
process.env[`${prefix}LOG_LEVEL`] = String(config6.logLevel);
|
|
5316
|
+
process.env.LOG_LEVEL = String(config6.logLevel);
|
|
5317
5317
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
5318
|
-
getLogLevel(
|
|
5318
|
+
getLogLevel(config6.logLevel) >= LogLevel.DEBUG ? true : false
|
|
5319
5319
|
);
|
|
5320
|
-
process.env.RUST_BACKTRACE = getLogLevel(
|
|
5320
|
+
process.env.RUST_BACKTRACE = getLogLevel(config6.logLevel) >= LogLevel.DEBUG ? "full" : "none";
|
|
5321
5321
|
}
|
|
5322
|
-
if (
|
|
5322
|
+
if (config6.skipConfigLogging !== void 0) {
|
|
5323
5323
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
5324
|
-
|
|
5324
|
+
config6.skipConfigLogging
|
|
5325
5325
|
);
|
|
5326
5326
|
}
|
|
5327
|
-
process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(
|
|
5328
|
-
for (const key of Object.keys(
|
|
5329
|
-
if (
|
|
5330
|
-
setExtensionEnv(key,
|
|
5327
|
+
process.env[`${prefix}WORKSPACE_CONFIG`] = JSON.stringify(config6);
|
|
5328
|
+
for (const key of Object.keys(config6.extensions ?? {})) {
|
|
5329
|
+
if (config6.extensions[key] && Object.keys(config6.extensions[key])) {
|
|
5330
|
+
setExtensionEnv(key, config6.extensions[key]);
|
|
5331
5331
|
}
|
|
5332
5332
|
}
|
|
5333
5333
|
};
|
|
5334
|
-
var setThemeColorsEnv = (prefix,
|
|
5335
|
-
return
|
|
5334
|
+
var setThemeColorsEnv = (prefix, config6) => {
|
|
5335
|
+
return config6?.light?.brand || config6?.dark?.brand ? setMultiThemeColorsEnv(prefix, config6) : setSingleThemeColorsEnv(prefix, config6);
|
|
5336
5336
|
};
|
|
5337
|
-
var setSingleThemeColorsEnv = (prefix,
|
|
5338
|
-
if (
|
|
5339
|
-
process.env[`${prefix}DARK`] =
|
|
5337
|
+
var setSingleThemeColorsEnv = (prefix, config6) => {
|
|
5338
|
+
if (config6.dark) {
|
|
5339
|
+
process.env[`${prefix}DARK`] = config6.dark;
|
|
5340
5340
|
}
|
|
5341
|
-
if (
|
|
5342
|
-
process.env[`${prefix}LIGHT`] =
|
|
5341
|
+
if (config6.light) {
|
|
5342
|
+
process.env[`${prefix}LIGHT`] = config6.light;
|
|
5343
5343
|
}
|
|
5344
|
-
if (
|
|
5345
|
-
process.env[`${prefix}BRAND`] =
|
|
5344
|
+
if (config6.brand) {
|
|
5345
|
+
process.env[`${prefix}BRAND`] = config6.brand;
|
|
5346
5346
|
}
|
|
5347
|
-
if (
|
|
5348
|
-
process.env[`${prefix}ALTERNATE`] =
|
|
5347
|
+
if (config6.alternate) {
|
|
5348
|
+
process.env[`${prefix}ALTERNATE`] = config6.alternate;
|
|
5349
5349
|
}
|
|
5350
|
-
if (
|
|
5351
|
-
process.env[`${prefix}ACCENT`] =
|
|
5350
|
+
if (config6.accent) {
|
|
5351
|
+
process.env[`${prefix}ACCENT`] = config6.accent;
|
|
5352
5352
|
}
|
|
5353
|
-
if (
|
|
5354
|
-
process.env[`${prefix}LINK`] =
|
|
5353
|
+
if (config6.link) {
|
|
5354
|
+
process.env[`${prefix}LINK`] = config6.link;
|
|
5355
5355
|
}
|
|
5356
|
-
if (
|
|
5357
|
-
process.env[`${prefix}DISCOVERY`] =
|
|
5356
|
+
if (config6.discovery) {
|
|
5357
|
+
process.env[`${prefix}DISCOVERY`] = config6.discovery;
|
|
5358
5358
|
}
|
|
5359
|
-
if (
|
|
5360
|
-
process.env[`${prefix}SUCCESS`] =
|
|
5359
|
+
if (config6.success) {
|
|
5360
|
+
process.env[`${prefix}SUCCESS`] = config6.success;
|
|
5361
5361
|
}
|
|
5362
|
-
if (
|
|
5363
|
-
process.env[`${prefix}INFO`] =
|
|
5362
|
+
if (config6.info) {
|
|
5363
|
+
process.env[`${prefix}INFO`] = config6.info;
|
|
5364
5364
|
}
|
|
5365
|
-
if (
|
|
5366
|
-
process.env[`${prefix}DEBUG`] =
|
|
5365
|
+
if (config6.debug) {
|
|
5366
|
+
process.env[`${prefix}DEBUG`] = config6.debug;
|
|
5367
5367
|
}
|
|
5368
|
-
if (
|
|
5369
|
-
process.env[`${prefix}WARNING`] =
|
|
5368
|
+
if (config6.warning) {
|
|
5369
|
+
process.env[`${prefix}WARNING`] = config6.warning;
|
|
5370
5370
|
}
|
|
5371
|
-
if (
|
|
5372
|
-
process.env[`${prefix}DANGER`] =
|
|
5371
|
+
if (config6.danger) {
|
|
5372
|
+
process.env[`${prefix}DANGER`] = config6.danger;
|
|
5373
5373
|
}
|
|
5374
|
-
if (
|
|
5375
|
-
process.env[`${prefix}FATAL`] =
|
|
5374
|
+
if (config6.fatal) {
|
|
5375
|
+
process.env[`${prefix}FATAL`] = config6.fatal;
|
|
5376
5376
|
}
|
|
5377
|
-
if (
|
|
5378
|
-
process.env[`${prefix}PERFORMANCE`] =
|
|
5377
|
+
if (config6.performance) {
|
|
5378
|
+
process.env[`${prefix}PERFORMANCE`] = config6.performance;
|
|
5379
5379
|
}
|
|
5380
|
-
if (
|
|
5381
|
-
process.env[`${prefix}POSITIVE`] =
|
|
5380
|
+
if (config6.positive) {
|
|
5381
|
+
process.env[`${prefix}POSITIVE`] = config6.positive;
|
|
5382
5382
|
}
|
|
5383
|
-
if (
|
|
5384
|
-
process.env[`${prefix}NEGATIVE`] =
|
|
5383
|
+
if (config6.negative) {
|
|
5384
|
+
process.env[`${prefix}NEGATIVE`] = config6.negative;
|
|
5385
5385
|
}
|
|
5386
|
-
if (
|
|
5387
|
-
for (let i = 0; i <
|
|
5388
|
-
process.env[`${prefix}GRADIENT_${i}`] =
|
|
5386
|
+
if (config6.gradient) {
|
|
5387
|
+
for (let i = 0; i < config6.gradient.length; i++) {
|
|
5388
|
+
process.env[`${prefix}GRADIENT_${i}`] = config6.gradient[i];
|
|
5389
5389
|
}
|
|
5390
5390
|
}
|
|
5391
5391
|
};
|
|
5392
|
-
var setMultiThemeColorsEnv = (prefix,
|
|
5392
|
+
var setMultiThemeColorsEnv = (prefix, config6) => {
|
|
5393
5393
|
return {
|
|
5394
|
-
light: setBaseThemeColorsEnv(`${prefix}LIGHT_`,
|
|
5395
|
-
dark: setBaseThemeColorsEnv(`${prefix}DARK_`,
|
|
5394
|
+
light: setBaseThemeColorsEnv(`${prefix}LIGHT_`, config6.light),
|
|
5395
|
+
dark: setBaseThemeColorsEnv(`${prefix}DARK_`, config6.dark)
|
|
5396
5396
|
};
|
|
5397
5397
|
};
|
|
5398
|
-
var setBaseThemeColorsEnv = (prefix,
|
|
5399
|
-
if (
|
|
5400
|
-
process.env[`${prefix}FOREGROUND`] =
|
|
5398
|
+
var setBaseThemeColorsEnv = (prefix, config6) => {
|
|
5399
|
+
if (config6.foreground) {
|
|
5400
|
+
process.env[`${prefix}FOREGROUND`] = config6.foreground;
|
|
5401
5401
|
}
|
|
5402
|
-
if (
|
|
5403
|
-
process.env[`${prefix}BACKGROUND`] =
|
|
5402
|
+
if (config6.background) {
|
|
5403
|
+
process.env[`${prefix}BACKGROUND`] = config6.background;
|
|
5404
5404
|
}
|
|
5405
|
-
if (
|
|
5406
|
-
process.env[`${prefix}BRAND`] =
|
|
5405
|
+
if (config6.brand) {
|
|
5406
|
+
process.env[`${prefix}BRAND`] = config6.brand;
|
|
5407
5407
|
}
|
|
5408
|
-
if (
|
|
5409
|
-
process.env[`${prefix}ALTERNATE`] =
|
|
5408
|
+
if (config6.alternate) {
|
|
5409
|
+
process.env[`${prefix}ALTERNATE`] = config6.alternate;
|
|
5410
5410
|
}
|
|
5411
|
-
if (
|
|
5412
|
-
process.env[`${prefix}ACCENT`] =
|
|
5411
|
+
if (config6.accent) {
|
|
5412
|
+
process.env[`${prefix}ACCENT`] = config6.accent;
|
|
5413
5413
|
}
|
|
5414
|
-
if (
|
|
5415
|
-
process.env[`${prefix}LINK`] =
|
|
5414
|
+
if (config6.link) {
|
|
5415
|
+
process.env[`${prefix}LINK`] = config6.link;
|
|
5416
5416
|
}
|
|
5417
|
-
if (
|
|
5418
|
-
process.env[`${prefix}DISCOVERY`] =
|
|
5417
|
+
if (config6.discovery) {
|
|
5418
|
+
process.env[`${prefix}DISCOVERY`] = config6.discovery;
|
|
5419
5419
|
}
|
|
5420
|
-
if (
|
|
5421
|
-
process.env[`${prefix}SUCCESS`] =
|
|
5420
|
+
if (config6.success) {
|
|
5421
|
+
process.env[`${prefix}SUCCESS`] = config6.success;
|
|
5422
5422
|
}
|
|
5423
|
-
if (
|
|
5424
|
-
process.env[`${prefix}INFO`] =
|
|
5423
|
+
if (config6.info) {
|
|
5424
|
+
process.env[`${prefix}INFO`] = config6.info;
|
|
5425
5425
|
}
|
|
5426
|
-
if (
|
|
5427
|
-
process.env[`${prefix}DEBUG`] =
|
|
5426
|
+
if (config6.debug) {
|
|
5427
|
+
process.env[`${prefix}DEBUG`] = config6.debug;
|
|
5428
5428
|
}
|
|
5429
|
-
if (
|
|
5430
|
-
process.env[`${prefix}WARNING`] =
|
|
5429
|
+
if (config6.warning) {
|
|
5430
|
+
process.env[`${prefix}WARNING`] = config6.warning;
|
|
5431
5431
|
}
|
|
5432
|
-
if (
|
|
5433
|
-
process.env[`${prefix}DANGER`] =
|
|
5432
|
+
if (config6.danger) {
|
|
5433
|
+
process.env[`${prefix}DANGER`] = config6.danger;
|
|
5434
5434
|
}
|
|
5435
|
-
if (
|
|
5436
|
-
process.env[`${prefix}FATAL`] =
|
|
5435
|
+
if (config6.fatal) {
|
|
5436
|
+
process.env[`${prefix}FATAL`] = config6.fatal;
|
|
5437
5437
|
}
|
|
5438
|
-
if (
|
|
5439
|
-
process.env[`${prefix}PERFORMANCE`] =
|
|
5438
|
+
if (config6.performance) {
|
|
5439
|
+
process.env[`${prefix}PERFORMANCE`] = config6.performance;
|
|
5440
5440
|
}
|
|
5441
|
-
if (
|
|
5442
|
-
process.env[`${prefix}POSITIVE`] =
|
|
5441
|
+
if (config6.positive) {
|
|
5442
|
+
process.env[`${prefix}POSITIVE`] = config6.positive;
|
|
5443
5443
|
}
|
|
5444
|
-
if (
|
|
5445
|
-
process.env[`${prefix}NEGATIVE`] =
|
|
5444
|
+
if (config6.negative) {
|
|
5445
|
+
process.env[`${prefix}NEGATIVE`] = config6.negative;
|
|
5446
5446
|
}
|
|
5447
|
-
if (
|
|
5448
|
-
for (let i = 0; i <
|
|
5449
|
-
process.env[`${prefix}GRADIENT_${i}`] =
|
|
5447
|
+
if (config6.gradient) {
|
|
5448
|
+
for (let i = 0; i < config6.gradient.length; i++) {
|
|
5449
|
+
process.env[`${prefix}GRADIENT_${i}`] = config6.gradient[i];
|
|
5450
5450
|
}
|
|
5451
5451
|
}
|
|
5452
5452
|
};
|
|
@@ -5512,25 +5512,25 @@ Please ensure your configuration file is valid JSON and matches the expected sch
|
|
|
5512
5512
|
};
|
|
5513
5513
|
var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefault = false) => {
|
|
5514
5514
|
try {
|
|
5515
|
-
const
|
|
5515
|
+
const config6 = await createStormWorkspaceConfig(
|
|
5516
5516
|
void 0,
|
|
5517
5517
|
void 0,
|
|
5518
5518
|
workspaceRoot,
|
|
5519
5519
|
skipLogs,
|
|
5520
5520
|
useDefault
|
|
5521
5521
|
);
|
|
5522
|
-
if (!
|
|
5522
|
+
if (!config6) {
|
|
5523
5523
|
return void 0;
|
|
5524
5524
|
}
|
|
5525
|
-
setConfigEnv(
|
|
5526
|
-
if (!skipLogs && !
|
|
5525
|
+
setConfigEnv(config6);
|
|
5526
|
+
if (!skipLogs && !config6.skipConfigLogging) {
|
|
5527
5527
|
writeTrace(
|
|
5528
5528
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
5529
|
-
${formatLogMessage(
|
|
5530
|
-
|
|
5529
|
+
${formatLogMessage(config6)}`,
|
|
5530
|
+
config6
|
|
5531
5531
|
);
|
|
5532
5532
|
}
|
|
5533
|
-
return
|
|
5533
|
+
return config6;
|
|
5534
5534
|
} catch (error) {
|
|
5535
5535
|
if (!skipLogs) {
|
|
5536
5536
|
writeWarning(
|
|
@@ -5574,7 +5574,7 @@ init_esm_shims();
|
|
|
5574
5574
|
|
|
5575
5575
|
// ../eslint-plugin-banner/package.json
|
|
5576
5576
|
var package_default = {
|
|
5577
|
-
version: "0.0.
|
|
5577
|
+
version: "0.0.35"};
|
|
5578
5578
|
|
|
5579
5579
|
// ../eslint-plugin-banner/src/rules/banner.ts
|
|
5580
5580
|
init_esm_shims();
|
|
@@ -6287,7 +6287,7 @@ async function stylistic(options = {}) {
|
|
|
6287
6287
|
const pluginStylistic = await interopDefault(
|
|
6288
6288
|
import('@stylistic/eslint-plugin')
|
|
6289
6289
|
);
|
|
6290
|
-
const
|
|
6290
|
+
const config6 = pluginStylistic.configs.customize({
|
|
6291
6291
|
indent,
|
|
6292
6292
|
jsx: jsx2,
|
|
6293
6293
|
pluginName: "style",
|
|
@@ -6301,7 +6301,7 @@ async function stylistic(options = {}) {
|
|
|
6301
6301
|
style: pluginStylistic
|
|
6302
6302
|
},
|
|
6303
6303
|
rules: {
|
|
6304
|
-
...
|
|
6304
|
+
...config6.rules,
|
|
6305
6305
|
"style/lines-around-comment": "off",
|
|
6306
6306
|
"style/linebreak-style": ["error", lineEndings],
|
|
6307
6307
|
"style/comma-dangle": ["error", "never"],
|
|
@@ -6392,7 +6392,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6392
6392
|
options.dprintOptions ?? {}
|
|
6393
6393
|
);
|
|
6394
6394
|
const pluginFormat = await interopDefault(import('eslint-plugin-format'));
|
|
6395
|
-
const
|
|
6395
|
+
const configs7 = [
|
|
6396
6396
|
{
|
|
6397
6397
|
name: "storm/formatter/setup",
|
|
6398
6398
|
plugins: {
|
|
@@ -6401,7 +6401,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6401
6401
|
}
|
|
6402
6402
|
];
|
|
6403
6403
|
if (options.css) {
|
|
6404
|
-
|
|
6404
|
+
configs7.push(
|
|
6405
6405
|
{
|
|
6406
6406
|
files: [GLOB_CSS, GLOB_POSTCSS],
|
|
6407
6407
|
languageOptions: {
|
|
@@ -6450,7 +6450,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6450
6450
|
);
|
|
6451
6451
|
}
|
|
6452
6452
|
if (options.html) {
|
|
6453
|
-
|
|
6453
|
+
configs7.push({
|
|
6454
6454
|
files: [GLOB_HTML],
|
|
6455
6455
|
languageOptions: {
|
|
6456
6456
|
parser: parserPlain
|
|
@@ -6467,7 +6467,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6467
6467
|
});
|
|
6468
6468
|
}
|
|
6469
6469
|
if (options.xml) {
|
|
6470
|
-
|
|
6470
|
+
configs7.push({
|
|
6471
6471
|
files: [GLOB_XML],
|
|
6472
6472
|
languageOptions: {
|
|
6473
6473
|
parser: parserPlain
|
|
@@ -6488,7 +6488,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6488
6488
|
});
|
|
6489
6489
|
}
|
|
6490
6490
|
if (options.svg) {
|
|
6491
|
-
|
|
6491
|
+
configs7.push({
|
|
6492
6492
|
files: [GLOB_SVG],
|
|
6493
6493
|
languageOptions: {
|
|
6494
6494
|
parser: parserPlain
|
|
@@ -6510,7 +6510,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6510
6510
|
}
|
|
6511
6511
|
if (options.markdown) {
|
|
6512
6512
|
const formater = options.markdown === true ? "prettier" : options.markdown;
|
|
6513
|
-
|
|
6513
|
+
configs7.push({
|
|
6514
6514
|
files: [GLOB_MARKDOWN],
|
|
6515
6515
|
languageOptions: {
|
|
6516
6516
|
parser: parserPlain
|
|
@@ -6531,7 +6531,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6531
6531
|
});
|
|
6532
6532
|
}
|
|
6533
6533
|
if (options.astro) {
|
|
6534
|
-
|
|
6534
|
+
configs7.push({
|
|
6535
6535
|
files: [GLOB_ASTRO],
|
|
6536
6536
|
languageOptions: {
|
|
6537
6537
|
parser: parserPlain
|
|
@@ -6547,7 +6547,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6547
6547
|
]
|
|
6548
6548
|
}
|
|
6549
6549
|
});
|
|
6550
|
-
|
|
6550
|
+
configs7.push({
|
|
6551
6551
|
files: [GLOB_ASTRO, GLOB_ASTRO_TS],
|
|
6552
6552
|
name: "storm/formatter/astro/disables",
|
|
6553
6553
|
rules: {
|
|
@@ -6562,7 +6562,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6562
6562
|
});
|
|
6563
6563
|
}
|
|
6564
6564
|
if (options.graphql) {
|
|
6565
|
-
|
|
6565
|
+
configs7.push({
|
|
6566
6566
|
files: [GLOB_GRAPHQL],
|
|
6567
6567
|
languageOptions: {
|
|
6568
6568
|
parser: parserPlain
|
|
@@ -6578,7 +6578,7 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
6578
6578
|
}
|
|
6579
6579
|
});
|
|
6580
6580
|
}
|
|
6581
|
-
return
|
|
6581
|
+
return configs7;
|
|
6582
6582
|
}
|
|
6583
6583
|
|
|
6584
6584
|
// src/configs/graphql.ts
|
|
@@ -6777,10 +6777,10 @@ init_esm_shims();
|
|
|
6777
6777
|
// src/plugins.ts
|
|
6778
6778
|
init_esm_shims();
|
|
6779
6779
|
|
|
6780
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6780
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/index.js
|
|
6781
6781
|
init_esm_shims();
|
|
6782
6782
|
|
|
6783
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6783
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/electron.js
|
|
6784
6784
|
init_esm_shims();
|
|
6785
6785
|
var electron_default = {
|
|
6786
6786
|
settings: {
|
|
@@ -6788,7 +6788,7 @@ var electron_default = {
|
|
|
6788
6788
|
}
|
|
6789
6789
|
};
|
|
6790
6790
|
|
|
6791
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6791
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/errors.js
|
|
6792
6792
|
init_esm_shims();
|
|
6793
6793
|
var errors_default = {
|
|
6794
6794
|
plugins: ["import-x"],
|
|
@@ -6801,7 +6801,7 @@ var errors_default = {
|
|
|
6801
6801
|
}
|
|
6802
6802
|
};
|
|
6803
6803
|
|
|
6804
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6804
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/electron.js
|
|
6805
6805
|
init_esm_shims();
|
|
6806
6806
|
var electron_default2 = {
|
|
6807
6807
|
settings: {
|
|
@@ -6809,7 +6809,7 @@ var electron_default2 = {
|
|
|
6809
6809
|
}
|
|
6810
6810
|
};
|
|
6811
6811
|
|
|
6812
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6812
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/errors.js
|
|
6813
6813
|
init_esm_shims();
|
|
6814
6814
|
var errors_default2 = {
|
|
6815
6815
|
rules: {
|
|
@@ -6821,7 +6821,7 @@ var errors_default2 = {
|
|
|
6821
6821
|
}
|
|
6822
6822
|
};
|
|
6823
6823
|
|
|
6824
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6824
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/react-native.js
|
|
6825
6825
|
init_esm_shims();
|
|
6826
6826
|
var react_native_default = {
|
|
6827
6827
|
settings: {
|
|
@@ -6833,7 +6833,7 @@ var react_native_default = {
|
|
|
6833
6833
|
}
|
|
6834
6834
|
};
|
|
6835
6835
|
|
|
6836
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6836
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/react.js
|
|
6837
6837
|
init_esm_shims();
|
|
6838
6838
|
var react_default = {
|
|
6839
6839
|
settings: {
|
|
@@ -6848,7 +6848,7 @@ var react_default = {
|
|
|
6848
6848
|
}
|
|
6849
6849
|
};
|
|
6850
6850
|
|
|
6851
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6851
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/recommended.js
|
|
6852
6852
|
init_esm_shims();
|
|
6853
6853
|
var recommended_default2 = {
|
|
6854
6854
|
rules: {
|
|
@@ -6863,7 +6863,7 @@ var recommended_default2 = {
|
|
|
6863
6863
|
}
|
|
6864
6864
|
};
|
|
6865
6865
|
|
|
6866
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6866
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/stage-0.js
|
|
6867
6867
|
init_esm_shims();
|
|
6868
6868
|
var stage_0_default = {
|
|
6869
6869
|
rules: {
|
|
@@ -6871,7 +6871,7 @@ var stage_0_default = {
|
|
|
6871
6871
|
}
|
|
6872
6872
|
};
|
|
6873
6873
|
|
|
6874
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6874
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/typescript.js
|
|
6875
6875
|
init_esm_shims();
|
|
6876
6876
|
var typeScriptExtensions = [".ts", ".tsx", ".cts", ".mts"];
|
|
6877
6877
|
var allExtensions = [
|
|
@@ -6897,7 +6897,7 @@ var typescript_default = {
|
|
|
6897
6897
|
}
|
|
6898
6898
|
};
|
|
6899
6899
|
|
|
6900
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6900
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/flat/warnings.js
|
|
6901
6901
|
init_esm_shims();
|
|
6902
6902
|
var warnings_default = {
|
|
6903
6903
|
rules: {
|
|
@@ -6908,7 +6908,7 @@ var warnings_default = {
|
|
|
6908
6908
|
}
|
|
6909
6909
|
};
|
|
6910
6910
|
|
|
6911
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6911
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/react-native.js
|
|
6912
6912
|
init_esm_shims();
|
|
6913
6913
|
var react_native_default2 = {
|
|
6914
6914
|
settings: {
|
|
@@ -6920,7 +6920,7 @@ var react_native_default2 = {
|
|
|
6920
6920
|
}
|
|
6921
6921
|
};
|
|
6922
6922
|
|
|
6923
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6923
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/react.js
|
|
6924
6924
|
init_esm_shims();
|
|
6925
6925
|
var react_default2 = {
|
|
6926
6926
|
settings: {
|
|
@@ -6933,7 +6933,7 @@ var react_default2 = {
|
|
|
6933
6933
|
}
|
|
6934
6934
|
};
|
|
6935
6935
|
|
|
6936
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6936
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/recommended.js
|
|
6937
6937
|
init_esm_shims();
|
|
6938
6938
|
var recommended_default3 = {
|
|
6939
6939
|
plugins: ["import-x"],
|
|
@@ -6953,7 +6953,7 @@ var recommended_default3 = {
|
|
|
6953
6953
|
}
|
|
6954
6954
|
};
|
|
6955
6955
|
|
|
6956
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6956
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/stage-0.js
|
|
6957
6957
|
init_esm_shims();
|
|
6958
6958
|
var stage_0_default2 = {
|
|
6959
6959
|
plugins: ["import-x"],
|
|
@@ -6962,7 +6962,7 @@ var stage_0_default2 = {
|
|
|
6962
6962
|
}
|
|
6963
6963
|
};
|
|
6964
6964
|
|
|
6965
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6965
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/typescript.js
|
|
6966
6966
|
init_esm_shims();
|
|
6967
6967
|
var typeScriptExtensions2 = [".ts", ".tsx", ".cts", ".mts"];
|
|
6968
6968
|
var allExtensions2 = [
|
|
@@ -6988,7 +6988,7 @@ var typescript_default2 = {
|
|
|
6988
6988
|
}
|
|
6989
6989
|
};
|
|
6990
6990
|
|
|
6991
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
6991
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/config/warnings.js
|
|
6992
6992
|
init_esm_shims();
|
|
6993
6993
|
var warnings_default2 = {
|
|
6994
6994
|
plugins: ["import-x"],
|
|
@@ -7000,19 +7000,19 @@ var warnings_default2 = {
|
|
|
7000
7000
|
}
|
|
7001
7001
|
};
|
|
7002
7002
|
|
|
7003
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7003
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/meta.js
|
|
7004
7004
|
init_esm_shims();
|
|
7005
7005
|
|
|
7006
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7006
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/require.js
|
|
7007
7007
|
init_esm_shims();
|
|
7008
7008
|
var importMetaUrl = import.meta.url;
|
|
7009
7009
|
var cjsRequire = importMetaUrl ? createRequire(importMetaUrl) : __require;
|
|
7010
7010
|
|
|
7011
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7011
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/meta.js
|
|
7012
7012
|
var { name, version: version2 } = cjsRequire("../package.json");
|
|
7013
7013
|
var meta2 = { name, version: version2 };
|
|
7014
7014
|
|
|
7015
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7015
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/node-resolver.js
|
|
7016
7016
|
init_esm_shims();
|
|
7017
7017
|
function createNodeResolver({ extensions = [".mjs", ".cjs", ".js", ".json", ".node"], conditionNames = ["import", "require", "default"], mainFields = ["module", "main"], ...restOptions } = {}) {
|
|
7018
7018
|
const resolver = new ResolverFactory({
|
|
@@ -7040,16 +7040,16 @@ function createNodeResolver({ extensions = [".mjs", ".cjs", ".js", ".json", ".no
|
|
|
7040
7040
|
};
|
|
7041
7041
|
}
|
|
7042
7042
|
|
|
7043
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7043
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.js
|
|
7044
7044
|
init_esm_shims();
|
|
7045
7045
|
|
|
7046
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7046
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/index.js
|
|
7047
7047
|
init_esm_shims();
|
|
7048
7048
|
|
|
7049
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7049
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/apply-default.js
|
|
7050
7050
|
init_esm_shims();
|
|
7051
7051
|
|
|
7052
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7052
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/deep-merge.js
|
|
7053
7053
|
init_esm_shims();
|
|
7054
7054
|
function isObjectNotArray(obj) {
|
|
7055
7055
|
return typeof obj === "object" && obj != null && !Array.isArray(obj);
|
|
@@ -7073,7 +7073,7 @@ function deepMerge(first = {}, second = {}) {
|
|
|
7073
7073
|
}));
|
|
7074
7074
|
}
|
|
7075
7075
|
|
|
7076
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7076
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/apply-default.js
|
|
7077
7077
|
function applyDefault(defaultOptions, userOptions) {
|
|
7078
7078
|
const options = structuredClone(defaultOptions ?? []);
|
|
7079
7079
|
if (userOptions == null) {
|
|
@@ -7088,19 +7088,19 @@ function applyDefault(defaultOptions, userOptions) {
|
|
|
7088
7088
|
return options;
|
|
7089
7089
|
}
|
|
7090
7090
|
|
|
7091
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7091
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/arraify.js
|
|
7092
7092
|
init_esm_shims();
|
|
7093
7093
|
var arraify = (value) => value ? Array.isArray(value) ? value : [value] : void 0;
|
|
7094
7094
|
|
|
7095
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7095
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/create-rule.js
|
|
7096
7096
|
init_esm_shims();
|
|
7097
7097
|
|
|
7098
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7098
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/docs-url.js
|
|
7099
7099
|
init_esm_shims();
|
|
7100
7100
|
var repoUrl = "https://github.com/un-ts/eslint-plugin-import-x";
|
|
7101
7101
|
var docsUrl = (ruleName, commitish = `v${version2}`) => `${repoUrl}/blob/${commitish}/docs/rules/${ruleName}.md`;
|
|
7102
7102
|
|
|
7103
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7103
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/create-rule.js
|
|
7104
7104
|
function RuleCreator2(urlCreator) {
|
|
7105
7105
|
return function createNamedRule({ meta: meta3, name: name3, ...rule }) {
|
|
7106
7106
|
return createRule_({
|
|
@@ -7127,7 +7127,7 @@ function createRule_({ create, defaultOptions, meta: meta3 }) {
|
|
|
7127
7127
|
}
|
|
7128
7128
|
var createRule2 = RuleCreator2(docsUrl);
|
|
7129
7129
|
|
|
7130
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7130
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/declared-scope.js
|
|
7131
7131
|
init_esm_shims();
|
|
7132
7132
|
function declaredScope(context, node2, name3) {
|
|
7133
7133
|
const references = context.sourceCode.getScope(node2).references;
|
|
@@ -7135,10 +7135,10 @@ function declaredScope(context, node2, name3) {
|
|
|
7135
7135
|
return reference?.resolved?.scope.type;
|
|
7136
7136
|
}
|
|
7137
7137
|
|
|
7138
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7138
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/export-map.js
|
|
7139
7139
|
init_esm_shims();
|
|
7140
7140
|
|
|
7141
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7141
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/get-value.js
|
|
7142
7142
|
init_esm_shims();
|
|
7143
7143
|
var getValue = (node2) => {
|
|
7144
7144
|
switch (node2.type) {
|
|
@@ -7154,7 +7154,7 @@ var getValue = (node2) => {
|
|
|
7154
7154
|
}
|
|
7155
7155
|
};
|
|
7156
7156
|
|
|
7157
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7157
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/ignore.js
|
|
7158
7158
|
init_esm_shims();
|
|
7159
7159
|
var log = debug("eslint-plugin-import-x:utils:ignore");
|
|
7160
7160
|
var cachedSet;
|
|
@@ -7203,7 +7203,7 @@ function hasValidExtension(filepath, context) {
|
|
|
7203
7203
|
return validExtensions(context).has(path16.extname(filepath));
|
|
7204
7204
|
}
|
|
7205
7205
|
|
|
7206
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7206
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/lazy-value.js
|
|
7207
7207
|
init_esm_shims();
|
|
7208
7208
|
var lazy = (cb) => {
|
|
7209
7209
|
let isCalled = false;
|
|
@@ -7237,10 +7237,10 @@ function defineLazyProperty(object2, propertyName, valueGetter) {
|
|
|
7237
7237
|
return object2;
|
|
7238
7238
|
}
|
|
7239
7239
|
|
|
7240
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7240
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/parse.js
|
|
7241
7241
|
init_esm_shims();
|
|
7242
7242
|
|
|
7243
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7243
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/module-require.js
|
|
7244
7244
|
init_esm_shims();
|
|
7245
7245
|
function createModule(filename) {
|
|
7246
7246
|
const mod = new Module(filename);
|
|
@@ -7266,7 +7266,7 @@ function moduleRequire(p, sourceFile) {
|
|
|
7266
7266
|
return cjsRequire(p);
|
|
7267
7267
|
}
|
|
7268
7268
|
|
|
7269
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7269
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/parse.js
|
|
7270
7270
|
function withoutProjectParserOptions(opts) {
|
|
7271
7271
|
const { EXPERIMENTAL_useProjectService, project, projectService, ...rest } = opts;
|
|
7272
7272
|
return rest;
|
|
@@ -7360,16 +7360,16 @@ function getParserOrPath(path23, context) {
|
|
|
7360
7360
|
return null;
|
|
7361
7361
|
}
|
|
7362
7362
|
|
|
7363
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7363
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/resolve.js
|
|
7364
7364
|
init_esm_shims();
|
|
7365
7365
|
|
|
7366
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7366
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/import-type.js
|
|
7367
7367
|
init_esm_shims();
|
|
7368
7368
|
|
|
7369
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7369
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/package-path.js
|
|
7370
7370
|
init_esm_shims();
|
|
7371
7371
|
|
|
7372
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7372
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/pkg-up.js
|
|
7373
7373
|
init_esm_shims();
|
|
7374
7374
|
function findUp(filename, cwd) {
|
|
7375
7375
|
let dir = path16.resolve(cwd || "");
|
|
@@ -7390,7 +7390,7 @@ function pkgUp(opts) {
|
|
|
7390
7390
|
return findUp("package.json", opts && opts.cwd);
|
|
7391
7391
|
}
|
|
7392
7392
|
|
|
7393
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7393
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/read-pkg-up.js
|
|
7394
7394
|
init_esm_shims();
|
|
7395
7395
|
function stripBOM(str) {
|
|
7396
7396
|
return str.replace(/^\uFEFF/, "");
|
|
@@ -7410,7 +7410,7 @@ function readPkgUp(opts) {
|
|
|
7410
7410
|
}
|
|
7411
7411
|
}
|
|
7412
7412
|
|
|
7413
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7413
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/package-path.js
|
|
7414
7414
|
function getContextPackagePath(context) {
|
|
7415
7415
|
return getFilePackagePath(context.physicalFilename);
|
|
7416
7416
|
}
|
|
@@ -7425,7 +7425,7 @@ function getFilePackageName(filename) {
|
|
|
7425
7425
|
return null;
|
|
7426
7426
|
}
|
|
7427
7427
|
|
|
7428
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7428
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/import-type.js
|
|
7429
7429
|
function baseModule(name3) {
|
|
7430
7430
|
if (isScoped(name3)) {
|
|
7431
7431
|
const [scope, pkg2] = name3.split("/");
|
|
@@ -7445,9 +7445,9 @@ function isBuiltIn(name3, settings, modulePath) {
|
|
|
7445
7445
|
if (modulePath || !name3) {
|
|
7446
7446
|
return false;
|
|
7447
7447
|
}
|
|
7448
|
-
const
|
|
7448
|
+
const base2 = baseModule(name3);
|
|
7449
7449
|
const extras = settings && settings["import-x/core-modules"] || [];
|
|
7450
|
-
return isBuiltin(
|
|
7450
|
+
return isBuiltin(base2) || extras.includes(base2);
|
|
7451
7451
|
}
|
|
7452
7452
|
function isExternalModule(name3, modulePath, context) {
|
|
7453
7453
|
return (isModule(name3) || isScoped(name3)) && typeTest(name3, context, modulePath) === "external";
|
|
@@ -7535,23 +7535,23 @@ function importType(name3, context) {
|
|
|
7535
7535
|
return typeTest(name3, context, typeof name3 === "string" ? resolve(name3, context) : null);
|
|
7536
7536
|
}
|
|
7537
7537
|
|
|
7538
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7538
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/legacy-resolver-settings.js
|
|
7539
7539
|
init_esm_shims();
|
|
7540
7540
|
|
|
7541
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7541
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/pkg-dir.js
|
|
7542
7542
|
init_esm_shims();
|
|
7543
7543
|
function pkgDir(cwd) {
|
|
7544
7544
|
const fp = pkgUp({ cwd });
|
|
7545
7545
|
return fp ? path16.dirname(fp) : null;
|
|
7546
7546
|
}
|
|
7547
7547
|
|
|
7548
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7549
|
-
function resolveWithLegacyResolver(resolver,
|
|
7548
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/legacy-resolver-settings.js
|
|
7549
|
+
function resolveWithLegacyResolver(resolver, config6, modulePath, sourceFile) {
|
|
7550
7550
|
if (resolver.interfaceVersion === 2) {
|
|
7551
|
-
return resolver.resolve(modulePath, sourceFile,
|
|
7551
|
+
return resolver.resolve(modulePath, sourceFile, config6);
|
|
7552
7552
|
}
|
|
7553
7553
|
try {
|
|
7554
|
-
const resolved = resolver.resolveImport(modulePath, sourceFile,
|
|
7554
|
+
const resolved = resolver.resolveImport(modulePath, sourceFile, config6);
|
|
7555
7555
|
if (resolved === void 0) {
|
|
7556
7556
|
return {
|
|
7557
7557
|
found: false
|
|
@@ -7665,7 +7665,7 @@ function getBaseDir(sourceFile) {
|
|
|
7665
7665
|
return pkgDir(sourceFile) || process.cwd();
|
|
7666
7666
|
}
|
|
7667
7667
|
|
|
7668
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7668
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/module-cache.js
|
|
7669
7669
|
init_esm_shims();
|
|
7670
7670
|
var log3 = debug("eslint-plugin-import-x:utils:ModuleCache");
|
|
7671
7671
|
var ModuleCache = class {
|
|
@@ -7702,7 +7702,7 @@ var ModuleCache = class {
|
|
|
7702
7702
|
}
|
|
7703
7703
|
};
|
|
7704
7704
|
|
|
7705
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7705
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/resolve.js
|
|
7706
7706
|
var importMetaUrl2 = import.meta.url;
|
|
7707
7707
|
var _filename = importMetaUrl2 ? fileURLToPath(importMetaUrl2) : __filename$1;
|
|
7708
7708
|
var _dirname = path16.dirname(_filename);
|
|
@@ -7914,7 +7914,7 @@ function importXResolverCompat(resolver, resolverOptions = {}) {
|
|
|
7914
7914
|
};
|
|
7915
7915
|
}
|
|
7916
7916
|
|
|
7917
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7917
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/unambiguous.js
|
|
7918
7918
|
init_esm_shims();
|
|
7919
7919
|
var pattern = /(^|;)\s*(export|import)((\s+\w)|(\s*[*={]))|import\(/m;
|
|
7920
7920
|
function isMaybeUnambiguousModule(content) {
|
|
@@ -7925,7 +7925,7 @@ function isUnambiguousModule(ast) {
|
|
|
7925
7925
|
return ast.body && ast.body.some((node2) => unambiguousNodeType.test(node2.type));
|
|
7926
7926
|
}
|
|
7927
7927
|
|
|
7928
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7928
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/visit.js
|
|
7929
7929
|
init_esm_shims();
|
|
7930
7930
|
function visit(node2, keys, visitorSpec) {
|
|
7931
7931
|
if (!node2 || !keys) {
|
|
@@ -7954,7 +7954,7 @@ function visit(node2, keys, visitorSpec) {
|
|
|
7954
7954
|
}
|
|
7955
7955
|
}
|
|
7956
7956
|
|
|
7957
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
7957
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/export-map.js
|
|
7958
7958
|
var log4 = debug("eslint-plugin-import-x:ExportMap");
|
|
7959
7959
|
var exportCache = /* @__PURE__ */ new Map();
|
|
7960
7960
|
var declTypes = /* @__PURE__ */ new Set([
|
|
@@ -8640,7 +8640,7 @@ function makeContextCacheKey(context) {
|
|
|
8640
8640
|
return hash;
|
|
8641
8641
|
}
|
|
8642
8642
|
|
|
8643
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8643
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/import-declaration.js
|
|
8644
8644
|
init_esm_shims();
|
|
8645
8645
|
var importDeclaration = (context, node2) => {
|
|
8646
8646
|
if (node2.parent && node2.parent.type === AST_NODE_TYPES.ImportDeclaration) {
|
|
@@ -8650,7 +8650,7 @@ var importDeclaration = (context, node2) => {
|
|
|
8650
8650
|
return ancestors[ancestors.length - 1];
|
|
8651
8651
|
};
|
|
8652
8652
|
|
|
8653
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8653
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/module-visitor.js
|
|
8654
8654
|
init_esm_shims();
|
|
8655
8655
|
function moduleVisitor(visitor, options) {
|
|
8656
8656
|
const ignore2 = options?.ignore;
|
|
@@ -8769,7 +8769,7 @@ function moduleVisitor(visitor, options) {
|
|
|
8769
8769
|
return visitors;
|
|
8770
8770
|
}
|
|
8771
8771
|
function makeOptionsSchema(additionalProperties) {
|
|
8772
|
-
const
|
|
8772
|
+
const base2 = {
|
|
8773
8773
|
type: "object",
|
|
8774
8774
|
properties: {
|
|
8775
8775
|
commonjs: { type: "boolean" },
|
|
@@ -8786,14 +8786,14 @@ function makeOptionsSchema(additionalProperties) {
|
|
|
8786
8786
|
};
|
|
8787
8787
|
if (additionalProperties) {
|
|
8788
8788
|
for (const key in additionalProperties) {
|
|
8789
|
-
|
|
8789
|
+
base2.properties[key] = additionalProperties[key];
|
|
8790
8790
|
}
|
|
8791
8791
|
}
|
|
8792
|
-
return
|
|
8792
|
+
return base2;
|
|
8793
8793
|
}
|
|
8794
8794
|
makeOptionsSchema();
|
|
8795
8795
|
|
|
8796
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8796
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/npm-client.js
|
|
8797
8797
|
init_esm_shims();
|
|
8798
8798
|
var NPM = "npm";
|
|
8799
8799
|
var NPM_CLIENTS = /* @__PURE__ */ new Set([
|
|
@@ -8814,7 +8814,7 @@ var getNpmClient = () => {
|
|
|
8814
8814
|
};
|
|
8815
8815
|
var getNpmInstallCommand = (packageName) => `${getNpmClient()} ${npmClient === NPM ? "i" : "add"} ${npmClient === "deno" ? `${NPM}:` : ""}${packageName}`;
|
|
8816
8816
|
|
|
8817
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8817
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/parse-path.js
|
|
8818
8818
|
init_esm_shims();
|
|
8819
8819
|
var parsePath = (path23) => {
|
|
8820
8820
|
const hashIndex = path23.indexOf("#");
|
|
@@ -8828,7 +8828,7 @@ var parsePath = (path23) => {
|
|
|
8828
8828
|
};
|
|
8829
8829
|
var stringifyPath = ({ pathname, query, hash }) => pathname + query + hash;
|
|
8830
8830
|
|
|
8831
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8831
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/source-type.js
|
|
8832
8832
|
init_esm_shims();
|
|
8833
8833
|
function sourceType(context) {
|
|
8834
8834
|
if ("languageOptions" in context && context.languageOptions) {
|
|
@@ -8844,13 +8844,13 @@ function sourceType(context) {
|
|
|
8844
8844
|
}
|
|
8845
8845
|
}
|
|
8846
8846
|
|
|
8847
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8847
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/utils/static-require.js
|
|
8848
8848
|
init_esm_shims();
|
|
8849
8849
|
function isStaticRequire(node2) {
|
|
8850
8850
|
return node2 && node2.callee && node2.callee.type === "Identifier" && node2.callee.name === "require" && node2.arguments.length === 1 && node2.arguments[0].type === "Literal" && typeof node2.arguments[0].value === "string";
|
|
8851
8851
|
}
|
|
8852
8852
|
|
|
8853
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
8853
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.js
|
|
8854
8854
|
function isComma(token) {
|
|
8855
8855
|
return token.type === "Punctuator" && token.value === ",";
|
|
8856
8856
|
}
|
|
@@ -9016,7 +9016,7 @@ ${newImports}`)
|
|
|
9016
9016
|
}
|
|
9017
9017
|
});
|
|
9018
9018
|
|
|
9019
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9019
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/default.js
|
|
9020
9020
|
init_esm_shims();
|
|
9021
9021
|
var default_default = createRule2({
|
|
9022
9022
|
name: "default",
|
|
@@ -9061,7 +9061,7 @@ var default_default = createRule2({
|
|
|
9061
9061
|
}
|
|
9062
9062
|
});
|
|
9063
9063
|
|
|
9064
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9064
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/dynamic-import-chunkname.js
|
|
9065
9065
|
init_esm_shims();
|
|
9066
9066
|
var dynamic_import_chunkname_default = createRule2({
|
|
9067
9067
|
name: "dynamic-import-chunkname",
|
|
@@ -9232,7 +9232,7 @@ var dynamic_import_chunkname_default = createRule2({
|
|
|
9232
9232
|
}
|
|
9233
9233
|
});
|
|
9234
9234
|
|
|
9235
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9235
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/export.js
|
|
9236
9236
|
init_esm_shims();
|
|
9237
9237
|
var rootProgram = "root";
|
|
9238
9238
|
var tsTypePrefix = "type:";
|
|
@@ -9385,7 +9385,7 @@ var export_default = createRule2({
|
|
|
9385
9385
|
}
|
|
9386
9386
|
});
|
|
9387
9387
|
|
|
9388
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9388
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/exports-last.js
|
|
9389
9389
|
init_esm_shims();
|
|
9390
9390
|
var findLastIndex = (array2, predicate) => {
|
|
9391
9391
|
let i = array2.length - 1;
|
|
@@ -9433,7 +9433,7 @@ var exports_last_default = createRule2({
|
|
|
9433
9433
|
}
|
|
9434
9434
|
});
|
|
9435
9435
|
|
|
9436
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
9436
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/extensions.js
|
|
9437
9437
|
init_esm_shims();
|
|
9438
9438
|
|
|
9439
9439
|
// ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
|
|
@@ -11035,7 +11035,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
11035
11035
|
minimatch.escape = escape;
|
|
11036
11036
|
minimatch.unescape = unescape;
|
|
11037
11037
|
|
|
11038
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11038
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/extensions.js
|
|
11039
11039
|
var modifierValues = ["always", "ignorePackages", "never"];
|
|
11040
11040
|
var modifierSchema = {
|
|
11041
11041
|
type: "string",
|
|
@@ -11317,7 +11317,7 @@ var extensions_default = createRule2({
|
|
|
11317
11317
|
}
|
|
11318
11318
|
});
|
|
11319
11319
|
|
|
11320
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11320
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/first.js
|
|
11321
11321
|
init_esm_shims();
|
|
11322
11322
|
function getImportValue(node2) {
|
|
11323
11323
|
return node2.type === "ImportDeclaration" ? node2.source.value : "moduleReference" in node2 && "expression" in node2.moduleReference && "value" in node2.moduleReference.expression && node2.moduleReference.expression.value;
|
|
@@ -11452,7 +11452,7 @@ ${nodeSourceCode}`;
|
|
|
11452
11452
|
}
|
|
11453
11453
|
});
|
|
11454
11454
|
|
|
11455
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11455
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/group-exports.js
|
|
11456
11456
|
init_esm_shims();
|
|
11457
11457
|
function accessorChain(node2) {
|
|
11458
11458
|
const chain = [];
|
|
@@ -11567,7 +11567,7 @@ var group_exports_default = createRule2({
|
|
|
11567
11567
|
}
|
|
11568
11568
|
});
|
|
11569
11569
|
|
|
11570
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11570
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/imports-first.js
|
|
11571
11571
|
init_esm_shims();
|
|
11572
11572
|
var imports_first_default = createRule2({
|
|
11573
11573
|
...first_default,
|
|
@@ -11592,7 +11592,7 @@ var imports_first_default = createRule2({
|
|
|
11592
11592
|
}
|
|
11593
11593
|
});
|
|
11594
11594
|
|
|
11595
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11595
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/max-dependencies.js
|
|
11596
11596
|
init_esm_shims();
|
|
11597
11597
|
var max_dependencies_default = createRule2({
|
|
11598
11598
|
name: "max-dependencies",
|
|
@@ -11645,7 +11645,7 @@ var max_dependencies_default = createRule2({
|
|
|
11645
11645
|
}
|
|
11646
11646
|
});
|
|
11647
11647
|
|
|
11648
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11648
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/named.js
|
|
11649
11649
|
init_esm_shims();
|
|
11650
11650
|
var named_default = createRule2({
|
|
11651
11651
|
name: "named",
|
|
@@ -11771,7 +11771,7 @@ var named_default = createRule2({
|
|
|
11771
11771
|
}
|
|
11772
11772
|
});
|
|
11773
11773
|
|
|
11774
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
11774
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/namespace.js
|
|
11775
11775
|
init_esm_shims();
|
|
11776
11776
|
function processBodyStatement(context, namespaces, declaration) {
|
|
11777
11777
|
if (declaration.type !== "ImportDeclaration") {
|
|
@@ -11999,7 +11999,7 @@ var namespace_default = createRule2({
|
|
|
11999
11999
|
}
|
|
12000
12000
|
});
|
|
12001
12001
|
|
|
12002
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12002
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/newline-after-import.js
|
|
12003
12003
|
init_esm_shims();
|
|
12004
12004
|
var log5 = debug("eslint-plugin-import-x:rules:newline-after-import");
|
|
12005
12005
|
function containsNodeOrEqual(outerNode, innerNode) {
|
|
@@ -12201,7 +12201,7 @@ var newline_after_import_default = createRule2({
|
|
|
12201
12201
|
}
|
|
12202
12202
|
});
|
|
12203
12203
|
|
|
12204
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12204
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-absolute-path.js
|
|
12205
12205
|
init_esm_shims();
|
|
12206
12206
|
var no_absolute_path_default = createRule2({
|
|
12207
12207
|
name: "no-absolute-path",
|
|
@@ -12239,7 +12239,7 @@ var no_absolute_path_default = createRule2({
|
|
|
12239
12239
|
}
|
|
12240
12240
|
});
|
|
12241
12241
|
|
|
12242
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12242
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-amd.js
|
|
12243
12243
|
init_esm_shims();
|
|
12244
12244
|
var no_amd_default = createRule2({
|
|
12245
12245
|
name: "no-amd",
|
|
@@ -12286,7 +12286,7 @@ var no_amd_default = createRule2({
|
|
|
12286
12286
|
}
|
|
12287
12287
|
});
|
|
12288
12288
|
|
|
12289
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12289
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-anonymous-default-export.js
|
|
12290
12290
|
init_esm_shims();
|
|
12291
12291
|
var { hasOwnProperty } = Object.prototype;
|
|
12292
12292
|
var hasOwn = (object2, key) => hasOwnProperty.call(object2, key);
|
|
@@ -12420,7 +12420,7 @@ var no_anonymous_default_export_default = createRule2({
|
|
|
12420
12420
|
}
|
|
12421
12421
|
});
|
|
12422
12422
|
|
|
12423
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12423
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-commonjs.js
|
|
12424
12424
|
init_esm_shims();
|
|
12425
12425
|
function normalizeLegacyOptions(options) {
|
|
12426
12426
|
if (options.includes("allow-primitive-modules")) {
|
|
@@ -12543,7 +12543,7 @@ var no_commonjs_default = createRule2({
|
|
|
12543
12543
|
}
|
|
12544
12544
|
});
|
|
12545
12545
|
|
|
12546
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12546
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-cycle.js
|
|
12547
12547
|
init_esm_shims();
|
|
12548
12548
|
var traversed = /* @__PURE__ */ new Set();
|
|
12549
12549
|
var no_cycle_default = createRule2({
|
|
@@ -12672,7 +12672,7 @@ function routeString(route) {
|
|
|
12672
12672
|
return route.map((s) => `${s.value}:${s.loc.start.line}`).join("=>");
|
|
12673
12673
|
}
|
|
12674
12674
|
|
|
12675
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12675
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-default-export.js
|
|
12676
12676
|
init_esm_shims();
|
|
12677
12677
|
var no_default_export_default = createRule2({
|
|
12678
12678
|
name: "no-default-export",
|
|
@@ -12728,7 +12728,7 @@ var no_default_export_default = createRule2({
|
|
|
12728
12728
|
}
|
|
12729
12729
|
});
|
|
12730
12730
|
|
|
12731
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12731
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-deprecated.js
|
|
12732
12732
|
init_esm_shims();
|
|
12733
12733
|
function message(deprecation) {
|
|
12734
12734
|
if (deprecation.description) {
|
|
@@ -12886,7 +12886,7 @@ var no_deprecated_default = createRule2({
|
|
|
12886
12886
|
}
|
|
12887
12887
|
});
|
|
12888
12888
|
|
|
12889
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
12889
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-duplicates.js
|
|
12890
12890
|
init_esm_shims();
|
|
12891
12891
|
var isTypeScriptVersionSupportPreferInline = lazy(() => {
|
|
12892
12892
|
let typescriptPkg;
|
|
@@ -13159,7 +13159,7 @@ var no_duplicates_default = createRule2({
|
|
|
13159
13159
|
}
|
|
13160
13160
|
});
|
|
13161
13161
|
|
|
13162
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13162
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-dynamic-require.js
|
|
13163
13163
|
init_esm_shims();
|
|
13164
13164
|
function isRequire(node2) {
|
|
13165
13165
|
return node2.callee?.type === "Identifier" && node2.callee.name === "require" && node2.arguments.length > 0;
|
|
@@ -13228,7 +13228,7 @@ var no_dynamic_require_default = createRule2({
|
|
|
13228
13228
|
}
|
|
13229
13229
|
});
|
|
13230
13230
|
|
|
13231
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13231
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-empty-named-blocks.js
|
|
13232
13232
|
init_esm_shims();
|
|
13233
13233
|
function getEmptyBlockRange(tokens, index) {
|
|
13234
13234
|
const token = tokens[index];
|
|
@@ -13326,7 +13326,7 @@ var no_empty_named_blocks_default = createRule2({
|
|
|
13326
13326
|
}
|
|
13327
13327
|
});
|
|
13328
13328
|
|
|
13329
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13329
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-extraneous-dependencies.js
|
|
13330
13330
|
init_esm_shims();
|
|
13331
13331
|
var depFieldCache = /* @__PURE__ */ new Map();
|
|
13332
13332
|
var minimatch2 = minimatch;
|
|
@@ -13508,12 +13508,12 @@ function reportIfMissing(context, deps, depsOptions, node2, name3, whitelist) {
|
|
|
13508
13508
|
}
|
|
13509
13509
|
});
|
|
13510
13510
|
}
|
|
13511
|
-
function testConfig(
|
|
13512
|
-
if (typeof
|
|
13513
|
-
return
|
|
13511
|
+
function testConfig(config6, context) {
|
|
13512
|
+
if (typeof config6 === "boolean" || config6 === void 0) {
|
|
13513
|
+
return config6;
|
|
13514
13514
|
}
|
|
13515
13515
|
const filename = context.physicalFilename;
|
|
13516
|
-
return
|
|
13516
|
+
return config6.some((c) => minimatch2(filename, c) || minimatch2(filename, path16.resolve(context.cwd, c), {
|
|
13517
13517
|
windowsPathsNoEscape: true
|
|
13518
13518
|
}) || minimatch2(filename, path16.resolve(c), { windowsPathsNoEscape: true }));
|
|
13519
13519
|
}
|
|
@@ -13572,7 +13572,7 @@ var no_extraneous_dependencies_default = createRule2({
|
|
|
13572
13572
|
}
|
|
13573
13573
|
});
|
|
13574
13574
|
|
|
13575
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13575
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-import-module-exports.js
|
|
13576
13576
|
init_esm_shims();
|
|
13577
13577
|
function getEntryPoint(context) {
|
|
13578
13578
|
const pkgPath = pkgUp({
|
|
@@ -13654,7 +13654,7 @@ var no_import_module_exports_default = createRule2({
|
|
|
13654
13654
|
}
|
|
13655
13655
|
});
|
|
13656
13656
|
|
|
13657
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13657
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-internal-modules.js
|
|
13658
13658
|
init_esm_shims();
|
|
13659
13659
|
function normalizeSep(somePath) {
|
|
13660
13660
|
return somePath.split("\\").join("/");
|
|
@@ -13771,7 +13771,7 @@ var no_internal_modules_default = createRule2({
|
|
|
13771
13771
|
}
|
|
13772
13772
|
});
|
|
13773
13773
|
|
|
13774
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13774
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-mutable-exports.js
|
|
13775
13775
|
init_esm_shims();
|
|
13776
13776
|
var no_mutable_exports_default = createRule2({
|
|
13777
13777
|
name: "no-mutable-exports",
|
|
@@ -13831,7 +13831,7 @@ var no_mutable_exports_default = createRule2({
|
|
|
13831
13831
|
}
|
|
13832
13832
|
});
|
|
13833
13833
|
|
|
13834
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13834
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-as-default-member.js
|
|
13835
13835
|
init_esm_shims();
|
|
13836
13836
|
var no_named_as_default_member_default = createRule2({
|
|
13837
13837
|
name: "no-named-as-default-member",
|
|
@@ -13918,7 +13918,7 @@ var no_named_as_default_member_default = createRule2({
|
|
|
13918
13918
|
}
|
|
13919
13919
|
});
|
|
13920
13920
|
|
|
13921
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13921
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-as-default.js
|
|
13922
13922
|
init_esm_shims();
|
|
13923
13923
|
var no_named_as_default_default = createRule2({
|
|
13924
13924
|
name: "no-named-as-default",
|
|
@@ -13974,7 +13974,7 @@ var no_named_as_default_default = createRule2({
|
|
|
13974
13974
|
}
|
|
13975
13975
|
});
|
|
13976
13976
|
|
|
13977
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
13977
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-default.js
|
|
13978
13978
|
init_esm_shims();
|
|
13979
13979
|
var no_named_default_default = createRule2({
|
|
13980
13980
|
name: "no-named-default",
|
|
@@ -14012,7 +14012,7 @@ var no_named_default_default = createRule2({
|
|
|
14012
14012
|
}
|
|
14013
14013
|
});
|
|
14014
14014
|
|
|
14015
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14015
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-named-export.js
|
|
14016
14016
|
init_esm_shims();
|
|
14017
14017
|
var no_named_export_default = createRule2({
|
|
14018
14018
|
name: "no-named-export",
|
|
@@ -14049,7 +14049,7 @@ var no_named_export_default = createRule2({
|
|
|
14049
14049
|
}
|
|
14050
14050
|
});
|
|
14051
14051
|
|
|
14052
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14052
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-namespace.js
|
|
14053
14053
|
init_esm_shims();
|
|
14054
14054
|
var no_namespace_default = createRule2({
|
|
14055
14055
|
name: "no-namespace",
|
|
@@ -14172,7 +14172,7 @@ function generateLocalNames(names, nameConflicts, namespaceName) {
|
|
|
14172
14172
|
return localNames;
|
|
14173
14173
|
}
|
|
14174
14174
|
|
|
14175
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14175
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-nodejs-modules.js
|
|
14176
14176
|
init_esm_shims();
|
|
14177
14177
|
var no_nodejs_modules_default = createRule2({
|
|
14178
14178
|
name: "no-nodejs-modules",
|
|
@@ -14220,7 +14220,7 @@ var no_nodejs_modules_default = createRule2({
|
|
|
14220
14220
|
}
|
|
14221
14221
|
});
|
|
14222
14222
|
|
|
14223
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14223
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-relative-packages.js
|
|
14224
14224
|
init_esm_shims();
|
|
14225
14225
|
function toPosixPath(filePath) {
|
|
14226
14226
|
return filePath.replaceAll("\\", "/");
|
|
@@ -14280,7 +14280,7 @@ var no_relative_packages_default = createRule2({
|
|
|
14280
14280
|
}
|
|
14281
14281
|
});
|
|
14282
14282
|
|
|
14283
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14283
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-relative-parent-imports.js
|
|
14284
14284
|
init_esm_shims();
|
|
14285
14285
|
var no_relative_parent_imports_default = createRule2({
|
|
14286
14286
|
name: "no-relative-parent-imports",
|
|
@@ -14325,7 +14325,7 @@ var no_relative_parent_imports_default = createRule2({
|
|
|
14325
14325
|
}
|
|
14326
14326
|
});
|
|
14327
14327
|
|
|
14328
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14328
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-rename-default.js
|
|
14329
14329
|
init_esm_shims();
|
|
14330
14330
|
var no_rename_default_default = createRule2({
|
|
14331
14331
|
name: "no-rename-default",
|
|
@@ -14565,7 +14565,7 @@ function getDefaultExportNode(exportMap) {
|
|
|
14565
14565
|
}
|
|
14566
14566
|
}
|
|
14567
14567
|
|
|
14568
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14568
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-restricted-paths.js
|
|
14569
14569
|
init_esm_shims();
|
|
14570
14570
|
var containsPath = (filepath, target) => {
|
|
14571
14571
|
const relative2 = path16.relative(target, filepath);
|
|
@@ -14766,7 +14766,7 @@ var no_restricted_paths_default = createRule2({
|
|
|
14766
14766
|
}
|
|
14767
14767
|
});
|
|
14768
14768
|
|
|
14769
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14769
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-self-import.js
|
|
14770
14770
|
init_esm_shims();
|
|
14771
14771
|
function isImportingSelf(context, node2, requireName) {
|
|
14772
14772
|
const filename = context.physicalFilename;
|
|
@@ -14799,7 +14799,7 @@ var no_self_import_default = createRule2({
|
|
|
14799
14799
|
}
|
|
14800
14800
|
});
|
|
14801
14801
|
|
|
14802
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14802
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-unassigned-import.js
|
|
14803
14803
|
init_esm_shims();
|
|
14804
14804
|
function testIsAllow(globs, context, source) {
|
|
14805
14805
|
if (!Array.isArray(globs)) {
|
|
@@ -14869,7 +14869,7 @@ var no_unassigned_import_default = createRule2({
|
|
|
14869
14869
|
}
|
|
14870
14870
|
});
|
|
14871
14871
|
|
|
14872
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14872
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-unresolved.js
|
|
14873
14873
|
init_esm_shims();
|
|
14874
14874
|
var no_unresolved_default = createRule2({
|
|
14875
14875
|
name: "no-unresolved",
|
|
@@ -14924,7 +14924,7 @@ var no_unresolved_default = createRule2({
|
|
|
14924
14924
|
}
|
|
14925
14925
|
});
|
|
14926
14926
|
|
|
14927
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
14927
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-unused-modules.js
|
|
14928
14928
|
init_esm_shims();
|
|
14929
14929
|
function isESLint9UnsupportedApi(input) {
|
|
14930
14930
|
return typeof input === "object" && input !== null && "shouldUseFlatConfig" in input && "FileEnumerator" in eslintUnsupportedApi;
|
|
@@ -15660,7 +15660,7 @@ In the meantime, if you want to keep this rule enabled, you can suppress this wa
|
|
|
15660
15660
|
}
|
|
15661
15661
|
});
|
|
15662
15662
|
|
|
15663
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15663
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-useless-path-segments.js
|
|
15664
15664
|
init_esm_shims();
|
|
15665
15665
|
function toRelativePath(relativePath) {
|
|
15666
15666
|
const stripped = relativePath.replaceAll(/\/$/g, "");
|
|
@@ -15757,7 +15757,7 @@ var no_useless_path_segments_default = createRule2({
|
|
|
15757
15757
|
}
|
|
15758
15758
|
});
|
|
15759
15759
|
|
|
15760
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15760
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/no-webpack-loader-syntax.js
|
|
15761
15761
|
init_esm_shims();
|
|
15762
15762
|
var no_webpack_loader_syntax_default = createRule2({
|
|
15763
15763
|
name: "no-webpack-loader-syntax",
|
|
@@ -15788,7 +15788,7 @@ var no_webpack_loader_syntax_default = createRule2({
|
|
|
15788
15788
|
}
|
|
15789
15789
|
});
|
|
15790
15790
|
|
|
15791
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
15791
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/order.js
|
|
15792
15792
|
init_esm_shims();
|
|
15793
15793
|
var log6 = debug("eslint-plugin-import-x:rules:order");
|
|
15794
15794
|
var groupBy = (array2, grouper) => array2.reduce((acc, curr, index) => {
|
|
@@ -16833,7 +16833,7 @@ var order_default = createRule2({
|
|
|
16833
16833
|
}
|
|
16834
16834
|
});
|
|
16835
16835
|
|
|
16836
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
16836
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/prefer-default-export.js
|
|
16837
16837
|
init_esm_shims();
|
|
16838
16838
|
var prefer_default_export_default = createRule2({
|
|
16839
16839
|
name: "prefer-default-export",
|
|
@@ -16939,7 +16939,7 @@ var prefer_default_export_default = createRule2({
|
|
|
16939
16939
|
}
|
|
16940
16940
|
});
|
|
16941
16941
|
|
|
16942
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
16942
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/prefer-namespace-import.js
|
|
16943
16943
|
init_esm_shims();
|
|
16944
16944
|
var prefer_namespace_import_default = createRule2({
|
|
16945
16945
|
name: "prefer-namespace-import",
|
|
@@ -17021,7 +17021,7 @@ function toRegExp(string3) {
|
|
|
17021
17021
|
return { test: (s) => s === string3 };
|
|
17022
17022
|
}
|
|
17023
17023
|
|
|
17024
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
17024
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/rules/unambiguous.js
|
|
17025
17025
|
init_esm_shims();
|
|
17026
17026
|
var unambiguous_default = createRule2({
|
|
17027
17027
|
name: "unambiguous",
|
|
@@ -17054,7 +17054,7 @@ var unambiguous_default = createRule2({
|
|
|
17054
17054
|
}
|
|
17055
17055
|
});
|
|
17056
17056
|
|
|
17057
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=
|
|
17057
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-x@4.16.2_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_0dbc3eee2b0376d10a43f62a5381be15/node_modules/eslint-plugin-import-x/lib/index.js
|
|
17058
17058
|
var rules2 = {
|
|
17059
17059
|
"no-unresolved": no_unresolved_default,
|
|
17060
17060
|
named: named_default,
|
|
@@ -17149,7 +17149,7 @@ plugin2.flatConfigs = flatConfigs;
|
|
|
17149
17149
|
plugin2.configs = configs2;
|
|
17150
17150
|
var lib_default = plugin2;
|
|
17151
17151
|
|
|
17152
|
-
// ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.61.
|
|
17152
|
+
// ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.61.1_eslint@10.5.0_jiti@2.7.0_e8d07a3cae38c0c20a435ef4b1c79561/node_modules/eslint-plugin-import-zod/dist/index.mjs
|
|
17153
17153
|
init_esm_shims();
|
|
17154
17154
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
17155
17155
|
var __esm = (fn, res) => function() {
|
|
@@ -19474,7 +19474,7 @@ plugin3.configs = configs3;
|
|
|
19474
19474
|
|
|
19475
19475
|
// ../eslint-plugin-pnpm/package.json
|
|
19476
19476
|
var package_default2 = {
|
|
19477
|
-
version: "0.0.
|
|
19477
|
+
version: "0.0.33"};
|
|
19478
19478
|
|
|
19479
19479
|
// ../eslint-plugin-pnpm/src/plugin.ts
|
|
19480
19480
|
var plugin4 = {
|
|
@@ -19672,9 +19672,9 @@ var ReactRouterPackages = [
|
|
|
19672
19672
|
"@react-router/serve",
|
|
19673
19673
|
"@react-router/dev"
|
|
19674
19674
|
];
|
|
19675
|
-
function renameRules2(
|
|
19675
|
+
function renameRules2(config6) {
|
|
19676
19676
|
const renamedRules = {};
|
|
19677
|
-
for (const [ruleName, ruleConfig] of Object.entries(
|
|
19677
|
+
for (const [ruleName, ruleConfig] of Object.entries(config6.rules || {})) {
|
|
19678
19678
|
if (ruleName.startsWith("@eslint-react/dom-")) {
|
|
19679
19679
|
renamedRules[`react-dom/${ruleName.slice("@eslint-react/dom-".length)}`] = ruleConfig;
|
|
19680
19680
|
} else if (ruleName.startsWith("@eslint-react/web-api-")) {
|
|
@@ -19907,21 +19907,21 @@ async function reactNative(options = {}) {
|
|
|
19907
19907
|
// src/configs/regexp.ts
|
|
19908
19908
|
init_esm_shims();
|
|
19909
19909
|
async function regexp(options = {}) {
|
|
19910
|
-
const
|
|
19911
|
-
const
|
|
19912
|
-
...
|
|
19910
|
+
const config6 = configs$1["flat/recommended"];
|
|
19911
|
+
const rules6 = {
|
|
19912
|
+
...config6.rules
|
|
19913
19913
|
};
|
|
19914
19914
|
if (options.level === "warn") {
|
|
19915
|
-
for (const key in
|
|
19916
|
-
if (
|
|
19915
|
+
for (const key in rules6) {
|
|
19916
|
+
if (rules6[key] === "error") rules6[key] = "warn";
|
|
19917
19917
|
}
|
|
19918
19918
|
}
|
|
19919
19919
|
return [
|
|
19920
19920
|
{
|
|
19921
|
-
...
|
|
19921
|
+
...config6,
|
|
19922
19922
|
name: "storm/regexp/rules",
|
|
19923
19923
|
rules: {
|
|
19924
|
-
...
|
|
19924
|
+
...rules6,
|
|
19925
19925
|
"regexp/no-unused-capturing-group": [
|
|
19926
19926
|
"error",
|
|
19927
19927
|
{
|
|
@@ -20344,7 +20344,61 @@ async function toml(options = {}) {
|
|
|
20344
20344
|
|
|
20345
20345
|
// src/configs/tsdoc.ts
|
|
20346
20346
|
init_esm_shims();
|
|
20347
|
+
|
|
20348
|
+
// ../eslint-plugin-tsdoc/src/index.ts
|
|
20349
|
+
init_esm_shims();
|
|
20350
|
+
|
|
20351
|
+
// ../eslint-plugin-tsdoc/src/configs/index.ts
|
|
20352
|
+
init_esm_shims();
|
|
20353
|
+
|
|
20354
|
+
// ../eslint-plugin-tsdoc/src/configs/recommended.ts
|
|
20355
|
+
init_esm_shims();
|
|
20356
|
+
|
|
20357
|
+
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
20358
|
+
init_esm_shims();
|
|
20347
20359
|
var import_eslint_plugin_tsdoc = __toESM(require_lib(), 1);
|
|
20360
|
+
|
|
20361
|
+
// ../eslint-plugin-tsdoc/package.json
|
|
20362
|
+
var package_default3 = {
|
|
20363
|
+
version: "0.0.33"};
|
|
20364
|
+
|
|
20365
|
+
// ../eslint-plugin-tsdoc/src/plugin.ts
|
|
20366
|
+
var plugin7 = {
|
|
20367
|
+
...import_eslint_plugin_tsdoc.default,
|
|
20368
|
+
meta: {
|
|
20369
|
+
name: "tsdoc",
|
|
20370
|
+
version: package_default3.version
|
|
20371
|
+
}
|
|
20372
|
+
};
|
|
20373
|
+
|
|
20374
|
+
// ../eslint-plugin-tsdoc/src/configs/recommended.ts
|
|
20375
|
+
var config5 = {
|
|
20376
|
+
files: [GLOB_TS, GLOB_TSX],
|
|
20377
|
+
ignores: GLOB_EXCLUDE,
|
|
20378
|
+
name: "tsdoc/recommended",
|
|
20379
|
+
plugins: {
|
|
20380
|
+
tsdoc: plugin7
|
|
20381
|
+
},
|
|
20382
|
+
rules: {
|
|
20383
|
+
"tsdoc/syntax": ["error", { type: "recommended" }]
|
|
20384
|
+
}
|
|
20385
|
+
};
|
|
20386
|
+
var recommended_default5 = config5;
|
|
20387
|
+
|
|
20388
|
+
// ../eslint-plugin-tsdoc/src/configs/index.ts
|
|
20389
|
+
var configs6 = {
|
|
20390
|
+
recommended: recommended_default5
|
|
20391
|
+
};
|
|
20392
|
+
|
|
20393
|
+
// ../eslint-plugin-tsdoc/src/index.ts
|
|
20394
|
+
var eslintPlugin3 = {
|
|
20395
|
+
...plugin7,
|
|
20396
|
+
configs: configs6
|
|
20397
|
+
};
|
|
20398
|
+
var src_default3 = eslintPlugin3;
|
|
20399
|
+
plugin7.rules;
|
|
20400
|
+
|
|
20401
|
+
// src/configs/tsdoc.ts
|
|
20348
20402
|
async function tsdoc(options = {}) {
|
|
20349
20403
|
const {
|
|
20350
20404
|
severity = "error",
|
|
@@ -20357,7 +20411,7 @@ async function tsdoc(options = {}) {
|
|
|
20357
20411
|
files,
|
|
20358
20412
|
name: "storm/tsdoc/rules",
|
|
20359
20413
|
plugins: {
|
|
20360
|
-
tsdoc:
|
|
20414
|
+
tsdoc: src_default3
|
|
20361
20415
|
},
|
|
20362
20416
|
rules: {
|
|
20363
20417
|
"tsdoc/syntax": [
|
|
@@ -20867,10 +20921,10 @@ function preset(options, ...userConfigs) {
|
|
|
20867
20921
|
if (stylisticOptions && !("jsx" in stylisticOptions)) {
|
|
20868
20922
|
stylisticOptions.jsx = enableJsx;
|
|
20869
20923
|
}
|
|
20870
|
-
const
|
|
20924
|
+
const configs7 = [];
|
|
20871
20925
|
if (enableGitignore) {
|
|
20872
20926
|
if (typeof enableGitignore !== "boolean") {
|
|
20873
|
-
|
|
20927
|
+
configs7.push(
|
|
20874
20928
|
interopDefault(import('eslint-config-flat-gitignore')).then((r) => [
|
|
20875
20929
|
r({
|
|
20876
20930
|
name: "storm/gitignore",
|
|
@@ -20879,7 +20933,7 @@ function preset(options, ...userConfigs) {
|
|
|
20879
20933
|
])
|
|
20880
20934
|
);
|
|
20881
20935
|
} else {
|
|
20882
|
-
|
|
20936
|
+
configs7.push(
|
|
20883
20937
|
interopDefault(import('eslint-config-flat-gitignore')).then((r) => [
|
|
20884
20938
|
r({
|
|
20885
20939
|
name: "storm/gitignore",
|
|
@@ -20889,7 +20943,7 @@ function preset(options, ...userConfigs) {
|
|
|
20889
20943
|
);
|
|
20890
20944
|
}
|
|
20891
20945
|
}
|
|
20892
|
-
|
|
20946
|
+
configs7.push(
|
|
20893
20947
|
ignores(options.ignores),
|
|
20894
20948
|
javascript({
|
|
20895
20949
|
globals,
|
|
@@ -20914,7 +20968,7 @@ function preset(options, ...userConfigs) {
|
|
|
20914
20968
|
}
|
|
20915
20969
|
}
|
|
20916
20970
|
if (enableTypeScript) {
|
|
20917
|
-
|
|
20971
|
+
configs7.push(
|
|
20918
20972
|
typescript({
|
|
20919
20973
|
...typescriptOptions,
|
|
20920
20974
|
tsconfigPath: typescriptOptions.tsconfigPath === false ? void 0 : typescriptOptions.tsconfigPath,
|
|
@@ -20925,7 +20979,7 @@ function preset(options, ...userConfigs) {
|
|
|
20925
20979
|
);
|
|
20926
20980
|
}
|
|
20927
20981
|
if (enableBanner) {
|
|
20928
|
-
|
|
20982
|
+
configs7.push(
|
|
20929
20983
|
banner({
|
|
20930
20984
|
...resolveSubOptions(options, "banner"),
|
|
20931
20985
|
name: name3,
|
|
@@ -20934,16 +20988,16 @@ function preset(options, ...userConfigs) {
|
|
|
20934
20988
|
);
|
|
20935
20989
|
}
|
|
20936
20990
|
if (!stylisticOptions) {
|
|
20937
|
-
|
|
20991
|
+
configs7.push(prettier());
|
|
20938
20992
|
}
|
|
20939
20993
|
if (enableCSpell) {
|
|
20940
|
-
|
|
20994
|
+
configs7.push(cspell(resolveSubOptions(options, "cspell")));
|
|
20941
20995
|
}
|
|
20942
20996
|
if (enableUnicorn) {
|
|
20943
|
-
|
|
20997
|
+
configs7.push(unicorn(enableUnicorn === true ? {} : enableUnicorn));
|
|
20944
20998
|
}
|
|
20945
20999
|
if (enableJSDoc) {
|
|
20946
|
-
|
|
21000
|
+
configs7.push(
|
|
20947
21001
|
jsdoc({
|
|
20948
21002
|
...resolveSubOptions(options, "jsdoc"),
|
|
20949
21003
|
overrides: getOverrides(options, "jsdoc")
|
|
@@ -20951,7 +21005,7 @@ function preset(options, ...userConfigs) {
|
|
|
20951
21005
|
);
|
|
20952
21006
|
}
|
|
20953
21007
|
if (enableTSDoc) {
|
|
20954
|
-
|
|
21008
|
+
configs7.push(
|
|
20955
21009
|
tsdoc({
|
|
20956
21010
|
...resolveSubOptions(options, "tsdoc"),
|
|
20957
21011
|
overrides: getOverrides(options, "tsdoc")
|
|
@@ -20959,17 +21013,17 @@ function preset(options, ...userConfigs) {
|
|
|
20959
21013
|
);
|
|
20960
21014
|
}
|
|
20961
21015
|
if (enableJsx) {
|
|
20962
|
-
|
|
21016
|
+
configs7.push(jsx());
|
|
20963
21017
|
}
|
|
20964
21018
|
if (enableZod) {
|
|
20965
|
-
|
|
21019
|
+
configs7.push(
|
|
20966
21020
|
zod({
|
|
20967
21021
|
overrides: getOverrides(options, "zod")
|
|
20968
21022
|
})
|
|
20969
21023
|
);
|
|
20970
21024
|
}
|
|
20971
21025
|
if (stylisticOptions) {
|
|
20972
|
-
|
|
21026
|
+
configs7.push(
|
|
20973
21027
|
stylistic({
|
|
20974
21028
|
...stylisticOptions,
|
|
20975
21029
|
lineEndings: stylisticOptions.lineEndings ?? "unix",
|
|
@@ -20979,10 +21033,10 @@ function preset(options, ...userConfigs) {
|
|
|
20979
21033
|
);
|
|
20980
21034
|
}
|
|
20981
21035
|
if (enableRegexp) {
|
|
20982
|
-
|
|
21036
|
+
configs7.push(regexp(typeof enableRegexp === "boolean" ? {} : enableRegexp));
|
|
20983
21037
|
}
|
|
20984
21038
|
if (enableTest) {
|
|
20985
|
-
|
|
21039
|
+
configs7.push(
|
|
20986
21040
|
test({
|
|
20987
21041
|
isInEditor,
|
|
20988
21042
|
overrides: getOverrides(options, "test")
|
|
@@ -20990,10 +21044,10 @@ function preset(options, ...userConfigs) {
|
|
|
20990
21044
|
);
|
|
20991
21045
|
}
|
|
20992
21046
|
if (enableGraphQL) {
|
|
20993
|
-
|
|
21047
|
+
configs7.push(graphql(resolveSubOptions(options, "graphql")));
|
|
20994
21048
|
}
|
|
20995
21049
|
if (enableReact) {
|
|
20996
|
-
|
|
21050
|
+
configs7.push(
|
|
20997
21051
|
react({
|
|
20998
21052
|
...typescriptOptions,
|
|
20999
21053
|
tsconfigPath: typescriptOptions.tsconfigPath === false ? void 0 : typescriptOptions.tsconfigPath,
|
|
@@ -21003,7 +21057,7 @@ function preset(options, ...userConfigs) {
|
|
|
21003
21057
|
);
|
|
21004
21058
|
}
|
|
21005
21059
|
if (enableReactNative) {
|
|
21006
|
-
|
|
21060
|
+
configs7.push(
|
|
21007
21061
|
reactNative({
|
|
21008
21062
|
...resolveSubOptions(options, "react-native"),
|
|
21009
21063
|
overrides: getOverrides(options, "react-native")
|
|
@@ -21011,13 +21065,13 @@ function preset(options, ...userConfigs) {
|
|
|
21011
21065
|
);
|
|
21012
21066
|
}
|
|
21013
21067
|
if (enableNext) {
|
|
21014
|
-
|
|
21068
|
+
configs7.push(next(resolveSubOptions(options, "next")));
|
|
21015
21069
|
}
|
|
21016
21070
|
if (enableStorybook) {
|
|
21017
|
-
|
|
21071
|
+
configs7.push(storybook(resolveSubOptions(options, "storybook")));
|
|
21018
21072
|
}
|
|
21019
21073
|
if (enableUnoCSS) {
|
|
21020
|
-
|
|
21074
|
+
configs7.push(
|
|
21021
21075
|
unocss({
|
|
21022
21076
|
...resolveSubOptions(options, "unocss"),
|
|
21023
21077
|
overrides: getOverrides(options, "unocss")
|
|
@@ -21025,7 +21079,7 @@ function preset(options, ...userConfigs) {
|
|
|
21025
21079
|
);
|
|
21026
21080
|
}
|
|
21027
21081
|
if (enableAstro) {
|
|
21028
|
-
|
|
21082
|
+
configs7.push(
|
|
21029
21083
|
astro({
|
|
21030
21084
|
overrides: getOverrides(options, "astro"),
|
|
21031
21085
|
stylistic: stylisticOptions
|
|
@@ -21033,7 +21087,7 @@ function preset(options, ...userConfigs) {
|
|
|
21033
21087
|
);
|
|
21034
21088
|
}
|
|
21035
21089
|
if (options.pnpm ?? true) {
|
|
21036
|
-
|
|
21090
|
+
configs7.push(
|
|
21037
21091
|
pnpm({
|
|
21038
21092
|
overrides: getOverrides(options, "pnpm"),
|
|
21039
21093
|
ignore: typeof options.pnpm !== "boolean" ? options.pnpm?.ignore : void 0
|
|
@@ -21041,7 +21095,7 @@ function preset(options, ...userConfigs) {
|
|
|
21041
21095
|
);
|
|
21042
21096
|
}
|
|
21043
21097
|
if (options.jsonc ?? true) {
|
|
21044
|
-
|
|
21098
|
+
configs7.push(
|
|
21045
21099
|
jsonc({
|
|
21046
21100
|
overrides: getOverrides(options, "jsonc"),
|
|
21047
21101
|
stylistic: stylisticOptions
|
|
@@ -21049,11 +21103,11 @@ function preset(options, ...userConfigs) {
|
|
|
21049
21103
|
sortTsconfig()
|
|
21050
21104
|
);
|
|
21051
21105
|
if (stylisticOptions) {
|
|
21052
|
-
|
|
21106
|
+
configs7.push(sortPackageJson());
|
|
21053
21107
|
}
|
|
21054
21108
|
}
|
|
21055
21109
|
if (options.yaml ?? true) {
|
|
21056
|
-
|
|
21110
|
+
configs7.push(
|
|
21057
21111
|
yaml({
|
|
21058
21112
|
overrides: getOverrides(options, "yaml"),
|
|
21059
21113
|
stylistic: stylisticOptions
|
|
@@ -21061,7 +21115,7 @@ function preset(options, ...userConfigs) {
|
|
|
21061
21115
|
);
|
|
21062
21116
|
}
|
|
21063
21117
|
if (options.toml ?? true) {
|
|
21064
|
-
|
|
21118
|
+
configs7.push(
|
|
21065
21119
|
toml({
|
|
21066
21120
|
overrides: getOverrides(options, "toml"),
|
|
21067
21121
|
stylistic: stylisticOptions
|
|
@@ -21069,28 +21123,28 @@ function preset(options, ...userConfigs) {
|
|
|
21069
21123
|
);
|
|
21070
21124
|
}
|
|
21071
21125
|
if (options.markdown === true) {
|
|
21072
|
-
|
|
21126
|
+
configs7.push(
|
|
21073
21127
|
markdown({
|
|
21074
21128
|
overrides: getOverrides(options, "markdown")
|
|
21075
21129
|
})
|
|
21076
21130
|
);
|
|
21077
21131
|
}
|
|
21078
21132
|
if (enableMdx) {
|
|
21079
|
-
|
|
21133
|
+
configs7.push(
|
|
21080
21134
|
mdx({
|
|
21081
21135
|
overrides: getOverrides(options, "mdx")
|
|
21082
21136
|
})
|
|
21083
21137
|
);
|
|
21084
21138
|
}
|
|
21085
21139
|
if (options.formatters) {
|
|
21086
|
-
|
|
21140
|
+
configs7.push(
|
|
21087
21141
|
formatters(
|
|
21088
21142
|
options.formatters,
|
|
21089
21143
|
typeof stylisticOptions === "boolean" ? {} : stylisticOptions
|
|
21090
21144
|
)
|
|
21091
21145
|
);
|
|
21092
21146
|
}
|
|
21093
|
-
|
|
21147
|
+
configs7.push(disables());
|
|
21094
21148
|
if ("files" in options) {
|
|
21095
21149
|
throw new Error(
|
|
21096
21150
|
'[@storm-software/eslint] The first argument should not contain the "files" property as the options are supposed to be global. Place it in the second or later config instead.'
|
|
@@ -21102,10 +21156,10 @@ function preset(options, ...userConfigs) {
|
|
|
21102
21156
|
}
|
|
21103
21157
|
return acc;
|
|
21104
21158
|
}, {});
|
|
21105
|
-
if (Object.keys(fusedConfig).length)
|
|
21159
|
+
if (Object.keys(fusedConfig).length) configs7.push([fusedConfig]);
|
|
21106
21160
|
let composer = new FlatConfigComposer();
|
|
21107
21161
|
composer = composer.append(
|
|
21108
|
-
...
|
|
21162
|
+
...configs7,
|
|
21109
21163
|
...userConfigs
|
|
21110
21164
|
);
|
|
21111
21165
|
if (autoRenamePlugins) {
|