powerlines 0.42.30 → 0.42.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/dist/api-D6i8MmbC.mjs +6063 -0
  2. package/dist/api-D6i8MmbC.mjs.map +1 -0
  3. package/dist/api-DZoRNTY7.cjs +6083 -0
  4. package/dist/{api-context-AY_byIdN.mjs → api-context-BQi9M07D.mjs} +414 -6
  5. package/dist/api-context-BQi9M07D.mjs.map +1 -0
  6. package/dist/{api-context-BTrJUKNX.cjs → api-context-k3dnn5KR.cjs} +425 -9
  7. package/dist/astro.cjs +4 -5
  8. package/dist/astro.d.cts +2 -2
  9. package/dist/astro.d.cts.map +1 -1
  10. package/dist/astro.d.mts +2 -2
  11. package/dist/astro.d.mts.map +1 -1
  12. package/dist/astro.mjs +3 -3
  13. package/dist/astro.mjs.map +1 -1
  14. package/dist/base-Bl_AMAlI.d.cts +12 -0
  15. package/dist/base-Bl_AMAlI.d.cts.map +1 -0
  16. package/dist/base-hjCHfNY6.d.mts +12 -0
  17. package/dist/base-hjCHfNY6.d.mts.map +1 -0
  18. package/dist/{chunk-AIJqnxB6.cjs → chunk-7azAqIA9.cjs} +7 -0
  19. package/dist/{chunk-CtajNgzt.mjs → chunk-WJdhOJK3.mjs} +10 -1
  20. package/dist/config.cjs +1 -1
  21. package/dist/config.mjs +1 -1
  22. package/dist/constants.cjs +1 -1
  23. package/dist/constants.mjs +1 -1
  24. package/dist/context/index.cjs +1 -1
  25. package/dist/context/index.d.cts +260 -1
  26. package/dist/context/index.d.cts.map +1 -1
  27. package/dist/context/index.d.mts +260 -1
  28. package/dist/context/index.d.mts.map +1 -1
  29. package/dist/context/index.mjs +1 -1
  30. package/dist/esbuild.cjs +3 -10
  31. package/dist/esbuild.d.cts +2 -2
  32. package/dist/esbuild.d.cts.map +1 -1
  33. package/dist/esbuild.d.mts +2 -2
  34. package/dist/esbuild.d.mts.map +1 -1
  35. package/dist/esbuild.mjs +2 -2
  36. package/dist/esbuild.mjs.map +1 -1
  37. package/dist/farm.cjs +5 -6
  38. package/dist/farm.d.cts +2 -2
  39. package/dist/farm.d.cts.map +1 -1
  40. package/dist/farm.d.mts +2 -2
  41. package/dist/farm.d.mts.map +1 -1
  42. package/dist/farm.mjs +2 -2
  43. package/dist/farm.mjs.map +1 -1
  44. package/dist/index.cjs +5 -7
  45. package/dist/index.d.cts +3 -3
  46. package/dist/index.d.mts +3 -3
  47. package/dist/index.mjs +3 -4
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/next.cjs +5 -6
  50. package/dist/next.d.cts +2 -2
  51. package/dist/next.d.cts.map +1 -1
  52. package/dist/next.d.mts +2 -2
  53. package/dist/next.d.mts.map +1 -1
  54. package/dist/next.mjs +4 -4
  55. package/dist/next.mjs.map +1 -1
  56. package/dist/nuxt.cjs +8 -9
  57. package/dist/nuxt.d.cts +2 -2
  58. package/dist/nuxt.d.cts.map +1 -1
  59. package/dist/nuxt.d.mts +2 -2
  60. package/dist/nuxt.d.mts.map +1 -1
  61. package/dist/nuxt.mjs +7 -7
  62. package/dist/nuxt.mjs.map +1 -1
  63. package/dist/plugin-utils.cjs +1 -1
  64. package/dist/plugin-utils.mjs +1 -1
  65. package/dist/rolldown.cjs +4 -11
  66. package/dist/rolldown.d.cts +2 -2
  67. package/dist/rolldown.d.cts.map +1 -1
  68. package/dist/rolldown.d.mts +2 -2
  69. package/dist/rolldown.d.mts.map +1 -1
  70. package/dist/rolldown.mjs +2 -2
  71. package/dist/rolldown.mjs.map +1 -1
  72. package/dist/rollup.cjs +4 -11
  73. package/dist/rollup.d.cts +2 -2
  74. package/dist/rollup.d.cts.map +1 -1
  75. package/dist/rollup.d.mts +2 -2
  76. package/dist/rollup.d.mts.map +1 -1
  77. package/dist/rollup.mjs +2 -2
  78. package/dist/rollup.mjs.map +1 -1
  79. package/dist/rspack.cjs +4 -11
  80. package/dist/rspack.d.cts +2 -2
  81. package/dist/rspack.d.cts.map +1 -1
  82. package/dist/rspack.d.mts +2 -2
  83. package/dist/rspack.d.mts.map +1 -1
  84. package/dist/rspack.mjs +2 -2
  85. package/dist/rspack.mjs.map +1 -1
  86. package/dist/storage/index.cjs +1 -1
  87. package/dist/storage/index.d.cts +1 -1
  88. package/dist/storage/index.d.mts +1 -1
  89. package/dist/storage/index.mjs +1 -1
  90. package/dist/{tsconfig-B0kfe_iM.cjs → tsconfig-BhVGZ2DK.cjs} +2 -2
  91. package/dist/{tsconfig-B8RooiIp.mjs → tsconfig-CzYPBpDS.mjs} +2 -2
  92. package/dist/{tsconfig-B8RooiIp.mjs.map → tsconfig-CzYPBpDS.mjs.map} +1 -1
  93. package/dist/tsdown.cjs +5 -12
  94. package/dist/tsdown.d.cts +2 -2
  95. package/dist/tsdown.d.cts.map +1 -1
  96. package/dist/tsdown.d.mts +2 -2
  97. package/dist/tsdown.d.mts.map +1 -1
  98. package/dist/tsdown.mjs +3 -3
  99. package/dist/tsdown.mjs.map +1 -1
  100. package/dist/tsup.cjs +5 -12
  101. package/dist/tsup.d.cts +547 -3
  102. package/dist/tsup.d.cts.map +1 -1
  103. package/dist/tsup.d.mts +547 -3
  104. package/dist/tsup.d.mts.map +1 -1
  105. package/dist/tsup.mjs +3 -3
  106. package/dist/tsup.mjs.map +1 -1
  107. package/dist/typescript/index.cjs +2 -2
  108. package/dist/typescript/index.d.cts +6 -1
  109. package/dist/typescript/index.d.cts.map +1 -1
  110. package/dist/typescript/index.d.mts +6 -1
  111. package/dist/typescript/index.d.mts.map +1 -1
  112. package/dist/typescript/index.mjs +1 -1
  113. package/dist/unloader.cjs +5 -6
  114. package/dist/unloader.d.cts +2 -2
  115. package/dist/unloader.d.mts +2 -2
  116. package/dist/unloader.mjs +2 -2
  117. package/dist/unloader.mjs.map +1 -1
  118. package/dist/unplugin.cjs +2 -2
  119. package/dist/unplugin.mjs +1 -1
  120. package/dist/utils.cjs +1 -1
  121. package/dist/utils.mjs +1 -1
  122. package/dist/{virtual-CJChzKrr.cjs → virtual-BHb4iMd_.cjs} +3 -3
  123. package/dist/{virtual-DB9ki0Y6.mjs → virtual-OEHgBu0s.mjs} +3 -3
  124. package/dist/{virtual-DB9ki0Y6.mjs.map → virtual-OEHgBu0s.mjs.map} +1 -1
  125. package/dist/vite.cjs +4 -11
  126. package/dist/vite.d.cts +2 -2
  127. package/dist/vite.d.mts +2 -2
  128. package/dist/vite.mjs +2 -2
  129. package/dist/vite.mjs.map +1 -1
  130. package/dist/webpack.cjs +4 -11
  131. package/dist/webpack.d.cts +2 -2
  132. package/dist/webpack.d.cts.map +1 -1
  133. package/dist/webpack.d.mts +2 -2
  134. package/dist/webpack.d.mts.map +1 -1
  135. package/dist/webpack.mjs +2 -2
  136. package/dist/webpack.mjs.map +1 -1
  137. package/package.json +14 -14
  138. package/dist/api-BQswQ9mT.mjs +0 -861
  139. package/dist/api-BQswQ9mT.mjs.map +0 -1
  140. package/dist/api-D7HzHvkw.cjs +0 -881
  141. package/dist/api-context-AY_byIdN.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
