@icebreakers/eslint-config 5.0.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{dist-B7ddKLda.cjs → dist-Cfcd4odI.cjs} +1410 -1362
- package/dist/{dist-Bhh5YMxq.js → dist-DTWNkNCv.js} +811 -763
- package/dist/index.cjs +16 -47
- package/dist/index.d.cts +16 -3
- package/dist/index.d.ts +16 -3
- package/dist/index.js +11 -6
- package/dist/{jiti-CwIriPCr.js → jiti-BQvCzdOI.js} +5 -5
- package/dist/{jiti-BOkVoEUx.cjs → jiti-DmQZ8B-l.cjs} +8 -8
- package/dist/{lib-Mwx9Doks.js → lib-BOuqso-8.js} +1111 -610
- package/dist/{lib-H3OzP-X_.cjs → lib-ByHGIggZ.cjs} +152 -152
- package/dist/{lib-Dc92-WCU.js → lib-CLPiq1xv.js} +1 -1
- package/dist/{lib-R7AmzwP-.cjs → lib-CcedSpss.cjs} +1576 -1075
- package/dist/{modern-Dr_fOGoK.js → modern-CoGNcL7O.js} +98 -23
- package/dist/{modern-DRyO5loa.cjs → modern-y8Mo-zyc.cjs} +98 -23
- package/dist/{chunk-yCSr5jVb.js → rolldown-runtime-C8SNSOcs.js} +9 -2
- package/dist/rolldown-runtime-DzWaZAza.cjs +71 -0
- package/dist/{src-C34Mcqt3.cjs → src-Ccb5vGgU.cjs} +10 -10
- package/dist/{src-DPttw6yg.js → src-zsLgvLJM.js} +2 -2
- package/package.json +13 -13
package/dist/index.cjs
CHANGED
|
@@ -1,49 +1,16 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
10
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
11
|
-
var __exportAll = (all, no_symbols) => {
|
|
12
|
-
let target = {};
|
|
13
|
-
for (var name in all) __defProp(target, name, {
|
|
14
|
-
get: all[name],
|
|
15
|
-
enumerable: true
|
|
16
|
-
});
|
|
17
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
18
|
-
return target;
|
|
19
|
-
};
|
|
20
|
-
var __copyProps = (to, from, except, desc) => {
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
|
-
key = keys[i];
|
|
23
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
24
|
-
get: ((k) => from[k]).bind(null, key),
|
|
25
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
return to;
|
|
29
|
-
};
|
|
30
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
31
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
32
|
-
value: mod,
|
|
33
|
-
enumerable: true
|
|
34
|
-
}) : target, mod));
|
|
35
|
-
//#endregion
|
|
2
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DzWaZAza.cjs");
|
|
36
3
|
let node_path = require("node:path");
|
|
37
|
-
node_path = __toESM(node_path, 1);
|
|
4
|
+
node_path = require_rolldown_runtime.__toESM(node_path, 1);
|
|
38
5
|
let node_process = require("node:process");
|
|
39
|
-
node_process = __toESM(node_process, 1);
|
|
6
|
+
node_process = require_rolldown_runtime.__toESM(node_process, 1);
|
|
40
7
|
let node_fs = require("node:fs");
|
|
41
|
-
node_fs = __toESM(node_fs, 1);
|
|
8
|
+
node_fs = require_rolldown_runtime.__toESM(node_fs, 1);
|
|
42
9
|
let node_module = require("node:module");
|
|
43
10
|
let node_url = require("node:url");
|
|
44
11
|
//#region src/antfu.ts
|
|
45
|
-
var antfu_exports = /* @__PURE__ */ __exportAll({});
|
|
46
|
-
__reExport(antfu_exports, require("@antfu/eslint-config"));
|
|
12
|
+
var antfu_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({});
|
|
13
|
+
require_rolldown_runtime.__reExport(antfu_exports, require("@antfu/eslint-config"));
|
|
47
14
|
//#endregion
|
|
48
15
|
//#region src/defaults.ts
|
|
49
16
|
const nestjsTypeScriptRules = {
|
|
@@ -214,7 +181,8 @@ function resolveTailwindPresets(option) {
|
|
|
214
181
|
}
|
|
215
182
|
if (!hasAllPackages(TAILWIND_PACKAGES)) return [];
|
|
216
183
|
return [(0, antfu_exports.interopDefault)(import("eslint-plugin-tailwindcss")).then((tailwind) => {
|
|
217
|
-
|
|
184
|
+
const tailwindPlugin = tailwind;
|
|
185
|
+
return tailwindPlugin.configs["flat/recommended"] ?? tailwindPlugin.configs.recommended ?? [];
|
|
218
186
|
}), { rules: { "tailwindcss/no-custom-classname": "off" } }];
|
|
219
187
|
}
|
|
220
188
|
function resolveStylelintBridgeOptions(option) {
|
|
@@ -273,10 +241,10 @@ function resolveMdxPresets(isEnabled) {
|
|
|
273
241
|
function resolveAccessibilityPresets(isEnabled, vueOption, reactOption) {
|
|
274
242
|
if (!isEnabled) return [];
|
|
275
243
|
const presets = [];
|
|
276
|
-
if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ __toESM(require("./dist-
|
|
244
|
+
if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ require_rolldown_runtime.__toESM(require("./dist-Cfcd4odI.cjs").default, 1))).then((pluginVueA11y) => {
|
|
277
245
|
return pluginVueA11y.configs["flat/recommended"];
|
|
278
246
|
}));
|
|
279
|
-
if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ __toESM(require("./lib-
|
|
247
|
+
if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(Promise.resolve().then(() => /* @__PURE__ */ require_rolldown_runtime.__toESM(require("./lib-CcedSpss.cjs").default, 1))).then((jsxA11y) => {
|
|
280
248
|
return jsxA11y.flatConfigs.recommended;
|
|
281
249
|
}));
|
|
282
250
|
return presets;
|
|
@@ -291,7 +259,7 @@ function resolveNestPresets(isEnabled) {
|
|
|
291
259
|
function resolveQueryPresets(isEnabled) {
|
|
292
260
|
if (!isEnabled) return [];
|
|
293
261
|
if (!hasAllPackages(QUERY_PACKAGES)) return [];
|
|
294
|
-
return [(0, antfu_exports.interopDefault)(Promise.resolve().then(() => require("./modern-
|
|
262
|
+
return [(0, antfu_exports.interopDefault)(Promise.resolve().then(() => require("./modern-y8Mo-zyc.cjs"))).then((pluginQuery) => pluginQuery.configs["flat/recommended"])];
|
|
295
263
|
}
|
|
296
264
|
//#endregion
|
|
297
265
|
//#region ../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs
|
|
@@ -347,7 +315,7 @@ const BASE_RULES = {
|
|
|
347
315
|
};
|
|
348
316
|
const require$1 = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href);
|
|
349
317
|
const ANTFU_PACKAGE_DIR = node_path.default.dirname(require$1.resolve("@antfu/eslint-config/package.json"));
|
|
350
|
-
const GENERAL_EDITORCONFIG_SECTIONS = new Set([
|
|
318
|
+
const GENERAL_EDITORCONFIG_SECTIONS = /* @__PURE__ */ new Set([
|
|
351
319
|
"*",
|
|
352
320
|
"**",
|
|
353
321
|
"**/*",
|
|
@@ -535,6 +503,10 @@ function getPresets(options, mode) {
|
|
|
535
503
|
{
|
|
536
504
|
files: ["**/*.{css,scss,sass,less,pcss,postcss,json,jsonc,json5}"],
|
|
537
505
|
rules: { "style/eol-last": "off" }
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
files: ["**/*.{json,jsonc,json5}"],
|
|
509
|
+
rules: { "unicorn/prefer-number-properties": "off" }
|
|
538
510
|
}
|
|
539
511
|
];
|
|
540
512
|
if (resolved.vue !== false && resolved.vue !== void 0) presets.push({
|
|
@@ -746,9 +718,6 @@ function icebreakerLegacy(options = {}, ...userConfigs) {
|
|
|
746
718
|
return applyOxfmtFormatterOverrides((0, antfu_exports.antfu)(toAntfuOptions(normalized), ...presets, ...userConfigs.map(normalizeUserConfig)), normalized.formatters);
|
|
747
719
|
}
|
|
748
720
|
//#endregion
|
|
749
|
-
exports.__commonJSMin = __commonJSMin;
|
|
750
|
-
exports.__esmMin = __esmMin;
|
|
751
|
-
exports.__toESM = __toESM;
|
|
752
721
|
exports.getPresets = getPresets;
|
|
753
722
|
exports.icebreaker = icebreaker;
|
|
754
723
|
exports.icebreakerLegacy = icebreakerLegacy;
|
package/dist/index.d.cts
CHANGED
|
@@ -1843,17 +1843,17 @@ interface Directive {
|
|
|
1843
1843
|
justification?: string;
|
|
1844
1844
|
}
|
|
1845
1845
|
//#endregion
|
|
1846
|
-
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.
|
|
1846
|
+
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.2/node_modules/@eslint/plugin-kit/dist/esm/types.d.ts
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Adds matching `:exit` selector properties for each key of a `RuleVisitor`.
|
|
1849
1849
|
*/
|
|
1850
1850
|
type CustomRuleVisitorWithExit$1<RuleVisitorType extends RuleVisitor$1> = { [Key in keyof RuleVisitorType as Key | `${Key & string}:exit`]: RuleVisitorType[Key] };
|
|
1851
1851
|
//#endregion
|
|
1852
|
-
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.
|
|
1852
|
+
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.2/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts
|
|
1853
1853
|
type RuleVisitor = RuleVisitor$1;
|
|
1854
1854
|
type CustomRuleVisitorWithExit<RuleVisitorType extends RuleVisitor> = CustomRuleVisitorWithExit$1<RuleVisitorType>;
|
|
1855
1855
|
//#endregion
|
|
1856
|
-
//#region ../../node_modules/.pnpm/eslint@10.
|
|
1856
|
+
//#region ../../node_modules/.pnpm/eslint@10.5.0_jiti@2.7.0/node_modules/eslint/lib/types/index.d.ts
|
|
1857
1857
|
//------------------------------------------------------------------------------
|
|
1858
1858
|
// Exports
|
|
1859
1859
|
//------------------------------------------------------------------------------
|
|
@@ -2201,6 +2201,15 @@ declare namespace Rule {
|
|
|
2201
2201
|
[key: string]: ((codePath: CodePath, node: Node) => void) | ((segment: CodePathSegment, node: Node) => void) | ((fromSegment: CodePathSegment, toSegment: CodePathSegment, node: Node) => void) | ((node: Node) => void) | NodeListener[keyof NodeListener] | undefined;
|
|
2202
2202
|
}
|
|
2203
2203
|
type CodePathOrigin = "program" | "function" | "class-field-initializer" | "class-static-block";
|
|
2204
|
+
interface CodePathSegmentTraversalController {
|
|
2205
|
+
skip(): void;
|
|
2206
|
+
break(): void;
|
|
2207
|
+
}
|
|
2208
|
+
type CodePathSegmentTraversalCallback = (this: CodePath, segment: CodePathSegment, controller: CodePathSegmentTraversalController) => void;
|
|
2209
|
+
interface CodePathTraversalOptions {
|
|
2210
|
+
first?: CodePathSegment | undefined;
|
|
2211
|
+
last?: CodePathSegment | undefined;
|
|
2212
|
+
}
|
|
2204
2213
|
interface CodePath {
|
|
2205
2214
|
id: string;
|
|
2206
2215
|
origin: CodePathOrigin;
|
|
@@ -2210,11 +2219,15 @@ declare namespace Rule {
|
|
|
2210
2219
|
thrownSegments: CodePathSegment[];
|
|
2211
2220
|
upper: CodePath | null;
|
|
2212
2221
|
childCodePaths: CodePath[];
|
|
2222
|
+
traverseSegments(callback: CodePathSegmentTraversalCallback): void;
|
|
2223
|
+
traverseSegments(options: CodePathTraversalOptions, callback: CodePathSegmentTraversalCallback): void;
|
|
2213
2224
|
}
|
|
2214
2225
|
interface CodePathSegment {
|
|
2215
2226
|
id: string;
|
|
2216
2227
|
nextSegments: CodePathSegment[];
|
|
2217
2228
|
prevSegments: CodePathSegment[];
|
|
2229
|
+
allNextSegments: CodePathSegment[];
|
|
2230
|
+
allPrevSegments: CodePathSegment[];
|
|
2218
2231
|
reachable: boolean;
|
|
2219
2232
|
}
|
|
2220
2233
|
type RuleMetaData = RulesMeta;
|
package/dist/index.d.ts
CHANGED
|
@@ -1843,17 +1843,17 @@ interface Directive {
|
|
|
1843
1843
|
justification?: string;
|
|
1844
1844
|
}
|
|
1845
1845
|
//#endregion
|
|
1846
|
-
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.
|
|
1846
|
+
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.2/node_modules/@eslint/plugin-kit/dist/esm/types.d.ts
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Adds matching `:exit` selector properties for each key of a `RuleVisitor`.
|
|
1849
1849
|
*/
|
|
1850
1850
|
type CustomRuleVisitorWithExit$1<RuleVisitorType extends RuleVisitor$1> = { [Key in keyof RuleVisitorType as Key | `${Key & string}:exit`]: RuleVisitorType[Key] };
|
|
1851
1851
|
//#endregion
|
|
1852
|
-
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.
|
|
1852
|
+
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.7.2/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts
|
|
1853
1853
|
type RuleVisitor = RuleVisitor$1;
|
|
1854
1854
|
type CustomRuleVisitorWithExit<RuleVisitorType extends RuleVisitor> = CustomRuleVisitorWithExit$1<RuleVisitorType>;
|
|
1855
1855
|
//#endregion
|
|
1856
|
-
//#region ../../node_modules/.pnpm/eslint@10.
|
|
1856
|
+
//#region ../../node_modules/.pnpm/eslint@10.5.0_jiti@2.7.0/node_modules/eslint/lib/types/index.d.ts
|
|
1857
1857
|
//------------------------------------------------------------------------------
|
|
1858
1858
|
// Exports
|
|
1859
1859
|
//------------------------------------------------------------------------------
|
|
@@ -2201,6 +2201,15 @@ declare namespace Rule {
|
|
|
2201
2201
|
[key: string]: ((codePath: CodePath, node: Node) => void) | ((segment: CodePathSegment, node: Node) => void) | ((fromSegment: CodePathSegment, toSegment: CodePathSegment, node: Node) => void) | ((node: Node) => void) | NodeListener[keyof NodeListener] | undefined;
|
|
2202
2202
|
}
|
|
2203
2203
|
type CodePathOrigin = "program" | "function" | "class-field-initializer" | "class-static-block";
|
|
2204
|
+
interface CodePathSegmentTraversalController {
|
|
2205
|
+
skip(): void;
|
|
2206
|
+
break(): void;
|
|
2207
|
+
}
|
|
2208
|
+
type CodePathSegmentTraversalCallback = (this: CodePath, segment: CodePathSegment, controller: CodePathSegmentTraversalController) => void;
|
|
2209
|
+
interface CodePathTraversalOptions {
|
|
2210
|
+
first?: CodePathSegment | undefined;
|
|
2211
|
+
last?: CodePathSegment | undefined;
|
|
2212
|
+
}
|
|
2204
2213
|
interface CodePath {
|
|
2205
2214
|
id: string;
|
|
2206
2215
|
origin: CodePathOrigin;
|
|
@@ -2210,11 +2219,15 @@ declare namespace Rule {
|
|
|
2210
2219
|
thrownSegments: CodePathSegment[];
|
|
2211
2220
|
upper: CodePath | null;
|
|
2212
2221
|
childCodePaths: CodePath[];
|
|
2222
|
+
traverseSegments(callback: CodePathSegmentTraversalCallback): void;
|
|
2223
|
+
traverseSegments(options: CodePathTraversalOptions, callback: CodePathSegmentTraversalCallback): void;
|
|
2213
2224
|
}
|
|
2214
2225
|
interface CodePathSegment {
|
|
2215
2226
|
id: string;
|
|
2216
2227
|
nextSegments: CodePathSegment[];
|
|
2217
2228
|
prevSegments: CodePathSegment[];
|
|
2229
|
+
allNextSegments: CodePathSegment[];
|
|
2230
|
+
allPrevSegments: CodePathSegment[];
|
|
2218
2231
|
reachable: boolean;
|
|
2219
2232
|
}
|
|
2220
2233
|
type RuleMetaData = RulesMeta;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __reExport, o as __toESM, r as __exportAll } from "./
|
|
1
|
+
import { i as __reExport, o as __toESM, r as __exportAll } from "./rolldown-runtime-C8SNSOcs.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import process from "node:process";
|
|
@@ -178,7 +178,8 @@ function resolveTailwindPresets(option) {
|
|
|
178
178
|
}
|
|
179
179
|
if (!hasAllPackages(TAILWIND_PACKAGES)) return [];
|
|
180
180
|
return [(0, antfu_exports.interopDefault)(import("eslint-plugin-tailwindcss")).then((tailwind) => {
|
|
181
|
-
|
|
181
|
+
const tailwindPlugin = tailwind;
|
|
182
|
+
return tailwindPlugin.configs["flat/recommended"] ?? tailwindPlugin.configs.recommended ?? [];
|
|
182
183
|
}), { rules: { "tailwindcss/no-custom-classname": "off" } }];
|
|
183
184
|
}
|
|
184
185
|
function resolveStylelintBridgeOptions(option) {
|
|
@@ -237,10 +238,10 @@ function resolveMdxPresets(isEnabled) {
|
|
|
237
238
|
function resolveAccessibilityPresets(isEnabled, vueOption, reactOption) {
|
|
238
239
|
if (!isEnabled) return [];
|
|
239
240
|
const presets = [];
|
|
240
|
-
if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./dist-
|
|
241
|
+
if (vueOption && hasAllPackages(VUE_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./dist-DTWNkNCv.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).then((pluginVueA11y) => {
|
|
241
242
|
return pluginVueA11y.configs["flat/recommended"];
|
|
242
243
|
}));
|
|
243
|
-
if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./lib-
|
|
244
|
+
if (reactOption && hasAllPackages(REACT_A11Y_PACKAGES)) presets.push((0, antfu_exports.interopDefault)(import("./lib-BOuqso-8.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).then((jsxA11y) => {
|
|
244
245
|
return jsxA11y.flatConfigs.recommended;
|
|
245
246
|
}));
|
|
246
247
|
return presets;
|
|
@@ -255,7 +256,7 @@ function resolveNestPresets(isEnabled) {
|
|
|
255
256
|
function resolveQueryPresets(isEnabled) {
|
|
256
257
|
if (!isEnabled) return [];
|
|
257
258
|
if (!hasAllPackages(QUERY_PACKAGES)) return [];
|
|
258
|
-
return [(0, antfu_exports.interopDefault)(import("./modern-
|
|
259
|
+
return [(0, antfu_exports.interopDefault)(import("./modern-CoGNcL7O.js")).then((pluginQuery) => pluginQuery.configs["flat/recommended"])];
|
|
259
260
|
}
|
|
260
261
|
//#endregion
|
|
261
262
|
//#region ../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs
|
|
@@ -311,7 +312,7 @@ const BASE_RULES = {
|
|
|
311
312
|
};
|
|
312
313
|
const require = createRequire(import.meta.url);
|
|
313
314
|
const ANTFU_PACKAGE_DIR = path.dirname(require.resolve("@antfu/eslint-config/package.json"));
|
|
314
|
-
const GENERAL_EDITORCONFIG_SECTIONS = new Set([
|
|
315
|
+
const GENERAL_EDITORCONFIG_SECTIONS = /* @__PURE__ */ new Set([
|
|
315
316
|
"*",
|
|
316
317
|
"**",
|
|
317
318
|
"**/*",
|
|
@@ -499,6 +500,10 @@ function getPresets(options, mode) {
|
|
|
499
500
|
{
|
|
500
501
|
files: ["**/*.{css,scss,sass,less,pcss,postcss,json,jsonc,json5}"],
|
|
501
502
|
rules: { "style/eol-last": "off" }
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
files: ["**/*.{json,jsonc,json5}"],
|
|
506
|
+
rules: { "unicorn/prefer-number-properties": "off" }
|
|
502
507
|
}
|
|
503
508
|
];
|
|
504
509
|
if (resolved.vue !== false && resolved.vue !== void 0) presets.push({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __require, n as __esmMin, o as __toESM, t as __commonJSMin } from "./
|
|
1
|
+
import { a as __require, n as __esmMin, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-C8SNSOcs.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
//#region ../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/dist/jiti.cjs
|
|
4
4
|
var require_jiti = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -4208,7 +4208,7 @@ var require_jiti = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4208
4208
|
function normalizeSlash(e) {
|
|
4209
4209
|
return e.replace(/\\/g, "/");
|
|
4210
4210
|
}
|
|
4211
|
-
const rt = {}.hasOwnProperty, nt = /^([A-Z][a-z\d]*)+$/, at = new Set([
|
|
4211
|
+
const rt = {}.hasOwnProperty, nt = /^([A-Z][a-z\d]*)+$/, at = /* @__PURE__ */ new Set([
|
|
4212
4212
|
"string",
|
|
4213
4213
|
"function",
|
|
4214
4214
|
"number",
|
|
@@ -4704,12 +4704,12 @@ var require_jiti = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4704
4704
|
function pathToFileURL(e) {
|
|
4705
4705
|
return (0, Qe.pathToFileURL)(fileURLToPath(e)).toString();
|
|
4706
4706
|
}
|
|
4707
|
-
const Ut = new Set(["node", "import"]), Mt = [
|
|
4707
|
+
const Ut = /* @__PURE__ */ new Set(["node", "import"]), Mt = [
|
|
4708
4708
|
".mjs",
|
|
4709
4709
|
".cjs",
|
|
4710
4710
|
".js",
|
|
4711
4711
|
".json"
|
|
4712
|
-
], jt = new Set([
|
|
4712
|
+
], jt = /* @__PURE__ */ new Set([
|
|
4713
4713
|
"ERR_MODULE_NOT_FOUND",
|
|
4714
4714
|
"ERR_UNSUPPORTED_DIR_IMPORT",
|
|
4715
4715
|
"MODULE_NOT_FOUND",
|
|
@@ -4769,7 +4769,7 @@ var require_jiti = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4769
4769
|
if ("string" != typeof e) throw new TypeError("Expected a string");
|
|
4770
4770
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
4771
4771
|
}
|
|
4772
|
-
const $t = new Set([
|
|
4772
|
+
const $t = /* @__PURE__ */ new Set([
|
|
4773
4773
|
"/",
|
|
4774
4774
|
"\\",
|
|
4775
4775
|
void 0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-DzWaZAza.cjs");
|
|
2
2
|
let node_module = require("node:module");
|
|
3
3
|
//#region ../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/dist/jiti.cjs
|
|
4
|
-
var require_jiti = /* @__PURE__ */
|
|
4
|
+
var require_jiti = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
5
5
|
(() => {
|
|
6
6
|
var e = {
|
|
7
7
|
"./node_modules/.pnpm/mlly@1.8.2/node_modules/mlly/dist lazy recursive"(e) {
|
|
@@ -4208,7 +4208,7 @@ var require_jiti = /* @__PURE__ */ require_index.__commonJSMin(((exports, module
|
|
|
4208
4208
|
function normalizeSlash(e) {
|
|
4209
4209
|
return e.replace(/\\/g, "/");
|
|
4210
4210
|
}
|
|
4211
|
-
const rt = {}.hasOwnProperty, nt = /^([A-Z][a-z\d]*)+$/, at = new Set([
|
|
4211
|
+
const rt = {}.hasOwnProperty, nt = /^([A-Z][a-z\d]*)+$/, at = /* @__PURE__ */ new Set([
|
|
4212
4212
|
"string",
|
|
4213
4213
|
"function",
|
|
4214
4214
|
"number",
|
|
@@ -4704,12 +4704,12 @@ var require_jiti = /* @__PURE__ */ require_index.__commonJSMin(((exports, module
|
|
|
4704
4704
|
function pathToFileURL(e) {
|
|
4705
4705
|
return (0, Qe.pathToFileURL)(fileURLToPath(e)).toString();
|
|
4706
4706
|
}
|
|
4707
|
-
const Ut = new Set(["node", "import"]), Mt = [
|
|
4707
|
+
const Ut = /* @__PURE__ */ new Set(["node", "import"]), Mt = [
|
|
4708
4708
|
".mjs",
|
|
4709
4709
|
".cjs",
|
|
4710
4710
|
".js",
|
|
4711
4711
|
".json"
|
|
4712
|
-
], jt = new Set([
|
|
4712
|
+
], jt = /* @__PURE__ */ new Set([
|
|
4713
4713
|
"ERR_MODULE_NOT_FOUND",
|
|
4714
4714
|
"ERR_UNSUPPORTED_DIR_IMPORT",
|
|
4715
4715
|
"MODULE_NOT_FOUND",
|
|
@@ -4769,7 +4769,7 @@ var require_jiti = /* @__PURE__ */ require_index.__commonJSMin(((exports, module
|
|
|
4769
4769
|
if ("string" != typeof e) throw new TypeError("Expected a string");
|
|
4770
4770
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
4771
4771
|
}
|
|
4772
|
-
const $t = new Set([
|
|
4772
|
+
const $t = /* @__PURE__ */ new Set([
|
|
4773
4773
|
"/",
|
|
4774
4774
|
"\\",
|
|
4775
4775
|
void 0
|
|
@@ -5453,8 +5453,8 @@ function createJiti(id, opts = {}) {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
var import_jiti, nativeImport, _transform;
|
|
5455
5455
|
//#endregion
|
|
5456
|
-
|
|
5457
|
-
import_jiti = /* @__PURE__ */
|
|
5456
|
+
require_rolldown_runtime.__esmMin((() => {
|
|
5457
|
+
import_jiti = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_jiti(), 1);
|
|
5458
5458
|
nativeImport = (id) => import(id);
|
|
5459
5459
|
}))();
|
|
5460
5460
|
exports.createJiti = createJiti;
|