@teambit/env 1.0.413 → 1.0.414
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/env-template/public/{182.65d1bee8a662e0f46f74.js → 182.edf42133351d95acdb41.js} +32 -26
- package/artifacts/env-template/public/{480.59b5c57cceca1ed037cc.js → 453.042e4d7752cf6b24cd7e.js} +1 -1
- package/artifacts/env-template/public/{231.a9d19a322be995ff31c4.js → 871.9a7e9061377f8f261632.js} +9 -7
- package/artifacts/env-template/public/{902.a862e2e8b324777288d0.js → 902.9cae47e5fc553373dae5.js} +3 -3
- package/artifacts/env-template/public/assets-manifest.json +20 -20
- package/artifacts/env-template/public/{compositions.f1793fc8506004589afc.js → compositions.62e5e547089b84d361d5.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.7afad25e03fd6e6b4e8b.js → overview.a504b0c1f5eab4e34ad8.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.918c96ab3128303a1685.js → peers.43e7c98fca5c64d6017f.js} +1 -1
- package/artifacts/env-template/public/{preview-root.8745b2418be1a814087e.js → preview-root.2182a25a76a310169ca9.js} +1 -1
- package/artifacts/env-template/public/static/css/{182.e23a72c8.css → 182.3571d7f7.css} +1 -1
- package/artifacts/env-template/public/static/css/preview-root.ebd38a13.css +1 -0
- package/artifacts/preview/teambit_envs_env-preview.js +1 -1
- package/artifacts/schema.json +242 -100
- package/dist/env.env.d.ts +5 -1
- package/dist/env.env.js +38 -1
- package/dist/env.env.js.map +1 -1
- package/dist/env.main.runtime.d.ts +2 -1
- package/dist/env.main.runtime.js +10 -3
- package/dist/env.main.runtime.js.map +1 -1
- package/dist/{preview-1727148128138.js → preview-1727262607766.js} +2 -2
- package/package.json +10 -7
- package/artifacts/env-template/public/static/css/preview-root.d08ed618.css +0 -1
- /package/{compositions-1727148128138.js → compositions-1727262607766.js} +0 -0
- /package/{overview-1727148128138.js → overview-1727262607766.js} +0 -0
package/artifacts/schema.json
CHANGED
@@ -26,14 +26,14 @@
|
|
26
26
|
"__schema": "ClassSchema",
|
27
27
|
"location": {
|
28
28
|
"filePath": "env.env.ts",
|
29
|
-
"line":
|
29
|
+
"line": 14,
|
30
30
|
"character": 1
|
31
31
|
},
|
32
32
|
"doc": {
|
33
33
|
"__schema": "DocSchema",
|
34
34
|
"location": {
|
35
35
|
"filePath": "env.env.ts",
|
36
|
-
"line":
|
36
|
+
"line": 11,
|
37
37
|
"character": 1
|
38
38
|
},
|
39
39
|
"raw": "/**\n * a component environment built for Envs.\n */",
|
@@ -47,17 +47,17 @@
|
|
47
47
|
"__schema": "ConstructorSchema",
|
48
48
|
"location": {
|
49
49
|
"filePath": "env.env.ts",
|
50
|
-
"line":
|
50
|
+
"line": 15,
|
51
51
|
"character": 3
|
52
52
|
},
|
53
|
-
"signature": "constructor EnvEnv(aspectEnv: AspectEnv): EnvEnv",
|
53
|
+
"signature": "constructor EnvEnv(aspectEnv: AspectEnv, aspectLoader: AspectLoaderMain): EnvEnv",
|
54
54
|
"name": "constructor",
|
55
55
|
"params": [
|
56
56
|
{
|
57
57
|
"__schema": "ParameterSchema",
|
58
58
|
"location": {
|
59
59
|
"filePath": "env.env.ts",
|
60
|
-
"line":
|
60
|
+
"line": 15,
|
61
61
|
"character": 15
|
62
62
|
},
|
63
63
|
"name": "aspectEnv",
|
@@ -65,20 +65,40 @@
|
|
65
65
|
"__schema": "TypeRefSchema",
|
66
66
|
"location": {
|
67
67
|
"filePath": "env.env.ts",
|
68
|
-
"line":
|
68
|
+
"line": 15,
|
69
69
|
"character": 34
|
70
70
|
},
|
71
71
|
"name": "AspectEnv"
|
72
72
|
},
|
73
73
|
"isOptional": false,
|
74
74
|
"isSpread": false
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"__schema": "ParameterSchema",
|
78
|
+
"location": {
|
79
|
+
"filePath": "env.env.ts",
|
80
|
+
"line": 15,
|
81
|
+
"character": 45
|
82
|
+
},
|
83
|
+
"name": "aspectLoader",
|
84
|
+
"type": {
|
85
|
+
"__schema": "TypeRefSchema",
|
86
|
+
"location": {
|
87
|
+
"filePath": "env.env.ts",
|
88
|
+
"line": 15,
|
89
|
+
"character": 67
|
90
|
+
},
|
91
|
+
"name": "AspectLoaderMain"
|
92
|
+
},
|
93
|
+
"isOptional": false,
|
94
|
+
"isSpread": false
|
75
95
|
}
|
76
96
|
],
|
77
97
|
"returnType": {
|
78
98
|
"__schema": "ThisTypeSchema",
|
79
99
|
"location": {
|
80
100
|
"filePath": "env.env.ts",
|
81
|
-
"line":
|
101
|
+
"line": 14,
|
82
102
|
"character": 1
|
83
103
|
},
|
84
104
|
"name": "EnvEnv"
|
@@ -89,7 +109,7 @@
|
|
89
109
|
"__schema": "VariableLikeSchema",
|
90
110
|
"location": {
|
91
111
|
"filePath": "env.env.ts",
|
92
|
-
"line":
|
112
|
+
"line": 17,
|
93
113
|
"character": 3
|
94
114
|
},
|
95
115
|
"signature": "(property) EnvEnv.icon: string",
|
@@ -98,7 +118,7 @@
|
|
98
118
|
"__schema": "InferenceTypeSchema",
|
99
119
|
"location": {
|
100
120
|
"filePath": "env.env.ts",
|
101
|
-
"line":
|
121
|
+
"line": 17,
|
102
122
|
"character": 3
|
103
123
|
},
|
104
124
|
"type": "string"
|
@@ -110,7 +130,7 @@
|
|
110
130
|
"__schema": "FunctionLikeSchema",
|
111
131
|
"location": {
|
112
132
|
"filePath": "env.env.ts",
|
113
|
-
"line":
|
133
|
+
"line": 19,
|
114
134
|
"character": 3
|
115
135
|
},
|
116
136
|
"signature": "(method) EnvEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
|
@@ -120,7 +140,7 @@
|
|
120
140
|
"__schema": "InferenceTypeSchema",
|
121
141
|
"location": {
|
122
142
|
"filePath": "env.env.ts",
|
123
|
-
"line":
|
143
|
+
"line": 19,
|
124
144
|
"character": 3
|
125
145
|
},
|
126
146
|
"type": "Promise<{\n type: string;\n}>"
|
@@ -133,7 +153,49 @@
|
|
133
153
|
"__schema": "FunctionLikeSchema",
|
134
154
|
"location": {
|
135
155
|
"filePath": "env.env.ts",
|
136
|
-
"line":
|
156
|
+
"line": 25,
|
157
|
+
"character": 3
|
158
|
+
},
|
159
|
+
"signature": "(method) EnvEnv.getNpmIgnore(context?: GetNpmIgnoreContext): string[]",
|
160
|
+
"name": "getNpmIgnore",
|
161
|
+
"params": [
|
162
|
+
{
|
163
|
+
"__schema": "ParameterSchema",
|
164
|
+
"location": {
|
165
|
+
"filePath": "env.env.ts",
|
166
|
+
"line": 25,
|
167
|
+
"character": 16
|
168
|
+
},
|
169
|
+
"name": "context",
|
170
|
+
"type": {
|
171
|
+
"__schema": "TypeRefSchema",
|
172
|
+
"location": {
|
173
|
+
"filePath": "env.env.ts",
|
174
|
+
"line": 25,
|
175
|
+
"character": 26
|
176
|
+
},
|
177
|
+
"name": "GetNpmIgnoreContext"
|
178
|
+
},
|
179
|
+
"isOptional": true,
|
180
|
+
"isSpread": false
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"returnType": {
|
184
|
+
"__schema": "InferenceTypeSchema",
|
185
|
+
"location": {
|
186
|
+
"filePath": "env.env.ts",
|
187
|
+
"line": 25,
|
188
|
+
"character": 3
|
189
|
+
},
|
190
|
+
"type": "string[]"
|
191
|
+
},
|
192
|
+
"modifiers": []
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"__schema": "FunctionLikeSchema",
|
196
|
+
"location": {
|
197
|
+
"filePath": "env.env.ts",
|
198
|
+
"line": 48,
|
137
199
|
"character": 3
|
138
200
|
},
|
139
201
|
"signature": "(method) EnvEnv.getPackageJsonProps(): PackageJsonProps",
|
@@ -143,7 +205,7 @@
|
|
143
205
|
"__schema": "TypeRefSchema",
|
144
206
|
"location": {
|
145
207
|
"filePath": "env.env.ts",
|
146
|
-
"line":
|
208
|
+
"line": 48,
|
147
209
|
"character": 3
|
148
210
|
},
|
149
211
|
"name": "PackageJsonProps",
|
@@ -158,7 +220,7 @@
|
|
158
220
|
"__schema": "FunctionLikeSchema",
|
159
221
|
"location": {
|
160
222
|
"filePath": "env.env.ts",
|
161
|
-
"line":
|
223
|
+
"line": 54,
|
162
224
|
"character": 3
|
163
225
|
},
|
164
226
|
"signature": "(method) EnvEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
|
@@ -168,7 +230,7 @@
|
|
168
230
|
"__schema": "InferenceTypeSchema",
|
169
231
|
"location": {
|
170
232
|
"filePath": "env.env.ts",
|
171
|
-
"line":
|
233
|
+
"line": 54,
|
172
234
|
"character": 3
|
173
235
|
},
|
174
236
|
"type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
|
@@ -193,7 +255,7 @@
|
|
193
255
|
"__schema": "ClassSchema",
|
194
256
|
"location": {
|
195
257
|
"filePath": "env.main.runtime.ts",
|
196
|
-
"line":
|
258
|
+
"line": 8,
|
197
259
|
"character": 1
|
198
260
|
},
|
199
261
|
"signature": "class EnvMain",
|
@@ -203,7 +265,7 @@
|
|
203
265
|
"__schema": "ConstructorSchema",
|
204
266
|
"location": {
|
205
267
|
"filePath": "env.main.runtime.ts",
|
206
|
-
"line":
|
268
|
+
"line": 9,
|
207
269
|
"character": 3
|
208
270
|
},
|
209
271
|
"signature": "constructor EnvMain(envEnv: EnvEnv, envs: EnvsMain): EnvMain",
|
@@ -213,7 +275,7 @@
|
|
213
275
|
"__schema": "ParameterSchema",
|
214
276
|
"location": {
|
215
277
|
"filePath": "env.main.runtime.ts",
|
216
|
-
"line":
|
278
|
+
"line": 9,
|
217
279
|
"character": 15
|
218
280
|
},
|
219
281
|
"name": "envEnv",
|
@@ -221,7 +283,7 @@
|
|
221
283
|
"__schema": "TypeRefSchema",
|
222
284
|
"location": {
|
223
285
|
"filePath": "env.main.runtime.ts",
|
224
|
-
"line":
|
286
|
+
"line": 9,
|
225
287
|
"character": 32
|
226
288
|
},
|
227
289
|
"name": "EnvEnv"
|
@@ -233,7 +295,7 @@
|
|
233
295
|
"__schema": "ParameterSchema",
|
234
296
|
"location": {
|
235
297
|
"filePath": "env.main.runtime.ts",
|
236
|
-
"line":
|
298
|
+
"line": 9,
|
237
299
|
"character": 40
|
238
300
|
},
|
239
301
|
"name": "envs",
|
@@ -241,7 +303,7 @@
|
|
241
303
|
"__schema": "TypeRefSchema",
|
242
304
|
"location": {
|
243
305
|
"filePath": "env.main.runtime.ts",
|
244
|
-
"line":
|
306
|
+
"line": 9,
|
245
307
|
"character": 54
|
246
308
|
},
|
247
309
|
"name": "EnvsMain"
|
@@ -254,7 +316,7 @@
|
|
254
316
|
"__schema": "ThisTypeSchema",
|
255
317
|
"location": {
|
256
318
|
"filePath": "env.main.runtime.ts",
|
257
|
-
"line":
|
319
|
+
"line": 8,
|
258
320
|
"character": 1
|
259
321
|
},
|
260
322
|
"name": "EnvMain"
|
@@ -265,14 +327,14 @@
|
|
265
327
|
"__schema": "FunctionLikeSchema",
|
266
328
|
"location": {
|
267
329
|
"filePath": "env.main.runtime.ts",
|
268
|
-
"line":
|
330
|
+
"line": 14,
|
269
331
|
"character": 3
|
270
332
|
},
|
271
333
|
"doc": {
|
272
334
|
"__schema": "DocSchema",
|
273
335
|
"location": {
|
274
336
|
"filePath": "env.main.runtime.ts",
|
275
|
-
"line":
|
337
|
+
"line": 11,
|
276
338
|
"character": 3
|
277
339
|
},
|
278
340
|
"raw": "/**\n * compose your own aspect environment.\n */",
|
@@ -286,7 +348,7 @@
|
|
286
348
|
"__schema": "ParameterSchema",
|
287
349
|
"location": {
|
288
350
|
"filePath": "env.main.runtime.ts",
|
289
|
-
"line":
|
351
|
+
"line": 14,
|
290
352
|
"character": 11
|
291
353
|
},
|
292
354
|
"name": "transformers",
|
@@ -294,14 +356,14 @@
|
|
294
356
|
"__schema": "TypeArraySchema",
|
295
357
|
"location": {
|
296
358
|
"filePath": "env.main.runtime.ts",
|
297
|
-
"line":
|
359
|
+
"line": 14,
|
298
360
|
"character": 25
|
299
361
|
},
|
300
362
|
"type": {
|
301
363
|
"__schema": "TypeRefSchema",
|
302
364
|
"location": {
|
303
365
|
"filePath": "env.main.runtime.ts",
|
304
|
-
"line":
|
366
|
+
"line": 14,
|
305
367
|
"character": 25
|
306
368
|
},
|
307
369
|
"name": "EnvTransformer"
|
@@ -315,7 +377,7 @@
|
|
315
377
|
"__schema": "ParameterSchema",
|
316
378
|
"location": {
|
317
379
|
"filePath": "env.main.runtime.ts",
|
318
|
-
"line":
|
380
|
+
"line": 14,
|
319
381
|
"character": 48
|
320
382
|
},
|
321
383
|
"name": "targetEnv",
|
@@ -323,7 +385,7 @@
|
|
323
385
|
"__schema": "TypeRefSchema",
|
324
386
|
"location": {
|
325
387
|
"filePath": "env.main.runtime.ts",
|
326
|
-
"line":
|
388
|
+
"line": 14,
|
327
389
|
"character": 59
|
328
390
|
},
|
329
391
|
"name": "Environment"
|
@@ -337,7 +399,7 @@
|
|
337
399
|
"__schema": "TypeRefSchema",
|
338
400
|
"location": {
|
339
401
|
"filePath": "env.main.runtime.ts",
|
340
|
-
"line":
|
402
|
+
"line": 14,
|
341
403
|
"character": 3
|
342
404
|
},
|
343
405
|
"name": "Environment",
|
@@ -352,7 +414,7 @@
|
|
352
414
|
"__schema": "VariableLikeSchema",
|
353
415
|
"location": {
|
354
416
|
"filePath": "env.main.runtime.ts",
|
355
|
-
"line":
|
417
|
+
"line": 18,
|
356
418
|
"character": 3
|
357
419
|
},
|
358
420
|
"signature": "(property) EnvMain.slots: never[]",
|
@@ -361,7 +423,7 @@
|
|
361
423
|
"__schema": "InferenceTypeSchema",
|
362
424
|
"location": {
|
363
425
|
"filePath": "env.main.runtime.ts",
|
364
|
-
"line":
|
426
|
+
"line": 18,
|
365
427
|
"character": 3
|
366
428
|
},
|
367
429
|
"type": "never[]"
|
@@ -373,7 +435,7 @@
|
|
373
435
|
"__schema": "VariableLikeSchema",
|
374
436
|
"location": {
|
375
437
|
"filePath": "env.main.runtime.ts",
|
376
|
-
"line":
|
438
|
+
"line": 19,
|
377
439
|
"character": 3
|
378
440
|
},
|
379
441
|
"signature": "(property) EnvMain.dependencies: Aspect[]",
|
@@ -382,19 +444,19 @@
|
|
382
444
|
"__schema": "InferenceTypeSchema",
|
383
445
|
"location": {
|
384
446
|
"filePath": "env.main.runtime.ts",
|
385
|
-
"line":
|
447
|
+
"line": 19,
|
386
448
|
"character": 3
|
387
449
|
},
|
388
450
|
"type": "Aspect[]"
|
389
451
|
},
|
390
452
|
"isOptional": true,
|
391
|
-
"defaultValue": "[AspectAspect, EnvsAspect]"
|
453
|
+
"defaultValue": "[AspectAspect, EnvsAspect, AspectLoaderAspect]"
|
392
454
|
},
|
393
455
|
{
|
394
456
|
"__schema": "VariableLikeSchema",
|
395
457
|
"location": {
|
396
458
|
"filePath": "env.main.runtime.ts",
|
397
|
-
"line":
|
459
|
+
"line": 20,
|
398
460
|
"character": 3
|
399
461
|
},
|
400
462
|
"signature": "(property) EnvMain.runtime: RuntimeDefinition",
|
@@ -403,7 +465,7 @@
|
|
403
465
|
"__schema": "InferenceTypeSchema",
|
404
466
|
"location": {
|
405
467
|
"filePath": "env.main.runtime.ts",
|
406
|
-
"line":
|
468
|
+
"line": 20,
|
407
469
|
"character": 3
|
408
470
|
},
|
409
471
|
"type": "RuntimeDefinition"
|
@@ -415,34 +477,34 @@
|
|
415
477
|
"__schema": "FunctionLikeSchema",
|
416
478
|
"location": {
|
417
479
|
"filePath": "env.main.runtime.ts",
|
418
|
-
"line":
|
480
|
+
"line": 21,
|
419
481
|
"character": 3
|
420
482
|
},
|
421
|
-
"signature": "(method) EnvMain.provider([aspectAspect, envs]: [AspectMain, EnvsMain]): Promise<EnvMain>",
|
483
|
+
"signature": "(method) EnvMain.provider([aspectAspect, envs, aspectLoader]: [AspectMain, EnvsMain, AspectLoaderMain]): Promise<EnvMain>",
|
422
484
|
"name": "provider",
|
423
485
|
"params": [
|
424
486
|
{
|
425
487
|
"__schema": "ParameterSchema",
|
426
488
|
"location": {
|
427
489
|
"filePath": "env.main.runtime.ts",
|
428
|
-
"line":
|
490
|
+
"line": 21,
|
429
491
|
"character": 25
|
430
492
|
},
|
431
|
-
"name": "[ aspectAspect, envs ]",
|
493
|
+
"name": "[ aspectAspect, envs, aspectLoader ]",
|
432
494
|
"type": {
|
433
495
|
"__schema": "TupleTypeSchema",
|
434
496
|
"location": {
|
435
497
|
"filePath": "env.main.runtime.ts",
|
436
|
-
"line":
|
437
|
-
"character":
|
498
|
+
"line": 21,
|
499
|
+
"character": 61
|
438
500
|
},
|
439
501
|
"elements": [
|
440
502
|
{
|
441
503
|
"__schema": "TypeRefSchema",
|
442
504
|
"location": {
|
443
505
|
"filePath": "env.main.runtime.ts",
|
444
|
-
"line":
|
445
|
-
"character":
|
506
|
+
"line": 21,
|
507
|
+
"character": 62
|
446
508
|
},
|
447
509
|
"name": "AspectMain"
|
448
510
|
},
|
@@ -450,10 +512,19 @@
|
|
450
512
|
"__schema": "TypeRefSchema",
|
451
513
|
"location": {
|
452
514
|
"filePath": "env.main.runtime.ts",
|
453
|
-
"line":
|
454
|
-
"character":
|
515
|
+
"line": 21,
|
516
|
+
"character": 74
|
455
517
|
},
|
456
518
|
"name": "EnvsMain"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"__schema": "TypeRefSchema",
|
522
|
+
"location": {
|
523
|
+
"filePath": "env.main.runtime.ts",
|
524
|
+
"line": 21,
|
525
|
+
"character": 84
|
526
|
+
},
|
527
|
+
"name": "AspectLoaderMain"
|
457
528
|
}
|
458
529
|
]
|
459
530
|
},
|
@@ -465,7 +536,7 @@
|
|
465
536
|
"__schema": "InferenceTypeSchema",
|
466
537
|
"location": {
|
467
538
|
"filePath": "env.main.runtime.ts",
|
468
|
-
"line":
|
539
|
+
"line": 21,
|
469
540
|
"character": 3
|
470
541
|
},
|
471
542
|
"type": "Promise<EnvMain>"
|
@@ -542,7 +613,7 @@
|
|
542
613
|
"__schema": "VariableLikeSchema",
|
543
614
|
"location": {
|
544
615
|
"filePath": "env.env.ts",
|
545
|
-
"line":
|
616
|
+
"line": 9,
|
546
617
|
"character": 14
|
547
618
|
},
|
548
619
|
"signature": "const EnvEnvType: \"env\"",
|
@@ -551,7 +622,7 @@
|
|
551
622
|
"__schema": "InferenceTypeSchema",
|
552
623
|
"location": {
|
553
624
|
"filePath": "env.env.ts",
|
554
|
-
"line":
|
625
|
+
"line": 9,
|
555
626
|
"character": 14
|
556
627
|
},
|
557
628
|
"type": "\"env\""
|
@@ -563,14 +634,14 @@
|
|
563
634
|
"__schema": "ClassSchema",
|
564
635
|
"location": {
|
565
636
|
"filePath": "env.env.ts",
|
566
|
-
"line":
|
637
|
+
"line": 14,
|
567
638
|
"character": 1
|
568
639
|
},
|
569
640
|
"doc": {
|
570
641
|
"__schema": "DocSchema",
|
571
642
|
"location": {
|
572
643
|
"filePath": "env.env.ts",
|
573
|
-
"line":
|
644
|
+
"line": 11,
|
574
645
|
"character": 1
|
575
646
|
},
|
576
647
|
"raw": "/**\n * a component environment built for Envs.\n */",
|
@@ -584,17 +655,17 @@
|
|
584
655
|
"__schema": "ConstructorSchema",
|
585
656
|
"location": {
|
586
657
|
"filePath": "env.env.ts",
|
587
|
-
"line":
|
658
|
+
"line": 15,
|
588
659
|
"character": 3
|
589
660
|
},
|
590
|
-
"signature": "constructor EnvEnv(aspectEnv: AspectEnv): EnvEnv",
|
661
|
+
"signature": "constructor EnvEnv(aspectEnv: AspectEnv, aspectLoader: AspectLoaderMain): EnvEnv",
|
591
662
|
"name": "constructor",
|
592
663
|
"params": [
|
593
664
|
{
|
594
665
|
"__schema": "ParameterSchema",
|
595
666
|
"location": {
|
596
667
|
"filePath": "env.env.ts",
|
597
|
-
"line":
|
668
|
+
"line": 15,
|
598
669
|
"character": 15
|
599
670
|
},
|
600
671
|
"name": "aspectEnv",
|
@@ -602,20 +673,40 @@
|
|
602
673
|
"__schema": "TypeRefSchema",
|
603
674
|
"location": {
|
604
675
|
"filePath": "env.env.ts",
|
605
|
-
"line":
|
676
|
+
"line": 15,
|
606
677
|
"character": 34
|
607
678
|
},
|
608
679
|
"name": "AspectEnv"
|
609
680
|
},
|
610
681
|
"isOptional": false,
|
611
682
|
"isSpread": false
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"__schema": "ParameterSchema",
|
686
|
+
"location": {
|
687
|
+
"filePath": "env.env.ts",
|
688
|
+
"line": 15,
|
689
|
+
"character": 45
|
690
|
+
},
|
691
|
+
"name": "aspectLoader",
|
692
|
+
"type": {
|
693
|
+
"__schema": "TypeRefSchema",
|
694
|
+
"location": {
|
695
|
+
"filePath": "env.env.ts",
|
696
|
+
"line": 15,
|
697
|
+
"character": 67
|
698
|
+
},
|
699
|
+
"name": "AspectLoaderMain"
|
700
|
+
},
|
701
|
+
"isOptional": false,
|
702
|
+
"isSpread": false
|
612
703
|
}
|
613
704
|
],
|
614
705
|
"returnType": {
|
615
706
|
"__schema": "ThisTypeSchema",
|
616
707
|
"location": {
|
617
708
|
"filePath": "env.env.ts",
|
618
|
-
"line":
|
709
|
+
"line": 14,
|
619
710
|
"character": 1
|
620
711
|
},
|
621
712
|
"name": "EnvEnv"
|
@@ -626,7 +717,7 @@
|
|
626
717
|
"__schema": "VariableLikeSchema",
|
627
718
|
"location": {
|
628
719
|
"filePath": "env.env.ts",
|
629
|
-
"line":
|
720
|
+
"line": 17,
|
630
721
|
"character": 3
|
631
722
|
},
|
632
723
|
"signature": "(property) EnvEnv.icon: string",
|
@@ -635,7 +726,7 @@
|
|
635
726
|
"__schema": "InferenceTypeSchema",
|
636
727
|
"location": {
|
637
728
|
"filePath": "env.env.ts",
|
638
|
-
"line":
|
729
|
+
"line": 17,
|
639
730
|
"character": 3
|
640
731
|
},
|
641
732
|
"type": "string"
|
@@ -647,7 +738,7 @@
|
|
647
738
|
"__schema": "FunctionLikeSchema",
|
648
739
|
"location": {
|
649
740
|
"filePath": "env.env.ts",
|
650
|
-
"line":
|
741
|
+
"line": 19,
|
651
742
|
"character": 3
|
652
743
|
},
|
653
744
|
"signature": "(method) EnvEnv.__getDescriptor(): Promise<{\n type: string;\n}>",
|
@@ -657,7 +748,7 @@
|
|
657
748
|
"__schema": "InferenceTypeSchema",
|
658
749
|
"location": {
|
659
750
|
"filePath": "env.env.ts",
|
660
|
-
"line":
|
751
|
+
"line": 19,
|
661
752
|
"character": 3
|
662
753
|
},
|
663
754
|
"type": "Promise<{\n type: string;\n}>"
|
@@ -670,7 +761,49 @@
|
|
670
761
|
"__schema": "FunctionLikeSchema",
|
671
762
|
"location": {
|
672
763
|
"filePath": "env.env.ts",
|
673
|
-
"line":
|
764
|
+
"line": 25,
|
765
|
+
"character": 3
|
766
|
+
},
|
767
|
+
"signature": "(method) EnvEnv.getNpmIgnore(context?: GetNpmIgnoreContext): string[]",
|
768
|
+
"name": "getNpmIgnore",
|
769
|
+
"params": [
|
770
|
+
{
|
771
|
+
"__schema": "ParameterSchema",
|
772
|
+
"location": {
|
773
|
+
"filePath": "env.env.ts",
|
774
|
+
"line": 25,
|
775
|
+
"character": 16
|
776
|
+
},
|
777
|
+
"name": "context",
|
778
|
+
"type": {
|
779
|
+
"__schema": "TypeRefSchema",
|
780
|
+
"location": {
|
781
|
+
"filePath": "env.env.ts",
|
782
|
+
"line": 25,
|
783
|
+
"character": 26
|
784
|
+
},
|
785
|
+
"name": "GetNpmIgnoreContext"
|
786
|
+
},
|
787
|
+
"isOptional": true,
|
788
|
+
"isSpread": false
|
789
|
+
}
|
790
|
+
],
|
791
|
+
"returnType": {
|
792
|
+
"__schema": "InferenceTypeSchema",
|
793
|
+
"location": {
|
794
|
+
"filePath": "env.env.ts",
|
795
|
+
"line": 25,
|
796
|
+
"character": 3
|
797
|
+
},
|
798
|
+
"type": "string[]"
|
799
|
+
},
|
800
|
+
"modifiers": []
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"__schema": "FunctionLikeSchema",
|
804
|
+
"location": {
|
805
|
+
"filePath": "env.env.ts",
|
806
|
+
"line": 48,
|
674
807
|
"character": 3
|
675
808
|
},
|
676
809
|
"signature": "(method) EnvEnv.getPackageJsonProps(): PackageJsonProps",
|
@@ -680,7 +813,7 @@
|
|
680
813
|
"__schema": "TypeRefSchema",
|
681
814
|
"location": {
|
682
815
|
"filePath": "env.env.ts",
|
683
|
-
"line":
|
816
|
+
"line": 48,
|
684
817
|
"character": 3
|
685
818
|
},
|
686
819
|
"name": "PackageJsonProps",
|
@@ -695,7 +828,7 @@
|
|
695
828
|
"__schema": "FunctionLikeSchema",
|
696
829
|
"location": {
|
697
830
|
"filePath": "env.env.ts",
|
698
|
-
"line":
|
831
|
+
"line": 54,
|
699
832
|
"character": 3
|
700
833
|
},
|
701
834
|
"signature": "(method) EnvEnv.getPreviewConfig(): {\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}",
|
@@ -705,7 +838,7 @@
|
|
705
838
|
"__schema": "InferenceTypeSchema",
|
706
839
|
"location": {
|
707
840
|
"filePath": "env.env.ts",
|
708
|
-
"line":
|
841
|
+
"line": 54,
|
709
842
|
"character": 3
|
710
843
|
},
|
711
844
|
"type": "{\n strategyName: PreviewStrategyName;\n splitComponentBundle: boolean;\n}"
|
@@ -731,7 +864,7 @@
|
|
731
864
|
"__schema": "ClassSchema",
|
732
865
|
"location": {
|
733
866
|
"filePath": "env.main.runtime.ts",
|
734
|
-
"line":
|
867
|
+
"line": 8,
|
735
868
|
"character": 1
|
736
869
|
},
|
737
870
|
"signature": "class EnvMain",
|
@@ -741,7 +874,7 @@
|
|
741
874
|
"__schema": "ConstructorSchema",
|
742
875
|
"location": {
|
743
876
|
"filePath": "env.main.runtime.ts",
|
744
|
-
"line":
|
877
|
+
"line": 9,
|
745
878
|
"character": 3
|
746
879
|
},
|
747
880
|
"signature": "constructor EnvMain(envEnv: EnvEnv, envs: EnvsMain): EnvMain",
|
@@ -751,7 +884,7 @@
|
|
751
884
|
"__schema": "ParameterSchema",
|
752
885
|
"location": {
|
753
886
|
"filePath": "env.main.runtime.ts",
|
754
|
-
"line":
|
887
|
+
"line": 9,
|
755
888
|
"character": 15
|
756
889
|
},
|
757
890
|
"name": "envEnv",
|
@@ -759,7 +892,7 @@
|
|
759
892
|
"__schema": "TypeRefSchema",
|
760
893
|
"location": {
|
761
894
|
"filePath": "env.main.runtime.ts",
|
762
|
-
"line":
|
895
|
+
"line": 9,
|
763
896
|
"character": 32
|
764
897
|
},
|
765
898
|
"name": "EnvEnv"
|
@@ -771,7 +904,7 @@
|
|
771
904
|
"__schema": "ParameterSchema",
|
772
905
|
"location": {
|
773
906
|
"filePath": "env.main.runtime.ts",
|
774
|
-
"line":
|
907
|
+
"line": 9,
|
775
908
|
"character": 40
|
776
909
|
},
|
777
910
|
"name": "envs",
|
@@ -779,7 +912,7 @@
|
|
779
912
|
"__schema": "TypeRefSchema",
|
780
913
|
"location": {
|
781
914
|
"filePath": "env.main.runtime.ts",
|
782
|
-
"line":
|
915
|
+
"line": 9,
|
783
916
|
"character": 54
|
784
917
|
},
|
785
918
|
"name": "EnvsMain"
|
@@ -792,7 +925,7 @@
|
|
792
925
|
"__schema": "ThisTypeSchema",
|
793
926
|
"location": {
|
794
927
|
"filePath": "env.main.runtime.ts",
|
795
|
-
"line":
|
928
|
+
"line": 8,
|
796
929
|
"character": 1
|
797
930
|
},
|
798
931
|
"name": "EnvMain"
|
@@ -803,14 +936,14 @@
|
|
803
936
|
"__schema": "FunctionLikeSchema",
|
804
937
|
"location": {
|
805
938
|
"filePath": "env.main.runtime.ts",
|
806
|
-
"line":
|
939
|
+
"line": 14,
|
807
940
|
"character": 3
|
808
941
|
},
|
809
942
|
"doc": {
|
810
943
|
"__schema": "DocSchema",
|
811
944
|
"location": {
|
812
945
|
"filePath": "env.main.runtime.ts",
|
813
|
-
"line":
|
946
|
+
"line": 11,
|
814
947
|
"character": 3
|
815
948
|
},
|
816
949
|
"raw": "/**\n * compose your own aspect environment.\n */",
|
@@ -824,7 +957,7 @@
|
|
824
957
|
"__schema": "ParameterSchema",
|
825
958
|
"location": {
|
826
959
|
"filePath": "env.main.runtime.ts",
|
827
|
-
"line":
|
960
|
+
"line": 14,
|
828
961
|
"character": 11
|
829
962
|
},
|
830
963
|
"name": "transformers",
|
@@ -832,14 +965,14 @@
|
|
832
965
|
"__schema": "TypeArraySchema",
|
833
966
|
"location": {
|
834
967
|
"filePath": "env.main.runtime.ts",
|
835
|
-
"line":
|
968
|
+
"line": 14,
|
836
969
|
"character": 25
|
837
970
|
},
|
838
971
|
"type": {
|
839
972
|
"__schema": "TypeRefSchema",
|
840
973
|
"location": {
|
841
974
|
"filePath": "env.main.runtime.ts",
|
842
|
-
"line":
|
975
|
+
"line": 14,
|
843
976
|
"character": 25
|
844
977
|
},
|
845
978
|
"name": "EnvTransformer"
|
@@ -853,7 +986,7 @@
|
|
853
986
|
"__schema": "ParameterSchema",
|
854
987
|
"location": {
|
855
988
|
"filePath": "env.main.runtime.ts",
|
856
|
-
"line":
|
989
|
+
"line": 14,
|
857
990
|
"character": 48
|
858
991
|
},
|
859
992
|
"name": "targetEnv",
|
@@ -861,7 +994,7 @@
|
|
861
994
|
"__schema": "TypeRefSchema",
|
862
995
|
"location": {
|
863
996
|
"filePath": "env.main.runtime.ts",
|
864
|
-
"line":
|
997
|
+
"line": 14,
|
865
998
|
"character": 59
|
866
999
|
},
|
867
1000
|
"name": "Environment"
|
@@ -875,7 +1008,7 @@
|
|
875
1008
|
"__schema": "TypeRefSchema",
|
876
1009
|
"location": {
|
877
1010
|
"filePath": "env.main.runtime.ts",
|
878
|
-
"line":
|
1011
|
+
"line": 14,
|
879
1012
|
"character": 3
|
880
1013
|
},
|
881
1014
|
"name": "Environment",
|
@@ -890,7 +1023,7 @@
|
|
890
1023
|
"__schema": "VariableLikeSchema",
|
891
1024
|
"location": {
|
892
1025
|
"filePath": "env.main.runtime.ts",
|
893
|
-
"line":
|
1026
|
+
"line": 18,
|
894
1027
|
"character": 3
|
895
1028
|
},
|
896
1029
|
"signature": "(property) EnvMain.slots: never[]",
|
@@ -899,7 +1032,7 @@
|
|
899
1032
|
"__schema": "InferenceTypeSchema",
|
900
1033
|
"location": {
|
901
1034
|
"filePath": "env.main.runtime.ts",
|
902
|
-
"line":
|
1035
|
+
"line": 18,
|
903
1036
|
"character": 3
|
904
1037
|
},
|
905
1038
|
"type": "never[]"
|
@@ -911,7 +1044,7 @@
|
|
911
1044
|
"__schema": "VariableLikeSchema",
|
912
1045
|
"location": {
|
913
1046
|
"filePath": "env.main.runtime.ts",
|
914
|
-
"line":
|
1047
|
+
"line": 19,
|
915
1048
|
"character": 3
|
916
1049
|
},
|
917
1050
|
"signature": "(property) EnvMain.dependencies: Aspect[]",
|
@@ -920,19 +1053,19 @@
|
|
920
1053
|
"__schema": "InferenceTypeSchema",
|
921
1054
|
"location": {
|
922
1055
|
"filePath": "env.main.runtime.ts",
|
923
|
-
"line":
|
1056
|
+
"line": 19,
|
924
1057
|
"character": 3
|
925
1058
|
},
|
926
1059
|
"type": "Aspect[]"
|
927
1060
|
},
|
928
1061
|
"isOptional": true,
|
929
|
-
"defaultValue": "[AspectAspect, EnvsAspect]"
|
1062
|
+
"defaultValue": "[AspectAspect, EnvsAspect, AspectLoaderAspect]"
|
930
1063
|
},
|
931
1064
|
{
|
932
1065
|
"__schema": "VariableLikeSchema",
|
933
1066
|
"location": {
|
934
1067
|
"filePath": "env.main.runtime.ts",
|
935
|
-
"line":
|
1068
|
+
"line": 20,
|
936
1069
|
"character": 3
|
937
1070
|
},
|
938
1071
|
"signature": "(property) EnvMain.runtime: RuntimeDefinition",
|
@@ -941,7 +1074,7 @@
|
|
941
1074
|
"__schema": "InferenceTypeSchema",
|
942
1075
|
"location": {
|
943
1076
|
"filePath": "env.main.runtime.ts",
|
944
|
-
"line":
|
1077
|
+
"line": 20,
|
945
1078
|
"character": 3
|
946
1079
|
},
|
947
1080
|
"type": "RuntimeDefinition"
|
@@ -953,34 +1086,34 @@
|
|
953
1086
|
"__schema": "FunctionLikeSchema",
|
954
1087
|
"location": {
|
955
1088
|
"filePath": "env.main.runtime.ts",
|
956
|
-
"line":
|
1089
|
+
"line": 21,
|
957
1090
|
"character": 3
|
958
1091
|
},
|
959
|
-
"signature": "(method) EnvMain.provider([aspectAspect, envs]: [AspectMain, EnvsMain]): Promise<EnvMain>",
|
1092
|
+
"signature": "(method) EnvMain.provider([aspectAspect, envs, aspectLoader]: [AspectMain, EnvsMain, AspectLoaderMain]): Promise<EnvMain>",
|
960
1093
|
"name": "provider",
|
961
1094
|
"params": [
|
962
1095
|
{
|
963
1096
|
"__schema": "ParameterSchema",
|
964
1097
|
"location": {
|
965
1098
|
"filePath": "env.main.runtime.ts",
|
966
|
-
"line":
|
1099
|
+
"line": 21,
|
967
1100
|
"character": 25
|
968
1101
|
},
|
969
|
-
"name": "[ aspectAspect, envs ]",
|
1102
|
+
"name": "[ aspectAspect, envs, aspectLoader ]",
|
970
1103
|
"type": {
|
971
1104
|
"__schema": "TupleTypeSchema",
|
972
1105
|
"location": {
|
973
1106
|
"filePath": "env.main.runtime.ts",
|
974
|
-
"line":
|
975
|
-
"character":
|
1107
|
+
"line": 21,
|
1108
|
+
"character": 61
|
976
1109
|
},
|
977
1110
|
"elements": [
|
978
1111
|
{
|
979
1112
|
"__schema": "TypeRefSchema",
|
980
1113
|
"location": {
|
981
1114
|
"filePath": "env.main.runtime.ts",
|
982
|
-
"line":
|
983
|
-
"character":
|
1115
|
+
"line": 21,
|
1116
|
+
"character": 62
|
984
1117
|
},
|
985
1118
|
"name": "AspectMain"
|
986
1119
|
},
|
@@ -988,10 +1121,19 @@
|
|
988
1121
|
"__schema": "TypeRefSchema",
|
989
1122
|
"location": {
|
990
1123
|
"filePath": "env.main.runtime.ts",
|
991
|
-
"line":
|
992
|
-
"character":
|
1124
|
+
"line": 21,
|
1125
|
+
"character": 74
|
993
1126
|
},
|
994
1127
|
"name": "EnvsMain"
|
1128
|
+
},
|
1129
|
+
{
|
1130
|
+
"__schema": "TypeRefSchema",
|
1131
|
+
"location": {
|
1132
|
+
"filePath": "env.main.runtime.ts",
|
1133
|
+
"line": 21,
|
1134
|
+
"character": 84
|
1135
|
+
},
|
1136
|
+
"name": "AspectLoaderMain"
|
995
1137
|
}
|
996
1138
|
]
|
997
1139
|
},
|
@@ -1003,7 +1145,7 @@
|
|
1003
1145
|
"__schema": "InferenceTypeSchema",
|
1004
1146
|
"location": {
|
1005
1147
|
"filePath": "env.main.runtime.ts",
|
1006
|
-
"line":
|
1148
|
+
"line": 21,
|
1007
1149
|
"character": 3
|
1008
1150
|
},
|
1009
1151
|
"type": "Promise<EnvMain>"
|
@@ -1023,7 +1165,7 @@
|
|
1023
1165
|
"__schema": "UnImplementedSchema",
|
1024
1166
|
"location": {
|
1025
1167
|
"filePath": "env.main.runtime.ts",
|
1026
|
-
"line":
|
1168
|
+
"line": 29,
|
1027
1169
|
"character": 1
|
1028
1170
|
},
|
1029
1171
|
"name": "EnvAspect.addRuntime(EnvMain);",
|
@@ -1072,7 +1214,7 @@
|
|
1072
1214
|
"componentId": {
|
1073
1215
|
"scope": "teambit.envs",
|
1074
1216
|
"name": "env",
|
1075
|
-
"version": "1.0.
|
1217
|
+
"version": "1.0.414"
|
1076
1218
|
},
|
1077
1219
|
"taggedModuleExports": []
|
1078
1220
|
}
|