1
+ const require_chunk = require('./chunk-7azAqIA9.cjs');
2
2
  const require_utils = require('./utils.cjs');
3
3
  const require_plugin_utils = require('./plugin-utils.cjs');
4
4
  const require_constants = require('./constants.cjs');
5
- const require_tsconfig = require('./tsconfig-B0kfe_iM.cjs');
5
+ const require_tsconfig = require('./tsconfig-BhVGZ2DK.cjs');
6
6
  const require_config = require('./config.cjs');
7
- const require_virtual = require('./virtual-CJChzKrr.cjs');
7
+ const require_virtual = require('./virtual-BHb4iMd_.cjs');
8
8
  let _stryke_fs_get_workspace_root = require("@stryke/fs/get-workspace-root");
9
9
  let _stryke_convert_to_array = require("@stryke/convert/to-array");
10
10
  let _stryke_fs_exists = require("@stryke/fs/exists");
@@ -23,12 +23,17 @@ let _stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
23
23
  let _stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
24
24
  let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
25
25
  let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
26
- let chalk = require("chalk");
27
- chalk = require_chunk.__toESM(chalk);
26
+ let node_process = require("node:process");
27
+ node_process = require_chunk.__toESM(node_process);
28
+ let node_os = require("node:os");
29
+ node_os = require_chunk.__toESM(node_os);
30
+ let node_tty = require("node:tty");
31
+ node_tty = require_chunk.__toESM(node_tty);
28
32
  let defu = require("defu");
29
33
  defu = require_chunk.__toESM(defu);
30
34
  let _stryke_string_format_pretty_bytes = require("@stryke/string-format/pretty-bytes");
31
35
  let bundle_require = require("bundle-require");
36
+ let node_url = require("node:url");
32
37
  let _stryke_helpers_get_field = require("@stryke/helpers/get-field");
33
38
  let _stryke_fs_json = require("@stryke/fs/json");
34
39
  require("@stryke/fs/remove-file");
@@ -57,8 +62,413 @@ let _stryke_path_is_type = require("@stryke/path/is-type");
57
62
  let _stryke_path_slash = require("@stryke/path/slash");
