@teambit/prettier 1.0.516 → 1.0.518
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
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_prettier@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_prettier@1.0.518/dist/prettier.composition.js';
|
|
2
2
|
;
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/prettier",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.518",
|
|
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.
|
|
9
|
+
"version": "1.0.518"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"p-map-series": "2.1.0",
|
|
13
13
|
"prettier": "3.3.3",
|
|
14
14
|
"@teambit/harmony": "0.4.6",
|
|
15
15
|
"@teambit/component.sources": "0.0.73",
|
|
16
|
-
"@teambit/envs": "1.0.
|
|
17
|
-
"@teambit/formatter": "1.0.
|
|
18
|
-
"@teambit/logger": "0.0.
|
|
19
|
-
"@teambit/cli": "0.0.
|
|
16
|
+
"@teambit/envs": "1.0.518",
|
|
17
|
+
"@teambit/formatter": "1.0.518",
|
|
18
|
+
"@teambit/logger": "0.0.1188",
|
|
19
|
+
"@teambit/cli": "0.0.1095",
|
|
20
20
|
"@teambit/defender.prettier.config-mutator": "0.0.103",
|
|
21
21
|
"@teambit/legacy.constants": "0.0.7",
|
|
22
|
-
"@teambit/workspace-config-files": "1.0.
|
|
22
|
+
"@teambit/workspace-config-files": "1.0.518"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/prettier": "2.7.3",
|
|
26
26
|
"@types/mocha": "9.1.0",
|
|
27
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
27
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.69"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": "^17.0.0 || ^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
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={442:(e,t,o)=>{var r={id:"teambit.defender/prettier@1.0.516",homepage:"https://bit.cloud/teambit/defender/prettier",exported:!0};function i(){const e=n(o(594));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},594: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(442)],n=[],d={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
|
package/artifacts/schema.json
DELETED
|
@@ -1,1101 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"__schema": "APISchema",
|
|
3
|
-
"location": {
|
|
4
|
-
"filePath": "index.ts",
|
|
5
|
-
"line": 1,
|
|
6
|
-
"character": 1
|
|
7
|
-
},
|
|
8
|
-
"module": {
|
|
9
|
-
"__schema": "ModuleSchema",
|
|
10
|
-
"location": {
|
|
11
|
-
"filePath": "index.ts",
|
|
12
|
-
"line": 1,
|
|
13
|
-
"character": 1
|
|
14
|
-
},
|
|
15
|
-
"exports": [
|
|
16
|
-
{
|
|
17
|
-
"__schema": "ExportSchema",
|
|
18
|
-
"location": {
|
|
19
|
-
"filePath": "index.ts",
|
|
20
|
-
"line": 3,
|
|
21
|
-
"character": 10
|
|
22
|
-
},
|
|
23
|
-
"signature": "const PrettierAspect: Aspect",
|
|
24
|
-
"name": "PrettierAspect",
|
|
25
|
-
"exportNode": {
|
|
26
|
-
"__schema": "VariableLikeSchema",
|
|
27
|
-
"location": {
|
|
28
|
-
"filePath": "prettier.aspect.ts",
|
|
29
|
-
"line": 3,
|
|
30
|
-
"character": 14
|
|
31
|
-
},
|
|
32
|
-
"signature": "const PrettierAspect: Aspect",
|
|
33
|
-
"name": "PrettierAspect",
|
|
34
|
-
"type": {
|
|
35
|
-
"__schema": "TypeRefSchema",
|
|
36
|
-
"location": {
|
|
37
|
-
"filePath": "prettier.aspect.ts",
|
|
38
|
-
"line": 3,
|
|
39
|
-
"character": 14
|
|
40
|
-
},
|
|
41
|
-
"name": "Aspect",
|
|
42
|
-
"componentId": {
|
|
43
|
-
"scope": "teambit.harmony",
|
|
44
|
-
"name": "harmony",
|
|
45
|
-
"version": "0.4.6"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"isOptional": false,
|
|
49
|
-
"defaultValue": "Aspect.create({\n id: 'teambit.defender/prettier',\n})"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"__schema": "ExportSchema",
|
|
54
|
-
"location": {
|
|
55
|
-
"filePath": "index.ts",
|
|
56
|
-
"line": 4,
|
|
57
|
-
"character": 15
|
|
58
|
-
},
|
|
59
|
-
"signature": "class PrettierMain",
|
|
60
|
-
"name": "PrettierMain",
|
|
61
|
-
"exportNode": {
|
|
62
|
-
"__schema": "ClassSchema",
|
|
63
|
-
"location": {
|
|
64
|
-
"filePath": "prettier.main.runtime.ts",
|
|
65
|
-
"line": 24,
|
|
66
|
-
"character": 1
|
|
67
|
-
},
|
|
68
|
-
"signature": "class PrettierMain",
|
|
69
|
-
"name": "PrettierMain",
|
|
70
|
-
"members": [
|
|
71
|
-
{
|
|
72
|
-
"__schema": "ConstructorSchema",
|
|
73
|
-
"location": {
|
|
74
|
-
"filePath": "prettier.main.runtime.ts",
|
|
75
|
-
"line": 25,
|
|
76
|
-
"character": 3
|
|
77
|
-
},
|
|
78
|
-
"signature": "constructor PrettierMain(logger: Logger): PrettierMain",
|
|
79
|
-
"name": "constructor",
|
|
80
|
-
"params": [
|
|
81
|
-
{
|
|
82
|
-
"__schema": "ParameterSchema",
|
|
83
|
-
"location": {
|
|
84
|
-
"filePath": "prettier.main.runtime.ts",
|
|
85
|
-
"line": 25,
|
|
86
|
-
"character": 15
|
|
87
|
-
},
|
|
88
|
-
"name": "logger",
|
|
89
|
-
"type": {
|
|
90
|
-
"__schema": "TypeRefSchema",
|
|
91
|
-
"location": {
|
|
92
|
-
"filePath": "prettier.main.runtime.ts",
|
|
93
|
-
"line": 25,
|
|
94
|
-
"character": 31
|
|
95
|
-
},
|
|
96
|
-
"name": "Logger",
|
|
97
|
-
"componentId": {
|
|
98
|
-
"scope": "teambit.harmony",
|
|
99
|
-
"name": "logger"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"isOptional": false,
|
|
103
|
-
"isSpread": false
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"returnType": {
|
|
107
|
-
"__schema": "ThisTypeSchema",
|
|
108
|
-
"location": {
|
|
109
|
-
"filePath": "prettier.main.runtime.ts",
|
|
110
|
-
"line": 24,
|
|
111
|
-
"character": 1
|
|
112
|
-
},
|
|
113
|
-
"name": "PrettierMain"
|
|
114
|
-
},
|
|
115
|
-
"modifiers": []
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"__schema": "FunctionLikeSchema",
|
|
119
|
-
"location": {
|
|
120
|
-
"filePath": "prettier.main.runtime.ts",
|
|
121
|
-
"line": 32,
|
|
122
|
-
"character": 3
|
|
123
|
-
},
|
|
124
|
-
"doc": {
|
|
125
|
-
"__schema": "DocSchema",
|
|
126
|
-
"location": {
|
|
127
|
-
"filePath": "prettier.main.runtime.ts",
|
|
128
|
-
"line": 26,
|
|
129
|
-
"character": 3
|
|
130
|
-
},
|
|
131
|
-
"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 */",
|
|
132
|
-
"comment": "",
|
|
133
|
-
"tags": [
|
|
134
|
-
{
|
|
135
|
-
"__schema": "TagSchema",
|
|
136
|
-
"location": {
|
|
137
|
-
"filePath": "prettier.main.runtime.ts",
|
|
138
|
-
"line": 27,
|
|
139
|
-
"character": 6
|
|
140
|
-
},
|
|
141
|
-
"tagName": "deprecated",
|
|
142
|
-
"comment": "use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\ncreate a prettier formatter instance."
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"__schema": "PropertyLikeTagSchema",
|
|
146
|
-
"location": {
|
|
147
|
-
"filePath": "prettier.main.runtime.ts",
|
|
148
|
-
"line": 29,
|
|
149
|
-
"character": 6
|
|
150
|
-
},
|
|
151
|
-
"name": "options",
|
|
152
|
-
"tagName": "parameter",
|
|
153
|
-
"comment": "prettier options."
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"__schema": "PropertyLikeTagSchema",
|
|
157
|
-
"location": {
|
|
158
|
-
"filePath": "prettier.main.runtime.ts",
|
|
159
|
-
"line": 30,
|
|
160
|
-
"character": 6
|
|
161
|
-
},
|
|
162
|
-
"name": "PrettierModule",
|
|
163
|
-
"tagName": "parameter",
|
|
164
|
-
"comment": "reference to an `prettier` module."
|
|
165
|
-
}
|
|
166
|
-
]
|
|
167
|
-
},
|
|
168
|
-
"signature": "(method) PrettierMain.createFormatter(formatterOptions: FormatterOptions | undefined, options: PrettierOptions, transformers?: PrettierConfigTransformer[], PrettierModule?: any): Formatter",
|
|
169
|
-
"name": "createFormatter",
|
|
170
|
-
"params": [
|
|
171
|
-
{
|
|
172
|
-
"__schema": "ParameterSchema",
|
|
173
|
-
"location": {
|
|
174
|
-
"filePath": "prettier.main.runtime.ts",
|
|
175
|
-
"line": 33,
|
|
176
|
-
"character": 5
|
|
177
|
-
},
|
|
178
|
-
"name": "formatterOptions",
|
|
179
|
-
"type": {
|
|
180
|
-
"__schema": "TypeRefSchema",
|
|
181
|
-
"location": {
|
|
182
|
-
"filePath": "prettier.main.runtime.ts",
|
|
183
|
-
"line": 33,
|
|
184
|
-
"character": 23
|
|
185
|
-
},
|
|
186
|
-
"name": "FormatterOptions",
|
|
187
|
-
"componentId": {
|
|
188
|
-
"scope": "teambit.defender",
|
|
189
|
-
"name": "formatter"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
"isOptional": true,
|
|
193
|
-
"defaultValue": "{}",
|
|
194
|
-
"isSpread": false
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"__schema": "ParameterSchema",
|
|
198
|
-
"location": {
|
|
199
|
-
"filePath": "prettier.main.runtime.ts",
|
|
200
|
-
"line": 34,
|
|
201
|
-
"character": 5
|
|
202
|
-
},
|
|
203
|
-
"name": "options",
|
|
204
|
-
"type": {
|
|
205
|
-
"__schema": "TypeRefSchema",
|
|
206
|
-
"location": {
|
|
207
|
-
"filePath": "prettier.main.runtime.ts",
|
|
208
|
-
"line": 34,
|
|
209
|
-
"character": 14
|
|
210
|
-
},
|
|
211
|
-
"name": "PrettierOptions"
|
|
212
|
-
},
|
|
213
|
-
"isOptional": false,
|
|
214
|
-
"isSpread": false
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"__schema": "ParameterSchema",
|
|
218
|
-
"location": {
|
|
219
|
-
"filePath": "prettier.main.runtime.ts",
|
|
220
|
-
"line": 35,
|
|
221
|
-
"character": 5
|
|
222
|
-
},
|
|
223
|
-
"name": "transformers",
|
|
224
|
-
"type": {
|
|
225
|
-
"__schema": "TypeArraySchema",
|
|
226
|
-
"location": {
|
|
227
|
-
"filePath": "prettier.main.runtime.ts",
|
|
228
|
-
"line": 35,
|
|
229
|
-
"character": 19
|
|
230
|
-
},
|
|
231
|
-
"type": {
|
|
232
|
-
"__schema": "TypeRefSchema",
|
|
233
|
-
"location": {
|
|
234
|
-
"filePath": "prettier.main.runtime.ts",
|
|
235
|
-
"line": 35,
|
|
236
|
-
"character": 19
|
|
237
|
-
},
|
|
238
|
-
"name": "PrettierConfigTransformer",
|
|
239
|
-
"componentId": {
|
|
240
|
-
"scope": "teambit.defender",
|
|
241
|
-
"name": "prettier/config-mutator",
|
|
242
|
-
"version": "0.0.103"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"isOptional": true,
|
|
247
|
-
"defaultValue": "[]",
|
|
248
|
-
"isSpread": false
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
"__schema": "ParameterSchema",
|
|
252
|
-
"location": {
|
|
253
|
-
"filePath": "prettier.main.runtime.ts",
|
|
254
|
-
"line": 36,
|
|
255
|
-
"character": 5
|
|
256
|
-
},
|
|
257
|
-
"name": "PrettierModule",
|
|
258
|
-
"type": {
|
|
259
|
-
"__schema": "KeywordTypeSchema",
|
|
260
|
-
"location": {
|
|
261
|
-
"filePath": "prettier.main.runtime.ts",
|
|
262
|
-
"line": 36,
|
|
263
|
-
"character": 22
|
|
264
|
-
},
|
|
265
|
-
"name": "any"
|
|
266
|
-
},
|
|
267
|
-
"isOptional": true,
|
|
268
|
-
"isSpread": false
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"returnType": {
|
|
272
|
-
"__schema": "TypeRefSchema",
|
|
273
|
-
"location": {
|
|
274
|
-
"filePath": "prettier.main.runtime.ts",
|
|
275
|
-
"line": 32,
|
|
276
|
-
"character": 3
|
|
277
|
-
},
|
|
278
|
-
"name": "Formatter",
|
|
279
|
-
"componentId": {
|
|
280
|
-
"scope": "teambit.defender",
|
|
281
|
-
"name": "formatter"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
"modifiers": []
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"__schema": "VariableLikeSchema",
|
|
288
|
-
"location": {
|
|
289
|
-
"filePath": "prettier.main.runtime.ts",
|
|
290
|
-
"line": 47,
|
|
291
|
-
"character": 3
|
|
292
|
-
},
|
|
293
|
-
"signature": "(property) PrettierMain.runtime: RuntimeDefinition",
|
|
294
|
-
"name": "runtime",
|
|
295
|
-
"type": {
|
|
296
|
-
"__schema": "InferenceTypeSchema",
|
|
297
|
-
"location": {
|
|
298
|
-
"filePath": "prettier.main.runtime.ts",
|
|
299
|
-
"line": 47,
|
|
300
|
-
"character": 3
|
|
301
|
-
},
|
|
302
|
-
"type": "RuntimeDefinition"
|
|
303
|
-
},
|
|
304
|
-
"isOptional": true,
|
|
305
|
-
"defaultValue": "MainRuntime"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"__schema": "VariableLikeSchema",
|
|
309
|
-
"location": {
|
|
310
|
-
"filePath": "prettier.main.runtime.ts",
|
|
311
|
-
"line": 49,
|
|
312
|
-
"character": 3
|
|
313
|
-
},
|
|
314
|
-
"signature": "(property) PrettierMain.dependencies: Aspect[]",
|
|
315
|
-
"name": "dependencies",
|
|
316
|
-
"type": {
|
|
317
|
-
"__schema": "InferenceTypeSchema",
|
|
318
|
-
"location": {
|
|
319
|
-
"filePath": "prettier.main.runtime.ts",
|
|
320
|
-
"line": 49,
|
|
321
|
-
"character": 3
|
|
322
|
-
},
|
|
323
|
-
"type": "Aspect[]"
|
|
324
|
-
},
|
|
325
|
-
"isOptional": true,
|
|
326
|
-
"defaultValue": "[LoggerAspect]"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"__schema": "FunctionLikeSchema",
|
|
330
|
-
"location": {
|
|
331
|
-
"filePath": "prettier.main.runtime.ts",
|
|
332
|
-
"line": 51,
|
|
333
|
-
"character": 3
|
|
334
|
-
},
|
|
335
|
-
"signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
|
|
336
|
-
"name": "provider",
|
|
337
|
-
"params": [
|
|
338
|
-
{
|
|
339
|
-
"__schema": "ParameterSchema",
|
|
340
|
-
"location": {
|
|
341
|
-
"filePath": "prettier.main.runtime.ts",
|
|
342
|
-
"line": 51,
|
|
343
|
-
"character": 25
|
|
344
|
-
},
|
|
345
|
-
"name": "[ loggerExt ]",
|
|
346
|
-
"type": {
|
|
347
|
-
"__schema": "TupleTypeSchema",
|
|
348
|
-
"location": {
|
|
349
|
-
"filePath": "prettier.main.runtime.ts",
|
|
350
|
-
"line": 51,
|
|
351
|
-
"character": 38
|
|
352
|
-
},
|
|
353
|
-
"elements": [
|
|
354
|
-
{
|
|
355
|
-
"__schema": "TypeRefSchema",
|
|
356
|
-
"location": {
|
|
357
|
-
"filePath": "prettier.main.runtime.ts",
|
|
358
|
-
"line": 51,
|
|
359
|
-
"character": 39
|
|
360
|
-
},
|
|
361
|
-
"name": "LoggerMain",
|
|
362
|
-
"componentId": {
|
|
363
|
-
"scope": "teambit.harmony",
|
|
364
|
-
"name": "logger"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"__schema": "TypeRefSchema",
|
|
369
|
-
"location": {
|
|
370
|
-
"filePath": "prettier.main.runtime.ts",
|
|
371
|
-
"line": 51,
|
|
372
|
-
"character": 51
|
|
373
|
-
},
|
|
374
|
-
"name": "FormatterMain",
|
|
375
|
-
"componentId": {
|
|
376
|
-
"scope": "teambit.defender",
|
|
377
|
-
"name": "formatter"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"__schema": "TypeRefSchema",
|
|
382
|
-
"location": {
|
|
383
|
-
"filePath": "prettier.main.runtime.ts",
|
|
384
|
-
"line": 51,
|
|
385
|
-
"character": 66
|
|
386
|
-
},
|
|
387
|
-
"name": "WorkspaceConfigFilesMain",
|
|
388
|
-
"componentId": {
|
|
389
|
-
"scope": "teambit.workspace",
|
|
390
|
-
"name": "workspace-config-files"
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
]
|
|
394
|
-
},
|
|
395
|
-
"isOptional": false,
|
|
396
|
-
"isSpread": false
|
|
397
|
-
}
|
|
398
|
-
],
|
|
399
|
-
"returnType": {
|
|
400
|
-
"__schema": "TypeRefSchema",
|
|
401
|
-
"location": {
|
|
402
|
-
"filePath": "prettier.main.runtime.ts",
|
|
403
|
-
"line": 51,
|
|
404
|
-
"character": 94
|
|
405
|
-
},
|
|
406
|
-
"name": "Promise",
|
|
407
|
-
"typeArgs": [
|
|
408
|
-
{
|
|
409
|
-
"__schema": "TypeRefSchema",
|
|
410
|
-
"location": {
|
|
411
|
-
"filePath": "prettier.main.runtime.ts",
|
|
412
|
-
"line": 51,
|
|
413
|
-
"character": 102
|
|
414
|
-
},
|
|
415
|
-
"name": "PrettierMain"
|
|
416
|
-
}
|
|
417
|
-
]
|
|
418
|
-
},
|
|
419
|
-
"modifiers": [
|
|
420
|
-
"static",
|
|
421
|
-
"async"
|
|
422
|
-
]
|
|
423
|
-
}
|
|
424
|
-
],
|
|
425
|
-
"extendsNodes": [],
|
|
426
|
-
"implementNodes": []
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
"__schema": "ExportSchema",
|
|
431
|
-
"location": {
|
|
432
|
-
"filePath": "index.ts",
|
|
433
|
-
"line": 4,
|
|
434
|
-
"character": 29
|
|
435
|
-
},
|
|
436
|
-
"signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
|
|
437
|
-
"name": "PrettierOptions",
|
|
438
|
-
"exportNode": {
|
|
439
|
-
"__schema": "TypeSchema",
|
|
440
|
-
"location": {
|
|
441
|
-
"filePath": "prettier.main.runtime.ts",
|
|
442
|
-
"line": 15,
|
|
443
|
-
"character": 1
|
|
444
|
-
},
|
|
445
|
-
"signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
|
|
446
|
-
"name": "PrettierOptions",
|
|
447
|
-
"type": {
|
|
448
|
-
"__schema": "TypeLiteralSchema",
|
|
449
|
-
"location": {
|
|
450
|
-
"filePath": "prettier.main.runtime.ts",
|
|
451
|
-
"line": 15,
|
|
452
|
-
"character": 31
|
|
453
|
-
},
|
|
454
|
-
"members": [
|
|
455
|
-
{
|
|
456
|
-
"__schema": "VariableLikeSchema",
|
|
457
|
-
"location": {
|
|
458
|
-
"filePath": "prettier.main.runtime.ts",
|
|
459
|
-
"line": 19,
|
|
460
|
-
"character": 3
|
|
461
|
-
},
|
|
462
|
-
"doc": {
|
|
463
|
-
"__schema": "DocSchema",
|
|
464
|
-
"location": {
|
|
465
|
-
"filePath": "prettier.main.runtime.ts",
|
|
466
|
-
"line": 16,
|
|
467
|
-
"character": 3
|
|
468
|
-
},
|
|
469
|
-
"raw": "/**\n * formatter config for prettier.\n */",
|
|
470
|
-
"comment": "formatter config for prettier.",
|
|
471
|
-
"tags": []
|
|
472
|
-
},
|
|
473
|
-
"signature": "(property) config: PrettierModuleOptions",
|
|
474
|
-
"name": "config",
|
|
475
|
-
"type": {
|
|
476
|
-
"__schema": "TypeRefSchema",
|
|
477
|
-
"location": {
|
|
478
|
-
"filePath": "prettier.main.runtime.ts",
|
|
479
|
-
"line": 19,
|
|
480
|
-
"character": 11
|
|
481
|
-
},
|
|
482
|
-
"name": "PrettierModuleOptions"
|
|
483
|
-
},
|
|
484
|
-
"isOptional": false
|
|
485
|
-
}
|
|
486
|
-
]
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"__schema": "UnImplementedSchema",
|
|
492
|
-
"location": {
|
|
493
|
-
"filePath": "index.ts",
|
|
494
|
-
"line": 5,
|
|
495
|
-
"character": 16
|
|
496
|
-
},
|
|
497
|
-
"name": "PrettierAspect",
|
|
498
|
-
"type": "Identifier"
|
|
499
|
-
}
|
|
500
|
-
],
|
|
501
|
-
"internals": []
|
|
502
|
-
},
|
|
503
|
-
"internals": [
|
|
504
|
-
{
|
|
505
|
-
"__schema": "ModuleSchema",
|
|
506
|
-
"location": {
|
|
507
|
-
"filePath": "prettier.aspect.ts",
|
|
508
|
-
"line": 1,
|
|
509
|
-
"character": 1
|
|
510
|
-
},
|
|
511
|
-
"exports": [
|
|
512
|
-
{
|
|
513
|
-
"__schema": "VariableLikeSchema",
|
|
514
|
-
"location": {
|
|
515
|
-
"filePath": "prettier.aspect.ts",
|
|
516
|
-
"line": 3,
|
|
517
|
-
"character": 14
|
|
518
|
-
},
|
|
519
|
-
"signature": "const PrettierAspect: Aspect",
|
|
520
|
-
"name": "PrettierAspect",
|
|
521
|
-
"type": {
|
|
522
|
-
"__schema": "TypeRefSchema",
|
|
523
|
-
"location": {
|
|
524
|
-
"filePath": "prettier.aspect.ts",
|
|
525
|
-
"line": 3,
|
|
526
|
-
"character": 14
|
|
527
|
-
},
|
|
528
|
-
"name": "Aspect",
|
|
529
|
-
"componentId": {
|
|
530
|
-
"scope": "teambit.harmony",
|
|
531
|
-
"name": "harmony",
|
|
532
|
-
"version": "0.4.6"
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"isOptional": false,
|
|
536
|
-
"defaultValue": "Aspect.create({\n id: 'teambit.defender/prettier',\n})"
|
|
537
|
-
}
|
|
538
|
-
],
|
|
539
|
-
"internals": []
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"__schema": "ModuleSchema",
|
|
543
|
-
"location": {
|
|
544
|
-
"filePath": "prettier.main.runtime.ts",
|
|
545
|
-
"line": 1,
|
|
546
|
-
"character": 1
|
|
547
|
-
},
|
|
548
|
-
"exports": [
|
|
549
|
-
{
|
|
550
|
-
"__schema": "TypeSchema",
|
|
551
|
-
"location": {
|
|
552
|
-
"filePath": "prettier.main.runtime.ts",
|
|
553
|
-
"line": 15,
|
|
554
|
-
"character": 1
|
|
555
|
-
},
|
|
556
|
-
"signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
|
|
557
|
-
"name": "PrettierOptions",
|
|
558
|
-
"type": {
|
|
559
|
-
"__schema": "TypeLiteralSchema",
|
|
560
|
-
"location": {
|
|
561
|
-
"filePath": "prettier.main.runtime.ts",
|
|
562
|
-
"line": 15,
|
|
563
|
-
"character": 31
|
|
564
|
-
},
|
|
565
|
-
"members": [
|
|
566
|
-
{
|
|
567
|
-
"__schema": "VariableLikeSchema",
|
|
568
|
-
"location": {
|
|
569
|
-
"filePath": "prettier.main.runtime.ts",
|
|
570
|
-
"line": 19,
|
|
571
|
-
"character": 3
|
|
572
|
-
},
|
|
573
|
-
"doc": {
|
|
574
|
-
"__schema": "DocSchema",
|
|
575
|
-
"location": {
|
|
576
|
-
"filePath": "prettier.main.runtime.ts",
|
|
577
|
-
"line": 16,
|
|
578
|
-
"character": 3
|
|
579
|
-
},
|
|
580
|
-
"raw": "/**\n * formatter config for prettier.\n */",
|
|
581
|
-
"comment": "formatter config for prettier.",
|
|
582
|
-
"tags": []
|
|
583
|
-
},
|
|
584
|
-
"signature": "(property) config: PrettierModuleOptions",
|
|
585
|
-
"name": "config",
|
|
586
|
-
"type": {
|
|
587
|
-
"__schema": "TypeRefSchema",
|
|
588
|
-
"location": {
|
|
589
|
-
"filePath": "prettier.main.runtime.ts",
|
|
590
|
-
"line": 19,
|
|
591
|
-
"character": 11
|
|
592
|
-
},
|
|
593
|
-
"name": "PrettierModuleOptions"
|
|
594
|
-
},
|
|
595
|
-
"isOptional": false
|
|
596
|
-
}
|
|
597
|
-
]
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"__schema": "ClassSchema",
|
|
602
|
-
"location": {
|
|
603
|
-
"filePath": "prettier.main.runtime.ts",
|
|
604
|
-
"line": 24,
|
|
605
|
-
"character": 1
|
|
606
|
-
},
|
|
607
|
-
"signature": "class PrettierMain",
|
|
608
|
-
"name": "PrettierMain",
|
|
609
|
-
"members": [
|
|
610
|
-
{
|
|
611
|
-
"__schema": "ConstructorSchema",
|
|
612
|
-
"location": {
|
|
613
|
-
"filePath": "prettier.main.runtime.ts",
|
|
614
|
-
"line": 25,
|
|
615
|
-
"character": 3
|
|
616
|
-
},
|
|
617
|
-
"signature": "constructor PrettierMain(logger: Logger): PrettierMain",
|
|
618
|
-
"name": "constructor",
|
|
619
|
-
"params": [
|
|
620
|
-
{
|
|
621
|
-
"__schema": "ParameterSchema",
|
|
622
|
-
"location": {
|
|
623
|
-
"filePath": "prettier.main.runtime.ts",
|
|
624
|
-
"line": 25,
|
|
625
|
-
"character": 15
|
|
626
|
-
},
|
|
627
|
-
"name": "logger",
|
|
628
|
-
"type": {
|
|
629
|
-
"__schema": "TypeRefSchema",
|
|
630
|
-
"location": {
|
|
631
|
-
"filePath": "prettier.main.runtime.ts",
|
|
632
|
-
"line": 25,
|
|
633
|
-
"character": 31
|
|
634
|
-
},
|
|
635
|
-
"name": "Logger",
|
|
636
|
-
"componentId": {
|
|
637
|
-
"scope": "teambit.harmony",
|
|
638
|
-
"name": "logger"
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
"isOptional": false,
|
|
642
|
-
"isSpread": false
|
|
643
|
-
}
|
|
644
|
-
],
|
|
645
|
-
"returnType": {
|
|
646
|
-
"__schema": "ThisTypeSchema",
|
|
647
|
-
"location": {
|
|
648
|
-
"filePath": "prettier.main.runtime.ts",
|
|
649
|
-
"line": 24,
|
|
650
|
-
"character": 1
|
|
651
|
-
},
|
|
652
|
-
"name": "PrettierMain"
|
|
653
|
-
},
|
|
654
|
-
"modifiers": []
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
"__schema": "FunctionLikeSchema",
|
|
658
|
-
"location": {
|
|
659
|
-
"filePath": "prettier.main.runtime.ts",
|
|
660
|
-
"line": 32,
|
|
661
|
-
"character": 3
|
|
662
|
-
},
|
|
663
|
-
"doc": {
|
|
664
|
-
"__schema": "DocSchema",
|
|
665
|
-
"location": {
|
|
666
|
-
"filePath": "prettier.main.runtime.ts",
|
|
667
|
-
"line": 26,
|
|
668
|
-
"character": 3
|
|
669
|
-
},
|
|
670
|
-
"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 */",
|
|
671
|
-
"comment": "",
|
|
672
|
-
"tags": [
|
|
673
|
-
{
|
|
674
|
-
"__schema": "TagSchema",
|
|
675
|
-
"location": {
|
|
676
|
-
"filePath": "prettier.main.runtime.ts",
|
|
677
|
-
"line": 27,
|
|
678
|
-
"character": 6
|
|
679
|
-
},
|
|
680
|
-
"tagName": "deprecated",
|
|
681
|
-
"comment": "use prettier formatter from https://bit.cloud/teambit/defender/prettier-formatter\ncreate a prettier formatter instance."
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"__schema": "PropertyLikeTagSchema",
|
|
685
|
-
"location": {
|
|
686
|
-
"filePath": "prettier.main.runtime.ts",
|
|
687
|
-
"line": 29,
|
|
688
|
-
"character": 6
|
|
689
|
-
},
|
|
690
|
-
"name": "options",
|
|
691
|
-
"tagName": "parameter",
|
|
692
|
-
"comment": "prettier options."
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"__schema": "PropertyLikeTagSchema",
|
|
696
|
-
"location": {
|
|
697
|
-
"filePath": "prettier.main.runtime.ts",
|
|
698
|
-
"line": 30,
|
|
699
|
-
"character": 6
|
|
700
|
-
},
|
|
701
|
-
"name": "PrettierModule",
|
|
702
|
-
"tagName": "parameter",
|
|
703
|
-
"comment": "reference to an `prettier` module."
|
|
704
|
-
}
|
|
705
|
-
]
|
|
706
|
-
},
|
|
707
|
-
"signature": "(method) PrettierMain.createFormatter(formatterOptions: FormatterOptions | undefined, options: PrettierOptions, transformers?: PrettierConfigTransformer[], PrettierModule?: any): Formatter",
|
|
708
|
-
"name": "createFormatter",
|
|
709
|
-
"params": [
|
|
710
|
-
{
|
|
711
|
-
"__schema": "ParameterSchema",
|
|
712
|
-
"location": {
|
|
713
|
-
"filePath": "prettier.main.runtime.ts",
|
|
714
|
-
"line": 33,
|
|
715
|
-
"character": 5
|
|
716
|
-
},
|
|
717
|
-
"name": "formatterOptions",
|
|
718
|
-
"type": {
|
|
719
|
-
"__schema": "TypeRefSchema",
|
|
720
|
-
"location": {
|
|
721
|
-
"filePath": "prettier.main.runtime.ts",
|
|
722
|
-
"line": 33,
|
|
723
|
-
"character": 23
|
|
724
|
-
},
|
|
725
|
-
"name": "FormatterOptions",
|
|
726
|
-
"componentId": {
|
|
727
|
-
"scope": "teambit.defender",
|
|
728
|
-
"name": "formatter"
|
|
729
|
-
}
|
|
730
|
-
},
|
|
731
|
-
"isOptional": true,
|
|
732
|
-
"defaultValue": "{}",
|
|
733
|
-
"isSpread": false
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
"__schema": "ParameterSchema",
|
|
737
|
-
"location": {
|
|
738
|
-
"filePath": "prettier.main.runtime.ts",
|
|
739
|
-
"line": 34,
|
|
740
|
-
"character": 5
|
|
741
|
-
},
|
|
742
|
-
"name": "options",
|
|
743
|
-
"type": {
|
|
744
|
-
"__schema": "TypeRefSchema",
|
|
745
|
-
"location": {
|
|
746
|
-
"filePath": "prettier.main.runtime.ts",
|
|
747
|
-
"line": 34,
|
|
748
|
-
"character": 14
|
|
749
|
-
},
|
|
750
|
-
"name": "PrettierOptions"
|
|
751
|
-
},
|
|
752
|
-
"isOptional": false,
|
|
753
|
-
"isSpread": false
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"__schema": "ParameterSchema",
|
|
757
|
-
"location": {
|
|
758
|
-
"filePath": "prettier.main.runtime.ts",
|
|
759
|
-
"line": 35,
|
|
760
|
-
"character": 5
|
|
761
|
-
},
|
|
762
|
-
"name": "transformers",
|
|
763
|
-
"type": {
|
|
764
|
-
"__schema": "TypeArraySchema",
|
|
765
|
-
"location": {
|
|
766
|
-
"filePath": "prettier.main.runtime.ts",
|
|
767
|
-
"line": 35,
|
|
768
|
-
"character": 19
|
|
769
|
-
},
|
|
770
|
-
"type": {
|
|
771
|
-
"__schema": "TypeRefSchema",
|
|
772
|
-
"location": {
|
|
773
|
-
"filePath": "prettier.main.runtime.ts",
|
|
774
|
-
"line": 35,
|
|
775
|
-
"character": 19
|
|
776
|
-
},
|
|
777
|
-
"name": "PrettierConfigTransformer",
|
|
778
|
-
"componentId": {
|
|
779
|
-
"scope": "teambit.defender",
|
|
780
|
-
"name": "prettier/config-mutator",
|
|
781
|
-
"version": "0.0.103"
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"isOptional": true,
|
|
786
|
-
"defaultValue": "[]",
|
|
787
|
-
"isSpread": false
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"__schema": "ParameterSchema",
|
|
791
|
-
"location": {
|
|
792
|
-
"filePath": "prettier.main.runtime.ts",
|
|
793
|
-
"line": 36,
|
|
794
|
-
"character": 5
|
|
795
|
-
},
|
|
796
|
-
"name": "PrettierModule",
|
|
797
|
-
"type": {
|
|
798
|
-
"__schema": "KeywordTypeSchema",
|
|
799
|
-
"location": {
|
|
800
|
-
"filePath": "prettier.main.runtime.ts",
|
|
801
|
-
"line": 36,
|
|
802
|
-
"character": 22
|
|
803
|
-
},
|
|
804
|
-
"name": "any"
|
|
805
|
-
},
|
|
806
|
-
"isOptional": true,
|
|
807
|
-
"isSpread": false
|
|
808
|
-
}
|
|
809
|
-
],
|
|
810
|
-
"returnType": {
|
|
811
|
-
"__schema": "TypeRefSchema",
|
|
812
|
-
"location": {
|
|
813
|
-
"filePath": "prettier.main.runtime.ts",
|
|
814
|
-
"line": 32,
|
|
815
|
-
"character": 3
|
|
816
|
-
},
|
|
817
|
-
"name": "Formatter",
|
|
818
|
-
"componentId": {
|
|
819
|
-
"scope": "teambit.defender",
|
|
820
|
-
"name": "formatter"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
"modifiers": []
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
"__schema": "VariableLikeSchema",
|
|
827
|
-
"location": {
|
|
828
|
-
"filePath": "prettier.main.runtime.ts",
|
|
829
|
-
"line": 47,
|
|
830
|
-
"character": 3
|
|
831
|
-
},
|
|
832
|
-
"signature": "(property) PrettierMain.runtime: RuntimeDefinition",
|
|
833
|
-
"name": "runtime",
|
|
834
|
-
"type": {
|
|
835
|
-
"__schema": "InferenceTypeSchema",
|
|
836
|
-
"location": {
|
|
837
|
-
"filePath": "prettier.main.runtime.ts",
|
|
838
|
-
"line": 47,
|
|
839
|
-
"character": 3
|
|
840
|
-
},
|
|
841
|
-
"type": "RuntimeDefinition"
|
|
842
|
-
},
|
|
843
|
-
"isOptional": true,
|
|
844
|
-
"defaultValue": "MainRuntime"
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
"__schema": "VariableLikeSchema",
|
|
848
|
-
"location": {
|
|
849
|
-
"filePath": "prettier.main.runtime.ts",
|
|
850
|
-
"line": 49,
|
|
851
|
-
"character": 3
|
|
852
|
-
},
|
|
853
|
-
"signature": "(property) PrettierMain.dependencies: Aspect[]",
|
|
854
|
-
"name": "dependencies",
|
|
855
|
-
"type": {
|
|
856
|
-
"__schema": "InferenceTypeSchema",
|
|
857
|
-
"location": {
|
|
858
|
-
"filePath": "prettier.main.runtime.ts",
|
|
859
|
-
"line": 49,
|
|
860
|
-
"character": 3
|
|
861
|
-
},
|
|
862
|
-
"type": "Aspect[]"
|
|
863
|
-
},
|
|
864
|
-
"isOptional": true,
|
|
865
|
-
"defaultValue": "[LoggerAspect]"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"__schema": "FunctionLikeSchema",
|
|
869
|
-
"location": {
|
|
870
|
-
"filePath": "prettier.main.runtime.ts",
|
|
871
|
-
"line": 51,
|
|
872
|
-
"character": 3
|
|
873
|
-
},
|
|
874
|
-
"signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
|
|
875
|
-
"name": "provider",
|
|
876
|
-
"params": [
|
|
877
|
-
{
|
|
878
|
-
"__schema": "ParameterSchema",
|
|
879
|
-
"location": {
|
|
880
|
-
"filePath": "prettier.main.runtime.ts",
|
|
881
|
-
"line": 51,
|
|
882
|
-
"character": 25
|
|
883
|
-
},
|
|
884
|
-
"name": "[ loggerExt ]",
|
|
885
|
-
"type": {
|
|
886
|
-
"__schema": "TupleTypeSchema",
|
|
887
|
-
"location": {
|
|
888
|
-
"filePath": "prettier.main.runtime.ts",
|
|
889
|
-
"line": 51,
|
|
890
|
-
"character": 38
|
|
891
|
-
},
|
|
892
|
-
"elements": [
|
|
893
|
-
{
|
|
894
|
-
"__schema": "TypeRefSchema",
|
|
895
|
-
"location": {
|
|
896
|
-
"filePath": "prettier.main.runtime.ts",
|
|
897
|
-
"line": 51,
|
|
898
|
-
"character": 39
|
|
899
|
-
},
|
|
900
|
-
"name": "LoggerMain",
|
|
901
|
-
"componentId": {
|
|
902
|
-
"scope": "teambit.harmony",
|
|
903
|
-
"name": "logger"
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
{
|
|
907
|
-
"__schema": "TypeRefSchema",
|
|
908
|
-
"location": {
|
|
909
|
-
"filePath": "prettier.main.runtime.ts",
|
|
910
|
-
"line": 51,
|
|
911
|
-
"character": 51
|
|
912
|
-
},
|
|
913
|
-
"name": "FormatterMain",
|
|
914
|
-
"componentId": {
|
|
915
|
-
"scope": "teambit.defender",
|
|
916
|
-
"name": "formatter"
|
|
917
|
-
}
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
"__schema": "TypeRefSchema",
|
|
921
|
-
"location": {
|
|
922
|
-
"filePath": "prettier.main.runtime.ts",
|
|
923
|
-
"line": 51,
|
|
924
|
-
"character": 66
|
|
925
|
-
},
|
|
926
|
-
"name": "WorkspaceConfigFilesMain",
|
|
927
|
-
"componentId": {
|
|
928
|
-
"scope": "teambit.workspace",
|
|
929
|
-
"name": "workspace-config-files"
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
]
|
|
933
|
-
},
|
|
934
|
-
"isOptional": false,
|
|
935
|
-
"isSpread": false
|
|
936
|
-
}
|
|
937
|
-
],
|
|
938
|
-
"returnType": {
|
|
939
|
-
"__schema": "TypeRefSchema",
|
|
940
|
-
"location": {
|
|
941
|
-
"filePath": "prettier.main.runtime.ts",
|
|
942
|
-
"line": 51,
|
|
943
|
-
"character": 94
|
|
944
|
-
},
|
|
945
|
-
"name": "Promise",
|
|
946
|
-
"typeArgs": [
|
|
947
|
-
{
|
|
948
|
-
"__schema": "TypeRefSchema",
|
|
949
|
-
"location": {
|
|
950
|
-
"filePath": "prettier.main.runtime.ts",
|
|
951
|
-
"line": 51,
|
|
952
|
-
"character": 102
|
|
953
|
-
},
|
|
954
|
-
"name": "PrettierMain"
|
|
955
|
-
}
|
|
956
|
-
]
|
|
957
|
-
},
|
|
958
|
-
"modifiers": [
|
|
959
|
-
"static",
|
|
960
|
-
"async"
|
|
961
|
-
]
|
|
962
|
-
}
|
|
963
|
-
],
|
|
964
|
-
"extendsNodes": [],
|
|
965
|
-
"implementNodes": []
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"__schema": "FunctionLikeSchema",
|
|
969
|
-
"location": {
|
|
970
|
-
"filePath": "prettier.main.runtime.ts",
|
|
971
|
-
"line": 59,
|
|
972
|
-
"character": 1
|
|
973
|
-
},
|
|
974
|
-
"signature": "function runTransformersWithContext(config: PrettierConfigMutator, transformers: PrettierConfigTransformer[] | undefined, context: PrettierConfigTransformContext): PrettierConfigMutator",
|
|
975
|
-
"name": "runTransformersWithContext",
|
|
976
|
-
"params": [
|
|
977
|
-
{
|
|
978
|
-
"__schema": "ParameterSchema",
|
|
979
|
-
"location": {
|
|
980
|
-
"filePath": "prettier.main.runtime.ts",
|
|
981
|
-
"line": 60,
|
|
982
|
-
"character": 3
|
|
983
|
-
},
|
|
984
|
-
"name": "config",
|
|
985
|
-
"type": {
|
|
986
|
-
"__schema": "TypeRefSchema",
|
|
987
|
-
"location": {
|
|
988
|
-
"filePath": "prettier.main.runtime.ts",
|
|
989
|
-
"line": 60,
|
|
990
|
-
"character": 11
|
|
991
|
-
},
|
|
992
|
-
"name": "PrettierConfigMutator",
|
|
993
|
-
"componentId": {
|
|
994
|
-
"scope": "teambit.defender",
|
|
995
|
-
"name": "prettier/config-mutator",
|
|
996
|
-
"version": "0.0.103"
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
"isOptional": false,
|
|
1000
|
-
"isSpread": false
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
"__schema": "ParameterSchema",
|
|
1004
|
-
"location": {
|
|
1005
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1006
|
-
"line": 61,
|
|
1007
|
-
"character": 3
|
|
1008
|
-
},
|
|
1009
|
-
"name": "transformers",
|
|
1010
|
-
"type": {
|
|
1011
|
-
"__schema": "TypeArraySchema",
|
|
1012
|
-
"location": {
|
|
1013
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1014
|
-
"line": 61,
|
|
1015
|
-
"character": 17
|
|
1016
|
-
},
|
|
1017
|
-
"type": {
|
|
1018
|
-
"__schema": "TypeRefSchema",
|
|
1019
|
-
"location": {
|
|
1020
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1021
|
-
"line": 61,
|
|
1022
|
-
"character": 17
|
|
1023
|
-
},
|
|
1024
|
-
"name": "PrettierConfigTransformer",
|
|
1025
|
-
"componentId": {
|
|
1026
|
-
"scope": "teambit.defender",
|
|
1027
|
-
"name": "prettier/config-mutator",
|
|
1028
|
-
"version": "0.0.103"
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
},
|
|
1032
|
-
"isOptional": true,
|
|
1033
|
-
"defaultValue": "[]",
|
|
1034
|
-
"isSpread": false
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
"__schema": "ParameterSchema",
|
|
1038
|
-
"location": {
|
|
1039
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1040
|
-
"line": 62,
|
|
1041
|
-
"character": 3
|
|
1042
|
-
},
|
|
1043
|
-
"name": "context",
|
|
1044
|
-
"type": {
|
|
1045
|
-
"__schema": "TypeRefSchema",
|
|
1046
|
-
"location": {
|
|
1047
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1048
|
-
"line": 62,
|
|
1049
|
-
"character": 12
|
|
1050
|
-
},
|
|
1051
|
-
"name": "PrettierConfigTransformContext",
|
|
1052
|
-
"componentId": {
|
|
1053
|
-
"scope": "teambit.defender",
|
|
1054
|
-
"name": "prettier/config-mutator",
|
|
1055
|
-
"version": "0.0.103"
|
|
1056
|
-
}
|
|
1057
|
-
},
|
|
1058
|
-
"isOptional": false,
|
|
1059
|
-
"isSpread": false
|
|
1060
|
-
}
|
|
1061
|
-
],
|
|
1062
|
-
"returnType": {
|
|
1063
|
-
"__schema": "TypeRefSchema",
|
|
1064
|
-
"location": {
|
|
1065
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1066
|
-
"line": 59,
|
|
1067
|
-
"character": 1
|
|
1068
|
-
},
|
|
1069
|
-
"name": "PrettierConfigMutator",
|
|
1070
|
-
"componentId": {
|
|
1071
|
-
"scope": "teambit.defender",
|
|
1072
|
-
"name": "prettier/config-mutator",
|
|
1073
|
-
"version": "0.0.103"
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
"modifiers": [
|
|
1077
|
-
"export"
|
|
1078
|
-
]
|
|
1079
|
-
}
|
|
1080
|
-
],
|
|
1081
|
-
"internals": [
|
|
1082
|
-
{
|
|
1083
|
-
"__schema": "UnImplementedSchema",
|
|
1084
|
-
"location": {
|
|
1085
|
-
"filePath": "prettier.main.runtime.ts",
|
|
1086
|
-
"line": 57,
|
|
1087
|
-
"character": 1
|
|
1088
|
-
},
|
|
1089
|
-
"name": "PrettierAspect.addRuntime(PrettierMain);",
|
|
1090
|
-
"type": "ExpressionStatement"
|
|
1091
|
-
}
|
|
1092
|
-
]
|
|
1093
|
-
}
|
|
1094
|
-
],
|
|
1095
|
-
"componentId": {
|
|
1096
|
-
"scope": "teambit.defender",
|
|
1097
|
-
"name": "prettier",
|
|
1098
|
-
"version": "1.0.516"
|
|
1099
|
-
},
|
|
1100
|
-
"taggedModuleExports": []
|
|
1101
|
-
}
|