@teambit/prettier 1.0.257 → 1.0.258
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.
|
|
3
|
+
<testsuite name="teambit.defender/prettier@1.0.258" 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={
|
|
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={32193:(e,t,o)=>{var r={id:"teambit.defender/prettier@1.0.258",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(32193)],t=[],i={compositions:[{displayName:"Logo",identifier:"Logo"}]}})(),r})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -14,436 +14,438 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
16
|
{
|
|
17
|
-
"__schema": "
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
18
|
"location": {
|
|
19
|
-
"filePath": "
|
|
19
|
+
"filePath": "index.ts",
|
|
20
20
|
"line": 3,
|
|
21
|
-
"character":
|
|
21
|
+
"character": 10
|
|
22
22
|
},
|
|
23
|
-
"signature": "const PrettierAspect: Aspect",
|
|
24
23
|
"name": "PrettierAspect",
|
|
25
|
-
"
|
|
26
|
-
"__schema": "
|
|
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
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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": "
|
|
52
|
+
"__schema": "ExportSchema",
|
|
44
53
|
"location": {
|
|
45
|
-
"filePath": "
|
|
46
|
-
"line":
|
|
47
|
-
"character":
|
|
54
|
+
"filePath": "index.ts",
|
|
55
|
+
"line": 4,
|
|
56
|
+
"character": 15
|
|
48
57
|
},
|
|
49
|
-
"signature": "class PrettierMain",
|
|
50
58
|
"name": "PrettierMain",
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
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":
|
|
73
|
+
"line": 24,
|
|
110
74
|
"character": 3
|
|
111
75
|
},
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
76
|
+
"signature": "constructor PrettierMain(logger: Logger): PrettierMain",
|
|
77
|
+
"name": "constructor",
|
|
78
|
+
"params": [
|
|
115
79
|
{
|
|
116
|
-
"__schema": "
|
|
80
|
+
"__schema": "ParameterSchema",
|
|
117
81
|
"location": {
|
|
118
82
|
"filePath": "prettier.main.runtime.ts",
|
|
119
|
-
"line":
|
|
120
|
-
"character":
|
|
83
|
+
"line": 24,
|
|
84
|
+
"character": 15
|
|
121
85
|
},
|
|
122
|
-
"name": "
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
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"
|
|
132
95
|
},
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"comment": "reference to an `prettier` module."
|
|
96
|
+
"isOptional": false,
|
|
97
|
+
"isSpread": false
|
|
136
98
|
}
|
|
137
|
-
]
|
|
99
|
+
],
|
|
100
|
+
"returnType": {
|
|
101
|
+
"__schema": "ThisTypeSchema",
|
|
102
|
+
"location": {
|
|
103
|
+
"filePath": "prettier.main.runtime.ts",
|
|
104
|
+
"line": 23,
|
|
105
|
+
"character": 1
|
|
106
|
+
},
|
|
107
|
+
"name": "PrettierMain"
|
|
108
|
+
},
|
|
109
|
+
"modifiers": []
|
|
138
110
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"
|
|
111
|
+
{
|
|
112
|
+
"__schema": "FunctionLikeSchema",
|
|
113
|
+
"location": {
|
|
114
|
+
"filePath": "prettier.main.runtime.ts",
|
|
115
|
+
"line": 30,
|
|
116
|
+
"character": 3
|
|
117
|
+
},
|
|
118
|
+
"doc": {
|
|
119
|
+
"__schema": "DocSchema",
|
|
144
120
|
"location": {
|
|
145
121
|
"filePath": "prettier.main.runtime.ts",
|
|
146
|
-
"line":
|
|
147
|
-
"character":
|
|
122
|
+
"line": 25,
|
|
123
|
+
"character": 3
|
|
148
124
|
},
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
|
|
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.",
|
|
127
|
+
"tags": [
|
|
128
|
+
{
|
|
129
|
+
"__schema": "PropertyLikeTagSchema",
|
|
130
|
+
"location": {
|
|
131
|
+
"filePath": "prettier.main.runtime.ts",
|
|
132
|
+
"line": 27,
|
|
133
|
+
"character": 6
|
|
134
|
+
},
|
|
135
|
+
"name": "options",
|
|
136
|
+
"tagName": "parameter",
|
|
137
|
+
"comment": "prettier options."
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"__schema": "PropertyLikeTagSchema",
|
|
141
|
+
"location": {
|
|
142
|
+
"filePath": "prettier.main.runtime.ts",
|
|
143
|
+
"line": 28,
|
|
144
|
+
"character": 6
|
|
145
|
+
},
|
|
146
|
+
"name": "PrettierModule",
|
|
147
|
+
"tagName": "parameter",
|
|
148
|
+
"comment": "reference to an `prettier` module."
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"signature": "(method) PrettierMain.createFormatter(formatterOptions: FormatterOptions | undefined, options: PrettierOptions, transformers?: PrettierConfigTransformer[], PrettierModule?: any): Formatter",
|
|
153
|
+
"name": "createFormatter",
|
|
154
|
+
"params": [
|
|
155
|
+
{
|
|
156
|
+
"__schema": "ParameterSchema",
|
|
152
157
|
"location": {
|
|
153
158
|
"filePath": "prettier.main.runtime.ts",
|
|
154
159
|
"line": 31,
|
|
155
|
-
"character":
|
|
160
|
+
"character": 5
|
|
156
161
|
},
|
|
157
|
-
"name": "
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"filePath": "prettier.main.runtime.ts",
|
|
171
|
-
"line": 32,
|
|
172
|
-
"character": 5
|
|
162
|
+
"name": "formatterOptions",
|
|
163
|
+
"type": {
|
|
164
|
+
"__schema": "TypeRefSchema",
|
|
165
|
+
"location": {
|
|
166
|
+
"filePath": "prettier.main.runtime.ts",
|
|
167
|
+
"line": 31,
|
|
168
|
+
"character": 23
|
|
169
|
+
},
|
|
170
|
+
"name": "FormatterOptions"
|
|
171
|
+
},
|
|
172
|
+
"isOptional": true,
|
|
173
|
+
"defaultValue": "{}",
|
|
174
|
+
"isSpread": false
|
|
173
175
|
},
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"__schema": "TypeRefSchema",
|
|
176
|
+
{
|
|
177
|
+
"__schema": "ParameterSchema",
|
|
177
178
|
"location": {
|
|
178
179
|
"filePath": "prettier.main.runtime.ts",
|
|
179
180
|
"line": 32,
|
|
180
|
-
"character":
|
|
181
|
+
"character": 5
|
|
181
182
|
},
|
|
182
|
-
"name": "
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
183
|
+
"name": "options",
|
|
184
|
+
"type": {
|
|
185
|
+
"__schema": "TypeRefSchema",
|
|
186
|
+
"location": {
|
|
187
|
+
"filePath": "prettier.main.runtime.ts",
|
|
188
|
+
"line": 32,
|
|
189
|
+
"character": 14
|
|
190
|
+
},
|
|
191
|
+
"name": "PrettierOptions"
|
|
192
|
+
},
|
|
193
|
+
"isOptional": false,
|
|
194
|
+
"isSpread": false
|
|
193
195
|
},
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
"__schema": "TypeArraySchema",
|
|
196
|
+
{
|
|
197
|
+
"__schema": "ParameterSchema",
|
|
197
198
|
"location": {
|
|
198
199
|
"filePath": "prettier.main.runtime.ts",
|
|
199
200
|
"line": 33,
|
|
200
|
-
"character":
|
|
201
|
+
"character": 5
|
|
201
202
|
},
|
|
203
|
+
"name": "transformers",
|
|
202
204
|
"type": {
|
|
203
|
-
"__schema": "
|
|
205
|
+
"__schema": "TypeArraySchema",
|
|
204
206
|
"location": {
|
|
205
207
|
"filePath": "prettier.main.runtime.ts",
|
|
206
208
|
"line": 33,
|
|
207
209
|
"character": 19
|
|
208
210
|
},
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
"type": {
|
|
212
|
+
"__schema": "TypeRefSchema",
|
|
213
|
+
"location": {
|
|
214
|
+
"filePath": "prettier.main.runtime.ts",
|
|
215
|
+
"line": 33,
|
|
216
|
+
"character": 19
|
|
217
|
+
},
|
|
218
|
+
"name": "PrettierConfigTransformer"
|
|
214
219
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"isSpread": false
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"__schema": "ParameterSchema",
|
|
223
|
-
"location": {
|
|
224
|
-
"filePath": "prettier.main.runtime.ts",
|
|
225
|
-
"line": 34,
|
|
226
|
-
"character": 5
|
|
220
|
+
},
|
|
221
|
+
"isOptional": true,
|
|
222
|
+
"defaultValue": "[]",
|
|
223
|
+
"isSpread": false
|
|
227
224
|
},
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
"__schema": "KeywordTypeSchema",
|
|
225
|
+
{
|
|
226
|
+
"__schema": "ParameterSchema",
|
|
231
227
|
"location": {
|
|
232
228
|
"filePath": "prettier.main.runtime.ts",
|
|
233
229
|
"line": 34,
|
|
234
|
-
"character":
|
|
230
|
+
"character": 5
|
|
231
|
+
},
|
|
232
|
+
"name": "PrettierModule",
|
|
233
|
+
"type": {
|
|
234
|
+
"__schema": "KeywordTypeSchema",
|
|
235
|
+
"location": {
|
|
236
|
+
"filePath": "prettier.main.runtime.ts",
|
|
237
|
+
"line": 34,
|
|
238
|
+
"character": 22
|
|
239
|
+
},
|
|
240
|
+
"name": "any"
|
|
235
241
|
},
|
|
236
|
-
"
|
|
242
|
+
"isOptional": true,
|
|
243
|
+
"isSpread": false
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"returnType": {
|
|
247
|
+
"__schema": "TypeRefSchema",
|
|
248
|
+
"location": {
|
|
249
|
+
"filePath": "prettier.main.runtime.ts",
|
|
250
|
+
"line": 30,
|
|
251
|
+
"character": 3
|
|
237
252
|
},
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
"__schema": "TypeRefSchema",
|
|
244
|
-
"location": {
|
|
245
|
-
"filePath": "prettier.main.runtime.ts",
|
|
246
|
-
"line": 30,
|
|
247
|
-
"character": 3
|
|
253
|
+
"name": "Formatter",
|
|
254
|
+
"componentId": {
|
|
255
|
+
"scope": "teambit.defender",
|
|
256
|
+
"name": "formatter"
|
|
257
|
+
}
|
|
248
258
|
},
|
|
249
|
-
"
|
|
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
|
|
259
|
+
"modifiers": []
|
|
263
260
|
},
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"type": {
|
|
267
|
-
"__schema": "InferenceTypeSchema",
|
|
261
|
+
{
|
|
262
|
+
"__schema": "VariableLikeSchema",
|
|
268
263
|
"location": {
|
|
269
264
|
"filePath": "prettier.main.runtime.ts",
|
|
270
265
|
"line": 42,
|
|
271
266
|
"character": 3
|
|
272
267
|
},
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
268
|
+
"signature": "(property) PrettierMain.runtime: RuntimeDefinition",
|
|
269
|
+
"name": "runtime",
|
|
270
|
+
"type": {
|
|
271
|
+
"__schema": "InferenceTypeSchema",
|
|
272
|
+
"location": {
|
|
273
|
+
"filePath": "prettier.main.runtime.ts",
|
|
274
|
+
"line": 42,
|
|
275
|
+
"character": 3
|
|
276
|
+
},
|
|
277
|
+
"type": "RuntimeDefinition"
|
|
278
|
+
},
|
|
279
|
+
"isOptional": true,
|
|
280
|
+
"defaultValue": "MainRuntime"
|
|
284
281
|
},
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"type": {
|
|
288
|
-
"__schema": "InferenceTypeSchema",
|
|
282
|
+
{
|
|
283
|
+
"__schema": "VariableLikeSchema",
|
|
289
284
|
"location": {
|
|
290
285
|
"filePath": "prettier.main.runtime.ts",
|
|
291
286
|
"line": 44,
|
|
292
287
|
"character": 3
|
|
293
288
|
},
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
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",
|
|
289
|
+
"signature": "(property) PrettierMain.dependencies: Aspect[]",
|
|
290
|
+
"name": "dependencies",
|
|
291
|
+
"type": {
|
|
292
|
+
"__schema": "InferenceTypeSchema",
|
|
311
293
|
"location": {
|
|
312
294
|
"filePath": "prettier.main.runtime.ts",
|
|
313
|
-
"line":
|
|
314
|
-
"character":
|
|
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
|
-
]
|
|
295
|
+
"line": 44,
|
|
296
|
+
"character": 3
|
|
365
297
|
},
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
298
|
+
"type": "Aspect[]"
|
|
299
|
+
},
|
|
300
|
+
"isOptional": true,
|
|
301
|
+
"defaultValue": "[LoggerAspect]"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"__schema": "FunctionLikeSchema",
|
|
372
305
|
"location": {
|
|
373
306
|
"filePath": "prettier.main.runtime.ts",
|
|
374
307
|
"line": 46,
|
|
375
|
-
"character":
|
|
308
|
+
"character": 3
|
|
376
309
|
},
|
|
377
|
-
"
|
|
378
|
-
"
|
|
310
|
+
"signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
|
|
311
|
+
"name": "provider",
|
|
312
|
+
"params": [
|
|
379
313
|
{
|
|
380
|
-
"__schema": "
|
|
314
|
+
"__schema": "ParameterSchema",
|
|
381
315
|
"location": {
|
|
382
316
|
"filePath": "prettier.main.runtime.ts",
|
|
383
317
|
"line": 46,
|
|
384
|
-
"character":
|
|
318
|
+
"character": 25
|
|
385
319
|
},
|
|
386
|
-
"name": "
|
|
320
|
+
"name": "[ loggerExt ]",
|
|
321
|
+
"type": {
|
|
322
|
+
"__schema": "TupleTypeSchema",
|
|
323
|
+
"location": {
|
|
324
|
+
"filePath": "prettier.main.runtime.ts",
|
|
325
|
+
"line": 46,
|
|
326
|
+
"character": 38
|
|
327
|
+
},
|
|
328
|
+
"elements": [
|
|
329
|
+
{
|
|
330
|
+
"__schema": "TypeRefSchema",
|
|
331
|
+
"location": {
|
|
332
|
+
"filePath": "prettier.main.runtime.ts",
|
|
333
|
+
"line": 46,
|
|
334
|
+
"character": 39
|
|
335
|
+
},
|
|
336
|
+
"name": "LoggerMain"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"__schema": "TypeRefSchema",
|
|
340
|
+
"location": {
|
|
341
|
+
"filePath": "prettier.main.runtime.ts",
|
|
342
|
+
"line": 46,
|
|
343
|
+
"character": 51
|
|
344
|
+
},
|
|
345
|
+
"name": "FormatterMain"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"__schema": "TypeRefSchema",
|
|
349
|
+
"location": {
|
|
350
|
+
"filePath": "prettier.main.runtime.ts",
|
|
351
|
+
"line": 46,
|
|
352
|
+
"character": 66
|
|
353
|
+
},
|
|
354
|
+
"name": "WorkspaceConfigFilesMain"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"isOptional": false,
|
|
359
|
+
"isSpread": false
|
|
387
360
|
}
|
|
361
|
+
],
|
|
362
|
+
"returnType": {
|
|
363
|
+
"__schema": "TypeRefSchema",
|
|
364
|
+
"location": {
|
|
365
|
+
"filePath": "prettier.main.runtime.ts",
|
|
366
|
+
"line": 46,
|
|
367
|
+
"character": 94
|
|
368
|
+
},
|
|
369
|
+
"name": "Promise",
|
|
370
|
+
"typeArgs": [
|
|
371
|
+
{
|
|
372
|
+
"__schema": "TypeRefSchema",
|
|
373
|
+
"location": {
|
|
374
|
+
"filePath": "prettier.main.runtime.ts",
|
|
375
|
+
"line": 46,
|
|
376
|
+
"character": 102
|
|
377
|
+
},
|
|
378
|
+
"name": "PrettierMain"
|
|
379
|
+
}
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"modifiers": [
|
|
383
|
+
"static",
|
|
384
|
+
"async"
|
|
388
385
|
]
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"extendsNodes": [],
|
|
397
|
-
"implementNodes": []
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"extendsNodes": [],
|
|
389
|
+
"implementNodes": []
|
|
390
|
+
}
|
|
398
391
|
},
|
|
399
392
|
{
|
|
400
|
-
"__schema": "
|
|
393
|
+
"__schema": "ExportSchema",
|
|
401
394
|
"location": {
|
|
402
|
-
"filePath": "
|
|
403
|
-
"line":
|
|
404
|
-
"character":
|
|
395
|
+
"filePath": "index.ts",
|
|
396
|
+
"line": 4,
|
|
397
|
+
"character": 29
|
|
405
398
|
},
|
|
406
|
-
"signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
|
|
407
399
|
"name": "PrettierOptions",
|
|
408
|
-
"
|
|
409
|
-
"__schema": "
|
|
400
|
+
"exportNode": {
|
|
401
|
+
"__schema": "TypeSchema",
|
|
410
402
|
"location": {
|
|
411
403
|
"filePath": "prettier.main.runtime.ts",
|
|
412
404
|
"line": 14,
|
|
413
|
-
"character":
|
|
405
|
+
"character": 1
|
|
414
406
|
},
|
|
415
|
-
"
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
407
|
+
"signature": "type PrettierOptions = {\n config: PrettierModuleOptions;\n}",
|
|
408
|
+
"name": "PrettierOptions",
|
|
409
|
+
"type": {
|
|
410
|
+
"__schema": "TypeLiteralSchema",
|
|
411
|
+
"location": {
|
|
412
|
+
"filePath": "prettier.main.runtime.ts",
|
|
413
|
+
"line": 14,
|
|
414
|
+
"character": 31
|
|
415
|
+
},
|
|
416
|
+
"members": [
|
|
417
|
+
{
|
|
418
|
+
"__schema": "VariableLikeSchema",
|
|
425
419
|
"location": {
|
|
426
420
|
"filePath": "prettier.main.runtime.ts",
|
|
427
|
-
"line":
|
|
421
|
+
"line": 18,
|
|
428
422
|
"character": 3
|
|
429
423
|
},
|
|
430
|
-
"
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
"
|
|
439
|
-
"line": 18,
|
|
440
|
-
"character": 11
|
|
424
|
+
"doc": {
|
|
425
|
+
"__schema": "DocSchema",
|
|
426
|
+
"location": {
|
|
427
|
+
"filePath": "prettier.main.runtime.ts",
|
|
428
|
+
"line": 15,
|
|
429
|
+
"character": 3
|
|
430
|
+
},
|
|
431
|
+
"raw": "/**\n * formatter config for prettier.\n */",
|
|
432
|
+
"comment": "formatter config for prettier."
|
|
441
433
|
},
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
434
|
+
"signature": "(property) config: PrettierModuleOptions",
|
|
435
|
+
"name": "config",
|
|
436
|
+
"type": {
|
|
437
|
+
"__schema": "TypeRefSchema",
|
|
438
|
+
"location": {
|
|
439
|
+
"filePath": "prettier.main.runtime.ts",
|
|
440
|
+
"line": 18,
|
|
441
|
+
"character": 11
|
|
442
|
+
},
|
|
443
|
+
"name": "PrettierModuleOptions"
|
|
444
|
+
},
|
|
445
|
+
"isOptional": false
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
}
|
|
447
449
|
}
|
|
448
450
|
},
|
|
449
451
|
{
|
|
@@ -590,11 +592,7 @@
|
|
|
590
592
|
"line": 24,
|
|
591
593
|
"character": 31
|
|
592
594
|
},
|
|
593
|
-
"name": "Logger"
|
|
594
|
-
"componentId": {
|
|
595
|
-
"scope": "teambit.harmony",
|
|
596
|
-
"name": "logger"
|
|
597
|
-
}
|
|
595
|
+
"name": "Logger"
|
|
598
596
|
},
|
|
599
597
|
"isOptional": false,
|
|
600
598
|
"isSpread": false
|
|
@@ -670,11 +668,7 @@
|
|
|
670
668
|
"line": 31,
|
|
671
669
|
"character": 23
|
|
672
670
|
},
|
|
673
|
-
"name": "FormatterOptions"
|
|
674
|
-
"componentId": {
|
|
675
|
-
"scope": "teambit.defender",
|
|
676
|
-
"name": "formatter"
|
|
677
|
-
}
|
|
671
|
+
"name": "FormatterOptions"
|
|
678
672
|
},
|
|
679
673
|
"isOptional": true,
|
|
680
674
|
"defaultValue": "{}",
|
|
@@ -722,12 +716,7 @@
|
|
|
722
716
|
"line": 33,
|
|
723
717
|
"character": 19
|
|
724
718
|
},
|
|
725
|
-
"name": "PrettierConfigTransformer"
|
|
726
|
-
"componentId": {
|
|
727
|
-
"scope": "teambit.defender",
|
|
728
|
-
"name": "prettier/config-mutator",
|
|
729
|
-
"version": "0.0.100"
|
|
730
|
-
}
|
|
719
|
+
"name": "PrettierConfigTransformer"
|
|
731
720
|
}
|
|
732
721
|
},
|
|
733
722
|
"isOptional": true,
|
|
@@ -845,11 +834,7 @@
|
|
|
845
834
|
"line": 46,
|
|
846
835
|
"character": 39
|
|
847
836
|
},
|
|
848
|
-
"name": "LoggerMain"
|
|
849
|
-
"componentId": {
|
|
850
|
-
"scope": "teambit.harmony",
|
|
851
|
-
"name": "logger"
|
|
852
|
-
}
|
|
837
|
+
"name": "LoggerMain"
|
|
853
838
|
},
|
|
854
839
|
{
|
|
855
840
|
"__schema": "TypeRefSchema",
|
|
@@ -858,11 +843,7 @@
|
|
|
858
843
|
"line": 46,
|
|
859
844
|
"character": 51
|
|
860
845
|
},
|
|
861
|
-
"name": "FormatterMain"
|
|
862
|
-
"componentId": {
|
|
863
|
-
"scope": "teambit.defender",
|
|
864
|
-
"name": "formatter"
|
|
865
|
-
}
|
|
846
|
+
"name": "FormatterMain"
|
|
866
847
|
},
|
|
867
848
|
{
|
|
868
849
|
"__schema": "TypeRefSchema",
|
|
@@ -871,11 +852,7 @@
|
|
|
871
852
|
"line": 46,
|
|
872
853
|
"character": 66
|
|
873
854
|
},
|
|
874
|
-
"name": "WorkspaceConfigFilesMain"
|
|
875
|
-
"componentId": {
|
|
876
|
-
"scope": "teambit.workspace",
|
|
877
|
-
"name": "workspace-config-files"
|
|
878
|
-
}
|
|
855
|
+
"name": "WorkspaceConfigFilesMain"
|
|
879
856
|
}
|
|
880
857
|
]
|
|
881
858
|
},
|
|
@@ -937,12 +914,7 @@
|
|
|
937
914
|
"line": 55,
|
|
938
915
|
"character": 11
|
|
939
916
|
},
|
|
940
|
-
"name": "PrettierConfigMutator"
|
|
941
|
-
"componentId": {
|
|
942
|
-
"scope": "teambit.defender",
|
|
943
|
-
"name": "prettier/config-mutator",
|
|
944
|
-
"version": "0.0.100"
|
|
945
|
-
}
|
|
917
|
+
"name": "PrettierConfigMutator"
|
|
946
918
|
},
|
|
947
919
|
"isOptional": false,
|
|
948
920
|
"isSpread": false
|
|
@@ -969,12 +941,7 @@
|
|
|
969
941
|
"line": 56,
|
|
970
942
|
"character": 17
|
|
971
943
|
},
|
|
972
|
-
"name": "PrettierConfigTransformer"
|
|
973
|
-
"componentId": {
|
|
974
|
-
"scope": "teambit.defender",
|
|
975
|
-
"name": "prettier/config-mutator",
|
|
976
|
-
"version": "0.0.100"
|
|
977
|
-
}
|
|
944
|
+
"name": "PrettierConfigTransformer"
|
|
978
945
|
}
|
|
979
946
|
},
|
|
980
947
|
"isOptional": true,
|
|
@@ -996,12 +963,7 @@
|
|
|
996
963
|
"line": 57,
|
|
997
964
|
"character": 12
|
|
998
965
|
},
|
|
999
|
-
"name": "PrettierConfigTransformContext"
|
|
1000
|
-
"componentId": {
|
|
1001
|
-
"scope": "teambit.defender",
|
|
1002
|
-
"name": "prettier/config-mutator",
|
|
1003
|
-
"version": "0.0.100"
|
|
1004
|
-
}
|
|
966
|
+
"name": "PrettierConfigTransformContext"
|
|
1005
967
|
},
|
|
1006
968
|
"isOptional": false,
|
|
1007
969
|
"isSpread": false
|
|
@@ -1043,7 +1005,7 @@
|
|
|
1043
1005
|
"componentId": {
|
|
1044
1006
|
"scope": "teambit.defender",
|
|
1045
1007
|
"name": "prettier",
|
|
1046
|
-
"version": "1.0.
|
|
1008
|
+
"version": "1.0.258"
|
|
1047
1009
|
},
|
|
1048
1010
|
"taggedModuleExports": []
|
|
1049
1011
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as compositions_0 from '/
|
|
1
|
+
import * as compositions_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/b5ea46ec3/teambit.defender_prettier@1.0.258/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.
|
|
3
|
+
"version": "1.0.258",
|
|
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.258"
|
|
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.
|
|
16
|
-
"@teambit/formatter": "1.0.
|
|
15
|
+
"@teambit/envs": "1.0.258",
|
|
16
|
+
"@teambit/formatter": "1.0.258",
|
|
17
17
|
"@teambit/logger": "0.0.955",
|
|
18
18
|
"@teambit/cli": "0.0.862",
|
|
19
19
|
"@teambit/defender.prettier.config-mutator": "0.0.100",
|
|
20
|
-
"@teambit/workspace-config-files": "1.0.
|
|
20
|
+
"@teambit/workspace-config-files": "1.0.258"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/prettier": "2.7.3",
|