@teambit/prettier 1.0.257 → 1.0.259

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.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.defender/prettier@1.0.259" 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={76657:(e,t,o)=>{var r={id:"teambit.defender/prettier@1.0.257",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={};return(()=>{o.r(r),o.d(r,{compositions:()=>e,compositions_metadata:()=>i,overview:()=>t});const e=[o(76657)],t=[],i={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),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={21631:(e,t,o)=>{var r={id:"teambit.defender/prettier@1.0.259",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={};return(()=>{o.r(r),o.d(r,{compositions:()=>e,compositions_metadata:()=>i,overview:()=>t});const e=[o(21631)],t=[],i={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
@@ -14,436 +14,463 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "VariableLikeSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "prettier.aspect.ts",
19
+ "filePath": "index.ts",
20
20
  "line": 3,
21
- "character": 14
21
+ "character": 10
22
22
  },
23
- "signature": "const PrettierAspect: Aspect",
24
23
  "name": "PrettierAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "VariableLikeSchema",
27
26
  "location": {
28
27
  "filePath": "prettier.aspect.ts",
29
28
  "line": 3,
30
29
  "character": 14
31
30
  },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
38
- },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.defender/prettier',\n})"
31
+ "signature": "const PrettierAspect: Aspect",
32
+ "name": "PrettierAspect",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "prettier.aspect.ts",
37
+ "line": 3,
38
+ "character": 14
39
+ },
40
+ "name": "Aspect",
41
+ "componentId": {
42
+ "scope": "teambit.harmony",
43
+ "name": "harmony",
44
+ "version": "0.4.6"
45
+ }
46
+ },
47
+ "isOptional": false,
48
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/prettier',\n})"
49
+ }
41
50
  },
