@teambit/preview 1.0.493 → 1.0.495

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.
@@ -250,7 +250,7 @@
250
250
  "_legacy": {
251
251
  "scope": "teambit.preview",
252
252
  "name": "preview",
253
- "version": "1.0.493"
253
+ "version": "1.0.495"
254
254
  },
255
255
  "_scope": "teambit.preview"
256
256
  }
@@ -4055,7 +4055,7 @@
4055
4055
  "__schema": "FunctionLikeSchema",
4056
4056
  "location": {
4057
4057
  "filePath": "preview.main.runtime.ts",
4058
- "line": 985,
4058
+ "line": 984,
4059
4059
  "character": 3
4060
4060
  },
4061
4061
  "signature": "(method) PreviewMain.getEnvPreviewConfig(env?: PreviewEnv): EnvPreviewConfig",
@@ -4065,7 +4065,7 @@
4065
4065
  "__schema": "ParameterSchema",
4066
4066
  "location": {
4067
4067
  "filePath": "preview.main.runtime.ts",
4068
- "line": 985,
4068
+ "line": 984,
4069
4069
  "character": 23
4070
4070
  },
4071
4071
  "name": "env",
@@ -4073,7 +4073,7 @@
4073
4073
  "__schema": "TypeRefSchema",
4074
4074
  "location": {
4075
4075
  "filePath": "preview.main.runtime.ts",
4076
- "line": 985,
4076
+ "line": 984,
4077
4077
  "character": 29
4078
4078
  },
4079
4079
  "name": "PreviewEnv",
@@ -4090,7 +4090,7 @@
4090
4090
  "__schema": "TypeRefSchema",
4091
4091
  "location": {
4092
4092
  "filePath": "preview.main.runtime.ts",
4093
- "line": 985,
4093
+ "line": 984,
4094
4094
  "character": 3
4095
4095
  },
4096
4096
  "name": "EnvPreviewConfig"
@@ -4101,14 +4101,14 @@
4101
4101
  "__schema": "FunctionLikeSchema",
4102
4102
  "location": {
4103
4103
  "filePath": "preview.main.runtime.ts",
4104
- "line": 994,
4104
+ "line": 993,
4105
4105
  "character": 3
4106
4106
  },
