oxfmt 0.38.0 → 0.40.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/index.d.ts CHANGED
@@ -47,20 +47,20 @@ interface Oxfmtrc {
47
47
  *
48
48
  * - Default: `"always"`
49
49
  */
50
- arrowParens?: ArrowParensConfig | null;
50
+ arrowParens?: ArrowParensConfig;
51
51
  /**
52
52
  * Put the `>` of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line,
53
53
  * instead of being alone on the next line (does not apply to self closing elements).
54
54
  *
55
55
  * - Default: `false`
56
56
  */
57
- bracketSameLine?: boolean | null;
57
+ bracketSameLine?: boolean;
58
58
  /**
59
59
  * Print spaces between brackets in object literals.
60
60
  *
61
61
  * - Default: `true`
62
62
  */
63
- bracketSpacing?: boolean | null;
63
+ bracketSpacing?: boolean;
64
64
  /**
65
65
  * Control whether to format embedded parts (For example, CSS-in-JS, or JS-in-Vue, etc.) in the file.
66
66
  *
@@ -68,7 +68,7 @@ interface Oxfmtrc {
68
68
  *
69
69
  * - Default: `"auto"`
70
70
  */
71
- embeddedLanguageFormatting?: EmbeddedLanguageFormattingConfig | null;
71
+ embeddedLanguageFormatting?: EmbeddedLanguageFormattingConfig;
72
72
  /**
73
73
  * Which end of line characters to apply.
74
74
  *
@@ -77,33 +77,33 @@ interface Oxfmtrc {
77
77
  * - Default: `"lf"`
78
78
  * - Overrides `.editorconfig.end_of_line`
79
79
  */
80
- endOfLine?: EndOfLineConfig | null;
80
+ endOfLine?: EndOfLineConfig;
81
81
  /**
82
82
  * Specify the global whitespace sensitivity for HTML, Vue, Angular, and Handlebars.
83
83
  *
84
84
  * - Default: `"css"`
85
85
  */
86
- htmlWhitespaceSensitivity?: HtmlWhitespaceSensitivityConfig | null;
86
+ htmlWhitespaceSensitivity?: HtmlWhitespaceSensitivityConfig;
87
87
  /**
88
88
  * Ignore files matching these glob patterns.
89
89
  * Patterns are based on the location of the Oxfmt configuration file.
90
90
  *
91
91
  * - Default: `[]`
92
92
  */
93
- ignorePatterns?: string[] | null;
93
+ ignorePatterns?: string[];
94
94
  /**
95
95
  * Whether to insert a final newline at the end of the file.
96
96
  *
97
97
  * - Default: `true`
98
98
  * - Overrides `.editorconfig.insert_final_newline`
99
99
  */
100
- insertFinalNewline?: boolean | null;
100
+ insertFinalNewline?: boolean;
101
101
  /**
102
102
  * Use single quotes instead of double quotes in JSX.
103
103
  *
104
104
  * - Default: `false`
105
105
  */
106
- jsxSingleQuote?: boolean | null;
106
+ jsxSingleQuote?: boolean;
107
107
  /**
108
108
  * How to wrap object literals when they could fit on one line or span multiple lines.
109
109
  *
@@ -112,14 +112,14 @@ interface Oxfmtrc {
112
112
  *
113
113
  * - Default: `"preserve"`
114
114
  */
115
- objectWrap?: ObjectWrapConfig | null;
115
+ objectWrap?: ObjectWrapConfig;
116
116
  /**
117
117
  * File-specific overrides.
118
118
  * When a file matches multiple overrides, the later override takes precedence (array order matters).
119
119
  *
120
120
  * - Default: `[]`
121
121
  */
122
- overrides?: OxfmtOverrideConfig[] | null;
122
+ overrides?: OxfmtOverrideConfig[];
123
123
  /**
124
124
  * Specify the line length that the printer will wrap on.
125
125
  *
@@ -128,7 +128,7 @@ interface Oxfmtrc {
128
128
  * - Default: `100`
129
129
  * - Overrides `.editorconfig.max_line_length`
130
130
  */
131
- printWidth?: number | null;
131
+ printWidth?: number;
132
132
  /**
133
133
  * How to wrap prose.
134
134
  *
@@ -138,25 +138,25 @@ interface Oxfmtrc {
138
138
  *
139
139
  * - Default: `"preserve"`
140
140
  */
141
- proseWrap?: ProseWrapConfig | null;
141
+ proseWrap?: ProseWrapConfig;
142
142
  /**
143
143
  * Change when properties in objects are quoted.
144
144
  *
145
145
  * - Default: `"as-needed"`
146
146
  */
147
- quoteProps?: QuotePropsConfig | null;
147
+ quoteProps?: QuotePropsConfig;
148
148
  /**
149
149
  * Print semicolons at the ends of statements.
150
150
  *
151
151
  * - Default: `true`
152
152
  */
153
- semi?: boolean | null;
153
+ semi?: boolean;
154
154
  /**
155
155
  * Enforce single attribute per line in HTML, Vue, and JSX.
156
156
  *
157
157
  * - Default: `false`
158
158
  */
159
- singleAttributePerLine?: boolean | null;
159
+ singleAttributePerLine?: boolean;
160
160
  /**
161
161
  * Use single quotes instead of double quotes.
162
162
  *
@@ -164,7 +164,7 @@ interface Oxfmtrc {
164
164
  *
165
165
  * - Default: `false`
166
166
  */
167
- singleQuote?: boolean | null;
167
+ singleQuote?: boolean;
168
168
  /**
169
169
  * Sort import statements.
170
170
  *
@@ -173,7 +173,7 @@ interface Oxfmtrc {
173
173
  *
174
174
  * - Default: Disabled
175
175
  */
176
- sortImports?: SortImportsConfig | null;
176
+ sortImports?: SortImportsConfig;
177
177
  /**
178
178
  * Sort `package.json` keys.
179
179
  *
@@ -183,7 +183,7 @@ interface Oxfmtrc {
183
183
  *
184
184
  * - Default: `true`
185
185
  */
186
- sortPackageJson?: SortPackageJsonUserConfig | null;
186
+ sortPackageJson?: SortPackageJsonUserConfig;
187
187
  /**
188
188
  * Sort Tailwind CSS classes.
189
189
  *
@@ -193,14 +193,14 @@ interface Oxfmtrc {
193
193
  *
194
194
  * - Default: Disabled
195
195
  */
196
- sortTailwindcss?: SortTailwindcssConfig | null;
196
+ sortTailwindcss?: SortTailwindcssConfig;
197
197
  /**
198
198
  * Specify the number of spaces per indentation-level.
199
199
  *
200
200
  * - Default: `2`
201
201
  * - Overrides `.editorconfig.indent_size`
202
202
  */
203
- tabWidth?: number | null;
203
+ tabWidth?: number;
204
204
  /**
205
205
  * Print trailing commas wherever possible in multi-line comma-separated syntactic structures.
206
206
  *
@@ -208,27 +208,27 @@ interface Oxfmtrc {
208
208
  *
209
209
  * - Default: `"all"`
210
210
  */
211
- trailingComma?: TrailingCommaConfig | null;
211
+ trailingComma?: TrailingCommaConfig;
212
212
  /**
213
213
  * Indent lines with tabs instead of spaces.
214
214
  *
215
215
  * - Default: `false`
216
216
  * - Overrides `.editorconfig.indent_style`
217
217
  */
218
- useTabs?: boolean | null;
218
+ useTabs?: boolean;
219
219
  /**
220
220
  * Whether or not to indent the code inside `<script>` and `<style>` tags in Vue files.
221
221
  *
222
222
  * - Default: `false`
223
223
  */
224
- vueIndentScriptAndStyle?: boolean | null;
224
+ vueIndentScriptAndStyle?: boolean;
225
225
  [k: string]: unknown;
226
226
  }
