@teambit/prettier 1.0.340 → 1.0.342

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.defender/prettier@1.0.340" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.defender/prettier@1.0.342" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/prettier-preview"]=t():e["teambit.defender/prettier-preview"]=t()}(self,(()=>(()=>{"use strict";var e={24604:(e,t,o)=>{var r={id:"teambit.defender/prettier@1.0.340",homepage:"https://bit.cloud/teambit/defender/prettier",exported:!0};function i(){const e=n(o(41594));return i=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,i.__bit_component=r,n.__bit_component=r;const d=()=>i().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},i().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-prettier.svg"}));d.__bit_component=r,t.Logo=d},41594:e=>{e.exports=React}},t={};function o(r){var i=t[r];if(void 0!==i)return i.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>i,compositions_metadata:()=>d,overview:()=>n});const i=[o(24604)],n=[],d={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/prettier-preview"]=t():e["teambit.defender/prettier-preview"]=t()}(self,(()=>(()=>{"use strict";var e={97506:(e,t,o)=>{var r={id:"teambit.defender/prettier@1.0.342",homepage:"https://bit.cloud/teambit/defender/prettier",exported:!0};function i(){const e=n(o(41594));return i=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,i.__bit_component=r,n.__bit_component=r;const d=()=>i().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},i().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-prettier.svg"}));d.__bit_component=r,t.Logo=d},41594:e=>{e.exports=React}},t={};function o(r){var i=t[r];if(void 0!==i)return i.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,o),n.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>i,compositions_metadata:()=>d,overview:()=>n});const i=[o(97506)],n=[],d={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -60,7 +60,7 @@
60
60
  "__schema": "ClassSchema",
61
61
  "location": {
62
62
  "filePath": "prettier.main.runtime.ts",
63
- "line": 23,
63
+ "line": 24,
64
64
  "character": 1
65
65
  },
66
66
  "signature": "class PrettierMain",
@@ -70,7 +70,7 @@
70
70
  "__schema": "ConstructorSchema",
71
71
  "location": {
72
72
  "filePath": "prettier.main.runtime.ts",
73
- "line": 24,
73
+ "line": 25,
74
74
  "character": 3
75
75
  },
76
76
  "signature": "constructor PrettierMain(logger: Logger): PrettierMain",
@@ -80,7 +80,7 @@
80
80
  "__schema": "ParameterSchema",
81
81
  "location": {
82
82
  "filePath": "prettier.main.runtime.ts",
83
- "line": 24,
83
+ "line": 25,
84
84
  "character": 15
85
85
  },
86
86
  "name": "logger",
@@ -88,7 +88,7 @@
88
88
  "__schema": "TypeRefSchema",
89
89
  "location": {
90
90
  "filePath": "prettier.main.runtime.ts",
91
- "line": 24,
91
+ "line": 25,
92
92
  "character": 31
93
93
  },
94
94
  "name": "Logger"
@@ -101,7 +101,7 @@
101
101
  "__schema": "ThisTypeSchema",
102
102
  "location": {
103
103
  "filePath": "prettier.main.runtime.ts",
104
- "line": 23,
104
+ "line": 24,
105
105
  "character": 1
106
106
  },
107
107
  "name": "PrettierMain"
@@ -112,26 +112,36 @@
112
112
  "__schema": "FunctionLikeSchema",
113
113
  "location": {
114
114
  "filePath": "prettier.main.runtime.ts",
115
- "line": 30,
115
+ "line": 32,
116
116
  "character": 3
117
117
  },
