@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.
|
|
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={
|
|
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})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -14,436 +14,463 @@
|
|
|
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
|
-
"
|
|
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
|
-
"
|
|
134
|
-
"
|
|
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
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"
|
|
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":
|
|
147
|
-
"character":
|
|
126
|
+
"line": 25,
|
|
127
|
+
"character": 3
|
|
148
128
|
},
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
|
|
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":
|
|
164
|
+
"character": 5
|
|
156
165
|
},
|
|
157
|
-
"name": "
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"
|
|
172
|
-
"
|
|
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
|
-
|
|
175
|
-
|
|
176
|
-
"__schema": "TypeRefSchema",
|
|
184
|
+
{
|
|
185
|
+
"__schema": "ParameterSchema",
|
|
177
186
|
"location": {
|
|
178
187
|
"filePath": "prettier.main.runtime.ts",
|
|
179
188
|
"line": 32,
|
|
180
|
-
"character":
|
|
189
|
+
"character": 5
|
|
181
190
|
},
|
|
182
|
-
"name": "
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
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
|
-
|
|
195
|
-
|
|
196
|
-
"__schema": "TypeArraySchema",
|
|
204
|
+
{
|
|
205
|
+
"__schema": "ParameterSchema",
|
|
197
206
|
"location": {
|
|
198
207
|
"filePath": "prettier.main.runtime.ts",
|
|
199
208
|
"line": 33,
|
|
200
|
-
"character":
|
|
209
|
+
"character": 5
|
|
201
210
|
},
|
|
211
|
+
"name": "transformers",
|
|
202
212
|
"type": {
|
|
203
|
-
"__schema": "
|
|
213
|
+
"__schema": "TypeArraySchema",
|
|
204
214
|
"location": {
|
|
205
215
|
"filePath": "prettier.main.runtime.ts",
|
|
206
216
|
"line": 33,
|
|
207
217
|
"character": 19
|
|
208
218
|
},
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
|
|
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
|
-
|
|
218
|
-
|
|
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
|
-
|
|
229
|
-
|
|
230
|
-
"__schema": "KeywordTypeSchema",
|
|
238
|
+
{
|
|
239
|
+
"__schema": "ParameterSchema",
|
|
231
240
|
"location": {
|
|
232
241
|
"filePath": "prettier.main.runtime.ts",
|
|
233
242
|
"line": 34,
|
|
234
|
-
"character":
|
|
243
|
+
"character": 5
|
|
235
244
|
},
|
|
236
|
-
"name": "
|
|
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
|
-
"
|
|
239
|
-
"
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
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
|
-
"
|
|
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
|
-
|
|
265
|
-
|
|
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
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
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
|
-
|
|
286
|
-
|
|
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
|
-
"
|
|
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",
|
|
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":
|
|
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
|
-
]
|
|
308
|
+
"line": 44,
|
|
309
|
+
"character": 3
|
|
365
310
|
},
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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":
|
|
321
|
+
"character": 3
|
|
376
322
|
},
|
|
377
|
-
"
|
|
378
|
-
"
|
|
323
|
+
"signature": "(method) PrettierMain.provider([loggerExt]: [LoggerMain, FormatterMain, WorkspaceConfigFilesMain]): Promise<PrettierMain>",
|
|
324
|
+
"name": "provider",
|
|
325
|
+
"params": [
|
|
379
326
|
{
|
|
380
|
-
"__schema": "
|
|
327
|
+
"__schema": "ParameterSchema",
|
|
381
328
|
"location": {
|
|
382
329
|
"filePath": "prettier.main.runtime.ts",
|
|
383
330
|
"line": 46,
|
|
384
|
-
"character":
|
|
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
|
-
"
|
|
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
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}
|
|
395
|
-
],
|
|
396
|
-
"extendsNodes": [],
|
|
397
|
-
"implementNodes": []
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"extendsNodes": [],
|
|
414
|
+
"implementNodes": []
|
|
415
|
+
}
|
|
398
416
|
},
|
|
399
417
|
{
|
|
400
|
-
"__schema": "
|
|
418
|
+
"__schema": "ExportSchema",
|
|
401
419
|
"location": {
|
|
402
|
-
"filePath": "
|
|
403
|
-
"line":
|
|
404
|
-
"character":
|
|
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
|
-
"
|
|
409
|
-
"__schema": "
|
|
425
|
+
"exportNode": {
|
|
426
|
+
"__schema": "TypeSchema",
|
|
410
427
|
"location": {
|
|
411
428
|
"filePath": "prettier.main.runtime.ts",
|
|
412
429
|
"line": 14,
|
|
413
|
-
"character":
|
|
430
|
+
"character": 1
|
|
414
431
|
},
|
|
415
|
-
"
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
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":
|
|
446
|
+
"line": 18,
|
|
428
447
|
"character": 3
|
|
429
448
|
},
|
|
430
|
-
"
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
"
|
|
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
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
16
|
-
"@teambit/formatter": "1.0.
|
|
17
|
-
"@teambit/logger": "0.0.
|
|
18
|
-
"@teambit/cli": "0.0.
|
|
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.
|
|
20
|
+
"@teambit/workspace-config-files": "1.0.259"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/prettier": "2.7.3",
|