227
227
  interface OxfmtOverrideConfig {
228
228
  /**
229
229
  * Glob patterns to exclude from this override.
230
230
  */
231
- excludeFiles?: string[] | null;
231
+ excludeFiles?: string[];
232
232
  /**
233
233
  * Glob patterns to match files for this override.
234
234
  * All patterns are relative to the Oxfmt configuration file.
@@ -246,20 +246,20 @@ interface FormatConfig {
246
246
  *
247
247
  * - Default: `"always"`
248
248
  */
249
- arrowParens?: ArrowParensConfig | null;
249
+ arrowParens?: ArrowParensConfig;
250
250
  /**
251
251
  * Put the `>` of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line,
252
252
  * instead of being alone on the next line (does not apply to self closing elements).
253
253
  *
254
254
  * - Default: `false`
255
255
  */
256
- bracketSameLine?: boolean | null;
256
+ bracketSameLine?: boolean;
257
257
  /**
258
258
  * Print spaces between brackets in object literals.
259
259
  *
260
260
  * - Default: `true`
261
261
  */
262
- bracketSpacing?: boolean | null;
262
+ bracketSpacing?: boolean;
263
263
  /**
264
264
  * Control whether to format embedded parts (For example, CSS-in-JS, or JS-in-Vue, etc.) in the file.
265
265
  *
@@ -267,7 +267,7 @@ interface FormatConfig {
267
267
  *
268
268
  * - Default: `"auto"`
269
269
  */
270
- embeddedLanguageFormatting?: EmbeddedLanguageFormattingConfig | null;
270
+ embeddedLanguageFormatting?: EmbeddedLanguageFormattingConfig;
271
271
  /**
272
272
  * Which end of line characters to apply.
273
273
  *
@@ -276,26 +276,26 @@ interface FormatConfig {
276
276
  * - Default: `"lf"`
277
277
  * - Overrides `.editorconfig.end_of_line`
278
278
  */
279
- endOfLine?: EndOfLineConfig | null;
279
+ endOfLine?: EndOfLineConfig;
280
280
  /**
281
281
  * Specify the global whitespace sensitivity for HTML, Vue, Angular, and Handlebars.
282
282
  *
283
283
  * - Default: `"css"`
284
284
  */
285
- htmlWhitespaceSensitivity?: HtmlWhitespaceSensitivityConfig | null;
285
+ htmlWhitespaceSensitivity?: HtmlWhitespaceSensitivityConfig;
286
286
  /**
287
287
  * Whether to insert a final newline at the end of the file.
288
288
  *
289
289
  * - Default: `true`
290
290
  * - Overrides `.editorconfig.insert_final_newline`
291
291
  */
292
- insertFinalNewline?: boolean | null;
292
+ insertFinalNewline?: boolean;
293
293
  /**
294
294
  * Use single quotes instead of double quotes in JSX.
295
295
  *
296
296
  * - Default: `false`
297
297
  */
298
- jsxSingleQuote?: boolean | null;
298
+ jsxSingleQuote?: boolean;
299
299
  /**
300
300
  * How to wrap object literals when they could fit on one line or span multiple lines.
301
301
  *
@@ -304,7 +304,7 @@ interface FormatConfig {
304
304
  *
305
305
  * - Default: `"preserve"`
306
306
  */
307
- objectWrap?: ObjectWrapConfig | null;
307
+ objectWrap?: ObjectWrapConfig;
308
308
  /**
309
309
  * Specify the line length that the printer will wrap on.
310
310
  *
@@ -313,7 +313,7 @@ interface FormatConfig {
313
313
  * - Default: `100`
314
314
  * - Overrides `.editorconfig.max_line_length`
315
315
  */
316
- printWidth?: number | null;
316
+ printWidth?: number;
317
317
  /**
318
318
  * How to wrap prose.
319
319
  *
@@ -323,25 +323,25 @@ interface FormatConfig {
323
323
  *
324
324
  * - Default: `"preserve"`
325
325
  */
326
- proseWrap?: ProseWrapConfig | null;
326
+ proseWrap?: ProseWrapConfig;
327
327
  /**
328
328
  * Change when properties in objects are quoted.
329
329
  *
330
330
  * - Default: `"as-needed"`
331
331
  */
332
- quoteProps?: QuotePropsConfig | null;
332
+ quoteProps?: QuotePropsConfig;
333
333
  /**
334
334
  * Print semicolons at the ends of statements.
335
335
  *
336
336
  * - Default: `true`
337
337
  */
338
- semi?: boolean | null;
338
+ semi?: boolean;
339
339
  /**
340
340
  * Enforce single attribute per line in HTML, Vue, and JSX.
341
341
  *
342
342
  * - Default: `false`
343
343
  */
344
- singleAttributePerLine?: boolean | null;
344
+ singleAttributePerLine?: boolean;
345
345
  /**
346
346
  * Use single quotes instead of double quotes.
347
347
  *
@@ -349,7 +349,7 @@ interface FormatConfig {
349
349
  *
350
350
  * - Default: `false`
351
351
  */
352
- singleQuote?: boolean | null;
352
+ singleQuote?: boolean;
353
353
  /**
354
354
  * Sort import statements.
355
355
  *
@@ -358,7 +358,7 @@ interface FormatConfig {
358
358
  *
359
359
  * - Default: Disabled
360
360
  */
361
- sortImports?: SortImportsConfig | null;
361
+ sortImports?: SortImportsConfig;
362
362
  /**
363
363
  * Sort `package.json` keys.
364
364
  *
@@ -368,7 +368,7 @@ interface FormatConfig {
368
368
  *
369
369
  * - Default: `true`
370
370
  */
371
- sortPackageJson?: SortPackageJsonUserConfig | null;
371
+ sortPackageJson?: SortPackageJsonUserConfig;
372
372
  /**
373
373
  * Sort Tailwind CSS classes.
374
374
  *
@@ -378,14 +378,14 @@ interface FormatConfig {
378
378
  *
379
379
  * - Default: Disabled
380
380
  */
381
- sortTailwindcss?: SortTailwindcssConfig | null;
381
+ sortTailwindcss?: SortTailwindcssConfig;
382
382
  /**
383
383
  * Specify the number of spaces per indentation-level.
384
384
  *
385
385
  * - Default: `2`
386
386
  * - Overrides `.editorconfig.indent_size`
387
387
  */
388
- tabWidth?: number | null;
388
+ tabWidth?: number;
389
389
  /**
390
390
  * Print trailing commas wherever possible in multi-line comma-separated syntactic structures.
391
391
  *
@@ -393,20 +393,20 @@ interface FormatConfig {
393
393
  *
394
394
  * - Default: `"all"`
395
395
  */
396
- trailingComma?: TrailingCommaConfig | null;
396
+ trailingComma?: TrailingCommaConfig;
397
397
  /**
398
398
  * Indent lines with tabs instead of spaces.
399
399
  *
400
400
  * - Default: `false`
401
401
  * - Overrides `.editorconfig.indent_style`
402
402
  */
403
- useTabs?: boolean | null;
403
+ useTabs?: boolean;
404
404
  /**
405
405
  * Whether or not to indent the code inside `<script>` and `<style>` tags in Vue files.
406
406
  *
407
407
  * - Default: `false`
408
408
  */
409
- vueIndentScriptAndStyle?: boolean | null;
409
+ vueIndentScriptAndStyle?: boolean;
410
410
  [k: string]: unknown;
411
411
  }