118
118
  "doc": {
119
119
  "__schema": "DocSchema",
120
120
  "location": {
121
121
  "filePath": "prettier.main.runtime.ts",
122
- "line": 25,
122
+ "line": 26,
123
123
  "character": 3
124
124
  },
125
- "raw": "/**\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */",
126
- "comment": "create a prettier formatter instance.",
125
+ "raw": "/**\n * @deprecated use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */",
126
+ "comment": "",
127
127
  "tags": [
128
128
  {
129
- "__schema": "PropertyLikeTagSchema",
129
+ "__schema": "TagSchema",
130
130
  "location": {
131
131
  "filePath": "prettier.main.runtime.ts",
132
132
  "line": 27,
133
133
  "character": 6
134
134
  },
135
+ "tagName": "deprecated",
136
+ "comment": "use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\ncreate a prettier formatter instance."
137
+ },
138
+ {
139
+ "__schema": "PropertyLikeTagSchema",
140
+ "location": {
141
+ "filePath": "prettier.main.runtime.ts",
142
+ "line": 29,
143
+ "character": 6
144
+ },
135
145
  "name": "options",
136
146
  "tagName": "parameter",
137
147
  "comment": "prettier options."
@@ -140,7 +150,7 @@
140
150
  "__schema": "PropertyLikeTagSchema",
141
151
  "location": {
142
152
  "filePath": "prettier.main.runtime.ts",
143
- "line": 28,
153
+ "line": 30,
144
154
  "character": 6
145
155
  },
146
156
  "name": "PrettierModule",
@@ -156,7 +166,7 @@
156
166
  "__schema": "ParameterSchema",
157
167
  "location": {
158
168
  "filePath": "prettier.main.runtime.ts",
159
- "line": 31,
169
+ "line": 33,
160
170
  "character": 5
161
171
  },
162
172
  "name": "formatterOptions",
@@ -164,7 +174,7 @@
164
174
  "__schema": "TypeRefSchema",
165
175
  "location": {
166
176
  "filePath": "prettier.main.runtime.ts",
167
- "line": 31,
177
+ "line": 33,
168
178
  "character": 23
169
179
  },
170
180
  "name": "FormatterOptions"
@@ -177,7 +187,7 @@
177
187
  "__schema": "ParameterSchema",
178
188
  "location": {
179
189
  "filePath": "prettier.main.runtime.ts",
180
- "line": 32,
190
+ "line": 34,
181
191
  "character": 5
182
192
  },
183
193
  "name": "options",
@@ -185,7 +195,7 @@
185
195
  "__schema": "TypeRefSchema",
186
196
  "location": {
187
197
  "filePath": "prettier.main.runtime.ts",
188
- "line": 32,
198
+ "line": 34,
189
199
  "character": 14
190
200
  },
191
201
  "name": "PrettierOptions"
@@ -197,7 +207,7 @@
197
207
  "__schema": "ParameterSchema",
198
208
  "location": {
199
209
  "filePath": "prettier.main.runtime.ts",
200
- "line": 33,
210
+ "line": 35,
201
211
  "character": 5
202
212
  },
203
213
  "name": "transformers",
@@ -205,14 +215,14 @@
205
215
  "__schema": "TypeArraySchema",
206
216
  "location": {
207
217
  "filePath": "prettier.main.runtime.ts",
208
- "line": 33,
218
+ "line": 35,
209
219
  "character": 19
210
220
  },
211
221
  "type": {
212
222
  "__schema": "TypeRefSchema",
213
223
  "location": {
214
224
  "filePath": "prettier.main.runtime.ts",
215
- "line": 33,
225
+ "line": 35,
216
226
  "character": 19
217
227
  },
218
228
  "name": "PrettierConfigTransformer"
@@ -226,7 +236,7 @@
226
236
  "__schema": "ParameterSchema",
227
237
  "location": {
228
238
  "filePath": "prettier.main.runtime.ts",
229
- "line": 34,
239
+ "line": 36,
230
240
  "character": 5
231
241
  },
232
242
  "name": "PrettierModule",
@@ -234,7 +244,7 @@
234
244
  "__schema": "KeywordTypeSchema",
235
245
  "location": {
236
246
  "filePath": "prettier.main.runtime.ts",
237
- "line": 34,
247
+ "line": 36,
238
248
  "character": 22
239
249
  },
240
250
  "name": "any"
@@ -247,7 +257,7 @@
247
257
  "__schema": "TypeRefSchema",
248
258
  "location": {
249
259
  "filePath": "prettier.main.runtime.ts",
250
- "line": 30,
260
+ "line": 32,
251
261
  "character": 3
252
262
  },
253
263
  "name": "Formatter",
@@ -262,7 +272,7 @@
262
272
  "__schema": "VariableLikeSchema",
263
273
  "location": {
264
274
  "filePath": "prettier.main.runtime.ts",
265
- "line": 42,
275
+ "line": 47,
266
276
  "character": 3
267
277
  },
268
278
  "signature": "(property) PrettierMain.runtime: RuntimeDefinition",
@@ -271,7 +281,7 @@
271
281
  "__schema": "InferenceTypeSchema",
272
282
  "location": {
273
283
  "filePath": "prettier.main.runtime.ts",
274
- "line": 42,
284
+ "line": 47,
275
285
  "character": 3
276
286
  },
277
287
  "type": "RuntimeDefinition"
@@ -283,7 +293,7 @@
283
293
  "__schema": "VariableLikeSchema",
284
294
  "location": {
285
295
  "filePath": "prettier.main.runtime.ts",
286
- "line": 44,
296
+ "line": 49,
287
297
  "character": 3
288
298
  },
289
299
  "signature": "(property) PrettierMain.dependencies: Aspect[]",
@@ -292,7 +302,7 @@
292
302
  "__schema": "InferenceTypeSchema",
293
303
  "location": {
294
304
  "filePath": "prettier.main.runtime.ts",
295
- "line": 44,
305
+ "line": 49,
296
306
  "character": 3
297
307
  },
298
308
  "type": "Aspect[]"
@@ -304,7 +314,7 @@
304
314
  "__schema": "FunctionLikeSchema",
305
315
  "location": {
306
316
  "filePath": "prettier.main.runtime.ts",
307
- "line": 46,
317
+ "line": 51,
308
318
  "character": 3
309
319
  },
310
320
  "signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
@@ -314,7 +324,7 @@
314
324
  "__schema": "ParameterSchema",
315
325
  "location": {
316
326
  "filePath": "prettier.main.runtime.ts",
317
- "line": 46,
327
+ "line": 51,
318
328
  "character": 25
319
329
  },
320
330
  "name": "[ loggerExt ]",
@@ -322,7 +332,7 @@
322
332
  "__schema": "TupleTypeSchema",
323
333
  "location": {
324
334
  "filePath": "prettier.main.runtime.ts",
325
- "line": 46,
335
+ "line": 51,
326
336
  "character": 38
327
337
  },
328
338
  "elements": [
@@ -330,7 +340,7 @@
330
340
  "__schema": "TypeRefSchema",
331
341
  "location": {
332
342
  "filePath": "prettier.main.runtime.ts",
333
- "line": 46,
343
+ "line": 51,
334
344
  "character": 39
335
345
  },
336
346
  "name": "LoggerMain"
@@ -339,7 +349,7 @@
339
349
  "__schema": "TypeRefSchema",
340
350
  "location": {
341
351
  "filePath": "prettier.main.runtime.ts",
342
- "line": 46,
352
+ "line": 51,
343
353
  "character": 51
344
354
  },
345
355
  "name": "FormatterMain"
@@ -348,7 +358,7 @@
348
358
  "__schema": "TypeRefSchema",
349
359
  "location": {
350
360
  "filePath": "prettier.main.runtime.ts",
351
- "line": 46,
361
+ "line": 51,
352
362
  "character": 66
353
363
  },
354
364
  "name": "WorkspaceConfigFilesMain"
@@ -363,7 +373,7 @@
363
373
  "__schema": "TypeRefSchema",
364
374
  "location": {
365
375
  "filePath": "prettier.main.runtime.ts",
366
- "line": 46,
376
+ "line": 51,
367
377
  "character": 94
368
378
  },
369
379
  "name": "Promise",
@@ -372,7 +382,7 @@
372
382
  "__schema": "TypeRefSchema",
373
383
  "location": {
374
384
  "filePath": "prettier.main.runtime.ts",
375
- "line": 46,
385
+ "line": 51,
376
386
  "character": 102
377
387
  },
378
388
  "name": "PrettierMain"
@@ -401,7 +411,7 @@
401
411
  "__schema": "TypeSchema",
402
412
  "location": {
403
413
  "filePath": "prettier.main.runtime.ts",
404
- "line": 14,
414
+ "line": 15,
405
415
  "character": 1
406
416
  },
407
417
  "signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
@@ -410,7 +420,7 @@
410
420
  "__schema": "TypeLiteralSchema",
411
421
  "location": {
412
422
  "filePath": "prettier.main.runtime.ts",
413
- "line": 14,
423
+ "line": 15,
414
424
  "character": 31
415
425
  },
416
426
  "members": [
@@ -418,14 +428,14 @@
418
428
  "__schema": "VariableLikeSchema",
419
429
  "location": {
420
430
  "filePath": "prettier.main.runtime.ts",
421
- "line": 18,
431
+ "line": 19,
422
432
  "character": 3
423
433
  },
424
434
  "doc": {
425
435
  "__schema": "DocSchema",
426
436
  "location": {
427
437
  "filePath": "prettier.main.runtime.ts",
428
- "line": 15,
438
+ "line": 16,
429
439
  "character": 3
430
440
  },
431
441
  "raw": "/**\n * formatter config for prettier.\n */",
@@ -438,7 +448,7 @@
438
448
  "__schema": "TypeRefSchema",
439
449
  "location": {
440
450
  "filePath": "prettier.main.runtime.ts",
441
- "line": 18,
451
+ "line": 19,
442
452
  "character": 11
443
453
  },
444
454
  "name": "PrettierModuleOptions"
@@ -512,7 +522,7 @@
512
522
  "__schema": "TypeSchema",
513
523
  "location": {
514
524
  "filePath": "prettier.main.runtime.ts",
515
- "line": 14,
525
+ "line": 15,
516
526
  "character": 1
517
527
  },
518
528
  "signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
@@ -521,7 +531,7 @@
521
531
  "__schema": "TypeLiteralSchema",
522
532
  "location": {
523
533
  "filePath": "prettier.main.runtime.ts",
524
- "line": 14,
534
+ "line": 15,
525
535
  "character": 31
526
536
  },
527
537
  "members": [
@@ -529,14 +539,14 @@
529
539
  "__schema": "VariableLikeSchema",
530
540
  "location": {
531
541
  "filePath": "prettier.main.runtime.ts",
532
- "line": 18,
542
+ "line": 19,
533
543
  "character": 3
534
544
  },
535
545
  "doc": {
536
546
  "__schema": "DocSchema",
537
547
  "location": {
538
548
  "filePath": "prettier.main.runtime.ts",
539
- "line": 15,
549
+ "line": 16,
540
550
  "character": 3
541
551
  },
542
552
  "raw": "/**\n * formatter config for prettier.\n */",
@@ -549,7 +559,7 @@
549
559
  "__schema": "TypeRefSchema",
550
560
  "location": {
551
561
  "filePath": "prettier.main.runtime.ts",
552
- "line": 18,
562
+ "line": 19,
553
563
  "character": 11
554
564
  },
555
565
  "name": "PrettierModuleOptions"
@@ -563,7 +573,7 @@
563
573
  "__schema": "ClassSchema",
564
574
  "location": {
565
575
  "filePath": "prettier.main.runtime.ts",
566
- "line": 23,
576
+ "line": 24,
567
577
  "character": 1
568
578
  },
569
579
  "signature": "class PrettierMain",
@@ -573,7 +583,7 @@
573
583
  "__schema": "ConstructorSchema",
574
584
  "location": {
575
585
  "filePath": "prettier.main.runtime.ts",
576
- "line": 24,
586
+ "line": 25,
577
587
  "character": 3
578
588
  },
579
589
  "signature": "constructor PrettierMain(logger: Logger): PrettierMain",
@@ -583,7 +593,7 @@
583
593
  "__schema": "ParameterSchema",
584
594
  "location": {
585
595
  "filePath": "prettier.main.runtime.ts",
586
- "line": 24,
596
+ "line": 25,
587
597
  "character": 15
588
598
  },
589
599
  "name": "logger",
@@ -591,7 +601,7 @@
591
601
  "__schema": "TypeRefSchema",
592
602
  "location": {
593
603
  "filePath": "prettier.main.runtime.ts",
594
- "line": 24,
604
+ "line": 25,
595
605
  "character": 31
596
606
  },
597
607
  "name": "Logger"
@@ -604,7 +614,7 @@
604
614
  "__schema": "ThisTypeSchema",
605
615
  "location": {
606
616
  "filePath": "prettier.main.runtime.ts",
607
- "line": 23,
617
+ "line": 24,
608
618
  "character": 1
609
619
  },
610
620
  "name": "PrettierMain"
@@ -615,26 +625,36 @@
615
625
  "__schema": "FunctionLikeSchema",
616
626
  "location": {
617
627
  "filePath": "prettier.main.runtime.ts",
618
- "line": 30,
628
+ "line": 32,
619
629
  "character": 3
620
630
  },
621
631
  "doc": {
622
632
  "__schema": "DocSchema",
623
633
  "location": {
624
634
  "filePath": "prettier.main.runtime.ts",
625
- "line": 25,
635
+ "line": 26,
626
636
  "character": 3
627
637
  },
628
- "raw": "/**\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */",
629
- "comment": "create a prettier formatter instance.",
638
+ "raw": "/**\n * @deprecated use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */",
639
+ "comment": "",
630
640
  "tags": [
631
641
  {
632
- "__schema": "PropertyLikeTagSchema",
642
+ "__schema": "TagSchema",
633
643
  "location": {
634
644
  "filePath": "prettier.main.runtime.ts",
635
645
  "line": 27,
636
646
  "character": 6
637
647
  },
648
+ "tagName": "deprecated",
649
+ "comment": "use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\ncreate a prettier formatter instance."
650
+ },
651
+ {
652
+ "__schema": "PropertyLikeTagSchema",
653
+ "location": {
654
+ "filePath": "prettier.main.runtime.ts",
655
+ "line": 29,
656
+ "character": 6
657
+ },
638
658
  "name": "options",
639
659
  "tagName": "parameter",
640
660
  "comment": "prettier options."
@@ -643,7 +663,7 @@
643
663
  "__schema": "PropertyLikeTagSchema",
644
664
  "location": {
645
665
  "filePath": "prettier.main.runtime.ts",
646
- "line": 28,
666
+ "line": 30,
647
667
  "character": 6
648
668
  },
649
669
  "name": "PrettierModule",
@@ -659,7 +679,7 @@
659
679
  "__schema": "ParameterSchema",
660
680
  "location": {
661
681
  "filePath": "prettier.main.runtime.ts",
662
- "line": 31,
682
+ "line": 33,
663
683
  "character": 5
664
684
  },
665
685
  "name": "formatterOptions",
@@ -667,7 +687,7 @@
667
687
  "__schema": "TypeRefSchema",
668
688
  "location": {
669
689
  "filePath": "prettier.main.runtime.ts",
670
- "line": 31,
690
+ "line": 33,
671
691
  "character": 23
672
692
  },
673
693
  "name": "FormatterOptions"
@@ -680,7 +700,7 @@
680
700
  "__schema": "ParameterSchema",
681
701
  "location": {
682
702
  "filePath": "prettier.main.runtime.ts",
683
- "line": 32,
703
+ "line": 34,
684
704
  "character": 5
685
705
  },
686
706
  "name": "options",
@@ -688,7 +708,7 @@
688
708
  "__schema": "TypeRefSchema",
689
709
  "location": {
690
710
  "filePath": "prettier.main.runtime.ts",
691
- "line": 32,
711
+ "line": 34,
692
712
  "character": 14
693
713
  },
694
714
  "name": "PrettierOptions"
@@ -700,7 +720,7 @@
700
720
  "__schema": "ParameterSchema",
701
721
  "location": {
702
722
  "filePath": "prettier.main.runtime.ts",
703
- "line": 33,
723
+ "line": 35,
704
724
  "character": 5
705
725
  },
706
726
  "name": "transformers",
@@ -708,14 +728,14 @@
708
728
  "__schema": "TypeArraySchema",
709
729
  "location": {
710
730
  "filePath": "prettier.main.runtime.ts",
711
- "line": 33,
731
+ "line": 35,
712
732
  "character": 19
713
733
  },
714
734
  "type": {
715
735
  "__schema": "TypeRefSchema",
716
736
  "location": {
717
737
  "filePath": "prettier.main.runtime.ts",
718
- "line": 33,
738
+ "line": 35,
719
739
  "character": 19
720
740
  },
721
741
  "name": "PrettierConfigTransformer"
@@ -729,7 +749,7 @@
729
749
  "__schema": "ParameterSchema",
730
750
  "location": {
731
751
  "filePath": "prettier.main.runtime.ts",
732
- "line": 34,
752
+ "line": 36,
733
753
  "character": 5
734
754
  },
735
755
  "name": "PrettierModule",
@@ -737,7 +757,7 @@
737
757
  "__schema": "KeywordTypeSchema",
738
758
  "location": {
739
759
  "filePath": "prettier.main.runtime.ts",
740
- "line": 34,
760
+ "line": 36,
741
761
  "character": 22
742
762
  },
743
763
  "name": "any"
@@ -750,7 +770,7 @@
750
770
  "__schema": "TypeRefSchema",
751
771
  "location": {
752
772
  "filePath": "prettier.main.runtime.ts",
753
- "line": 30,
773
+ "line": 32,
754
774
  "character": 3
755
775
  },
756
776
  "name": "Formatter",
@@ -765,7 +785,7 @@
765
785
  "__schema": "VariableLikeSchema",
766
786
  "location": {
767
787
  "filePath": "prettier.main.runtime.ts",
768
- "line": 42,
788
+ "line": 47,
769
789
  "character": 3
770
790
  },
771
791
  "signature": "(property) PrettierMain.runtime: RuntimeDefinition",
@@ -774,7 +794,7 @@
774
794
  "__schema": "InferenceTypeSchema",
775
795
  "location": {
776
796
  "filePath": "prettier.main.runtime.ts",
777
- "line": 42,
797
+ "line": 47,
778
798
  "character": 3
779
799
  },
780
800
  "type": "RuntimeDefinition"
@@ -786,7 +806,7 @@
786
806
  "__schema": "VariableLikeSchema",
787
807
  "location": {
788
808
  "filePath": "prettier.main.runtime.ts",
789
- "line": 44,
809
+ "line": 49,
790
810
  "character": 3
791
811
  },
792
812
  "signature": "(property) PrettierMain.dependencies: Aspect[]",
@@ -795,7 +815,7 @@
795
815
  "__schema": "InferenceTypeSchema",
796
816
  "location": {
797
817
  "filePath": "prettier.main.runtime.ts",
798
- "line": 44,
818
+ "line": 49,
799
819
  "character": 3
800
820
  },
801
821
  "type": "Aspect[]"
@@ -807,7 +827,7 @@
807
827
  "__schema": "FunctionLikeSchema",
808
828
  "location": {
809
829
  "filePath": "prettier.main.runtime.ts",
810
- "line": 46,
830
+ "line": 51,
811
831
  "character": 3
812
832
  },
813
833
  "signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
@@ -817,7 +837,7 @@
817
837
  "__schema": "ParameterSchema",
818
838
  "location": {
819
839
  "filePath": "prettier.main.runtime.ts",
820
- "line": 46,
840
+ "line": 51,
821
841
  "character": 25
822
842
  },
823
843
  "name": "[ loggerExt ]",
@@ -825,7 +845,7 @@
825
845
  "__schema": "TupleTypeSchema",
826
846
  "location": {
827
847
  "filePath": "prettier.main.runtime.ts",
828
- "line": 46,
848
+ "line": 51,
829
849
  "character": 38
830
850
  },
831
851
  "elements": [
@@ -833,7 +853,7 @@
833
853
  "__schema": "TypeRefSchema",
834
854
  "location": {
835
855
  "filePath": "prettier.main.runtime.ts",
836
- "line": 46,
856
+ "line": 51,
837
857
  "character": 39
838
858
  },
839
859
  "name": "LoggerMain"
@@ -842,7 +862,7 @@
842
862
  "__schema": "TypeRefSchema",
843
863
  "location": {
844
864
  "filePath": "prettier.main.runtime.ts",
845
- "line": 46,
865
+ "line": 51,
846
866
  "character": 51
847
867
  },
848
868
  "name": "FormatterMain"
@@ -851,7 +871,7 @@
851
871
  "__schema": "TypeRefSchema",
852
872
  "location": {
853
873
  "filePath": "prettier.main.runtime.ts",
854
- "line": 46,
874
+ "line": 51,
855
875
  "character": 66
856
876
  },
857
877
  "name": "WorkspaceConfigFilesMain"
@@ -866,7 +886,7 @@
866
886
  "__schema": "TypeRefSchema",
867
887
  "location": {
868
888
  "filePath": "prettier.main.runtime.ts",
869
- "line": 46,
889
+ "line": 51,
870
890
  "character": 94
871
891
  },
872
892
  "name": "Promise",
@@ -875,7 +895,7 @@
875
895
  "__schema": "TypeRefSchema",
876
896
  "location": {
877
897
  "filePath": "prettier.main.runtime.ts",
878
- "line": 46,
898
+ "line": 51,
879
899
  "character": 102
880
900
  },
881
901
  "name": "PrettierMain"
@@ -895,7 +915,7 @@
895
915
  "__schema": "FunctionLikeSchema",
896
916
  "location": {
897
917
  "filePath": "prettier.main.runtime.ts",
898
- "line": 54,
918
+ "line": 59,
899
919
  "character": 1
900
920
  },
901
921
  "signature": "function runTransformersWithContext(config: PrettierConfigMutator, transformers: PrettierConfigTransformer[] | undefined, context: PrettierConfigTransformContext): PrettierConfigMutator",
@@ -905,7 +925,7 @@
905
925
  "__schema": "ParameterSchema",
906
926
  "location": {
907
927
  "filePath": "prettier.main.runtime.ts",
908
- "line": 55,
928
+ "line": 60,
909
929
  "character": 3
910
930
  },
911
931
  "name": "config",
@@ -913,7 +933,7 @@
913
933
  "__schema": "TypeRefSchema",
914
934
  "location": {
915
935
  "filePath": "prettier.main.runtime.ts",
916
- "line": 55,
936
+ "line": 60,
917
937
  "character": 11
918
938
  },
919
939
  "name": "PrettierConfigMutator"
@@ -925,7 +945,7 @@
925
945
  "__schema": "ParameterSchema",
926
946
  "location": {
927
947
  "filePath": "prettier.main.runtime.ts",
928
- "line": 56,
948
+ "line": 61,
929
949
  "character": 3
930
950
  },
931
951
  "name": "transformers",
@@ -933,14 +953,14 @@
933
953
  "__schema": "TypeArraySchema",
934
954
  "location": {
935
955
  "filePath": "prettier.main.runtime.ts",
936
- "line": 56,
956
+ "line": 61,
937
957
  "character": 17
938
958
  },
939
959
  "type": {
940
960
  "__schema": "TypeRefSchema",
941
961
  "location": {
942
962
  "filePath": "prettier.main.runtime.ts",
943
- "line": 56,
963
+ "line": 61,
944
964
  "character": 17
945
965
  },
946
966
  "name": "PrettierConfigTransformer"
@@ -954,7 +974,7 @@
954
974
  "__schema": "ParameterSchema",
955
975
  "location": {
956
976
  "filePath": "prettier.main.runtime.ts",
957
- "line": 57,
977
+ "line": 62,
958
978
  "character": 3
959
979
  },
960
980
  "name": "context",
@@ -962,7 +982,7 @@
962
982
  "__schema": "TypeRefSchema",
963
983
  "location": {
964
984
  "filePath": "prettier.main.runtime.ts",
965
- "line": 57,
985
+ "line": 62,
966
986
  "character": 12
967
987
  },
968
988
  "name": "PrettierConfigTransformContext"
@@ -975,7 +995,7 @@
975
995
  "__schema": "TypeRefSchema",
976
996
  "location": {
977
997
  "filePath": "prettier.main.runtime.ts",
978
- "line": 54,
998
+ "line": 59,
979
999
  "character": 1
980
1000
  },
981
1001
  "name": "PrettierConfigMutator",
@@ -995,7 +1015,7 @@
995
1015
  "__schema": "UnImplementedSchema",
996
1016
  "location": {
997
1017
  "filePath": "prettier.main.runtime.ts",
998
- "line": 52,
1018
+ "line": 57,
999
1019
  "character": 1
1000
1020
  },
1001
1021
  "name": "PrettierAspect.addRuntime(PrettierMain);",
@@ -1007,7 +1027,7 @@
1007
1027
  "componentId": {
1008
1028
  "scope": "teambit.defender",
1009
1029
  "name": "prettier",
1010
- "version": "1.0.340"
1030
+ "version": "1.0.342"
1011
1031
  },
1012
1032
  "taggedModuleExports": []
1013
1033
  }
@@ -13,6 +13,7 @@ export declare class PrettierMain {
13
13
  private logger;
14
14
  constructor(logger: Logger);
15
15
  /**
16
+ * @deprecated use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter
16
17
  * create a prettier formatter instance.
17
18
  * @param options prettier options.
18
19
  * @param PrettierModule reference to an `prettier` module.
@@ -26,6 +26,13 @@ function _defenderPrettier() {
26
26
  };
27
27
  return data;
28
28
  }
29
+ function _constants() {
30
+ const data = require("@teambit/legacy/dist/constants");
31
+ _constants = function () {
32
+ return data;
33
+ };
34
+ return data;
35
+ }
29
36
  function _prettier() {
30
37
  const data = require("./prettier.aspect");
31
38
  _prettier = function () {
@@ -50,11 +57,13 @@ class PrettierMain {
50
57
  this.logger = logger;
51
58
  }
52
59
  /**
60
+ * @deprecated use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter
53
61
  * create a prettier formatter instance.
54
62
  * @param options prettier options.
55
63
  * @param PrettierModule reference to an `prettier` module.
56
64
  */
57
65
  createFormatter(formatterOptions = {}, options, transformers = [], PrettierModule) {
66
+ this.logger.consoleWarning(`The 'Prettier' aspect is deprecated. Please use the 'prettier formatter' component instead. For more details, visit: https://${(0, _constants().getCloudDomain)()}/teambit/defender/prettier-formatter`);
58
67
  const configMutator = new (_defenderPrettier().PrettierConfigMutator)(options.config);
59
68
  const transformerContext = {
60
69
  check: !!formatterOptions.check
@@ -1 +1 @@
1
- {"version":3,"names":["_cli","data","require","_logger","_defenderPrettier","_prettier","_prettier2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","PrettierMain","constructor","logger","createFormatter","formatterOptions","options","transformers","PrettierModule","configMutator","PrettierConfigMutator","config","transformerContext","check","afterMutation","runTransformersWithContext","clone","PrettierFormatter","raw","provider","loggerExt","createLogger","PrettierAspect","id","exports","MainRuntime","LoggerAspect","addRuntime","context","Array","isArray","newConfig","reduce","acc","transformer"],"sources":["prettier.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { Options as PrettierModuleOptions } from 'prettier';\nimport { Formatter, FormatterMain, FormatterOptions } from '@teambit/formatter';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport {\n PrettierConfigMutator,\n PrettierConfigTransformContext,\n PrettierConfigTransformer,\n} from '@teambit/defender.prettier.config-mutator';\nimport { WorkspaceConfigFilesMain } from '@teambit/workspace-config-files';\nimport { PrettierAspect } from './prettier.aspect';\nimport { PrettierFormatter } from './prettier.formatter';\n\nexport type PrettierOptions = {\n /**\n * formatter config for prettier.\n */\n config: PrettierModuleOptions;\n};\n\n// TODO: this aspect is not used anymore, it is still here for now for backward compatibility.\n// it will be removed as part of next major bit version\nexport class PrettierMain {\n constructor(private logger: Logger) {}\n /**\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */\n createFormatter(\n formatterOptions: FormatterOptions = {},\n options: PrettierOptions,\n transformers: PrettierConfigTransformer[] = [],\n PrettierModule?: any\n ): Formatter {\n const configMutator = new PrettierConfigMutator(options.config);\n const transformerContext: PrettierConfigTransformContext = { check: !!formatterOptions.check };\n const afterMutation = runTransformersWithContext(configMutator.clone(), transformers, transformerContext);\n return new PrettierFormatter(this.logger, afterMutation.raw, PrettierModule);\n }\n\n static runtime = MainRuntime;\n\n static dependencies = [LoggerAspect];\n\n static async provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain> {\n const logger = loggerExt.createLogger(PrettierAspect.id);\n return new PrettierMain(logger);\n }\n}\n\nPrettierAspect.addRuntime(PrettierMain);\n\nexport function runTransformersWithContext(\n config: PrettierConfigMutator,\n transformers: PrettierConfigTransformer[] = [],\n context: PrettierConfigTransformContext\n): PrettierConfigMutator {\n if (!Array.isArray(transformers)) return config;\n const newConfig = transformers.reduce((acc, transformer) => {\n return transformer(acc, context);\n }, config);\n return newConfig;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,kBAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,iBAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAMA,SAAAI,UAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,SAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,WAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,UAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAyD,SAAAM,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAA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BAAY,CAAC;AAQtCJ,0BAAc,CAACK,UAAU,CAAC1B,YAAY,CAAC;AAEhC,SAASc,0BAA0BA,CACxCJ,MAA6B,EAC7BJ,YAAyC,GAAG,EAAE,EAC9CqB,OAAuC,EAChB;EACvB,IAAI,CAACC,KAAK,CAACC,OAAO,CAACvB,YAAY,CAAC,EAAE,OAAOI,MAAM;EAC/C,MAAMoB,SAAS,GAAGxB,YAAY,CAACyB,MAAM,CAAC,CAACC,GAAG,EAAEC,WAAW,KAAK;IAC1D,OAAOA,WAAW,CAACD,GAAG,EAAEL,OAAO,CAAC;EAClC,CAAC,EAAEjB,MAAM,CAAC;EACV,OAAOoB,SAAS;AAClB","ignoreList":[]}
1
+ {"version":3,"names":["_cli","data","require","_logger","_defenderPrettier","_constants","_prettier","_prettier2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","PrettierMain","constructor","logger","createFormatter","formatterOptions","options","transformers","PrettierModule","consoleWarning","getCloudDomain","configMutator","PrettierConfigMutator","config","transformerContext","check","afterMutation","runTransformersWithContext","clone","PrettierFormatter","raw","provider","loggerExt","createLogger","PrettierAspect","id","exports","MainRuntime","LoggerAspect","addRuntime","context","Array","isArray","newConfig","reduce","acc","transformer"],"sources":["prettier.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { Options as PrettierModuleOptions } from 'prettier';\nimport { Formatter, FormatterMain, FormatterOptions } from '@teambit/formatter';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport {\n PrettierConfigMutator,\n PrettierConfigTransformContext,\n PrettierConfigTransformer,\n} from '@teambit/defender.prettier.config-mutator';\nimport { getCloudDomain } from '@teambit/legacy/dist/constants';\nimport { WorkspaceConfigFilesMain } from '@teambit/workspace-config-files';\nimport { PrettierAspect } from './prettier.aspect';\nimport { PrettierFormatter } from './prettier.formatter';\n\nexport type PrettierOptions = {\n /**\n * formatter config for prettier.\n */\n config: PrettierModuleOptions;\n};\n\n// TODO: this aspect is not used anymore, it is still here for now for backward compatibility.\n// it will be removed as part of next major bit version\nexport class PrettierMain {\n constructor(private logger: Logger) {}\n /**\n * @deprecated use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */\n createFormatter(\n formatterOptions: FormatterOptions = {},\n options: PrettierOptions,\n transformers: PrettierConfigTransformer[] = [],\n PrettierModule?: any\n ): Formatter {\n this.logger.consoleWarning(\n `The 'Prettier' aspect is deprecated. Please use the 'prettier formatter' component instead. For more details, visit: https://${getCloudDomain()}/teambit/defender/prettier-formatter`\n );\n const configMutator = new PrettierConfigMutator(options.config);\n const transformerContext: PrettierConfigTransformContext = { check: !!formatterOptions.check };\n const afterMutation = runTransformersWithContext(configMutator.clone(), transformers, transformerContext);\n return new PrettierFormatter(this.logger, afterMutation.raw, PrettierModule);\n }\n\n static runtime = MainRuntime;\n\n static dependencies = [LoggerAspect];\n\n static async provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain> {\n const logger = loggerExt.createLogger(PrettierAspect.id);\n return new PrettierMain(logger);\n }\n}\n\nPrettierAspect.addRuntime(PrettierMain);\n\nexport function runTransformersWithContext(\n config: PrettierConfigMutator,\n transformers: PrettierConfigTransformer[] = [],\n context: PrettierConfigTransformContext\n): PrettierConfigMutator {\n if (!Array.isArray(transformers)) return config;\n const newConfig = transformers.reduce((acc, transformer) => {\n return transformer(acc, context);\n }, config);\n return newConfig;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,O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AK,CAACC,OAAO,CAACzB,YAAY,CAAC,EAAE,OAAOM,MAAM;EAC/C,MAAMoB,SAAS,GAAG1B,YAAY,CAAC2B,MAAM,CAAC,CAACC,GAAG,EAAEC,WAAW,KAAK;IAC1D,OAAOA,WAAW,CAACD,GAAG,EAAEL,OAAO,CAAC;EAClC,CAAC,EAAEjB,MAAM,CAAC;EACV,OAAOoB,SAAS;AAClB","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_prettier@1.0.340/dist/prettier.composition.js';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_prettier@1.0.342/dist/prettier.composition.js';
2
2
  ;
3
3
 
4
4
  export const compositions = [compositions_0];
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@teambit/prettier",
3
- "version": "1.0.340",
3
+ "version": "1.0.342",
4
4
  "homepage": "https://bit.cloud/teambit/defender/prettier",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "prettier",
9
- "version": "1.0.340"
9
+ "version": "1.0.342"
10
10
  },
11
11
  "dependencies": {
12
12
  "p-map-series": "2.1.0",
13
13
  "prettier": "2.8.8",
14
14
  "@teambit/harmony": "0.4.6",
15
15
  "@teambit/component.sources": "0.0.7",
16
- "@teambit/envs": "1.0.340",
17
- "@teambit/formatter": "1.0.340",
18
- "@teambit/logger": "0.0.1010",
19
- "@teambit/cli": "0.0.917",
16
+ "@teambit/envs": "1.0.342",
17
+ "@teambit/formatter": "1.0.342",
18
+ "@teambit/logger": "0.0.1012",
19
+ "@teambit/cli": "0.0.919",
20
20
  "@teambit/defender.prettier.config-mutator": "0.0.100",
21
- "@teambit/workspace-config-files": "1.0.340"
21
+ "@teambit/workspace-config-files": "1.0.342"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/prettier": "2.7.3",