58
63
  let _stryke_type_checks_is_regexp = require("@stryke/type-checks/is-regexp");
59
64
  let node_buffer = require("node:buffer");
60
- let node_url = require("node:url");
61
65
 
66
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
67
+ const ANSI_BACKGROUND_OFFSET = 10;
68
+ const wrapAnsi16 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
69
+ const wrapAnsi256 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
70
+ const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
71
+ const styles$1 = {
72
+ modifier: {
73
+ reset: [0, 0],
74
+ bold: [1, 22],
75
+ dim: [2, 22],
76
+ italic: [3, 23],
77
+ underline: [4, 24],
78
+ overline: [53, 55],
79
+ inverse: [7, 27],
80
+ hidden: [8, 28],
81
+ strikethrough: [9, 29]
82
+ },
83
+ color: {
84
+ black: [30, 39],
85
+ red: [31, 39],
86
+ green: [32, 39],
87
+ yellow: [33, 39],
88
+ blue: [34, 39],
89
+ magenta: [35, 39],
90
+ cyan: [36, 39],
91
+ white: [37, 39],
92
+ blackBright: [90, 39],
93
+ gray: [90, 39],
94
+ grey: [90, 39],
95
+ redBright: [91, 39],
96
+ greenBright: [92, 39],
97
+ yellowBright: [93, 39],
98
+ blueBright: [94, 39],
99
+ magentaBright: [95, 39],
100
+ cyanBright: [96, 39],
101
+ whiteBright: [97, 39]
102
+ },
103
+ bgColor: {
104
+ bgBlack: [40, 49],
105
+ bgRed: [41, 49],
106
+ bgGreen: [42, 49],
107
+ bgYellow: [43, 49],
108
+ bgBlue: [44, 49],
109
+ bgMagenta: [45, 49],
110
+ bgCyan: [46, 49],
111
+ bgWhite: [47, 49],
112
+ bgBlackBright: [100, 49],
113
+ bgGray: [100, 49],
114
+ bgGrey: [100, 49],
115
+ bgRedBright: [101, 49],
116
+ bgGreenBright: [102, 49],
117
+ bgYellowBright: [103, 49],
118
+ bgBlueBright: [104, 49],
119
+ bgMagentaBright: [105, 49],
120
+ bgCyanBright: [106, 49],
121
+ bgWhiteBright: [107, 49]
122
+ }
123
+ };
124
+ const modifierNames = Object.keys(styles$1.modifier);
125
+ const foregroundColorNames = Object.keys(styles$1.color);
126
+ const backgroundColorNames = Object.keys(styles$1.bgColor);
127
+ const colorNames = [...foregroundColorNames, ...backgroundColorNames];
128
+ function assembleStyles() {
129
+ const codes = /* @__PURE__ */ new Map();
130
+ for (const [groupName, group] of Object.entries(styles$1)) {
131
+ for (const [styleName, style] of Object.entries(group)) {
132
+ styles$1[styleName] = {
133
+ open: `\u001B[${style[0]}m`,
134
+ close: `\u001B[${style[1]}m`
135
+ };
136
+ group[styleName] = styles$1[styleName];
137
+ codes.set(style[0], style[1]);
138
+ }
139
+ Object.defineProperty(styles$1, groupName, {
140
+ value: group,
141
+ enumerable: false
142
+ });
143
+ }
144
+ Object.defineProperty(styles$1, "codes", {
145
+ value: codes,
146
+ enumerable: false
147
+ });
148
+ styles$1.color.close = "\x1B[39m";
149
+ styles$1.bgColor.close = "\x1B[49m";
150
+ styles$1.color.ansi = wrapAnsi16();
151
+ styles$1.color.ansi256 = wrapAnsi256();
152
+ styles$1.color.ansi16m = wrapAnsi16m();
153
+ styles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
154
+ styles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
155
+ styles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
156
+ Object.defineProperties(styles$1, {
157
+ rgbToAnsi256: {
158
+ value(red, green, blue) {
159
+ if (red === green && green === blue) {
160
+ if (red < 8) return 16;
161
+ if (red > 248) return 231;
162
+ return Math.round((red - 8) / 247 * 24) + 232;
163
+ }
164
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
165
+ },
166
+ enumerable: false
167
+ },
168
+ hexToRgb: {
169
+ value(hex) {
170
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
171
+ if (!matches) return [
172
+ 0,
173
+ 0,
174
+ 0
175
+ ];
176
+ let [colorString] = matches;
177
+ if (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join("");
178
+ const integer = Number.parseInt(colorString, 16);
179
+ return [
180
+ integer >> 16 & 255,
181
+ integer >> 8 & 255,
182
+ integer & 255
183
+ ];
184
+ },
185
+ enumerable: false
186
+ },
187
+ hexToAnsi256: {
188
+ value: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),
189
+ enumerable: false
190
+ },
191
+ ansi256ToAnsi: {
192
+ value(code) {
193
+ if (code < 8) return 30 + code;
194
+ if (code < 16) return 90 + (code - 8);
195
+ let red;
196
+ let green;
197
+ let blue;
198
+ if (code >= 232) {
199
+ red = ((code - 232) * 10 + 8) / 255;
200
+ green = red;
201
+ blue = red;
202
+ } else {
203
+ code -= 16;
204
+ const remainder = code % 36;
205
+ red = Math.floor(code / 36) / 5;
206
+ green = Math.floor(remainder / 6) / 5;
207
+ blue = remainder % 6 / 5;
208
+ }
209
+ const value = Math.max(red, green, blue) * 2;
210
+ if (value === 0) return 30;
211
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
212
+ if (value === 2) result += 60;
213
+ return result;
214
+ },
215
+ enumerable: false
216
+ },
217
+ rgbToAnsi: {
218
+ value: (red, green, blue) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red, green, blue)),
219
+ enumerable: false
220
+ },
221
+ hexToAnsi: {
222
+ value: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),
223
+ enumerable: false
224
+ }
225
+ });
226
+ return styles$1;
227
+ }
228
+ const ansiStyles = assembleStyles();
229
+
230
+ //#endregion
231
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
232
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : node_process.default.argv) {
233
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
234
+ const position = argv.indexOf(prefix + flag);
235
+ const terminatorPosition = argv.indexOf("--");
236
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
237
+ }
238
+ const { env } = node_process.default;
239
+ let flagForceColor;
240
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) flagForceColor = 0;
241
+ else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) flagForceColor = 1;
242
+ function envForceColor() {
243
+ if ("FORCE_COLOR" in env) {
244
+ if (env.FORCE_COLOR === "true") return 1;
245
+ if (env.FORCE_COLOR === "false") return 0;
246
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
247
+ }
248
+ }
249
+ function translateLevel(level) {
250
+ if (level === 0) return false;
251
+ return {
252
+ level,
253
+ hasBasic: true,
254
+ has256: level >= 2,
255
+ has16m: level >= 3
256
+ };
257
+ }
258
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
259
+ const noFlagForceColor = envForceColor();
260
+ if (noFlagForceColor !== void 0) flagForceColor = noFlagForceColor;
261
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
262
+ if (forceColor === 0) return 0;
263
+ if (sniffFlags) {
264
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) return 3;
265
+ if (hasFlag("color=256")) return 2;
266
+ }
267
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) return 1;
268
+ if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
269
+ const min = forceColor || 0;
270
+ if (env.TERM === "dumb") return min;
271
+ if (node_process.default.platform === "win32") {
272
+ const osRelease = node_os.default.release().split(".");
273
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
274
+ return 1;
275
+ }
276
+ if ("CI" in env) {
277
+ if ([
278
+ "GITHUB_ACTIONS",
279
+ "GITEA_ACTIONS",
280
+ "CIRCLECI"
281
+ ].some((key) => key in env)) return 3;
282
+ if ([
283
+ "TRAVIS",
284
+ "APPVEYOR",
285
+ "GITLAB_CI",
286
+ "BUILDKITE",
287
+ "DRONE"
288
+ ].some((sign) => sign in env) || env.CI_NAME === "codeship") return 1;
289
+ return min;
290
+ }
291
+ if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
292
+ if (env.COLORTERM === "truecolor") return 3;
293
+ if (env.TERM === "xterm-kitty") return 3;
294
+ if (env.TERM === "xterm-ghostty") return 3;
295
+ if (env.TERM === "wezterm") return 3;
296
+ if ("TERM_PROGRAM" in env) {
297
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
298
+ switch (env.TERM_PROGRAM) {
299
+ case "iTerm.app": return version >= 3 ? 3 : 2;
300
+ case "Apple_Terminal": return 2;
301
+ }
302
+ }
303
+ if (/-256(color)?$/i.test(env.TERM)) return 2;
304
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
305
+ if ("COLORTERM" in env) return 1;
306
+ return min;
307
+ }
308
+ function createSupportsColor(stream, options = {}) {
309
+ return translateLevel(_supportsColor(stream, {
310
+ streamIsTTY: stream && stream.isTTY,
311
+ ...options
312
+ }));
313
+ }
314
+ const supportsColor = {
315
+ stdout: createSupportsColor({ isTTY: node_tty.default.isatty(1) }),
316
+ stderr: createSupportsColor({ isTTY: node_tty.default.isatty(2) })
317
+ };
318
+
319
+ //#endregion
320
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js
321
+ function stringReplaceAll(string, substring, replacer) {
322
+ let index = string.indexOf(substring);
323
+ if (index === -1) return string;
324
+ const substringLength = substring.length;
325
+ let endIndex = 0;
326
+ let returnValue = "";
327
+ do {
328
+ returnValue += string.slice(endIndex, index) + substring + replacer;
329
+ endIndex = index + substringLength;
330
+ index = string.indexOf(substring, endIndex);
331
+ } while (index !== -1);
332
+ returnValue += string.slice(endIndex);
333
+ return returnValue;
334
+ }
335
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
336
+ let endIndex = 0;
337
+ let returnValue = "";
338
+ do {
339
+ const gotCR = string[index - 1] === "\r";
340
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
341
+ endIndex = index + 1;
342
+ index = string.indexOf("\n", endIndex);
343
+ } while (index !== -1);
344
+ returnValue += string.slice(endIndex);
345
+ return returnValue;
346
+ }
347
+
348
+ //#endregion
349
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
350
+ const { stdout: stdoutColor, stderr: stderrColor } = supportsColor;
351
+ const GENERATOR = Symbol("GENERATOR");
352
+ const STYLER = Symbol("STYLER");
353
+ const IS_EMPTY = Symbol("IS_EMPTY");
354
+ const levelMapping = [
355
+ "ansi",
356
+ "ansi",
357
+ "ansi256",
358
+ "ansi16m"
359
+ ];
360
+ const styles = Object.create(null);
361
+ const applyOptions = (object, options = {}) => {
362
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
363
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
364
+ object.level = options.level === void 0 ? colorLevel : options.level;
365
+ };
366
+ const chalkFactory = (options) => {
367
+ const chalk = (...strings) => strings.join(" ");
368
+ applyOptions(chalk, options);
369
+ Object.setPrototypeOf(chalk, createChalk.prototype);
370
+ return chalk;
371
+ };
372
+ function createChalk(options) {
373
+ return chalkFactory(options);
374
+ }
375
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
376
+ for (const [styleName, style] of Object.entries(ansiStyles)) styles[styleName] = { get() {
377
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
378
+ Object.defineProperty(this, styleName, { value: builder });
379
+ return builder;
380
+ } };
381
+ styles.visible = { get() {
382
+ const builder = createBuilder(this, this[STYLER], true);
383
+ Object.defineProperty(this, "visible", { value: builder });
384
+ return builder;
385
+ } };
386
+ const getModelAnsi = (model, level, type, ...arguments_) => {
387
+ if (model === "rgb") {
388
+ if (level === "ansi16m") return ansiStyles[type].ansi16m(...arguments_);
389
+ if (level === "ansi256") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));
390
+ return ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));
391
+ }
392
+ if (model === "hex") return getModelAnsi("rgb", level, type, ...ansiStyles.hexToRgb(...arguments_));
393
+ return ansiStyles[type][model](...arguments_);
394
+ };
395
+ for (const model of [
396
+ "rgb",
397
+ "hex",
398
+ "ansi256"
399
+ ]) {
400
+ styles[model] = { get() {
401
+ const { level } = this;
402
+ return function(...arguments_) {
403
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansiStyles.color.close, this[STYLER]);
404
+ return createBuilder(this, styler, this[IS_EMPTY]);
405
+ };
406
+ } };
407
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
408
+ styles[bgModel] = { get() {
409
+ const { level } = this;
410
+ return function(...arguments_) {
411
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);
412
+ return createBuilder(this, styler, this[IS_EMPTY]);
413
+ };
414
+ } };
415
+ }
416
+ const proto = Object.defineProperties(() => {}, {
417
+ ...styles,
418
+ level: {
419
+ enumerable: true,
420
+ get() {
421
+ return this[GENERATOR].level;
422
+ },
423
+ set(level) {
424
+ this[GENERATOR].level = level;
425
+ }
426
+ }
427
+ });
428
+ const createStyler = (open, close, parent) => {
429
+ let openAll;
430
+ let closeAll;
431
+ if (parent === void 0) {
432
+ openAll = open;
433
+ closeAll = close;
434
+ } else {
435
+ openAll = parent.openAll + open;
436
+ closeAll = close + parent.closeAll;
437
+ }
438
+ return {
439
+ open,
440
+ close,
441
+ openAll,
442
+ closeAll,
443
+ parent
444
+ };
445
+ };
446
+ const createBuilder = (self, _styler, _isEmpty) => {
447
+ const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
448
+ Object.setPrototypeOf(builder, proto);
449
+ builder[GENERATOR] = self;
450
+ builder[STYLER] = _styler;
451
+ builder[IS_EMPTY] = _isEmpty;
452
+ return builder;
453
+ };
454
+ const applyStyle = (self, string) => {
455
+ if (self.level <= 0 || !string) return self[IS_EMPTY] ? "" : string;
456
+ let styler = self[STYLER];
457
+ if (styler === void 0) return string;
458
+ const { openAll, closeAll } = styler;
459
+ if (string.includes("\x1B")) while (styler !== void 0) {
460
+ string = stringReplaceAll(string, styler.close, styler.open);
461
+ styler = styler.parent;
462
+ }
463
+ const lfIndex = string.indexOf("\n");
464
+ if (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
465
+ return openAll + string + closeAll;
466
+ };
467
+ Object.defineProperties(createChalk.prototype, styles);
468
+ const chalk = createChalk();
469
+ const chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
470
+
471
+ //#endregion
62
472
  //#region src/_internal/helpers/hooks.ts
63
473
  const mergeResultObjects = (0, defu.createDefu)((obj, key, value) => {
64
474
  if ((0, _stryke_type_checks_is_string.isString)(obj[key]) && (0, _stryke_type_checks_is_string.isString)(value)) {
@@ -104,7 +514,7 @@ function mergeConfigs(currentResult, previousResults) {
104
514
  async function callHook(context, key, options, ...args) {
105
515
  const hooks = context.selectHooks(key, options);
106
516
  if (hooks.length > 0) {
107
- context.debug(` 🧩 Calling plugin hook: ${chalk.default.bold.cyanBright(`${key}${options?.order ? ` (${options.order})` : ""}`)}`);
517
+ context.debug(` 🧩 Calling plugin hook: ${chalk.bold.cyanBright(`${key}${options?.order ? ` (${options.order})` : ""}`)}`);
108
518
  const invokeHook = async (hook, hookArgs) => {
109
519
  return Reflect.apply(hook.handler, hook.context, hookArgs);
110
520
  };
@@ -2877,12 +3287,12 @@ var PowerlinesAPIContext = class PowerlinesAPIContext extends PowerlinesContext
2877
3287
  if (name) environment = this.environments[name];
2878
3288
  if (Object.keys(this.environments).length === 1) {
2879
3289
  environment = this.environments[Object.keys(this.environments)[0]];
2880
- this.debug(`Applying the only configured environment: ${chalk.default.bold.cyanBright(environment?.environment.name)}`);
3290
+ this.debug(`Applying the only configured environment: ${chalk.bold.cyanBright(environment?.environment.name)}`);
2881
3291
  }
2882
3292
  if (!environment) {
2883
3293
  if (name) throw new Error(`Environment "${name}" not found.`);
2884
3294
  environment = await this.in(createDefaultEnvironment(this.config.userConfig));
2885
- this.warn(`No environment specified, and no default environment found. Using a temporary default environment: ${chalk.default.bold.cyanBright(environment?.environment.name)}`);
3295
+ this.warn(`No environment specified, and no default environment found. Using a temporary default environment: ${chalk.bold.cyanBright(environment?.environment.name)}`);
2886
3296
  }
2887
3297
  return environment;
2888
3298
  }
@@ -2978,6 +3388,12 @@ Object.defineProperty(exports, 'callHook', {
2978
3388
  return callHook;
2979
3389
  }
2980
3390
  });
3391
+ Object.defineProperty(exports, 'chalk', {
3392
+ enumerable: true,
3393
+ get: function () {
3394
+ return chalk;
3395
+ }
3396
+ });
2981
3397
  Object.defineProperty(exports, 'createPluginContext', {
2982
3398
  enumerable: true,
2983
3399
  get: function () {
package/dist/astro.cjs CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_vite = require('./vite.cjs');
3
3
 
4
4
  //#region src/astro.ts
@@ -19,9 +19,8 @@ const require_vite = require('./vite.cjs');
19
19
  *
20
20
  * ```
21
21
  */
22
- const astro = (config = {}) => ({ vite: { plugins: [require_vite.default(config)] } });
22
+ const unplugin = (config = {}) => ({ vite: { plugins: [require_vite.unplugin(config)] } });
23
23
 
24
24
  //#endregion
25
- exports.astro = astro;
26
- exports.default = astro;
27
- exports["module.exports"] = astro;
25
+ exports.astro = unplugin;
26
+ exports.unplugin = unplugin;
package/dist/astro.d.cts CHANGED
@@ -19,7 +19,7 @@ import { AstroUserConfig } from "astro";
19
19
  *
20
20
  * ```
21
21
  */
22
- declare const astro: (config?: Partial<VitePluginUserConfig>) => AstroUserConfig;
22
+ declare const unplugin: (config?: Partial<VitePluginUserConfig>) => AstroUserConfig;
23
23
  //#endregion
24
- export { astro, astro as default, astro as "module.exports" };
24
+ export { unplugin as astro, unplugin };
25
25
  //# sourceMappingURL=astro.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"astro.d.cts","names":[],"sources":["../src/astro.ts"],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;cAAa,KAAA,GACX,MAAA,GAAQ,OAAA,CAAQ,oBAAA,MACf,eAAA"}
1
+ {"version":3,"file":"astro.d.cts","names":[],"sources":["../src/astro.ts"],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;cAAa,QAAA,GACX,MAAA,GAAQ,OAAA,CAAQ,oBAAA,MACf,eAAA"}
package/dist/astro.d.mts CHANGED
@@ -19,7 +19,7 @@ import { AstroUserConfig } from "astro";
19
19
  *
20
20
  * ```
21
21
  */
22
- declare const astro: (config?: Partial<VitePluginUserConfig>) => AstroUserConfig;
22
+ declare const unplugin: (config?: Partial<VitePluginUserConfig>) => AstroUserConfig;
23
23
  //#endregion
24
- export { astro, astro as default, astro as "module.exports" };
24
+ export { unplugin as astro, unplugin };
25
25
  //# sourceMappingURL=astro.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"astro.d.mts","names":[],"sources":["../src/astro.ts"],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;cAAa,KAAA,GACX,MAAA,GAAQ,OAAA,CAAQ,oBAAA,MACf,eAAA"}
1
+ {"version":3,"file":"astro.d.mts","names":[],"sources":["../src/astro.ts"],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;cAAa,QAAA,GACX,MAAA,GAAQ,OAAA,CAAQ,oBAAA,MACf,eAAA"}
package/dist/astro.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import unplugin from "./vite.mjs";
1
+ import { unplugin as unplugin$1 } from "./vite.mjs";
2
2
 
3
3
  //#region src/astro.ts
4
4
  /**
@@ -18,8 +18,8 @@ import unplugin from "./vite.mjs";
18
18
  *
19
19
  * ```
20
20
  */
21
- const astro = (config = {}) => ({ vite: { plugins: [unplugin(config)] } });
21
+ const unplugin = (config = {}) => ({ vite: { plugins: [unplugin$1(config)] } });
22
22
 
23
23
  //#endregion
24
- export { astro, astro as default, astro as "module.exports" };
24
+ export { unplugin as astro, unplugin };
25
25
  //# sourceMappingURL=astro.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"astro.mjs","names":["vite"],"sources":["../src/astro.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { VitePluginUserConfig } from \"@powerlines/plugin-vite/types/plugin\";\nimport type { AstroUserConfig } from \"astro\";\nimport vite from \"./vite\";\n\n/**\n * An Astro plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://docs.astro.build/en/guides/integrations-guide/#creating-an-integration\n *\n * @example\n * ```js\n * // astro.config.mjs\n * import { defineConfig } from \"astro/config\";\n * import powerlines from \"powerlines/astro\";\n *\n * export default defineConfig({\n * integrations: [powerlines({ name: \"example-app\", ... })]\n * });\n *\n * ```\n */\nexport const astro = (\n config: Partial<VitePluginUserConfig> = {}\n): AstroUserConfig => ({\n vite: {\n plugins: [vite(config)] as NonNullable<AstroUserConfig[\"vite\"]>[\"plugins\"]\n }\n});\n\nexport default astro;\nexport { astro as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuCA,MAAa,SACX,SAAwC,EAAE,MACrB,EACrB,MAAM,EACJ,SAAS,CAACA,SAAK,OAAO,CAAC,EACxB,EACF"}
1
+ {"version":3,"file":"astro.mjs","names":["vite"],"sources":["../src/astro.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { VitePluginUserConfig } from \"@powerlines/plugin-vite/types/plugin\";\nimport type { AstroUserConfig } from \"astro\";\nimport { vite } from \"./vite\";\n\n/**\n * An Astro plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://docs.astro.build/en/guides/integrations-guide/#creating-an-integration\n *\n * @example\n * ```js\n * // astro.config.mjs\n * import { defineConfig } from \"astro/config\";\n * import powerlines from \"powerlines/astro\";\n *\n * export default defineConfig({\n * integrations: [powerlines({ name: \"example-app\", ... })]\n * });\n *\n * ```\n */\nexport const unplugin = (\n config: Partial<VitePluginUserConfig> = {}\n): AstroUserConfig => ({\n vite: {\n plugins: [vite(config)] as NonNullable<AstroUserConfig[\"vite\"]>[\"plugins\"]\n }\n});\n\nexport { unplugin as astro };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuCA,MAAa,YACX,SAAwC,EAAE,MACrB,EACrB,MAAM,EACJ,SAAS,CAACA,WAAK,OAAO,CAAC,EACxB,EACF"}
@@ -0,0 +1,12 @@
1
+ //#region ../../node_modules/.pnpm/@stryke+types@0.11.3/node_modules/@stryke/types/dist/base.d.cts
2
+ type MaybePromise<T> = T | Promise<T>;
3
+ /**
4
+ * Create a type that makes the given keys optional. The remaining keys are kept as is.
5
+ *
6
+ * @remarks
7
+ * Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are optional.
8
+ */
9
+ type PartialKeys<BaseType, Keys extends keyof BaseType> = Partial<Pick<BaseType, Keys>> & Omit<BaseType, Keys>;
10
+ //#endregion
11
+ export { PartialKeys as n, MaybePromise as t };
12
+ //# sourceMappingURL=base-Bl_AMAlI.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-Bl_AMAlI.d.cts","names":["TypedArray","SerializablePrimitive","Primitive","BuiltIns","Date","RegExp","AtomicObject","Function","Promise","TypeTester","value","TypeMap","Record","emptyObjectSymbol","FunctionOrValue","Value","X","List","A","ReadonlyArray","FunctionLike","P","R$1","args","AnyFunction","Nullish","Nullishable","T","NonNullishObject","NativeClass","AnyNumber","AnyString","AnyBoolean","AnyArray","PlainObject","AnyMap","Map","AnyWeakMap","WeakKey","WeakMap","EmptyArray","EmptyObject","Any","IndexType","TypedIndexable","Indexable","Dictionary","EMPTY_STRING","NEWLINE_STRING","EMPTY_OBJECT","AnyCase","F1","Uppercase","Lowercase","F2","R","F","Newable","_args","Abstract","prototype","Clonable","clone","MaybePromise","ReducerFunction","TState","TAction","state","action","TYPE_ARGUMENTS","TYPE_ARRAY","TYPE_OBJECT","TYPE_MAP","TYPE_SET","Collection","IArguments","Set","NonUndefined","BrowserNativeObject","File","DeepPartial","NestedValue","K","Rollback","initialValue","currentValue","RequiredKeysOf","BaseType","Key","Exclude","IsEqual","G","B","Filter","KeyType$1","ExcludeType","ExceptOptions","requireExactProps","Except","ObjectType","KeysType","Options","KeyType","Partial","Simplify","RequiredKeys","Keys","Pick","Required","Omit","PartialKeys","$NestedValue","TValue","RefObject","current","Identity","id","Versioned","version","Sequenced","sequence","Typed","__type","ClassTypeCheckable","isTypeOf","NonRecursiveType","arguments_","IsPrimitive","IsNever","IsAny","IsNull","IsUndefined","IsUnknown","IsNullish","IsFunction","GlobalThis","globalThis","Class","Arguments","Constructor","AbstractClass","AbstractConstructor","BuildTuple","L","Fill","HasMultipleCallSignatures","StructuredCloneablePrimitive","StructuredCloneableData","ArrayBuffer","DataView","Error","Blob","StructuredCloneableCollection","StructuredCloneable","ReadonlyMap","ReadonlySet","key"],"sources":["../../../node_modules/.pnpm/@stryke+types@0.11.3/node_modules/@stryke/types/dist/base.d.cts"],"x_google_ignoreList":[0],"mappings":";KA6GK+D,YAAAA,MAAkBpC,CAAAA,GAAInB,OAAAA,CAAQmB,CAAAA;;;;;;;KA2E9BmF,WAAAA,8BAAyCvB,QAAAA,IAAYgB,OAAAA,CAAQI,IAAAA,CAAKpB,QAAAA,EAAUmB,IAAAA,KAASG,IAAAA,CAAKtB,QAAAA,EAAUmB,IAAAA"}
@@ -0,0 +1,12 @@
1
+ //#region ../../node_modules/.pnpm/@stryke+types@0.11.3/node_modules/@stryke/types/dist/base.d.cts
2
+ type MaybePromise<T> = T | Promise<T>;
3
+ /**
4
+ * Create a type that makes the given keys optional. The remaining keys are kept as is.
5
+ *
6
+ * @remarks
7
+ * Use-case: You want to define a single model where the only thing that changes is whether or not some of the keys are optional.
8
+ */
9
+ type PartialKeys<BaseType, Keys extends keyof BaseType> = Partial<Pick<BaseType, Keys>> & Omit<BaseType, Keys>;
10
+ //#endregion
11
+ export { PartialKeys as n, MaybePromise as t };
12
+ //# sourceMappingURL=base-hjCHfNY6.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-hjCHfNY6.d.mts","names":["TypedArray","SerializablePrimitive","Primitive","BuiltIns","Date","RegExp","AtomicObject","Function","Promise","TypeTester","value","TypeMap","Record","emptyObjectSymbol","FunctionOrValue","Value","X","List","A","ReadonlyArray","FunctionLike","P","R$1","args","AnyFunction","Nullish","Nullishable","T","NonNullishObject","NativeClass","AnyNumber","AnyString","AnyBoolean","AnyArray","PlainObject","AnyMap","Map","AnyWeakMap","WeakKey","WeakMap","EmptyArray","EmptyObject","Any","IndexType","TypedIndexable","Indexable","Dictionary","EMPTY_STRING","NEWLINE_STRING","EMPTY_OBJECT","AnyCase","F1","Uppercase","Lowercase","F2","R","F","Newable","_args","Abstract","prototype","Clonable","clone","MaybePromise","ReducerFunction","TState","TAction","state","action","TYPE_ARGUMENTS","TYPE_ARRAY","TYPE_OBJECT","TYPE_MAP","TYPE_SET","Collection","IArguments","Set","NonUndefined","BrowserNativeObject","File","DeepPartial","NestedValue","K","Rollback","initialValue","currentValue","RequiredKeysOf","BaseType","Key","Exclude","IsEqual","G","B","Filter","KeyType$1","ExcludeType","ExceptOptions","requireExactProps","Except","ObjectType","KeysType","Options","KeyType","Partial","Simplify","RequiredKeys","Keys","Pick","Required","Omit","PartialKeys","$NestedValue","TValue","RefObject","current","Identity","id","Versioned","version","Sequenced","sequence","Typed","__type","ClassTypeCheckable","isTypeOf","NonRecursiveType","arguments_","IsPrimitive","IsNever","IsAny","IsNull","IsUndefined","IsUnknown","IsNullish","IsFunction","GlobalThis","globalThis","Class","Arguments","Constructor","AbstractClass","AbstractConstructor","BuildTuple","L","Fill","HasMultipleCallSignatures","StructuredCloneablePrimitive","StructuredCloneableData","ArrayBuffer","DataView","Error","Blob","StructuredCloneableCollection","StructuredCloneable","ReadonlyMap","ReadonlySet","key"],"sources":["../../../node_modules/.pnpm/@stryke+types@0.11.3/node_modules/@stryke/types/dist/base.d.cts"],"x_google_ignoreList":[0],"mappings":";KA6GK+D,YAAAA,MAAkBpC,CAAAA,GAAInB,OAAAA,CAAQmB,CAAAA;;;;;;;KA2E9BmF,WAAAA,8BAAyCvB,QAAAA,IAAYgB,OAAAA,CAAQI,IAAAA,CAAKpB,QAAAA,EAAUmB,IAAAA,KAASG,IAAAA,CAAKtB,QAAAA,EAAUmB,IAAAA"}
@@ -5,6 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
8
9
  var __exportAll = (all, no_symbols) => {
9
10
  let target = {};
10
11
  for (var name in all) {
@@ -40,6 +41,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
40
41
 
41
42
  //#endregion
42
43
 
44
+ Object.defineProperty(exports, '__commonJSMin', {
45
+ enumerable: true,
46
+ get: function () {
47
+ return __commonJSMin;
48
+ }
49
+ });
43
50
  Object.defineProperty(exports, '__exportAll', {
44
51
  enumerable: true,
45
52
  get: function () {
@@ -1,8 +1,13 @@
1
+ import { createRequire } from "node:module";
2
+
1
3
  //#region \0rolldown/runtime.js
4
+ var __create = Object.create;
2
5
  var __defProp = Object.defineProperty;
3
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
5
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
6
11
  var __exportAll = (all, no_symbols) => {
7
12
  let target = {};
8
13
  for (var name in all) {
@@ -31,6 +36,10 @@ var __copyProps = (to, from, except, desc) => {
31
36
  return to;
32
37
  };
33
38
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
39
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
40
+ value: mod,
41
+ enumerable: true
42
+ }) : target, mod));
34
43
 
35
44
  //#endregion
36
- export { __reExport as n, __exportAll as t };
45
+ export { __toESM as i, __exportAll as n, __reExport as r, __commonJSMin as t };
package/dist/config.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_chunk = require('./chunk-AIJqnxB6.cjs');
2
+ const require_chunk = require('./chunk-7azAqIA9.cjs');
3
3
 
4
4
  //#region src/config.ts
5
5
  var config_exports = /* @__PURE__ */ require_chunk.__exportAll({});