412
412
  interface SortImportsConfig {
@@ -424,7 +424,7 @@ interface SortImportsConfig {
424
424
  *
425
425
  * - Default: `[]`
426
426
  */
427
- customGroups?: CustomGroupItemConfig[] | null;
427
+ customGroups?: CustomGroupItemConfig[];
428
428
  /**
429
429
  * Specifies a list of predefined import groups for sorting.
430
430
  *
@@ -477,13 +477,13 @@ interface SortImportsConfig {
477
477
  * Also, you can override the global `newlinesBetween` setting for specific group boundaries
478
478
  * by including a `{ "newlinesBetween": boolean }` marker object in the `groups` list at the desired position.
479
479
  */
480
- groups?: SortGroupItemConfig[] | null;
480
+ groups?: SortGroupItemConfig[];
481
481
  /**
482
482
  * Specifies whether sorting should be case-sensitive.
483
483
  *
484
484
  * - Default: `true`
485
485
  */
486
- ignoreCase?: boolean | null;
486
+ ignoreCase?: boolean;
487
487
  /**
488
488
  * Specifies a prefix for identifying internal imports.
489
489
  *
@@ -491,7 +491,7 @@ interface SortImportsConfig {
491
491
  *
492
492
  * - Default: `["~/", "@/"]`
493
493
  */
494
- internalPattern?: string[] | null;
494
+ internalPattern?: string[];
495
495
  /**
496
496
  * Specifies whether to add newlines between groups.
497
497
  *
@@ -499,13 +499,13 @@ interface SortImportsConfig {
499
499
  *
500
500
  * - Default: `true`
501
501
  */
502
- newlinesBetween?: boolean | null;
502
+ newlinesBetween?: boolean;
503
503
  /**
504
504
  * Specifies whether to sort items in ascending or descending order.
505
505
  *
506
506
  * - Default: `"asc"`
507
507
  */
508
- order?: SortOrderConfig | null;
508
+ order?: SortOrderConfig;
509
509
  /**
510
510
  * Enables the use of comments to separate imports into logical groups.
511
511
  *
@@ -520,7 +520,7 @@ interface SortImportsConfig {
520
520
  *
521
521
  * - Default: `false`
522
522
  */
523
- partitionByComment?: boolean | null;
523
+ partitionByComment?: boolean;
524
524
  /**
525
525
  * Enables the empty line to separate imports into logical groups.
526
526
  *
@@ -536,7 +536,7 @@ interface SortImportsConfig {
536
536
  *
537
537
  * - Default: `false`
538
538
  */
539
- partitionByNewline?: boolean | null;
539
+ partitionByNewline?: boolean;
540
540
  /**
541
541
  * Specifies whether side effect imports should be sorted.
542
542
  *
@@ -544,7 +544,7 @@ interface SortImportsConfig {
544
544
  *
545
545
  * - Default: `false`
546
546
  */
547
- sortSideEffects?: boolean | null;
547
+ sortSideEffects?: boolean;
548
548
  [k: string]: unknown;
549
549
  }
550
550
  interface CustomGroupItemConfig {
@@ -562,14 +562,14 @@ interface CustomGroupItemConfig {
562
562
  *
563
563
  * Possible values: `"side_effect"`, `"type"`, `"value"`, `"default"`, `"wildcard"`, `"named"`
564
564
  */
565
- modifiers?: string[] | null;
565
+ modifiers?: string[];
566
566
  /**
567
567
  * Selector to match the import kind.
568
568
  *
569
569
  * Possible values: `"type"`, `"side_effect_style"`, `"side_effect"`, `"style"`, `"index"`,
570
570
  * `"sibling"`, `"parent"`, `"subpath"`, `"internal"`, `"builtin"`, `"external"`, `"import"`
571
571
  */
572
- selector?: string | null;
572
+ selector?: string;
573
573
  [k: string]: unknown;
574
574
  }
575
575
  /**
@@ -585,7 +585,7 @@ interface SortPackageJsonConfig {
585
585
  *
586
586
  * - Default: `false`
587
587
  */
588
- sortScripts?: boolean | null;
588
+ sortScripts?: boolean;
589
589
  [k: string]: unknown;
590
590
  }
591
591
  interface SortTailwindcssConfig {
@@ -597,7 +597,7 @@ interface SortTailwindcssConfig {
597
597
  * - Default: `[]`
598
598
  * - Example: `["myClassProp", ":class"]`
599
599
  */
600
- attributes?: string[] | null;
600
+ attributes?: string[];
601
601
  /**
602
602
  * Path to your Tailwind CSS configuration file (v3).
603
603
  *
@@ -605,7 +605,7 @@ interface SortTailwindcssConfig {
605
605
  *
606
606
  * - Default: Automatically find `"tailwind.config.js"`
607
607
  */
608
- config?: string | null;
608
+ config?: string;
609
609
  /**
610
610
  * List of custom function names whose arguments should be sorted (exact match).
611
611
  *
@@ -614,19 +614,19 @@ interface SortTailwindcssConfig {
614
614
  * - Default: `[]`
615
615
  * - Example: `["clsx", "cn", "cva", "tw"]`
616
616
  */
617
- functions?: string[] | null;
617
+ functions?: string[];
618
618
  /**
619
619
  * Preserve duplicate classes.
620
620
  *
621
621
  * - Default: `false`
622
622
  */
623
- preserveDuplicates?: boolean | null;
623
+ preserveDuplicates?: boolean;
624
624
  /**
625
625
  * Preserve whitespace around classes.
626
626
  *
627
627
  * - Default: `false`
628
628
  */
629
- preserveWhitespace?: boolean | null;
629
+ preserveWhitespace?: boolean;
630
630
  /**
631
631
  * Path to your Tailwind CSS stylesheet (v4).
632
632
  *
@@ -634,7 +634,7 @@ interface SortTailwindcssConfig {
634
634
  *
635
635
  * - Default: Installed Tailwind CSS's `theme.css`
636
636
  */
637
- stylesheet?: string | null;
637
+ stylesheet?: string;
638
638
  [k: string]: unknown;
639
639
  }
640
640
  //#endregion
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as jsTextToDoc$1, t as format$1 } from "./bindings-D1mDMI2C.js";
2
- import { a as sortTailwindClasses, i as resolvePlugins, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-Df5472ag.js";
1
+ import { n as jsTextToDoc$1, t as format$1 } from "./bindings-NtH60nWL.js";
2
+ import { a as sortTailwindClasses, i as resolvePlugins, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-C4p62fZb.js";
3
3
  //#region src-js/index.ts
4
4
  /**
5
5
  * Define an oxfmt configuration with type inference.
@@ -9,7 +9,7 @@ import { readFile } from "node:fs/promises";
9
9
  async function runMigratePrettier() {
10
10
  const cwd = process.cwd();
11
11
  if (await hasOxfmtrcFile(cwd)) return exitWithError("Oxfmt configuration file already exists.");
12
- const { resolveConfigFile, resolveConfig } = await import("./prettier-CHVck2cH.js").then((n) => n.n);
12
+ const { resolveConfigFile, resolveConfig } = await import("./prettier-DmvT5K0i.js");
13
13
  const prettierConfigPath = await resolveConfigFile(join(cwd, "dummy.js"));
14
14
  if (!prettierConfigPath) {
15
15
  console.log("No Prettier configuration file found.");
@@ -1,5 +1,4 @@
1
1
  import { t as __exportAll } from "./chunk-DrSxFLj_.js";
2
- import { i as sn, r as Ei } from "./dist-DabO5BDH.js";
3
2
  //#region ../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/postcss.mjs
4
3
  var postcss_exports = /* @__PURE__ */ __exportAll({
5
4
  default: () => _l,
@@ -13,7 +12,7 @@ var Vr = Object.defineProperty;
13
12
  var El = Object.getOwnPropertyDescriptor;
14
13
  var Sl = Object.getOwnPropertyNames;
15
14
  var kl = Object.getPrototypeOf, Tl = Object.prototype.hasOwnProperty;
16
- var w = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), sn$1 = (t, e) => {
15
+ var w = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), sn = (t, e) => {
17
16
  for (var s in e) Vr(t, s, {
18
17
  get: e[s],
19
18
  enumerable: !0
@@ -5013,7 +5012,7 @@ var nl = w((rb, sl) => {
5013
5012
  };
5014
5013
  });
5015
5014
  var _l = {};
5016
- sn$1(_l, {
5015
+ sn(_l, {
5017
5016
  languages: () => Si,
5018
5017
  options: () => Ti,
5019
5018
  parsers: () => en,
@@ -6336,7 +6335,7 @@ function Cc(t, e, s) {
6336
6335
  default: throw new dn(r, "PostCSS");
6337
6336
  }
6338
6337
  }
6339
- var Ei$1 = {
6338
+ var Ei = {
6340
6339
  features: { experimental_frontMatterSupport: {
6341
6340
  massageAstNode: !0,
6342
6341
  embed: !0,
@@ -6459,7 +6458,7 @@ var Ti = { singleQuote: {
6459
6458
  }
6460
6459
  }.singleQuote };
6461
6460
  var en = {};
6462
- sn$1(en, {
6461
+ sn(en, {
6463
6462
  css: () => Vy,
6464
6463
  less: () => zy,
6465
6464
  scss: () => jy
@@ -6778,6 +6777,6 @@ var Zs = {
6778
6777
  ...Zs,
6779
6778
  parse: xl
6780
6779
  };
6781
- var Hy = { postcss: Ei$1 };
6780
+ var Hy = { postcss: Ei };
6782
6781
  //#endregion
6783
- export { en as a, Ei as default, _l as i, Si as n, postcss_exports as o, sn as parsers, Ti as r, Hy as t };
6782
+ export { _l as default, Si as languages, Ti as options, en as parsers, Hy as printers, postcss_exports as t };
@@ -1049,22 +1049,6 @@ var utils = {
1049
1049
  };
1050
1050
  //#endregion
1051
1051
  //#region ../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/index.mjs
1052
- var prettier_exports = /* @__PURE__ */ __exportAll({
1053
- __debug: () => debugApis,
1054
- __internal: () => sharedWithCli,
1055
- check: () => check,
1056
- clearConfigCache: () => clearCache3,
1057
- default: () => index_exports,
1058
- doc: () => doc_exports,
1059
- format: () => format2,
1060
- formatWithCursor: () => formatWithCursor2,
1061
- getFileInfo: () => get_file_info_default,
1062
- getSupportInfo: () => getSupportInfo2,
1063
- resolveConfig: () => resolveConfig,
1064
- resolveConfigFile: () => resolveConfigFile,
1065
- util: () => public_exports,
1066
- version: () => version_evaluate_default
1067
- });
1068
1052
  const require = createRequire(import.meta.url);
1069
1053
  dirname(fileURLToPath(import.meta.url));
1070
1054
  var __create = Object.create;
@@ -15199,7 +15183,7 @@ var { parsers, printers } = createParsersAndPrinters([
15199
15183
  parsers: ["acorn", "espree"]
15200
15184
  },
15201
15185
  {
15202
- importPlugin: () => import("./angular-B-fZUH1m.js"),
15186
+ importPlugin: () => import("./angular-BS7_jn7o.js"),
15203
15187
  parsers: [
15204
15188
  "__ng_action",
15205
15189
  "__ng_binding",
@@ -15208,7 +15192,7 @@ var { parsers, printers } = createParsersAndPrinters([
15208
15192
  ]
15209
15193
  },
15210
15194
  {
15211
- importPlugin: () => import("./babel-j4jyJZw_.js"),
15195
+ importPlugin: () => import("./babel-CL6HLzZ0.js"),
15212
15196
  parsers: [
15213
15197
  "babel",
15214
15198
  "babel-flow",
@@ -15265,7 +15249,7 @@ var { parsers, printers } = createParsersAndPrinters([
15265
15249
  parsers: ["meriyah"]
15266
15250
  },
15267
15251
  {
15268
- importPlugin: () => import("./postcss-A2fgbfpd.js"),
15252
+ importPlugin: () => import("./postcss-k2aCwkzC.js"),
15269
15253
  parsers: [
15270
15254
  "css",
15271
15255
  "less",
@@ -15602,4 +15586,4 @@ var debugApis = {
15602
15586
  mockable
15603
15587
  };
15604
15588
  //#endregion
15605
- export { prettier_exports as n, index_exports as t };
15589
+ export { debugApis as __debug, sharedWithCli as __internal, check, clearCache3 as clearConfigCache, index_exports as default, doc_exports as doc, format2 as format, formatWithCursor2 as formatWithCursor, get_file_info_default as getFileInfo, getSupportInfo2 as getSupportInfo, resolveConfig, resolveConfigFile, public_exports as util, version_evaluate_default as version };
@@ -1,5 +1,5 @@
1
- import "./bindings-D1mDMI2C.js";
2
- import "./apis-Df5472ag.js";
1
+ import "./bindings-NtH60nWL.js";
2
+ import "./apis-C4p62fZb.js";
3
3
  import { jsTextToDoc } from "./index.js";
4
4
  //#region src-js/libs/prettier-plugin-oxfmt/text-to-doc.ts
5
5
  const textToDoc = async (embeddedSourceText, textToDocOptions) => {
@@ -1,7 +1,7 @@
1
1
  import { a as resolveJsFrom, t as expiringMap } from "./resolve-pWjAK-4f-C1Z6M6r2.js";
2
2
  import { n as cacheForDirs, t as bigSign } from "./utils-D8dQkKEd-BtAa7w-M.js";
3
- import { pathToFileURL } from "node:url";
4
3
  import * as path from "node:path";
4
+ import { pathToFileURL } from "node:url";
5
5
  import { dirname, resolve } from "path";
6
6
  import { readdirSync, statSync } from "fs";
7
7
  //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.1/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
@@ -103,14 +103,14 @@ async function getTailwindConfig(options) {
103
103
  if (!stylesheet && !(mod === null || mod === void 0 ? void 0 : mod.__unstable__loadDesignSystem)) jsConfig = jsConfig ?? findClosestJsConfig(inputDir);
104
104
  if (jsConfig) {
105
105
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
106
- const { loadV3 } = await import("./v3-D-mr2VVh-CsF5zfe3.js");
106
+ const { loadV3 } = await import("./v3-D-mr2VVh-FqDpKDIq.js");
107
107
  return loadV3(pkgDir, jsConfig);
108
108
  });
109
109
  error("explicit-stylesheet-and-config-together", base, `You have specified a Tailwind CSS stylesheet and a Tailwind CSS config at the same time. Use stylesheetPath unless you are using v3. Preferring the stylesheet.`);
110
110
  }
111
111
  if (mod && !mod.__unstable__loadDesignSystem) {
112
112
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
113
- const { loadV3 } = await import("./v3-D-mr2VVh-CsF5zfe3.js");
113
+ const { loadV3 } = await import("./v3-D-mr2VVh-FqDpKDIq.js");
114
114
  return loadV3(pkgDir, jsConfig);
115
115
  });
116
116
  mod = null;
@@ -118,7 +118,7 @@ async function getTailwindConfig(options) {
118
118
  }
119
119
  if (mod && mod.__unstable__loadDesignSystem && pkgDir) stylesheet ?? (stylesheet = `${pkgDir}/theme.css`);
120
120
  return pathToApiMap.remember(`${pkgDir}:${stylesheet}`, async () => {
121
- const { loadV4 } = await import("./v4-C-HWEQJm-DL2nGaoR.js");
121
+ const { loadV4 } = await import("./v4-C-HWEQJm-6MZhb6TA.js");
122
122
  return loadV4(mod, stylesheet);
123
123
  });
124
124
  }