@teambit/bundler 1.0.330 → 1.0.331
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_compilation_bundler-preview.js +1 -1
- package/artifacts/schema.json +70 -229
- package/dist/get-entry.d.ts +2 -2
- package/dist/get-entry.js.map +1 -1
- package/dist/{preview-1720513025675.js → preview-1720667996237.js} +2 -2
- package/package.json +12 -10
@@ -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.compilation/bundler@1.0.
|
3
|
+
<testsuite name="teambit.compilation/bundler@1.0.331" 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.compilation/bundler-preview"]=t():e["teambit.compilation/bundler-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.compilation/bundler-preview"]=t():e["teambit.compilation/bundler-preview"]=t()}(self,(()=>(()=>{"use strict";var e={79546:(e,t,o)=>{var n={id:"teambit.compilation/bundler@1.0.331",homepage:"https://bit.cloud/teambit/compilation/bundler",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/bundler.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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 n={};o.r(n),o.d(n,{compositions:()=>f,compositions_metadata:()=>b,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>d});var i=o(79546);o(41594);const a=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var p=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l.apply(null,arguments)}var s={},u="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,p);return(0,a.mdx)(u,l({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[r],b={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
@@ -99,8 +99,7 @@
|
|
99
99
|
"line": 10,
|
100
100
|
"character": 25
|
101
101
|
},
|
102
|
-
"name": "Server"
|
103
|
-
"packageName": "http"
|
102
|
+
"name": "Server"
|
104
103
|
},
|
105
104
|
{
|
106
105
|
"__schema": "TypeRefSchema",
|
@@ -118,8 +117,7 @@
|
|
118
117
|
"line": 10,
|
119
118
|
"character": 42
|
120
119
|
},
|
121
|
-
"name": "Server"
|
122
|
-
"packageName": "http"
|
120
|
+
"name": "Server"
|
123
121
|
}
|
124
122
|
]
|
125
123
|
}
|
@@ -724,7 +722,7 @@
|
|
724
722
|
"_legacy": {
|
725
723
|
"scope": "teambit.compilation",
|
726
724
|
"name": "bundler",
|
727
|
-
"version": "1.0.
|
725
|
+
"version": "1.0.331"
|
728
726
|
},
|
729
727
|
"_scope": "teambit.compilation"
|
730
728
|
}
|
@@ -1137,7 +1135,7 @@
|
|
1137
1135
|
"_legacy": {
|
1138
1136
|
"scope": "teambit.compilation",
|
1139
1137
|
"name": "bundler",
|
1140
|
-
"version": "1.0.
|
1138
|
+
"version": "1.0.331"
|
1141
1139
|
},
|
1142
1140
|
"_scope": "teambit.compilation"
|
1143
1141
|
}
|
@@ -1263,11 +1261,7 @@
|
|
1263
1261
|
"line": 46,
|
1264
1262
|
"character": 15
|
1265
1263
|
},
|
1266
|
-
"name": "Component"
|
1267
|
-
"componentId": {
|
1268
|
-
"scope": "teambit.component",
|
1269
|
-
"name": "component"
|
1270
|
-
}
|
1264
|
+
"name": "Component"
|
1271
1265
|
}
|
1272
1266
|
},
|
1273
1267
|
"isOptional": false
|
@@ -1571,8 +1565,7 @@
|
|
1571
1565
|
"line": 91,
|
1572
1566
|
"character": 14
|
1573
1567
|
},
|
1574
|
-
"name": "Chunking"
|
1575
|
-
"internalFilePath": "bundler-context.ts"
|
1568
|
+
"name": "Chunking"
|
1576
1569
|
},
|
1577
1570
|
"isOptional": true
|
1578
1571
|
},
|
@@ -2392,8 +2385,7 @@
|
|
2392
2385
|
"line": 30,
|
2393
2386
|
"character": 13
|
2394
2387
|
},
|
2395
|
-
"name": "LibraryOptions"
|
2396
|
-
"internalFilePath": "bundler-context.ts"
|
2388
|
+
"name": "LibraryOptions"
|
2397
2389
|
},
|
2398
2390
|
"isOptional": true
|
2399
2391
|
}
|
@@ -2825,11 +2817,7 @@
|
|
2825
2817
|
"line": 70,
|
2826
2818
|
"character": 15
|
2827
2819
|
},
|
2828
|
-
"name": "Component"
|
2829
|
-
"componentId": {
|
2830
|
-
"scope": "teambit.component",
|
2831
|
-
"name": "component"
|
2832
|
-
}
|
2820
|
+
"name": "Component"
|
2833
2821
|
}
|
2834
2822
|
},
|
2835
2823
|
"isOptional": false
|
@@ -3459,8 +3447,7 @@
|
|
3459
3447
|
"line": 31,
|
3460
3448
|
"character": 22
|
3461
3449
|
},
|
3462
|
-
"name": "BundlerConfig"
|
3463
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
3450
|
+
"name": "BundlerConfig"
|
3464
3451
|
},
|
3465
3452
|
"isOptional": false,
|
3466
3453
|
"isSpread": false
|
@@ -3480,11 +3467,7 @@
|
|
3480
3467
|
"line": 35,
|
3481
3468
|
"character": 21
|
3482
3469
|
},
|
3483
|
-
"name": "PubsubMain"
|
3484
|
-
"componentId": {
|
3485
|
-
"scope": "teambit.harmony",
|
3486
|
-
"name": "pubsub"
|
3487
|
-
}
|
3470
|
+
"name": "PubsubMain"
|
3488
3471
|
},
|
3489
3472
|
"isOptional": false,
|
3490
3473
|
"isSpread": false
|
@@ -3504,11 +3487,7 @@
|
|
3504
3487
|
"line": 40,
|
3505
3488
|
"character": 19
|
3506
3489
|
},
|
3507
|
-
"name": "EnvsMain"
|
3508
|
-
"componentId": {
|
3509
|
-
"scope": "teambit.envs",
|
3510
|
-
"name": "envs"
|
3511
|
-
}
|
3490
|
+
"name": "EnvsMain"
|
3512
3491
|
},
|
3513
3492
|
"isOptional": false,
|
3514
3493
|
"isSpread": false
|
@@ -3528,8 +3507,7 @@
|
|
3528
3507
|
"line": 45,
|
3529
3508
|
"character": 25
|
3530
3509
|
},
|
3531
|
-
"name": "DevServerService"
|
3532
|
-
"internalFilePath": "dev-server.service.ts"
|
3510
|
+
"name": "DevServerService"
|
3533
3511
|
},
|
3534
3512
|
"isOptional": false,
|
3535
3513
|
"isSpread": false
|
@@ -3549,8 +3527,7 @@
|
|
3549
3527
|
"line": 50,
|
3550
3528
|
"character": 26
|
3551
3529
|
},
|
3552
|
-
"name": "BrowserRuntimeSlot"
|
3553
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
3530
|
+
"name": "BrowserRuntimeSlot"
|
3554
3531
|
},
|
3555
3532
|
"isOptional": false,
|
3556
3533
|
"isSpread": false
|
@@ -3570,8 +3547,7 @@
|
|
3570
3547
|
"line": 55,
|
3571
3548
|
"character": 39
|
3572
3549
|
},
|
3573
|
-
"name": "DevServerTransformerSlot"
|
3574
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
3550
|
+
"name": "DevServerTransformerSlot"
|
3575
3551
|
},
|
3576
3552
|
"isOptional": false,
|
3577
3553
|
"isSpread": false
|
@@ -3643,11 +3619,7 @@
|
|
3643
3619
|
"line": 62,
|
3644
3620
|
"character": 31
|
3645
3621
|
},
|
3646
|
-
"name": "Component"
|
3647
|
-
"componentId": {
|
3648
|
-
"scope": "teambit.component",
|
3649
|
-
"name": "component"
|
3650
|
-
}
|
3622
|
+
"name": "Component"
|
3651
3623
|
}
|
3652
3624
|
},
|
3653
3625
|
"isOptional": false,
|
@@ -3733,11 +3705,7 @@
|
|
3733
3705
|
"line": 80,
|
3734
3706
|
"character": 33
|
3735
3707
|
},
|
3736
|
-
"name": "Component"
|
3737
|
-
"componentId": {
|
3738
|
-
"scope": "teambit.component",
|
3739
|
-
"name": "component"
|
3740
|
-
}
|
3708
|
+
"name": "Component"
|
3741
3709
|
},
|
3742
3710
|
"isOptional": false,
|
3743
3711
|
"isSpread": false
|
@@ -3882,8 +3850,7 @@
|
|
3882
3850
|
"line": 111,
|
3883
3851
|
"character": 34
|
3884
3852
|
},
|
3885
|
-
"name": "BrowserRuntime"
|
3886
|
-
"internalFilePath": "browser-runtime.ts"
|
3853
|
+
"name": "BrowserRuntime"
|
3887
3854
|
}
|
3888
3855
|
},
|
3889
3856
|
"isOptional": false,
|
@@ -3948,8 +3915,7 @@
|
|
3948
3915
|
"line": 123,
|
3949
3916
|
"character": 54
|
3950
3917
|
},
|
3951
|
-
"name": "DevServerTransformer"
|
3952
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
3918
|
+
"name": "DevServerTransformer"
|
3953
3919
|
},
|
3954
3920
|
"isOptional": false,
|
3955
3921
|
"isSpread": false
|
@@ -4083,11 +4049,7 @@
|
|
4083
4049
|
"line": 145,
|
4084
4050
|
"character": 51
|
4085
4051
|
},
|
4086
|
-
"name": "PubsubMain"
|
4087
|
-
"componentId": {
|
4088
|
-
"scope": "teambit.harmony",
|
4089
|
-
"name": "pubsub"
|
4090
|
-
}
|
4052
|
+
"name": "PubsubMain"
|
4091
4053
|
},
|
4092
4054
|
{
|
4093
4055
|
"__schema": "TypeRefSchema",
|
@@ -4096,11 +4058,7 @@
|
|
4096
4058
|
"line": 145,
|
4097
4059
|
"character": 63
|
4098
4060
|
},
|
4099
|
-
"name": "EnvsMain"
|
4100
|
-
"componentId": {
|
4101
|
-
"scope": "teambit.envs",
|
4102
|
-
"name": "envs"
|
4103
|
-
}
|
4061
|
+
"name": "EnvsMain"
|
4104
4062
|
},
|
4105
4063
|
{
|
4106
4064
|
"__schema": "TypeRefSchema",
|
@@ -4109,11 +4067,7 @@
|
|
4109
4067
|
"line": 145,
|
4110
4068
|
"character": 73
|
4111
4069
|
},
|
4112
|
-
"name": "GraphqlMain"
|
4113
|
-
"componentId": {
|
4114
|
-
"scope": "teambit.harmony",
|
4115
|
-
"name": "graphql"
|
4116
|
-
}
|
4070
|
+
"name": "GraphqlMain"
|
4117
4071
|
},
|
4118
4072
|
{
|
4119
4073
|
"__schema": "TypeRefSchema",
|
@@ -4122,11 +4076,7 @@
|
|
4122
4076
|
"line": 145,
|
4123
4077
|
"character": 86
|
4124
4078
|
},
|
4125
|
-
"name": "DependencyResolverMain"
|
4126
|
-
"componentId": {
|
4127
|
-
"scope": "teambit.dependencies",
|
4128
|
-
"name": "dependency-resolver"
|
4129
|
-
}
|
4079
|
+
"name": "DependencyResolverMain"
|
4130
4080
|
}
|
4131
4081
|
]
|
4132
4082
|
},
|
@@ -4176,8 +4126,7 @@
|
|
4176
4126
|
"line": 147,
|
4177
4127
|
"character": 47
|
4178
4128
|
},
|
4179
|
-
"name": "BrowserRuntimeSlot"
|
4180
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
4129
|
+
"name": "BrowserRuntimeSlot"
|
4181
4130
|
},
|
4182
4131
|
{
|
4183
4132
|
"__schema": "TypeRefSchema",
|
@@ -4186,8 +4135,7 @@
|
|
4186
4135
|
"line": 147,
|
4187
4136
|
"character": 67
|
4188
4137
|
},
|
4189
|
-
"name": "DevServerTransformerSlot"
|
4190
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
4138
|
+
"name": "DevServerTransformerSlot"
|
4191
4139
|
}
|
4192
4140
|
]
|
4193
4141
|
},
|
@@ -4255,7 +4203,7 @@
|
|
4255
4203
|
"line": 9,
|
4256
4204
|
"character": 18
|
4257
4205
|
},
|
4258
|
-
"signature": "(componentId:
|
4206
|
+
"signature": "(componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: { \u001b[1mrelative\u001b[22m: boolean }): PathOsBased | undefined",
|
4259
4207
|
"name": "",
|
4260
4208
|
"params": [
|
4261
4209
|
{
|
@@ -4273,11 +4221,7 @@
|
|
4273
4221
|
"line": 10,
|
4274
4222
|
"character": 18
|
4275
4223
|
},
|
4276
|
-
"name": "ComponentID"
|
4277
|
-
"componentId": {
|
4278
|
-
"scope": "teambit.component",
|
4279
|
-
"name": "component"
|
4280
|
-
}
|
4224
|
+
"name": "ComponentID"
|
4281
4225
|
},
|
4282
4226
|
"isOptional": false,
|
4283
4227
|
"isSpread": false
|
@@ -4297,8 +4241,7 @@
|
|
4297
4241
|
"line": 11,
|
4298
4242
|
"character": 21
|
4299
4243
|
},
|
4300
|
-
"name": "GetBitMapComponentOptions"
|
4301
|
-
"packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
|
4244
|
+
"name": "GetBitMapComponentOptions"
|
4302
4245
|
},
|
4303
4246
|
"isOptional": true,
|
4304
4247
|
"isSpread": false
|
@@ -4360,8 +4303,7 @@
|
|
4360
4303
|
"line": 13,
|
4361
4304
|
"character": 8
|
4362
4305
|
},
|
4363
|
-
"name": "PathOsBased"
|
4364
|
-
"packageName": "@teambit/legacy/dist/utils/path"
|
4306
|
+
"name": "PathOsBased"
|
4365
4307
|
},
|
4366
4308
|
{
|
4367
4309
|
"__schema": "KeywordTypeSchema",
|
@@ -4453,11 +4395,7 @@
|
|
4453
4395
|
"line": 20,
|
4454
4396
|
"character": 21
|
4455
4397
|
},
|
4456
|
-
"name": "PubsubMain"
|
4457
|
-
"componentId": {
|
4458
|
-
"scope": "teambit.harmony",
|
4459
|
-
"name": "pubsub"
|
4460
|
-
}
|
4398
|
+
"name": "PubsubMain"
|
4461
4399
|
},
|
4462
4400
|
"isOptional": false,
|
4463
4401
|
"isSpread": false
|
@@ -4477,11 +4415,7 @@
|
|
4477
4415
|
"line": 25,
|
4478
4416
|
"character": 23
|
4479
4417
|
},
|
4480
|
-
"name": "ExecutionContext"
|
4481
|
-
"componentId": {
|
4482
|
-
"scope": "teambit.envs",
|
4483
|
-
"name": "envs"
|
4484
|
-
}
|
4418
|
+
"name": "ExecutionContext"
|
4485
4419
|
},
|
4486
4420
|
"isOptional": false,
|
4487
4421
|
"isSpread": false
|
@@ -4621,11 +4555,7 @@
|
|
4621
4555
|
"line": 43,
|
4622
4556
|
"character": 27
|
4623
4557
|
},
|
4624
|
-
"name": "Component"
|
4625
|
-
"componentId": {
|
4626
|
-
"scope": "teambit.component",
|
4627
|
-
"name": "component"
|
4628
|
-
}
|
4558
|
+
"name": "Component"
|
4629
4559
|
},
|
4630
4560
|
"isOptional": false,
|
4631
4561
|
"isSpread": false
|
@@ -4899,8 +4829,7 @@
|
|
4899
4829
|
"line": 9,
|
4900
4830
|
"character": 64
|
4901
4831
|
},
|
4902
|
-
"name": "ComponentsServerStartedEventData"
|
4903
|
-
"internalFilePath": "events/components-server-started-event.ts"
|
4832
|
+
"name": "ComponentsServerStartedEventData"
|
4904
4833
|
}
|
4905
4834
|
],
|
4906
4835
|
"expression": {
|
@@ -4915,7 +4844,7 @@
|
|
4915
4844
|
"_legacy": {
|
4916
4845
|
"scope": "teambit.compilation",
|
4917
4846
|
"name": "bundler",
|
4918
|
-
"version": "1.0.
|
4847
|
+
"version": "1.0.331"
|
4919
4848
|
},
|
4920
4849
|
"_scope": "teambit.compilation"
|
4921
4850
|
}
|
@@ -5085,8 +5014,7 @@
|
|
5085
5014
|
"line": 10,
|
5086
5015
|
"character": 25
|
5087
5016
|
},
|
5088
|
-
"name": "Server"
|
5089
|
-
"packageName": "http"
|
5017
|
+
"name": "Server"
|
5090
5018
|
},
|
5091
5019
|
{
|
5092
5020
|
"__schema": "TypeRefSchema",
|
@@ -5104,8 +5032,7 @@
|
|
5104
5032
|
"line": 10,
|
5105
5033
|
"character": 42
|
5106
5034
|
},
|
5107
|
-
"name": "Server"
|
5108
|
-
"packageName": "http"
|
5035
|
+
"name": "Server"
|
5109
5036
|
}
|
5110
5037
|
]
|
5111
5038
|
}
|
@@ -5599,8 +5526,7 @@
|
|
5599
5526
|
"line": 30,
|
5600
5527
|
"character": 13
|
5601
5528
|
},
|
5602
|
-
"name": "LibraryOptions"
|
5603
|
-
"internalFilePath": "bundler-context.ts"
|
5529
|
+
"name": "LibraryOptions"
|
5604
5530
|
},
|
5605
5531
|
"isOptional": true
|
5606
5532
|
}
|
@@ -5773,11 +5699,7 @@
|
|
5773
5699
|
"line": 46,
|
5774
5700
|
"character": 15
|
5775
5701
|
},
|
5776
|
-
"name": "Component"
|
5777
|
-
"componentId": {
|
5778
|
-
"scope": "teambit.component",
|
5779
|
-
"name": "component"
|
5780
|
-
}
|
5702
|
+
"name": "Component"
|
5781
5703
|
}
|
5782
5704
|
},
|
5783
5705
|
"isOptional": false
|
@@ -6081,8 +6003,7 @@
|
|
6081
6003
|
"line": 91,
|
6082
6004
|
"character": 14
|
6083
6005
|
},
|
6084
|
-
"name": "Chunking"
|
6085
|
-
"internalFilePath": "bundler-context.ts"
|
6006
|
+
"name": "Chunking"
|
6086
6007
|
},
|
6087
6008
|
"isOptional": true
|
6088
6009
|
},
|
@@ -7234,7 +7155,7 @@
|
|
7234
7155
|
"_legacy": {
|
7235
7156
|
"scope": "teambit.compilation",
|
7236
7157
|
"name": "bundler",
|
7237
|
-
"version": "1.0.
|
7158
|
+
"version": "1.0.331"
|
7238
7159
|
},
|
7239
7160
|
"_scope": "teambit.compilation"
|
7240
7161
|
}
|
@@ -7908,11 +7829,7 @@
|
|
7908
7829
|
"line": 70,
|
7909
7830
|
"character": 15
|
7910
7831
|
},
|
7911
|
-
"name": "Component"
|
7912
|
-
"componentId": {
|
7913
|
-
"scope": "teambit.component",
|
7914
|
-
"name": "component"
|
7915
|
-
}
|
7832
|
+
"name": "Component"
|
7916
7833
|
}
|
7917
7834
|
},
|
7918
7835
|
"isOptional": false
|
@@ -8247,11 +8164,6 @@
|
|
8247
8164
|
"character": 34
|
8248
8165
|
},
|
8249
8166
|
"name": "SlotRegistry",
|
8250
|
-
"componentId": {
|
8251
|
-
"scope": "teambit.harmony",
|
8252
|
-
"name": "harmony",
|
8253
|
-
"version": "0.4.6"
|
8254
|
-
},
|
8255
8167
|
"typeArgs": [
|
8256
8168
|
{
|
8257
8169
|
"__schema": "TypeRefSchema",
|
@@ -8260,8 +8172,7 @@
|
|
8260
8172
|
"line": 19,
|
8261
8173
|
"character": 47
|
8262
8174
|
},
|
8263
|
-
"name": "BrowserRuntime"
|
8264
|
-
"internalFilePath": "browser-runtime.ts"
|
8175
|
+
"name": "BrowserRuntime"
|
8265
8176
|
}
|
8266
8177
|
]
|
8267
8178
|
}
|
@@ -8283,11 +8194,6 @@
|
|
8283
8194
|
"character": 40
|
8284
8195
|
},
|
8285
8196
|
"name": "SlotRegistry",
|
8286
|
-
"componentId": {
|
8287
|
-
"scope": "teambit.harmony",
|
8288
|
-
"name": "harmony",
|
8289
|
-
"version": "0.4.6"
|
8290
|
-
},
|
8291
8197
|
"typeArgs": [
|
8292
8198
|
{
|
8293
8199
|
"__schema": "TypeRefSchema",
|
@@ -8296,8 +8202,7 @@
|
|
8296
8202
|
"line": 20,
|
8297
8203
|
"character": 53
|
8298
8204
|
},
|
8299
|
-
"name": "DevServerTransformer"
|
8300
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8205
|
+
"name": "DevServerTransformer"
|
8301
8206
|
}
|
8302
8207
|
]
|
8303
8208
|
}
|
@@ -8396,8 +8301,7 @@
|
|
8396
8301
|
"line": 31,
|
8397
8302
|
"character": 22
|
8398
8303
|
},
|
8399
|
-
"name": "BundlerConfig"
|
8400
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8304
|
+
"name": "BundlerConfig"
|
8401
8305
|
},
|
8402
8306
|
"isOptional": false,
|
8403
8307
|
"isSpread": false
|
@@ -8417,11 +8321,7 @@
|
|
8417
8321
|
"line": 35,
|
8418
8322
|
"character": 21
|
8419
8323
|
},
|
8420
|
-
"name": "PubsubMain"
|
8421
|
-
"componentId": {
|
8422
|
-
"scope": "teambit.harmony",
|
8423
|
-
"name": "pubsub"
|
8424
|
-
}
|
8324
|
+
"name": "PubsubMain"
|
8425
8325
|
},
|
8426
8326
|
"isOptional": false,
|
8427
8327
|
"isSpread": false
|
@@ -8441,11 +8341,7 @@
|
|
8441
8341
|
"line": 40,
|
8442
8342
|
"character": 19
|
8443
8343
|
},
|
8444
|
-
"name": "EnvsMain"
|
8445
|
-
"componentId": {
|
8446
|
-
"scope": "teambit.envs",
|
8447
|
-
"name": "envs"
|
8448
|
-
}
|
8344
|
+
"name": "EnvsMain"
|
8449
8345
|
},
|
8450
8346
|
"isOptional": false,
|
8451
8347
|
"isSpread": false
|
@@ -8465,8 +8361,7 @@
|
|
8465
8361
|
"line": 45,
|
8466
8362
|
"character": 25
|
8467
8363
|
},
|
8468
|
-
"name": "DevServerService"
|
8469
|
-
"internalFilePath": "dev-server.service.ts"
|
8364
|
+
"name": "DevServerService"
|
8470
8365
|
},
|
8471
8366
|
"isOptional": false,
|
8472
8367
|
"isSpread": false
|
@@ -8486,8 +8381,7 @@
|
|
8486
8381
|
"line": 50,
|
8487
8382
|
"character": 26
|
8488
8383
|
},
|
8489
|
-
"name": "BrowserRuntimeSlot"
|
8490
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8384
|
+
"name": "BrowserRuntimeSlot"
|
8491
8385
|
},
|
8492
8386
|
"isOptional": false,
|
8493
8387
|
"isSpread": false
|
@@ -8507,8 +8401,7 @@
|
|
8507
8401
|
"line": 55,
|
8508
8402
|
"character": 39
|
8509
8403
|
},
|
8510
|
-
"name": "DevServerTransformerSlot"
|
8511
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8404
|
+
"name": "DevServerTransformerSlot"
|
8512
8405
|
},
|
8513
8406
|
"isOptional": false,
|
8514
8407
|
"isSpread": false
|
@@ -8580,11 +8473,7 @@
|
|
8580
8473
|
"line": 62,
|
8581
8474
|
"character": 31
|
8582
8475
|
},
|
8583
|
-
"name": "Component"
|
8584
|
-
"componentId": {
|
8585
|
-
"scope": "teambit.component",
|
8586
|
-
"name": "component"
|
8587
|
-
}
|
8476
|
+
"name": "Component"
|
8588
8477
|
}
|
8589
8478
|
},
|
8590
8479
|
"isOptional": false,
|
@@ -8670,11 +8559,7 @@
|
|
8670
8559
|
"line": 80,
|
8671
8560
|
"character": 33
|
8672
8561
|
},
|
8673
|
-
"name": "Component"
|
8674
|
-
"componentId": {
|
8675
|
-
"scope": "teambit.component",
|
8676
|
-
"name": "component"
|
8677
|
-
}
|
8562
|
+
"name": "Component"
|
8678
8563
|
},
|
8679
8564
|
"isOptional": false,
|
8680
8565
|
"isSpread": false
|
@@ -8819,8 +8704,7 @@
|
|
8819
8704
|
"line": 111,
|
8820
8705
|
"character": 34
|
8821
8706
|
},
|
8822
|
-
"name": "BrowserRuntime"
|
8823
|
-
"internalFilePath": "browser-runtime.ts"
|
8707
|
+
"name": "BrowserRuntime"
|
8824
8708
|
}
|
8825
8709
|
},
|
8826
8710
|
"isOptional": false,
|
@@ -8885,8 +8769,7 @@
|
|
8885
8769
|
"line": 123,
|
8886
8770
|
"character": 54
|
8887
8771
|
},
|
8888
|
-
"name": "DevServerTransformer"
|
8889
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8772
|
+
"name": "DevServerTransformer"
|
8890
8773
|
},
|
8891
8774
|
"isOptional": false,
|
8892
8775
|
"isSpread": false
|
@@ -9020,11 +8903,7 @@
|
|
9020
8903
|
"line": 145,
|
9021
8904
|
"character": 51
|
9022
8905
|
},
|
9023
|
-
"name": "PubsubMain"
|
9024
|
-
"componentId": {
|
9025
|
-
"scope": "teambit.harmony",
|
9026
|
-
"name": "pubsub"
|
9027
|
-
}
|
8906
|
+
"name": "PubsubMain"
|
9028
8907
|
},
|
9029
8908
|
{
|
9030
8909
|
"__schema": "TypeRefSchema",
|
@@ -9033,11 +8912,7 @@
|
|
9033
8912
|
"line": 145,
|
9034
8913
|
"character": 63
|
9035
8914
|
},
|
9036
|
-
"name": "EnvsMain"
|
9037
|
-
"componentId": {
|
9038
|
-
"scope": "teambit.envs",
|
9039
|
-
"name": "envs"
|
9040
|
-
}
|
8915
|
+
"name": "EnvsMain"
|
9041
8916
|
},
|
9042
8917
|
{
|
9043
8918
|
"__schema": "TypeRefSchema",
|
@@ -9046,11 +8921,7 @@
|
|
9046
8921
|
"line": 145,
|
9047
8922
|
"character": 73
|
9048
8923
|
},
|
9049
|
-
"name": "GraphqlMain"
|
9050
|
-
"componentId": {
|
9051
|
-
"scope": "teambit.harmony",
|
9052
|
-
"name": "graphql"
|
9053
|
-
}
|
8924
|
+
"name": "GraphqlMain"
|
9054
8925
|
},
|
9055
8926
|
{
|
9056
8927
|
"__schema": "TypeRefSchema",
|
@@ -9059,11 +8930,7 @@
|
|
9059
8930
|
"line": 145,
|
9060
8931
|
"character": 86
|
9061
8932
|
},
|
9062
|
-
"name": "DependencyResolverMain"
|
9063
|
-
"componentId": {
|
9064
|
-
"scope": "teambit.dependencies",
|
9065
|
-
"name": "dependency-resolver"
|
9066
|
-
}
|
8933
|
+
"name": "DependencyResolverMain"
|
9067
8934
|
}
|
9068
8935
|
]
|
9069
8936
|
},
|
@@ -9113,8 +8980,7 @@
|
|
9113
8980
|
"line": 147,
|
9114
8981
|
"character": 47
|
9115
8982
|
},
|
9116
|
-
"name": "BrowserRuntimeSlot"
|
9117
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8983
|
+
"name": "BrowserRuntimeSlot"
|
9118
8984
|
},
|
9119
8985
|
{
|
9120
8986
|
"__schema": "TypeRefSchema",
|
@@ -9123,8 +8989,7 @@
|
|
9123
8989
|
"line": 147,
|
9124
8990
|
"character": 67
|
9125
8991
|
},
|
9126
|
-
"name": "DevServerTransformerSlot"
|
9127
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
8992
|
+
"name": "DevServerTransformerSlot"
|
9128
8993
|
}
|
9129
8994
|
]
|
9130
8995
|
},
|
@@ -9205,7 +9070,7 @@
|
|
9205
9070
|
"line": 9,
|
9206
9071
|
"character": 18
|
9207
9072
|
},
|
9208
|
-
"signature": "(componentId:
|
9073
|
+
"signature": "(componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: { \u001b[1mrelative\u001b[22m: boolean }): PathOsBased | undefined",
|
9209
9074
|
"name": "",
|
9210
9075
|
"params": [
|
9211
9076
|
{
|
@@ -9223,11 +9088,7 @@
|
|
9223
9088
|
"line": 10,
|
9224
9089
|
"character": 18
|
9225
9090
|
},
|
9226
|
-
"name": "ComponentID"
|
9227
|
-
"componentId": {
|
9228
|
-
"scope": "teambit.component",
|
9229
|
-
"name": "component"
|
9230
|
-
}
|
9091
|
+
"name": "ComponentID"
|
9231
9092
|
},
|
9232
9093
|
"isOptional": false,
|
9233
9094
|
"isSpread": false
|
@@ -9247,8 +9108,7 @@
|
|
9247
9108
|
"line": 11,
|
9248
9109
|
"character": 21
|
9249
9110
|
},
|
9250
|
-
"name": "GetBitMapComponentOptions"
|
9251
|
-
"packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
|
9111
|
+
"name": "GetBitMapComponentOptions"
|
9252
9112
|
},
|
9253
9113
|
"isOptional": true,
|
9254
9114
|
"isSpread": false
|
@@ -9310,8 +9170,7 @@
|
|
9310
9170
|
"line": 13,
|
9311
9171
|
"character": 8
|
9312
9172
|
},
|
9313
|
-
"name": "PathOsBased"
|
9314
|
-
"packageName": "@teambit/legacy/dist/utils/path"
|
9173
|
+
"name": "PathOsBased"
|
9315
9174
|
},
|
9316
9175
|
{
|
9317
9176
|
"__schema": "KeywordTypeSchema",
|
@@ -9367,11 +9226,7 @@
|
|
9367
9226
|
"line": 19,
|
9368
9227
|
"character": 41
|
9369
9228
|
},
|
9370
|
-
"name": "ExecutionContext"
|
9371
|
-
"componentId": {
|
9372
|
-
"scope": "teambit.envs",
|
9373
|
-
"name": "envs"
|
9374
|
-
}
|
9229
|
+
"name": "ExecutionContext"
|
9375
9230
|
},
|
9376
9231
|
"isOptional": false,
|
9377
9232
|
"isSpread": false
|
@@ -9391,8 +9246,7 @@
|
|
9391
9246
|
"line": 19,
|
9392
9247
|
"character": 72
|
9393
9248
|
},
|
9394
|
-
"name": "BrowserRuntimeSlot"
|
9395
|
-
"internalFilePath": "bundler.main.runtime.ts"
|
9249
|
+
"name": "BrowserRuntimeSlot"
|
9396
9250
|
},
|
9397
9251
|
"isOptional": false,
|
9398
9252
|
"isSpread": false
|
@@ -9505,11 +9359,7 @@
|
|
9505
9359
|
"line": 20,
|
9506
9360
|
"character": 21
|
9507
9361
|
},
|
9508
|
-
"name": "PubsubMain"
|
9509
|
-
"componentId": {
|
9510
|
-
"scope": "teambit.harmony",
|
9511
|
-
"name": "pubsub"
|
9512
|
-
}
|
9362
|
+
"name": "PubsubMain"
|
9513
9363
|
},
|
9514
9364
|
"isOptional": false,
|
9515
9365
|
"isSpread": false
|
@@ -9529,11 +9379,7 @@
|
|
9529
9379
|
"line": 25,
|
9530
9380
|
"character": 23
|
9531
9381
|
},
|
9532
|
-
"name": "ExecutionContext"
|
9533
|
-
"componentId": {
|
9534
|
-
"scope": "teambit.envs",
|
9535
|
-
"name": "envs"
|
9536
|
-
}
|
9382
|
+
"name": "ExecutionContext"
|
9537
9383
|
},
|
9538
9384
|
"isOptional": false,
|
9539
9385
|
"isSpread": false
|
@@ -9673,11 +9519,7 @@
|
|
9673
9519
|
"line": 43,
|
9674
9520
|
"character": 27
|
9675
9521
|
},
|
9676
|
-
"name": "Component"
|
9677
|
-
"componentId": {
|
9678
|
-
"scope": "teambit.component",
|
9679
|
-
"name": "component"
|
9680
|
-
}
|
9522
|
+
"name": "Component"
|
9681
9523
|
},
|
9682
9524
|
"isOptional": false,
|
9683
9525
|
"isSpread": false
|
@@ -9961,8 +9803,7 @@
|
|
9961
9803
|
"line": 9,
|
9962
9804
|
"character": 64
|
9963
9805
|
},
|
9964
|
-
"name": "ComponentsServerStartedEventData"
|
9965
|
-
"internalFilePath": "events/components-server-started-event.ts"
|
9806
|
+
"name": "ComponentsServerStartedEventData"
|
9966
9807
|
}
|
9967
9808
|
],
|
9968
9809
|
"expression": {
|
@@ -9977,7 +9818,7 @@
|
|
9977
9818
|
"_legacy": {
|
9978
9819
|
"scope": "teambit.compilation",
|
9979
9820
|
"name": "bundler",
|
9980
|
-
"version": "1.0.
|
9821
|
+
"version": "1.0.331"
|
9981
9822
|
},
|
9982
9823
|
"_scope": "teambit.compilation"
|
9983
9824
|
}
|
@@ -10147,7 +9988,7 @@
|
|
10147
9988
|
"componentId": {
|
10148
9989
|
"scope": "teambit.compilation",
|
10149
9990
|
"name": "bundler",
|
10150
|
-
"version": "1.0.
|
9991
|
+
"version": "1.0.331"
|
10151
9992
|
},
|
10152
9993
|
"taggedModuleExports": []
|
10153
9994
|
}
|
package/dist/get-entry.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ComponentID } from '@teambit/component';
|
2
2
|
import { ExecutionContext } from '@teambit/envs';
|
3
|
-
import { GetBitMapComponentOptions } from '@teambit/legacy
|
4
|
-
import { PathOsBased } from '@teambit/
|
3
|
+
import { GetBitMapComponentOptions } from '@teambit/legacy.bit-map';
|
4
|
+
import { PathOsBased } from '@teambit/toolbox.path.path';
|
5
5
|
import { BrowserRuntimeSlot } from './bundler.main.runtime';
|
6
6
|
export type ComponentDir = {
|
7
7
|
componentDir?: (componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: {
|
package/dist/get-entry.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getEntry","context","runtimeSlot","slotEntries","Promise","all","values","map","browserRuntime","entry","slotPaths","reduce","acc","current","concat"],"sources":["get-entry.ts"],"sourcesContent":["import { ComponentID } from '@teambit/component';\nimport { ExecutionContext } from '@teambit/envs';\nimport { GetBitMapComponentOptions } from '@teambit/legacy
|
1
|
+
{"version":3,"names":["getEntry","context","runtimeSlot","slotEntries","Promise","all","values","map","browserRuntime","entry","slotPaths","reduce","acc","current","concat"],"sources":["get-entry.ts"],"sourcesContent":["import { ComponentID } from '@teambit/component';\nimport { ExecutionContext } from '@teambit/envs';\nimport { GetBitMapComponentOptions } from '@teambit/legacy.bit-map';\nimport { PathOsBased } from '@teambit/toolbox.path.path';\n\nimport { BrowserRuntimeSlot } from './bundler.main.runtime';\n\nexport type ComponentDir = {\n componentDir?: (\n componentId: ComponentID,\n bitMapOptions?: GetBitMapComponentOptions,\n options?: { relative: boolean }\n ) => PathOsBased | undefined;\n};\n\n/**\n * computes the bundler entry.\n */\nexport async function getEntry(context: ExecutionContext, runtimeSlot: BrowserRuntimeSlot): Promise<string[]> {\n // TODO: refactor this away from here and use computePaths instead\n const slotEntries = await Promise.all(\n runtimeSlot.values().map(async (browserRuntime) => browserRuntime.entry(context))\n );\n\n const slotPaths = slotEntries.reduce((acc, current) => {\n acc = acc.concat(current);\n return acc;\n });\n\n return slotPaths;\n}\n"],"mappings":";;;;;;AAeA;AACA;AACA;AACO,eAAeA,QAAQA,CAACC,OAAyB,EAAEC,WAA+B,EAAqB;EAC5G;EACA,MAAMC,WAAW,GAAG,MAAMC,OAAO,CAACC,GAAG,CACnCH,WAAW,CAACI,MAAM,CAAC,CAAC,CAACC,GAAG,CAAC,MAAOC,cAAc,IAAKA,cAAc,CAACC,KAAK,CAACR,OAAO,CAAC,CAClF,CAAC;EAED,MAAMS,SAAS,GAAGP,WAAW,CAACQ,MAAM,CAAC,CAACC,GAAG,EAAEC,OAAO,KAAK;IACrDD,GAAG,GAAGA,GAAG,CAACE,MAAM,CAACD,OAAO,CAAC;IACzB,OAAOD,GAAG;EACZ,CAAC,CAAC;EAEF,OAAOF,SAAS;AAClB","ignoreList":[]}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.331/dist/bundler.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.331/dist/bundler.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/bundler",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.331",
|
4
4
|
"homepage": "https://bit.cloud/teambit/compilation/bundler",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.compilation",
|
8
8
|
"name": "bundler",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.331"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -14,20 +14,22 @@
|
|
14
14
|
"lodash": "4.17.21",
|
15
15
|
"p-map-series": "2.1.0",
|
16
16
|
"@teambit/harmony": "0.4.6",
|
17
|
-
"@teambit/envs": "1.0.
|
18
|
-
"@teambit/builder": "1.0.
|
19
|
-
"@teambit/component": "1.0.
|
20
|
-
"@teambit/cli": "0.0.
|
21
|
-
"@teambit/dependency-resolver": "1.0.
|
22
|
-
"@teambit/graphql": "1.0.
|
23
|
-
"@teambit/pubsub": "1.0.
|
17
|
+
"@teambit/envs": "1.0.331",
|
18
|
+
"@teambit/builder": "1.0.331",
|
19
|
+
"@teambit/component": "1.0.331",
|
20
|
+
"@teambit/cli": "0.0.908",
|
21
|
+
"@teambit/dependency-resolver": "1.0.331",
|
22
|
+
"@teambit/graphql": "1.0.331",
|
23
|
+
"@teambit/pubsub": "1.0.331",
|
24
|
+
"@teambit/legacy.bit-map": "0.0.5",
|
25
|
+
"@teambit/toolbox.path.path": "0.0.2",
|
24
26
|
"@teambit/toolbox.network.get-port": "1.0.6"
|
25
27
|
},
|
26
28
|
"devDependencies": {
|
27
29
|
"@types/lodash": "4.14.165",
|
28
30
|
"@types/mocha": "9.1.0",
|
29
31
|
"chai": "4.3.0",
|
30
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
32
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.42"
|
31
33
|
},
|
32
34
|
"peerDependencies": {
|
33
35
|
"@apollo/client": "^3.6.0",
|