42
51
  {
43
- "__schema": "ClassSchema",
52
+ "__schema": "ExportSchema",
44
53
  "location": {
45
- "filePath": "prettier.main.runtime.ts",
46
- "line": 23,
47
- "character": 1
54
+ "filePath": "index.ts",
55
+ "line": 4,
56
+ "character": 15
48
57
  },
49
- "signature": "class PrettierMain",
50
58
  "name": "PrettierMain",
51
- "members": [
52
- {
53
- "__schema": "ConstructorSchema",
54
- "location": {
55
- "filePath": "prettier.main.runtime.ts",
56
- "line": 24,
57
- "character": 3
58
- },
59
- "signature": "constructor PrettierMain(logger: Logger): PrettierMain",
60
- "name": "constructor",
61
- "params": [
62
- {
63
- "__schema": "ParameterSchema",
64
- "location": {
65
- "filePath": "prettier.main.runtime.ts",
66
- "line": 24,
67
- "character": 15
68
- },
69
- "name": "logger",
70
- "type": {
71
- "__schema": "TypeRefSchema",
72
- "location": {
73
- "filePath": "prettier.main.runtime.ts",
74
- "line": 24,
75
- "character": 31
76
- },
77
- "name": "Logger",
78
- "componentId": {
79
- "scope": "teambit.harmony",
80
- "name": "logger"
81
- }
82
- },
83
- "isOptional": false,
84
- "isSpread": false
85
- }
86
- ],
87
- "returnType": {
88
- "__schema": "ThisTypeSchema",
89
- "location": {
90
- "filePath": "prettier.main.runtime.ts",
91
- "line": 23,
92
- "character": 1
93
- },
94
- "name": "PrettierMain"
95
- },
96
- "modifiers": []
59
+ "exportNode": {
60
+ "__schema": "ClassSchema",
61
+ "location": {
62
+ "filePath": "prettier.main.runtime.ts",
63
+ "line": 23,
64
+ "character": 1
97
65
  },
98
- {
99
- "__schema": "FunctionLikeSchema",
100
- "location": {
101
- "filePath": "prettier.main.runtime.ts",
102
- "line": 30,
103
- "character": 3
104
- },
105
- "doc": {
106
- "__schema": "DocSchema",
66
+ "signature": "class PrettierMain",
67
+ "name": "PrettierMain",
68
+ "members": [
69
+ {
70
+ "__schema": "ConstructorSchema",
107
71
  "location": {
108
72
  "filePath": "prettier.main.runtime.ts",
109
- "line": 25,
73
+ "line": 24,
110
74
  "character": 3
111
75
  },
112
- "raw": "/**\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */",
113
- "comment": "create a prettier formatter instance.",
114
- "tags": [
76
+ "signature": "constructor PrettierMain(logger: Logger): PrettierMain",
77
+ "name": "constructor",
78
+ "params": [
115
79
  {
116
- "__schema": "PropertyLikeTagSchema",
80
+ "__schema": "ParameterSchema",
117
81
  "location": {
118
82
  "filePath": "prettier.main.runtime.ts",
119
- "line": 27,
120
- "character": 6
83
+ "line": 24,
84
+ "character": 15
121
85
  },
122
- "name": "options",
123
- "tagName": "parameter",
124
- "comment": "prettier options."
125
- },
126
- {
127
- "__schema": "PropertyLikeTagSchema",
128
- "location": {
129
- "filePath": "prettier.main.runtime.ts",
130
- "line": 28,
131
- "character": 6
86
+ "name": "logger",
87
+ "type": {
88
+ "__schema": "TypeRefSchema",
89
+ "location": {
90
+ "filePath": "prettier.main.runtime.ts",
91
+ "line": 24,
92
+ "character": 31
93
+ },
94
+ "name": "Logger",
95
+ "componentId": {
96
+ "scope": "teambit.harmony",
97
+ "name": "logger"
98
+ }
132
99
  },
133
- "name": "PrettierModule",
134
- "tagName": "parameter",
135
- "comment": "reference to an `prettier` module."
100
+ "isOptional": false,
101
+ "isSpread": false
136
102
  }
137
- ]
103
+ ],
104
+ "returnType": {
105
+ "__schema": "ThisTypeSchema",
106
+ "location": {
107
+ "filePath": "prettier.main.runtime.ts",
108
+ "line": 23,
109
+ "character": 1
110
+ },
111
+ "name": "PrettierMain"
112
+ },
113
+ "modifiers": []
138
114
  },
139
- "signature": "(method) PrettierMain.createFormatter(formatterOptions: FormatterOptions | undefined, options: PrettierOptions, transformers?: PrettierConfigTransformer[], PrettierModule?: any): Formatter",
140
- "name": "createFormatter",
141
- "params": [
142
- {
143
- "__schema": "ParameterSchema",
115
+ {
116
+ "__schema": "FunctionLikeSchema",
117
+ "location": {
118
+ "filePath": "prettier.main.runtime.ts",
119
+ "line": 30,
120
+ "character": 3
121
+ },
122
+ "doc": {
123
+ "__schema": "DocSchema",
144
124
  "location": {
145
125
  "filePath": "prettier.main.runtime.ts",
146
- "line": 31,
147
- "character": 5
126
+ "line": 25,
127
+ "character": 3
148
128
  },
149
- "name": "formatterOptions",
150
- "type": {
151
- "__schema": "TypeRefSchema",
129
+ "raw": "/**\n * create a prettier formatter instance.\n * @param options prettier options.\n * @param PrettierModule reference to an `prettier` module.\n */",
130
+ "comment": "create a prettier formatter instance.",
131
+ "tags": [
132
+ {
133
+ "__schema": "PropertyLikeTagSchema",
134
+ "location": {
135
+ "filePath": "prettier.main.runtime.ts",
136
+ "line": 27,
137
+ "character": 6
138
+ },
139
+ "name": "options",
140
+ "tagName": "parameter",
141
+ "comment": "prettier options."
142
+ },
143
+ {
144
+ "__schema": "PropertyLikeTagSchema",
145
+ "location": {
146
+ "filePath": "prettier.main.runtime.ts",
147
+ "line": 28,
148
+ "character": 6
149
+ },
150
+ "name": "PrettierModule",
151
+ "tagName": "parameter",
152
+ "comment": "reference to an `prettier` module."
153
+ }
154
+ ]
155
+ },
156
+ "signature": "(method) PrettierMain.createFormatter(formatterOptions: FormatterOptions | undefined, options: PrettierOptions, transformers?: PrettierConfigTransformer[], PrettierModule?: any): Formatter",
157
+ "name": "createFormatter",
158
+ "params": [
159
+ {
160
+ "__schema": "ParameterSchema",
152
161
  "location": {
153
162
  "filePath": "prettier.main.runtime.ts",
154
163
  "line": 31,
155
- "character": 23
164
+ "character": 5
156
165
  },
157
- "name": "FormatterOptions",
158
- "componentId": {
159
- "scope": "teambit.defender",
160
- "name": "formatter"
161
- }
162
- },
163
- "isOptional": true,
164
- "defaultValue": "{}",
165
- "isSpread": false
166
- },
167
- {
168
- "__schema": "ParameterSchema",
169
- "location": {
170
- "filePath": "prettier.main.runtime.ts",
171
- "line": 32,
172
- "character": 5
166
+ "name": "formatterOptions",
167
+ "type": {
168
+ "__schema": "TypeRefSchema",
169
+ "location": {
170
+ "filePath": "prettier.main.runtime.ts",
171
+ "line": 31,
172
+ "character": 23
173
+ },
174
+ "name": "FormatterOptions",
175
+ "componentId": {
176
+ "scope": "teambit.defender",
177
+ "name": "formatter"
178
+ }
179
+ },
180
+ "isOptional": true,
181
+ "defaultValue": "{}",
182
+ "isSpread": false
173
183
  },
174
- "name": "options",
175
- "type": {
176
- "__schema": "TypeRefSchema",
184
+ {
185
+ "__schema": "ParameterSchema",
177
186
  "location": {
178
187
  "filePath": "prettier.main.runtime.ts",
179
188
  "line": 32,
180
- "character": 14
189
+ "character": 5
181
190
  },
182
- "name": "PrettierOptions"
183
- },
184
- "isOptional": false,
185
- "isSpread": false
186
- },
187
- {
188
- "__schema": "ParameterSchema",
189
- "location": {
190
- "filePath": "prettier.main.runtime.ts",
191
- "line": 33,
192
- "character": 5
191
+ "name": "options",
192
+ "type": {
193
+ "__schema": "TypeRefSchema",
194
+ "location": {
195
+ "filePath": "prettier.main.runtime.ts",
196
+ "line": 32,
197
+ "character": 14
198
+ },
199
+ "name": "PrettierOptions"
200
+ },
201
+ "isOptional": false,
202
+ "isSpread": false
193
203
  },
194
- "name": "transformers",
195
- "type": {
196
- "__schema": "TypeArraySchema",
204
+ {
205
+ "__schema": "ParameterSchema",
197
206
  "location": {
198
207
  "filePath": "prettier.main.runtime.ts",
199
208
  "line": 33,
200
- "character": 19
209
+ "character": 5
201
210
  },
211
+ "name": "transformers",
202
212
  "type": {
203
- "__schema": "TypeRefSchema",
213
+ "__schema": "TypeArraySchema",
204
214
  "location": {
205
215
  "filePath": "prettier.main.runtime.ts",
206
216
  "line": 33,
207
217
  "character": 19
208
218
  },
209
- "name": "PrettierConfigTransformer",
210
- "componentId": {
211
- "scope": "teambit.defender",
212
- "name": "prettier/config-mutator",
213
- "version": "0.0.100"
219
+ "type": {
220
+ "__schema": "TypeRefSchema",
221
+ "location": {
222
+ "filePath": "prettier.main.runtime.ts",
223
+ "line": 33,
224
+ "character": 19
225
+ },
226
+ "name": "PrettierConfigTransformer",
227
+ "componentId": {
228
+ "scope": "teambit.defender",
229
+ "name": "prettier/config-mutator",
230
+ "version": "0.0.100"
231
+ }
214
232
  }
215
- }
216
- },
217
- "isOptional": true,
218
- "defaultValue": "[]",
219
- "isSpread": false
220
- },
221
- {
222
- "__schema": "ParameterSchema",
223
- "location": {
224
- "filePath": "prettier.main.runtime.ts",
225
- "line": 34,
226
- "character": 5
233
+ },
234
+ "isOptional": true,
235
+ "defaultValue": "[]",
236
+ "isSpread": false
227
237
  },
228
- "name": "PrettierModule",
229
- "type": {
230
- "__schema": "KeywordTypeSchema",
238
+ {
239
+ "__schema": "ParameterSchema",
231
240
  "location": {
232
241
  "filePath": "prettier.main.runtime.ts",
233
242
  "line": 34,
234
- "character": 22
243
+ "character": 5
235
244
  },
236
- "name": "any"
245
+ "name": "PrettierModule",
246
+ "type": {
247
+ "__schema": "KeywordTypeSchema",
248
+ "location": {
249
+ "filePath": "prettier.main.runtime.ts",
250
+ "line": 34,
251
+ "character": 22
252
+ },
253
+ "name": "any"
254
+ },
255
+ "isOptional": true,
256
+ "isSpread": false
257
+ }
258
+ ],
259
+ "returnType": {
260
+ "__schema": "TypeRefSchema",
261
+ "location": {
262
+ "filePath": "prettier.main.runtime.ts",
263
+ "line": 30,
264
+ "character": 3
237
265
  },
238
- "isOptional": true,
239
- "isSpread": false
240
- }
241
- ],
242
- "returnType": {
243
- "__schema": "TypeRefSchema",
244
- "location": {
245
- "filePath": "prettier.main.runtime.ts",
246
- "line": 30,
247
- "character": 3
266
+ "name": "Formatter",
267
+ "componentId": {
268
+ "scope": "teambit.defender",
269
+ "name": "formatter"
270
+ }
248
271
  },
249
- "name": "Formatter",
250
- "componentId": {
251
- "scope": "teambit.defender",
252
- "name": "formatter"
253
- }
254
- },
255
- "modifiers": []
256
- },
257
- {
258
- "__schema": "VariableLikeSchema",
259
- "location": {
260
- "filePath": "prettier.main.runtime.ts",
261
- "line": 42,
262
- "character": 3
272
+ "modifiers": []
263
273
  },
264
- "signature": "(property) PrettierMain.runtime: RuntimeDefinition",
265
- "name": "runtime",
266
- "type": {
267
- "__schema": "InferenceTypeSchema",
274
+ {
275
+ "__schema": "VariableLikeSchema",
268
276
  "location": {
269
277
  "filePath": "prettier.main.runtime.ts",
270
278
  "line": 42,
271
279
  "character": 3
272
280
  },
273
- "type": "RuntimeDefinition"
274
- },
275
- "isOptional": true,
276
- "defaultValue": "MainRuntime"
277
- },
278
- {
279
- "__schema": "VariableLikeSchema",
280
- "location": {
281
- "filePath": "prettier.main.runtime.ts",
282
- "line": 44,
283
- "character": 3
281
+ "signature": "(property) PrettierMain.runtime: RuntimeDefinition",
282
+ "name": "runtime",
283
+ "type": {
284
+ "__schema": "InferenceTypeSchema",
285
+ "location": {
286
+ "filePath": "prettier.main.runtime.ts",
287
+ "line": 42,
288
+ "character": 3
289
+ },
290
+ "type": "RuntimeDefinition"
291
+ },
292
+ "isOptional": true,
293
+ "defaultValue": "MainRuntime"
284
294
  },
285
- "signature": "(property) PrettierMain.dependencies: Aspect[]",
286
- "name": "dependencies",
287
- "type": {
288
- "__schema": "InferenceTypeSchema",
295
+ {
296
+ "__schema": "VariableLikeSchema",
289
297
  "location": {
290
298
  "filePath": "prettier.main.runtime.ts",
291
299
  "line": 44,
292
300
  "character": 3
293
301
  },
294
- "type": "Aspect[]"
295
- },
296
- "isOptional": true,
297
- "defaultValue": "[LoggerAspect]"
298
- },
299
- {
300
- "__schema": "FunctionLikeSchema",
301
- "location": {
302
- "filePath": "prettier.main.runtime.ts",
303
- "line": 46,
304
- "character": 3
305
- },
306
- "signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
307
- "name": "provider",
308
- "params": [
309
- {
310
- "__schema": "ParameterSchema",
302
+ "signature": "(property) PrettierMain.dependencies: Aspect[]",
303
+ "name": "dependencies",
304
+ "type": {
305
+ "__schema": "InferenceTypeSchema",
311
306
  "location": {
312
307
  "filePath": "prettier.main.runtime.ts",
313
- "line": 46,
314
- "character": 25
315
- },
316
- "name": "[ loggerExt ]",
317
- "type": {
318
- "__schema": "TupleTypeSchema",
319
- "location": {
320
- "filePath": "prettier.main.runtime.ts",
321
- "line": 46,
322
- "character": 38
323
- },
324
- "elements": [
325
- {
326
- "__schema": "TypeRefSchema",
327
- "location": {
328
- "filePath": "prettier.main.runtime.ts",
329
- "line": 46,
330
- "character": 39
331
- },
332
- "name": "LoggerMain",
333
- "componentId": {
334
- "scope": "teambit.harmony",
335
- "name": "logger"
336
- }
337
- },
338
- {
339
- "__schema": "TypeRefSchema",
340
- "location": {
341
- "filePath": "prettier.main.runtime.ts",
342
- "line": 46,
343
- "character": 51
344
- },
345
- "name": "FormatterMain",
346
- "componentId": {
347
- "scope": "teambit.defender",
348
- "name": "formatter"
349
- }
350
- },
351
- {
352
- "__schema": "TypeRefSchema",
353
- "location": {
354
- "filePath": "prettier.main.runtime.ts",
355
- "line": 46,
356
- "character": 66
357
- },
358
- "name": "WorkspaceConfigFilesMain",
359
- "componentId": {
360
- "scope": "teambit.workspace",
361
- "name": "workspace-config-files"
362
- }
363
- }
364
- ]
308
+ "line": 44,
309
+ "character": 3
365
310
  },
366
- "isOptional": false,
367
- "isSpread": false
368
- }
369
- ],
370
- "returnType": {
371
- "__schema": "TypeRefSchema",
311
+ "type": "Aspect[]"
312
+ },
313
+ "isOptional": true,
314
+ "defaultValue": "[LoggerAspect]"
315
+ },
316
+ {
317
+ "__schema": "FunctionLikeSchema",
372
318
  "location": {
373
319
  "filePath": "prettier.main.runtime.ts",
374
320
  "line": 46,
375
- "character": 94
321
+ "character": 3
376
322
  },
377
- "name": "Promise",
378
- "typeArgs": [
323
+ "signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
324
+ "name": "provider",
325
+ "params": [
379
326
  {
380
- "__schema": "TypeRefSchema",
327
+ "__schema": "ParameterSchema",
381
328
  "location": {
382
329
  "filePath": "prettier.main.runtime.ts",
383
330
  "line": 46,
384
- "character": 102
331
+ "character": 25
332
+ },
333
+ "name": "[ loggerExt ]",
334
+ "type": {
335
+ "__schema": "TupleTypeSchema",
336
+ "location": {
337
+ "filePath": "prettier.main.runtime.ts",
338
+ "line": 46,
339
+ "character": 38
340
+ },
341
+ "elements": [
342
+ {
343
+ "__schema": "TypeRefSchema",
344
+ "location": {
345
+ "filePath": "prettier.main.runtime.ts",
346
+ "line": 46,
347
+ "character": 39
348
+ },
349
+ "name": "LoggerMain",
350
+ "componentId": {
351
+ "scope": "teambit.harmony",
352
+ "name": "logger"
353
+ }
354
+ },
355
+ {
356
+ "__schema": "TypeRefSchema",
357
+ "location": {
358
+ "filePath": "prettier.main.runtime.ts",
359
+ "line": 46,
360
+ "character": 51
361
+ },
362
+ "name": "FormatterMain",
363
+ "componentId": {
364
+ "scope": "teambit.defender",
365
+ "name": "formatter"
366
+ }
367
+ },
368
+ {
369
+ "__schema": "TypeRefSchema",
370
+ "location": {
371
+ "filePath": "prettier.main.runtime.ts",
372
+ "line": 46,
373
+ "character": 66
374
+ },
375
+ "name": "WorkspaceConfigFilesMain",
376
+ "componentId": {
377
+ "scope": "teambit.workspace",
378
+ "name": "workspace-config-files"
379
+ }
380
+ }
381
+ ]
385
382
  },
386
- "name": "PrettierMain"
383
+ "isOptional": false,
384
+ "isSpread": false
387
385
  }
386
+ ],
387
+ "returnType": {
388
+ "__schema": "TypeRefSchema",
389
+ "location": {
390
+ "filePath": "prettier.main.runtime.ts",
391
+ "line": 46,
392
+ "character": 94
393
+ },
394
+ "name": "Promise",
395
+ "typeArgs": [
396
+ {
397
+ "__schema": "TypeRefSchema",
398
+ "location": {
399
+ "filePath": "prettier.main.runtime.ts",
400
+ "line": 46,
401
+ "character": 102
402
+ },
403
+ "name": "PrettierMain"
404
+ }
405
+ ]
406
+ },
407
+ "modifiers": [
408
+ "static",
409
+ "async"
388
410
  ]
389
- },
390
- "modifiers": [
391
- "static",
392
- "async"
393
- ]
394
- }
395
- ],
396
- "extendsNodes": [],
397
- "implementNodes": []
411
+ }
412
+ ],
413
+ "extendsNodes": [],
414
+ "implementNodes": []
415
+ }
398
416
  },
399
417
  {
400
- "__schema": "TypeSchema",
418
+ "__schema": "ExportSchema",
401
419
  "location": {
402
- "filePath": "prettier.main.runtime.ts",
403
- "line": 14,
404
- "character": 1
420
+ "filePath": "index.ts",
421
+ "line": 4,
422
+ "character": 29
405
423
  },
406
- "signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
407
424
  "name": "PrettierOptions",
408
- "type": {
409
- "__schema": "TypeLiteralSchema",
425
+ "exportNode": {
426
+ "__schema": "TypeSchema",
410
427
  "location": {
411
428
  "filePath": "prettier.main.runtime.ts",
412
429
  "line": 14,
413
- "character": 31
430
+ "character": 1
414
431
  },
415
- "members": [
416
- {
417
- "__schema": "VariableLikeSchema",
418
- "location": {
419
- "filePath": "prettier.main.runtime.ts",
420
- "line": 18,
421
- "character": 3
422
- },
423
- "doc": {
424
- "__schema": "DocSchema",
432
+ "signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
433
+ "name": "PrettierOptions",
434
+ "type": {
435
+ "__schema": "TypeLiteralSchema",
436
+ "location": {
437
+ "filePath": "prettier.main.runtime.ts",
438
+ "line": 14,
439
+ "character": 31
440
+ },
441
+ "members": [
442
+ {
443
+ "__schema": "VariableLikeSchema",
425
444
  "location": {
426
445
  "filePath": "prettier.main.runtime.ts",
427
- "line": 15,
446
+ "line": 18,
428
447
  "character": 3
429
448
  },
430
- "raw": "/**\n * formatter config for prettier.\n */",
431
- "comment": "formatter config for prettier."
432
- },
433
- "signature": "(property) config: PrettierModuleOptions",
434
- "name": "config",
435
- "type": {
436
- "__schema": "TypeRefSchema",
437
- "location": {
438
- "filePath": "prettier.main.runtime.ts",
439
- "line": 18,
440
- "character": 11
449
+ "doc": {
450
+ "__schema": "DocSchema",
451
+ "location": {
452
+ "filePath": "prettier.main.runtime.ts",
453
+ "line": 15,
454
+ "character": 3
455
+ },
456
+ "raw": "/**\n * formatter config for prettier.\n */",
457
+ "comment": "formatter config for prettier."
441
458
  },
442
- "name": "PrettierModuleOptions"
443
- },
444
- "isOptional": false
445
- }
446
- ]
459
+ "signature": "(property) config: PrettierModuleOptions",
460
+ "name": "config",
461
+ "type": {
462
+ "__schema": "TypeRefSchema",
463
+ "location": {
464
+ "filePath": "prettier.main.runtime.ts",
465
+ "line": 18,
466
+ "character": 11
467
+ },
468
+ "name": "PrettierModuleOptions"
469
+ },
470
+ "isOptional": false
471
+ }
472
+ ]
473
+ }
447
474
  }
448
475
  },
449
476
  {
@@ -1043,7 +1070,7 @@
1043
1070
  "componentId": {
1044
1071
  "scope": "teambit.defender",
1045
1072
  "name": "prettier",
1046
- "version": "1.0.257"
1073
+ "version": "1.0.259"
1047
1074
  },
1048
1075
  "taggedModuleExports": []
1049
1076
  }
@@ -1,4 +1,4 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_prettier@1.0.257/dist/prettier.composition.js';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_prettier@1.0.259/dist/prettier.composition.js';
2
2
  ;
3
3
 
4
4
  export const compositions = [compositions_0];
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@teambit/prettier",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
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.257"
9
+ "version": "1.0.259"
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
- "@teambit/envs": "1.0.257",
16
- "@teambit/formatter": "1.0.257",
17
- "@teambit/logger": "0.0.955",
18
- "@teambit/cli": "0.0.862",
15
+ "@teambit/envs": "1.0.259",
16
+ "@teambit/formatter": "1.0.259",
17
+ "@teambit/logger": "0.0.956",
18
+ "@teambit/cli": "0.0.863",
19
19
  "@teambit/defender.prettier.config-mutator": "0.0.100",
20
- "@teambit/workspace-config-files": "1.0.257"
20
+ "@teambit/workspace-config-files": "1.0.259"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/prettier": "2.7.3",