4107
4107
  "doc": {
4108
4108
  "__schema": "DocSchema",
4109
4109
  "location": {
4110
4110
  "filePath": "preview.main.runtime.ts",
4111
- "line": 991,
4111
+ "line": 990,
4112
4112
  "character": 3
4113
4113
  },
4114
4114
  "raw": "/**\n * return the configured bundling strategy.\n */",
@@ -4122,7 +4122,7 @@
4122
4122
  "__schema": "ParameterSchema",
4123
4123
  "location": {
4124
4124
  "filePath": "preview.main.runtime.ts",
4125
- "line": 994,
4125
+ "line": 993,
4126
4126
  "character": 23
4127
4127
  },
4128
4128
  "name": "env",
@@ -4130,7 +4130,7 @@
4130
4130
  "__schema": "TypeRefSchema",
4131
4131
  "location": {
4132
4132
  "filePath": "preview.main.runtime.ts",
4133
- "line": 994,
4133
+ "line": 993,
4134
4134
  "character": 29
4135
4135
  },
4136
4136
  "name": "PreviewEnv",
@@ -4147,7 +4147,7 @@
4147
4147
  "__schema": "TypeRefSchema",
4148
4148
  "location": {
4149
4149
  "filePath": "preview.main.runtime.ts",
4150
- "line": 994,
4150
+ "line": 993,
4151
4151
  "character": 3
4152
4152
  },
4153
4153
  "name": "BundlingStrategy",
@@ -4159,14 +4159,14 @@
4159
4159
  "__schema": "FunctionLikeSchema",
4160
4160
  "location": {
4161
4161
  "filePath": "preview.main.runtime.ts",
4162
- "line": 1012,
4162
+ "line": 1011,
4163
4163
  "character": 3
4164
4164
  },
4165
4165
  "doc": {
4166
4166
  "__schema": "DocSchema",
4167
4167
  "location": {
4168
4168
  "filePath": "preview.main.runtime.ts",
4169
- "line": 1009,
4169
+ "line": 1008,
4170
4170
  "character": 3
4171
4171
  },
4172
4172
  "raw": "/**\n * register a new bundling strategy. default available strategies are `env` and ``\n */",
@@ -4180,7 +4180,7 @@
4180
4180
  "__schema": "ParameterSchema",
4181
4181
  "location": {
4182
4182
  "filePath": "preview.main.runtime.ts",
4183
- "line": 1012,
4183
+ "line": 1011,
4184
4184
  "character": 28
4185
4185
  },
4186
4186
  "name": "bundlingStrategy",
@@ -4188,7 +4188,7 @@
4188
4188
  "__schema": "TypeRefSchema",
4189
4189
  "location": {
4190
4190
  "filePath": "preview.main.runtime.ts",
4191
- "line": 1012,
4191
+ "line": 1011,
4192
4192
  "character": 46
4193
4193
  },
4194
4194
  "name": "BundlingStrategy",
@@ -4202,7 +4202,7 @@
4202
4202
  "__schema": "TypeRefSchema",
4203
4203
  "location": {
4204
4204
  "filePath": "preview.main.runtime.ts",
4205
- "line": 1012,
4205
+ "line": 1011,
4206
4206
  "character": 3
4207
4207
  },
4208
4208
  "name": "PreviewMain"
@@ -4213,14 +4213,14 @@
4213
4213
  "__schema": "FunctionLikeSchema",
4214
4214
  "location": {
4215
4215
  "filePath": "preview.main.runtime.ts",
4216
- "line": 1020,
4216
+ "line": 1019,
4217
4217
  "character": 3
4218
4218
  },
4219
4219
  "doc": {
4220
4220
  "__schema": "DocSchema",
4221
4221
  "location": {
4222
4222
  "filePath": "preview.main.runtime.ts",
4223
- "line": 1017,
4223
+ "line": 1016,
4224
4224
  "character": 3
4225
4225
  },
4226
4226
  "raw": "/**\n * register a new preview definition.\n */",
@@ -4234,7 +4234,7 @@
4234
4234
  "__schema": "ParameterSchema",
4235
4235
  "location": {
4236
4236
  "filePath": "preview.main.runtime.ts",
4237
- "line": 1020,
4237
+ "line": 1019,
4238
4238
  "character": 22
4239
4239
  },
4240
4240
  "name": "previewDef",
@@ -4242,7 +4242,7 @@
4242
4242
  "__schema": "TypeRefSchema",
4243
4243
  "location": {
4244
4244
  "filePath": "preview.main.runtime.ts",
4245
- "line": 1020,
4245
+ "line": 1019,
4246
4246
  "character": 34
4247
4247
  },
4248
4248
  "name": "PreviewDefinition"
@@ -4255,7 +4255,7 @@
4255
4255
  "__schema": "InferenceTypeSchema",
4256
4256
  "location": {
4257
4257
  "filePath": "preview.main.runtime.ts",
4258
- "line": 1020,
4258
+ "line": 1019,
4259
4259
  "character": 3
4260
4260
  },
4261
4261
  "type": "void"
@@ -4266,7 +4266,7 @@
4266
4266
  "__schema": "VariableLikeSchema",
4267
4267
  "location": {
4268
4268
  "filePath": "preview.main.runtime.ts",
4269
- "line": 1024,
4269
+ "line": 1023,
4270
4270
  "character": 3
4271
4271
  },
4272
4272
  "signature": "(property) PreviewMain.slots: (((registerFn: () => string) => SlotRegistry<PreviewDefinition>) | ((registerFn: () => string) => SlotRegistry<BundlingStrategy>))[]",
@@ -4275,7 +4275,7 @@
4275
4275
  "__schema": "InferenceTypeSchema",
4276
4276
  "location": {
4277
4277
  "filePath": "preview.main.runtime.ts",
4278
- "line": 1024,
4278
+ "line": 1023,
4279
4279
  "character": 3
4280
4280
  },
4281
4281
  "type": "(((registerFn: () => string) => SlotRegistry<PreviewDefinition>) | ((registerFn: () => string) => SlotRegistry<BundlingStrategy>))[]"
@@ -4287,7 +4287,7 @@
4287
4287
  "__schema": "VariableLikeSchema",
4288
4288
  "location": {
4289
4289
  "filePath": "preview.main.runtime.ts",
4290
- "line": 1026,
4290
+ "line": 1025,
4291
4291
  "character": 3
4292
4292
  },
4293
4293
  "signature": "(property) PreviewMain.runtime: RuntimeDefinition",
@@ -4296,7 +4296,7 @@
4296
4296
  "__schema": "InferenceTypeSchema",
4297
4297
  "location": {
4298
4298
  "filePath": "preview.main.runtime.ts",
4299
- "line": 1026,
4299
+ "line": 1025,
4300
4300
  "character": 3
4301
4301
  },
4302
4302
  "type": "RuntimeDefinition"
@@ -4308,7 +4308,7 @@
4308
4308
  "__schema": "VariableLikeSchema",
4309
4309
  "location": {
4310
4310
  "filePath": "preview.main.runtime.ts",
4311
- "line": 1027,
4311
+ "line": 1026,
4312
4312
  "character": 3
4313
4313
  },
4314
4314
  "signature": "(property) PreviewMain.dependencies: Aspect[]",
@@ -4317,7 +4317,7 @@
4317
4317
  "__schema": "InferenceTypeSchema",
4318
4318
  "location": {
4319
4319
  "filePath": "preview.main.runtime.ts",
4320
- "line": 1027,
4320
+ "line": 1026,
4321
4321
  "character": 3
4322
4322
  },
4323
4323
  "type": "Aspect[]"
@@ -4329,7 +4329,7 @@
4329
4329
  "__schema": "VariableLikeSchema",
4330
4330
  "location": {
4331
4331
  "filePath": "preview.main.runtime.ts",
4332
- "line": 1047,
4332
+ "line": 1046,
4333
4333
  "character": 3
4334
4334
  },
4335
4335
  "signature": "(property) PreviewMain.defaultConfig: {\n disabled: boolean;\n onlyOverview: boolean;\n}",
@@ -4338,7 +4338,7 @@
4338
4338
  "__schema": "InferenceTypeSchema",
4339
4339
  "location": {
4340
4340
  "filePath": "preview.main.runtime.ts",
4341
- "line": 1047,
4341
+ "line": 1046,
4342
4342
  "character": 3
4343
4343
  },
4344
4344
  "type": "{\n disabled: boolean;\n onlyOverview: boolean;\n}"
@@ -4350,7 +4350,7 @@
4350
4350
  "__schema": "FunctionLikeSchema",
4351
4351
  "location": {
4352
4352
  "filePath": "preview.main.runtime.ts",
4353
- "line": 1052,
4353
+ "line": 1051,
4354
4354
  "character": 3
4355
4355
  },
4356
4356
  "signature": "(method) PreviewMain.provider([bundler, builder, componentExtension, uiMain, cache, envs, workspace, pkg, pubsub, aspectLoader, loggerMain, dependencyResolver, graphql, watcher, scope, cli, express,]: [\n BundlerMain,\n BuilderMain,\n ComponentMain,\n UiMain,\n CacheMain,\n EnvsMain,\n Workspace | undefined,\n PkgMain,\n PubsubMain,\n AspectLoaderMain,\n LoggerMain,\n DependencyResolverMain,\n GraphqlMain,\n WatcherMain,\n ScopeMain,\n CLIMain,\n ExpressMain\n], config: PreviewConfig, [previewSlot, bundlingStrategySlot]: [PreviewDefinitionRegistry, BundlingStrategySlot], harmony: Harmony): Promise<PreviewMain>",
@@ -4360,7 +4360,7 @@
4360
4360
  "__schema": "ParameterSchema",
4361
4361
  "location": {
4362
4362
  "filePath": "preview.main.runtime.ts",
4363
- "line": 1054,
4363
+ "line": 1053,
4364
4364
  "character": 5
4365
4365
  },
4366
4366
  "name": "[ bundler, builder, componentExtension, uiMain, cache, envs, workspace, pkg, pubsub, aspectLoader, loggerMain, dependencyResolver, graphql, watcher, scope, cli, express ]",
@@ -4368,7 +4368,7 @@
4368
4368
  "__schema": "TupleTypeSchema",
4369
4369
  "location": {
4370
4370
  "filePath": "preview.main.runtime.ts",
4371
- "line": 1072,
4371
+ "line": 1071,
4372
4372
  "character": 8
4373
4373
  },
4374
4374
  "elements": [
@@ -4376,7 +4376,7 @@
4376
4376
  "__schema": "TypeRefSchema",
4377
4377
  "location": {
4378
4378
  "filePath": "preview.main.runtime.ts",
4379
- "line": 1073,
4379
+ "line": 1072,
4380
4380
  "character": 7
4381
4381
  },
4382
4382
  "name": "BundlerMain",
@@ -4389,7 +4389,7 @@
4389
4389
  "__schema": "TypeRefSchema",
4390
4390
  "location": {
4391
4391
  "filePath": "preview.main.runtime.ts",
4392
- "line": 1074,
4392
+ "line": 1073,
4393
4393
  "character": 7
4394
4394
  },
4395
4395
  "name": "BuilderMain",
@@ -4402,7 +4402,7 @@
4402
4402
  "__schema": "TypeRefSchema",
4403
4403
  "location": {
4404
4404
  "filePath": "preview.main.runtime.ts",
4405
- "line": 1075,
4405
+ "line": 1074,
4406
4406
  "character": 7
4407
4407
  },
4408
4408
  "name": "ComponentMain",
@@ -4415,7 +4415,7 @@
4415
4415
  "__schema": "TypeRefSchema",
4416
4416
  "location": {
4417
4417
  "filePath": "preview.main.runtime.ts",
4418
- "line": 1076,
4418
+ "line": 1075,
4419
4419
  "character": 7
4420
4420
  },
4421
4421
  "name": "UiMain",
@@ -4428,7 +4428,7 @@
4428
4428
  "__schema": "TypeRefSchema",
4429
4429
  "location": {
4430
4430
  "filePath": "preview.main.runtime.ts",
4431
- "line": 1077,
4431
+ "line": 1076,
4432
4432
  "character": 7
4433
4433
  },
4434
4434
  "name": "CacheMain",
@@ -4441,7 +4441,7 @@
4441
4441
  "__schema": "TypeRefSchema",
4442
4442
  "location": {
4443
4443
  "filePath": "preview.main.runtime.ts",
4444
- "line": 1078,
4444
+ "line": 1077,
4445
4445
  "character": 7
4446
4446
  },
4447
4447
  "name": "EnvsMain",
@@ -4454,7 +4454,7 @@
4454
4454
  "__schema": "TypeUnionSchema",
4455
4455
  "location": {
4456
4456
  "filePath": "preview.main.runtime.ts",
4457
- "line": 1079,
4457
+ "line": 1078,
4458
4458
  "character": 7
4459
4459
  },
4460
4460
  "types": [
@@ -4462,7 +4462,7 @@
4462
4462
  "__schema": "TypeRefSchema",
4463
4463
  "location": {
4464
4464
  "filePath": "preview.main.runtime.ts",
4465
- "line": 1079,
4465
+ "line": 1078,
4466
4466
  "character": 7
4467
4467
  },
4468
4468
  "name": "Workspace",
@@ -4475,7 +4475,7 @@
4475
4475
  "__schema": "KeywordTypeSchema",
4476
4476
  "location": {
4477
4477
  "filePath": "preview.main.runtime.ts",
4478
- "line": 1079,
4478
+ "line": 1078,
4479
4479
  "character": 19
4480
4480
  },
4481
4481
  "name": "undefined"
@@ -4486,7 +4486,7 @@
4486
4486
  "__schema": "TypeRefSchema",
4487
4487
  "location": {
4488
4488
  "filePath": "preview.main.runtime.ts",
4489
- "line": 1080,
4489
+ "line": 1079,
4490
4490
  "character": 7
4491
4491
  },
4492
4492
  "name": "PkgMain",
@@ -4499,7 +4499,7 @@
4499
4499
  "__schema": "TypeRefSchema",
4500
4500
  "location": {
4501
4501
  "filePath": "preview.main.runtime.ts",
4502
- "line": 1081,
4502
+ "line": 1080,
4503
4503
  "character": 7
4504
4504
  },
4505
4505
  "name": "PubsubMain",
@@ -4512,7 +4512,7 @@
4512
4512
  "__schema": "TypeRefSchema",
4513
4513
  "location": {
4514
4514
  "filePath": "preview.main.runtime.ts",
4515
- "line": 1082,
4515
+ "line": 1081,
4516
4516
  "character": 7
4517
4517
  },
4518
4518
  "name": "AspectLoaderMain",
@@ -4525,7 +4525,7 @@
4525
4525
  "__schema": "TypeRefSchema",
4526
4526
  "location": {
4527
4527
  "filePath": "preview.main.runtime.ts",
4528
- "line": 1083,
4528
+ "line": 1082,
4529
4529
  "character": 7
4530
4530
  },
4531
4531
  "name": "LoggerMain",
@@ -4538,7 +4538,7 @@
4538
4538
  "__schema": "TypeRefSchema",
4539
4539
  "location": {
4540
4540
  "filePath": "preview.main.runtime.ts",
4541
- "line": 1084,
4541
+ "line": 1083,
4542
4542
  "character": 7
4543
4543
  },
4544
4544
  "name": "DependencyResolverMain",
@@ -4551,7 +4551,7 @@
4551
4551
  "__schema": "TypeRefSchema",
4552
4552
  "location": {
4553
4553
  "filePath": "preview.main.runtime.ts",
4554
- "line": 1085,
4554
+ "line": 1084,
4555
4555
  "character": 7
4556
4556
  },
4557
4557
  "name": "GraphqlMain",
@@ -4564,7 +4564,7 @@
4564
4564
  "__schema": "TypeRefSchema",
4565
4565
  "location": {
4566
4566
  "filePath": "preview.main.runtime.ts",
4567
- "line": 1086,
4567
+ "line": 1085,
4568
4568
  "character": 7
4569
4569
  },
4570
4570
  "name": "WatcherMain",
@@ -4577,7 +4577,7 @@
4577
4577
  "__schema": "TypeRefSchema",
4578
4578
  "location": {
4579
4579
  "filePath": "preview.main.runtime.ts",
4580
- "line": 1087,
4580
+ "line": 1086,
4581
4581
  "character": 7
4582
4582
  },
4583
4583
  "name": "ScopeMain",
@@ -4590,7 +4590,7 @@
4590
4590
  "__schema": "TypeRefSchema",
4591
4591
  "location": {
4592
4592
  "filePath": "preview.main.runtime.ts",
4593
- "line": 1088,
4593
+ "line": 1087,
4594
4594
  "character": 7
4595
4595
  },
4596
4596
  "name": "CLIMain",
@@ -4603,7 +4603,7 @@
4603
4603
  "__schema": "TypeRefSchema",
4604
4604
  "location": {
4605
4605
  "filePath": "preview.main.runtime.ts",
4606
- "line": 1089,
4606
+ "line": 1088,
4607
4607
  "character": 7
4608
4608
  },
4609
4609
  "name": "ExpressMain",
@@ -4621,7 +4621,7 @@
4621
4621
  "__schema": "ParameterSchema",
4622
4622
  "location": {
4623
4623
  "filePath": "preview.main.runtime.ts",
4624
- "line": 1091,
4624
+ "line": 1090,
4625
4625
  "character": 5
4626
4626
  },
4627
4627
  "name": "config",
@@ -4629,7 +4629,7 @@
4629
4629
  "__schema": "TypeRefSchema",
4630
4630
  "location": {
4631
4631
  "filePath": "preview.main.runtime.ts",
4632
- "line": 1091,
4632
+ "line": 1090,
4633
4633
  "character": 13
4634
4634
  },
4635
4635
  "name": "PreviewConfig",
@@ -4642,7 +4642,7 @@
4642
4642
  "__schema": "ParameterSchema",
4643
4643
  "location": {
4644
4644
  "filePath": "preview.main.runtime.ts",
4645
- "line": 1092,
4645
+ "line": 1091,
4646
4646
  "character": 5
4647
4647
  },
4648
4648
  "name": "[ previewSlot, bundlingStrategySlot ]",
@@ -4650,7 +4650,7 @@
4650
4650
  "__schema": "TupleTypeSchema",
4651
4651
  "location": {
4652
4652
  "filePath": "preview.main.runtime.ts",
4653
- "line": 1092,
4653
+ "line": 1091,
4654
4654
  "character": 42
4655
4655
  },
4656
4656
  "elements": [
@@ -4658,7 +4658,7 @@
4658
4658
  "__schema": "TypeRefSchema",
4659
4659
  "location": {
4660
4660
  "filePath": "preview.main.runtime.ts",
4661
- "line": 1092,
4661
+ "line": 1091,
4662
4662
  "character": 43
4663
4663
  },
4664
4664
  "name": "PreviewDefinitionRegistry",
@@ -4668,7 +4668,7 @@
4668
4668
  "__schema": "TypeRefSchema",
4669
4669
  "location": {
4670
4670
  "filePath": "preview.main.runtime.ts",
4671
- "line": 1092,
4671
+ "line": 1091,
4672
4672
  "character": 70
4673
4673
  },
4674
4674
  "name": "BundlingStrategySlot",
@@ -4683,7 +4683,7 @@
4683
4683
  "__schema": "ParameterSchema",
4684
4684
  "location": {
4685
4685
  "filePath": "preview.main.runtime.ts",
4686
- "line": 1093,
4686
+ "line": 1092,
4687
4687
  "character": 5
4688
4688
  },
4689
4689
  "name": "harmony",
@@ -4691,7 +4691,7 @@
4691
4691
  "__schema": "TypeRefSchema",
4692
4692
  "location": {
4693
4693
  "filePath": "preview.main.runtime.ts",
4694
- "line": 1093,
4694
+ "line": 1092,
4695
4695
  "character": 14
4696
4696
  },
4697
4697
  "name": "Harmony",
@@ -4709,7 +4709,7 @@
4709
4709
  "__schema": "InferenceTypeSchema",
4710
4710
  "location": {
4711
4711
  "filePath": "preview.main.runtime.ts",
4712
- "line": 1052,
4712
+ "line": 1051,
4713
4713
  "character": 3
4714
4714
  },
4715
4715
  "type": "Promise<PreviewMain>"
@@ -5009,7 +5009,7 @@
5009
5009
  "line": 9,
5010
5010
  "character": 3
5011
5011
  },
5012
- "signature": "type PreviewStrategyName = \"component\" | \"env\"",
5012
+ "signature": "type PreviewStrategyName = \"env\" | \"component\"",
5013
5013
  "name": "PreviewStrategyName",
5014
5014
  "exportNode": {
5015
5015
  "__schema": "TypeSchema",
@@ -5018,7 +5018,7 @@
5018
5018
  "line": 83,
5019
5019
  "character": 1
5020
5020
  },
5021
- "signature": "type PreviewStrategyName = \"component\" | \"env\"",
5021
+ "signature": "type PreviewStrategyName = \"env\" | \"component\"",
5022
5022
  "name": "PreviewStrategyName",
5023
5023
  "type": {
5024
5024
  "__schema": "TypeUnionSchema",
@@ -6586,7 +6586,7 @@
6586
6586
  "componentId": {
6587
6587
  "scope": "teambit.component",
6588
6588
  "name": "sources",
6589
- "version": "0.0.57"
6589
+ "version": "0.0.59"
6590
6590
  }
6591
6591
  }
6592
6592
  }
@@ -7164,7 +7164,7 @@
7164
7164
  "_legacy": {
7165
7165
  "scope": "teambit.preview",
7166
7166
  "name": "preview",
7167
- "version": "1.0.493"
7167
+ "version": "1.0.495"
7168
7168
  },
7169
7169
  "_scope": "teambit.preview"
7170
7170
  }
@@ -7847,7 +7847,7 @@
7847
7847
  "line": 83,
7848
7848
  "character": 1
7849
7849
  },
7850
- "signature": "type PreviewStrategyName = \"component\" | \"env\"",
7850
+ "signature": "type PreviewStrategyName = \"env\" | \"component\"",
7851
7851
  "name": "PreviewStrategyName",
7852
7852
  "type": {
7853
7853
  "__schema": "TypeUnionSchema",
@@ -12131,7 +12131,7 @@
12131
12131
  "__schema": "FunctionLikeSchema",
12132
12132
  "location": {
12133
12133
  "filePath": "preview.main.runtime.ts",
12134
- "line": 985,
12134
+ "line": 984,
12135
12135
  "character": 3
12136
12136
  },
12137
12137
  "signature": "(method) PreviewMain.getEnvPreviewConfig(env?: PreviewEnv): EnvPreviewConfig",
@@ -12141,7 +12141,7 @@
12141
12141
  "__schema": "ParameterSchema",
12142
12142
  "location": {
12143
12143
  "filePath": "preview.main.runtime.ts",
12144
- "line": 985,
12144
+ "line": 984,
12145
12145
  "character": 23
12146
12146
  },
12147
12147
  "name": "env",
@@ -12149,7 +12149,7 @@
12149
12149
  "__schema": "TypeRefSchema",
12150
12150
  "location": {
12151
12151
  "filePath": "preview.main.runtime.ts",
12152
- "line": 985,
12152
+ "line": 984,
12153
12153
  "character": 29
12154
12154
  },
12155
12155
  "name": "PreviewEnv",
@@ -12166,7 +12166,7 @@
12166
12166
  "__schema": "TypeRefSchema",
12167
12167
  "location": {
12168
12168
  "filePath": "preview.main.runtime.ts",
12169
- "line": 985,
12169
+ "line": 984,
12170
12170
  "character": 3
12171
12171
  },
12172
12172
  "name": "EnvPreviewConfig"
@@ -12177,14 +12177,14 @@
12177
12177
  "__schema": "FunctionLikeSchema",
12178
12178
  "location": {
12179
12179
  "filePath": "preview.main.runtime.ts",
12180
- "line": 994,
12180
+ "line": 993,
12181
12181
  "character": 3
12182
12182
  },
12183
12183
  "doc": {
12184
12184
  "__schema": "DocSchema",
12185
12185
  "location": {
12186
12186
  "filePath": "preview.main.runtime.ts",
12187
- "line": 991,
12187
+ "line": 990,
12188
12188
  "character": 3
12189
12189
  },
12190
12190
  "raw": "/**\n * return the configured bundling strategy.\n */",
@@ -12198,7 +12198,7 @@
12198
12198
  "__schema": "ParameterSchema",
12199
12199
  "location": {
12200
12200
  "filePath": "preview.main.runtime.ts",
12201
- "line": 994,
12201
+ "line": 993,
12202
12202
  "character": 23
12203
12203
  },
12204
12204
  "name": "env",
@@ -12206,7 +12206,7 @@
12206
12206
  "__schema": "TypeRefSchema",
12207
12207
  "location": {
12208
12208
  "filePath": "preview.main.runtime.ts",
12209
- "line": 994,
12209
+ "line": 993,
12210
12210
  "character": 29
12211
12211
  },
12212
12212
  "name": "PreviewEnv",
@@ -12223,7 +12223,7 @@
12223
12223
  "__schema": "TypeRefSchema",
12224
12224
  "location": {
12225
12225
  "filePath": "preview.main.runtime.ts",
12226
- "line": 994,
12226
+ "line": 993,
12227
12227
  "character": 3
12228
12228
  },
12229
12229
  "name": "BundlingStrategy",
@@ -12235,14 +12235,14 @@
12235
12235
  "__schema": "FunctionLikeSchema",
12236
12236
  "location": {
12237
12237
  "filePath": "preview.main.runtime.ts",
12238
- "line": 1012,
12238
+ "line": 1011,
12239
12239
  "character": 3
12240
12240
  },
12241
12241
  "doc": {
12242
12242
  "__schema": "DocSchema",
12243
12243
  "location": {
12244
12244
  "filePath": "preview.main.runtime.ts",
12245
- "line": 1009,
12245
+ "line": 1008,
12246
12246
  "character": 3
12247
12247
  },
12248
12248
  "raw": "/**\n * register a new bundling strategy. default available strategies are `env` and ``\n */",
@@ -12256,7 +12256,7 @@
12256
12256
  "__schema": "ParameterSchema",
12257
12257
  "location": {
12258
12258
  "filePath": "preview.main.runtime.ts",
12259
- "line": 1012,
12259
+ "line": 1011,
12260
12260
  "character": 28
12261
12261
  },
12262
12262
  "name": "bundlingStrategy",
@@ -12264,7 +12264,7 @@
12264
12264
  "__schema": "TypeRefSchema",
12265
12265
  "location": {
12266
12266
  "filePath": "preview.main.runtime.ts",
12267
- "line": 1012,
12267
+ "line": 1011,
12268
12268
  "character": 46
12269
12269
  },
12270
12270
  "name": "BundlingStrategy",
@@ -12278,7 +12278,7 @@
12278
12278
  "__schema": "TypeRefSchema",
12279
12279
  "location": {
12280
12280
  "filePath": "preview.main.runtime.ts",
12281
- "line": 1012,
12281
+ "line": 1011,
12282
12282
  "character": 3
12283
12283
  },
12284
12284
  "name": "PreviewMain"
@@ -12289,14 +12289,14 @@
12289
12289
  "__schema": "FunctionLikeSchema",
12290
12290
  "location": {
12291
12291
  "filePath": "preview.main.runtime.ts",
12292
- "line": 1020,
12292
+ "line": 1019,
12293
12293
  "character": 3
12294
12294
  },
12295
12295
  "doc": {
12296
12296
  "__schema": "DocSchema",
12297
12297
  "location": {
12298
12298
  "filePath": "preview.main.runtime.ts",
12299
- "line": 1017,
12299
+ "line": 1016,
12300
12300
  "character": 3
12301
12301
  },
12302
12302
  "raw": "/**\n * register a new preview definition.\n */",
@@ -12310,7 +12310,7 @@
12310
12310
  "__schema": "ParameterSchema",
12311
12311
  "location": {
12312
12312
  "filePath": "preview.main.runtime.ts",
12313
- "line": 1020,
12313
+ "line": 1019,
12314
12314
  "character": 22
12315
12315
  },
12316
12316
  "name": "previewDef",
@@ -12318,7 +12318,7 @@
12318
12318
  "__schema": "TypeRefSchema",
12319
12319
  "location": {
12320
12320
  "filePath": "preview.main.runtime.ts",
12321
- "line": 1020,
12321
+ "line": 1019,
12322
12322
  "character": 34
12323
12323
  },
12324
12324
  "name": "PreviewDefinition"
@@ -12331,7 +12331,7 @@
12331
12331
  "__schema": "InferenceTypeSchema",
12332
12332
  "location": {
12333
12333
  "filePath": "preview.main.runtime.ts",
12334
- "line": 1020,
12334
+ "line": 1019,
12335
12335
  "character": 3
12336
12336
  },
12337
12337
  "type": "void"
@@ -12342,7 +12342,7 @@
12342
12342
  "__schema": "VariableLikeSchema",
12343
12343
  "location": {
12344
12344
  "filePath": "preview.main.runtime.ts",
12345
- "line": 1024,
12345
+ "line": 1023,
12346
12346
  "character": 3
12347
12347
  },
12348
12348
  "signature": "(property) PreviewMain.slots: (((registerFn: () => string) => SlotRegistry<PreviewDefinition>) | ((registerFn: () => string) => SlotRegistry<BundlingStrategy>))[]",
@@ -12351,7 +12351,7 @@
12351
12351
  "__schema": "InferenceTypeSchema",
12352
12352
  "location": {
12353
12353
  "filePath": "preview.main.runtime.ts",
12354
- "line": 1024,
12354
+ "line": 1023,
12355
12355
  "character": 3
12356
12356
  },
12357
12357
  "type": "(((registerFn: () => string) => SlotRegistry<PreviewDefinition>) | ((registerFn: () => string) => SlotRegistry<BundlingStrategy>))[]"
@@ -12363,7 +12363,7 @@
12363
12363
  "__schema": "VariableLikeSchema",
12364
12364
  "location": {
12365
12365
  "filePath": "preview.main.runtime.ts",
12366
- "line": 1026,
12366
+ "line": 1025,
12367
12367
  "character": 3
12368
12368
  },
12369
12369
  "signature": "(property) PreviewMain.runtime: RuntimeDefinition",
@@ -12372,7 +12372,7 @@
12372
12372
  "__schema": "InferenceTypeSchema",
12373
12373
  "location": {
12374
12374
  "filePath": "preview.main.runtime.ts",
12375
- "line": 1026,
12375
+ "line": 1025,
12376
12376
  "character": 3
12377
12377
  },
12378
12378
  "type": "RuntimeDefinition"
@@ -12384,7 +12384,7 @@
12384
12384
  "__schema": "VariableLikeSchema",
12385
12385
  "location": {
12386
12386
  "filePath": "preview.main.runtime.ts",
12387
- "line": 1027,
12387
+ "line": 1026,
12388
12388
  "character": 3
12389
12389
  },
12390
12390
  "signature": "(property) PreviewMain.dependencies: Aspect[]",
@@ -12393,7 +12393,7 @@
12393
12393
  "__schema": "InferenceTypeSchema",
12394
12394
  "location": {
12395
12395
  "filePath": "preview.main.runtime.ts",
12396
- "line": 1027,
12396
+ "line": 1026,
12397
12397
  "character": 3
12398
12398
  },
12399
12399
  "type": "Aspect[]"
@@ -12405,7 +12405,7 @@
12405
12405
  "__schema": "VariableLikeSchema",
12406
12406
  "location": {
12407
12407
  "filePath": "preview.main.runtime.ts",
12408
- "line": 1047,
12408
+ "line": 1046,
12409
12409
  "character": 3
12410
12410
  },
12411
12411
  "signature": "(property) PreviewMain.defaultConfig: {\n disabled: boolean;\n onlyOverview: boolean;\n}",
@@ -12414,7 +12414,7 @@
12414
12414
  "__schema": "InferenceTypeSchema",
12415
12415
  "location": {
12416
12416
  "filePath": "preview.main.runtime.ts",
12417
- "line": 1047,
12417
+ "line": 1046,
12418
12418
  "character": 3
12419
12419
  },
12420
12420
  "type": "{\n disabled: boolean;\n onlyOverview: boolean;\n}"
@@ -12426,7 +12426,7 @@
12426
12426
  "__schema": "FunctionLikeSchema",
12427
12427
  "location": {
12428
12428
  "filePath": "preview.main.runtime.ts",
12429
- "line": 1052,
12429
+ "line": 1051,
12430
12430
  "character": 3
12431
12431
  },
12432
12432
  "signature": "(method) PreviewMain.provider([bundler, builder, componentExtension, uiMain, cache, envs, workspace, pkg, pubsub, aspectLoader, loggerMain, dependencyResolver, graphql, watcher, scope, cli, express,]: [\n BundlerMain,\n BuilderMain,\n ComponentMain,\n UiMain,\n CacheMain,\n EnvsMain,\n Workspace | undefined,\n PkgMain,\n PubsubMain,\n AspectLoaderMain,\n LoggerMain,\n DependencyResolverMain,\n GraphqlMain,\n WatcherMain,\n ScopeMain,\n CLIMain,\n ExpressMain\n], config: PreviewConfig, [previewSlot, bundlingStrategySlot]: [PreviewDefinitionRegistry, BundlingStrategySlot], harmony: Harmony): Promise<PreviewMain>",
@@ -12436,7 +12436,7 @@
12436
12436
  "__schema": "ParameterSchema",
12437
12437
  "location": {
12438
12438
  "filePath": "preview.main.runtime.ts",
12439
- "line": 1054,
12439
+ "line": 1053,
12440
12440
  "character": 5
12441
12441
  },
12442
12442
  "name": "[ bundler, builder, componentExtension, uiMain, cache, envs, workspace, pkg, pubsub, aspectLoader, loggerMain, dependencyResolver, graphql, watcher, scope, cli, express ]",
@@ -12444,7 +12444,7 @@
12444
12444
  "__schema": "TupleTypeSchema",
12445
12445
  "location": {
12446
12446
  "filePath": "preview.main.runtime.ts",
12447
- "line": 1072,
12447
+ "line": 1071,
12448
12448
  "character": 8
12449
12449
  },
12450
12450
  "elements": [
@@ -12452,7 +12452,7 @@
12452
12452
  "__schema": "TypeRefSchema",
12453
12453
  "location": {
12454
12454
  "filePath": "preview.main.runtime.ts",
12455
- "line": 1073,
12455
+ "line": 1072,
12456
12456
  "character": 7
12457
12457
  },
12458
12458
  "name": "BundlerMain",
@@ -12465,7 +12465,7 @@
12465
12465
  "__schema": "TypeRefSchema",
12466
12466
  "location": {
12467
12467
  "filePath": "preview.main.runtime.ts",
12468
- "line": 1074,
12468
+ "line": 1073,
12469
12469
  "character": 7
12470
12470
  },
12471
12471
  "name": "BuilderMain",
@@ -12478,7 +12478,7 @@
12478
12478
  "__schema": "TypeRefSchema",
12479
12479
  "location": {
12480
12480
  "filePath": "preview.main.runtime.ts",
12481
- "line": 1075,
12481
+ "line": 1074,
12482
12482
  "character": 7
12483
12483
  },
12484
12484
  "name": "ComponentMain",
@@ -12491,7 +12491,7 @@
12491
12491
  "__schema": "TypeRefSchema",
12492
12492
  "location": {
12493
12493
  "filePath": "preview.main.runtime.ts",
12494
- "line": 1076,
12494
+ "line": 1075,
12495
12495
  "character": 7
12496
12496
  },
12497
12497
  "name": "UiMain",
@@ -12504,7 +12504,7 @@
12504
12504
  "__schema": "TypeRefSchema",
12505
12505
  "location": {
12506
12506
  "filePath": "preview.main.runtime.ts",
12507
- "line": 1077,
12507
+ "line": 1076,
12508
12508
  "character": 7
12509
12509
  },
12510
12510
  "name": "CacheMain",
@@ -12517,7 +12517,7 @@
12517
12517
  "__schema": "TypeRefSchema",
12518
12518
  "location": {
12519
12519
  "filePath": "preview.main.runtime.ts",
12520
- "line": 1078,
12520
+ "line": 1077,
12521
12521
  "character": 7
12522
12522
  },
12523
12523
  "name": "EnvsMain",
@@ -12530,7 +12530,7 @@
12530
12530
  "__schema": "TypeUnionSchema",
12531
12531
  "location": {
12532
12532
  "filePath": "preview.main.runtime.ts",
12533
- "line": 1079,
12533
+ "line": 1078,
12534
12534
  "character": 7
12535
12535
  },
12536
12536
  "types": [
@@ -12538,7 +12538,7 @@
12538
12538
  "__schema": "TypeRefSchema",
12539
12539
  "location": {
12540
12540
  "filePath": "preview.main.runtime.ts",
12541
- "line": 1079,
12541
+ "line": 1078,
12542
12542
  "character": 7
12543
12543
  },
12544
12544
  "name": "Workspace",
@@ -12551,7 +12551,7 @@
12551
12551
  "__schema": "KeywordTypeSchema",
12552
12552
  "location": {
12553
12553
  "filePath": "preview.main.runtime.ts",
12554
- "line": 1079,
12554
+ "line": 1078,
12555
12555
  "character": 19
12556
12556
  },
12557
12557
  "name": "undefined"
@@ -12562,7 +12562,7 @@
12562
12562
  "__schema": "TypeRefSchema",
12563
12563
  "location": {
12564
12564
  "filePath": "preview.main.runtime.ts",
12565
- "line": 1080,
12565
+ "line": 1079,
12566
12566
  "character": 7
12567
12567
  },
12568
12568
  "name": "PkgMain",
@@ -12575,7 +12575,7 @@
12575
12575
  "__schema": "TypeRefSchema",
12576
12576
  "location": {
12577
12577
  "filePath": "preview.main.runtime.ts",
12578
- "line": 1081,
12578
+ "line": 1080,
12579
12579
  "character": 7
12580
12580
  },
12581
12581
  "name": "PubsubMain",
@@ -12588,7 +12588,7 @@
12588
12588
  "__schema": "TypeRefSchema",
12589
12589
  "location": {
12590
12590
  "filePath": "preview.main.runtime.ts",
12591
- "line": 1082,
12591
+ "line": 1081,
12592
12592
  "character": 7
12593
12593
  },
12594
12594
  "name": "AspectLoaderMain",
@@ -12601,7 +12601,7 @@
12601
12601
  "__schema": "TypeRefSchema",
12602
12602
  "location": {
12603
12603
  "filePath": "preview.main.runtime.ts",
12604
- "line": 1083,
12604
+ "line": 1082,
12605
12605
  "character": 7
12606
12606
  },
12607
12607
  "name": "LoggerMain",
@@ -12614,7 +12614,7 @@
12614
12614
  "__schema": "TypeRefSchema",
12615
12615
  "location": {
12616
12616
  "filePath": "preview.main.runtime.ts",
12617
- "line": 1084,
12617
+ "line": 1083,
12618
12618
  "character": 7
12619
12619
  },
12620
12620
  "name": "DependencyResolverMain",
@@ -12627,7 +12627,7 @@
12627
12627
  "__schema": "TypeRefSchema",
12628
12628
  "location": {
12629
12629
  "filePath": "preview.main.runtime.ts",
12630
- "line": 1085,
12630
+ "line": 1084,
12631
12631
  "character": 7
12632
12632
  },
12633
12633
  "name": "GraphqlMain",
@@ -12640,7 +12640,7 @@
12640
12640
  "__schema": "TypeRefSchema",
12641
12641
  "location": {
12642
12642
  "filePath": "preview.main.runtime.ts",
12643
- "line": 1086,
12643
+ "line": 1085,
12644
12644
  "character": 7
12645
12645
  },
12646
12646
  "name": "WatcherMain",
@@ -12653,7 +12653,7 @@
12653
12653
  "__schema": "TypeRefSchema",
12654
12654
  "location": {
12655
12655
  "filePath": "preview.main.runtime.ts",
12656
- "line": 1087,
12656
+ "line": 1086,
12657
12657
  "character": 7
12658
12658
  },
12659
12659
  "name": "ScopeMain",
@@ -12666,7 +12666,7 @@
12666
12666
  "__schema": "TypeRefSchema",
12667
12667
  "location": {
12668
12668
  "filePath": "preview.main.runtime.ts",
12669
- "line": 1088,
12669
+ "line": 1087,
12670
12670
  "character": 7
12671
12671
  },
12672
12672
  "name": "CLIMain",
@@ -12679,7 +12679,7 @@
12679
12679
  "__schema": "TypeRefSchema",
12680
12680
  "location": {
12681
12681
  "filePath": "preview.main.runtime.ts",
12682
- "line": 1089,
12682
+ "line": 1088,
12683
12683
  "character": 7
12684
12684
  },
12685
12685
  "name": "ExpressMain",
@@ -12697,7 +12697,7 @@
12697
12697
  "__schema": "ParameterSchema",
12698
12698
  "location": {
12699
12699
  "filePath": "preview.main.runtime.ts",
12700
- "line": 1091,
12700
+ "line": 1090,
12701
12701
  "character": 5
12702
12702
  },
12703
12703
  "name": "config",
@@ -12705,7 +12705,7 @@
12705
12705
  "__schema": "TypeRefSchema",
12706
12706
  "location": {
12707
12707
  "filePath": "preview.main.runtime.ts",
12708
- "line": 1091,
12708
+ "line": 1090,
12709
12709
  "character": 13
12710
12710
  },
12711
12711
  "name": "PreviewConfig",
@@ -12718,7 +12718,7 @@
12718
12718
  "__schema": "ParameterSchema",
12719
12719
  "location": {
12720
12720
  "filePath": "preview.main.runtime.ts",
12721
- "line": 1092,
12721
+ "line": 1091,
12722
12722
  "character": 5
12723
12723
  },
12724
12724
  "name": "[ previewSlot, bundlingStrategySlot ]",
@@ -12726,7 +12726,7 @@
12726
12726
  "__schema": "TupleTypeSchema",
12727
12727
  "location": {
12728
12728
  "filePath": "preview.main.runtime.ts",
12729
- "line": 1092,
12729
+ "line": 1091,
12730
12730
  "character": 42
12731
12731
  },
12732
12732
  "elements": [
@@ -12734,7 +12734,7 @@
12734
12734
  "__schema": "TypeRefSchema",
12735
12735
  "location": {
12736
12736
  "filePath": "preview.main.runtime.ts",
12737
- "line": 1092,
12737
+ "line": 1091,
12738
12738
  "character": 43
12739
12739
  },
12740
12740
  "name": "PreviewDefinitionRegistry",
@@ -12744,7 +12744,7 @@
12744
12744
  "__schema": "TypeRefSchema",
12745
12745
  "location": {
12746
12746
  "filePath": "preview.main.runtime.ts",
12747
- "line": 1092,
12747
+ "line": 1091,
12748
12748
  "character": 70
12749
12749
  },
12750
12750
  "name": "BundlingStrategySlot",
@@ -12759,7 +12759,7 @@
12759
12759
  "__schema": "ParameterSchema",
12760
12760
  "location": {
12761
12761
  "filePath": "preview.main.runtime.ts",
12762
- "line": 1093,
12762
+ "line": 1092,
12763
12763
  "character": 5
12764
12764
  },
12765
12765
  "name": "harmony",
@@ -12767,7 +12767,7 @@
12767
12767
  "__schema": "TypeRefSchema",
12768
12768
  "location": {
12769
12769
  "filePath": "preview.main.runtime.ts",
12770
- "line": 1093,
12770
+ "line": 1092,
12771
12771
  "character": 14
12772
12772
  },
12773
12773
  "name": "Harmony",
@@ -12785,7 +12785,7 @@
12785
12785
  "__schema": "InferenceTypeSchema",
12786
12786
  "location": {
12787
12787
  "filePath": "preview.main.runtime.ts",
12788
- "line": 1052,
12788
+ "line": 1051,
12789
12789
  "character": 3
12790
12790
  },
12791
12791
  "type": "Promise<PreviewMain>"
@@ -12869,7 +12869,7 @@
12869
12869
  "__schema": "UnImplementedSchema",
12870
12870
  "location": {
12871
12871
  "filePath": "preview.main.runtime.ts",
12872
- "line": 1167,
12872
+ "line": 1166,
12873
12873
  "character": 1
12874
12874
  },
12875
12875
  "name": "PreviewAspect.addRuntime(PreviewMain);",
@@ -14371,7 +14371,7 @@
14371
14371
  "componentId": {
14372
14372
  "scope": "teambit.component",
14373
14373
  "name": "sources",
14374
- "version": "0.0.57"
14374
+ "version": "0.0.59"
14375
14375
  }
14376
14376
  }
14377
14377
  }
@@ -14781,7 +14781,7 @@
14781
14781
  "componentId": {
14782
14782
  "scope": "teambit.preview",
14783
14783
  "name": "preview",
14784
- "version": "1.0.493"
14784
+ "version": "1.0.495"
14785
14785
  },
14786
14786
  "taggedModuleExports": []
14787
14787
  }