@teambit/bundler 1.0.410 → 1.0.412

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.compilation/bundler@1.0.410" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.compilation/bundler@1.0.412" 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={45052:(e,t,o)=>{var n={id:"teambit.compilation/bundler@1.0.410",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(45052);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.includes(n))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.includes(o)||{}.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})()));
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={89474:(e,t,o)=>{var n={id:"teambit.compilation/bundler@1.0.412",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(89474);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.includes(n))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.includes(o)||{}.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})()));
@@ -20,6 +20,7 @@
20
20
  "line": 3,
21
21
  "character": 15
22
22
  },
23
+ "signature": "interface DevServer",
23
24
  "name": "DevServer",
24
25
  "exportNode": {
25
26
  "__schema": "InterfaceSchema",
@@ -393,6 +394,7 @@
393
394
  "line": 4,
394
395
  "character": 15
395
396
  },
397
+ "signature": "interface DevServerContext",
396
398
  "name": "DevServerContext",
397
399
  "exportNode": {
398
400
  "__schema": "InterfaceSchema",
@@ -722,7 +724,7 @@
722
724
  "_legacy": {
723
725
  "scope": "teambit.compilation",
724
726
  "name": "bundler",
725
- "version": "1.0.410"
727
+ "version": "1.0.412"
726
728
  },
727
729
  "_scope": "teambit.compilation"
728
730
  }
@@ -738,6 +740,7 @@
738
740
  "line": 6,
739
741
  "character": 3
740
742
  },
743
+ "signature": "interface BundlerContext",
741
744
  "name": "BundlerContext",
742
745
  "exportNode": {
743
746
  "__schema": "InterfaceSchema",
@@ -1135,7 +1138,7 @@
1135
1138
  "_legacy": {
1136
1139
  "scope": "teambit.compilation",
1137
1140
  "name": "bundler",
1138
- "version": "1.0.410"
1141
+ "version": "1.0.412"
1139
1142
  },
1140
1143
  "_scope": "teambit.compilation"
1141
1144
  }
@@ -1151,6 +1154,7 @@
1151
1154
  "line": 7,
1152
1155
  "character": 3
1153
1156
  },
1157
+ "signature": "type Target = {\n entries: string[] | EntryMap;\n components: Component[];\n outputPath: string;\n filename?: string | undefined;\n chunkFilename?: string | undefined;\n compress?: boolean | undefined;\n peers?: string[] | undefined;\n html?: HtmlConfig[] | undefined;\n ... 6 more ...;\n aliasHostDependencies?: boolean | undefined;\n}",
1154
1158
  "name": "Target",
1155
1159
  "exportNode": {
1156
1160
  "__schema": "TypeSchema",
@@ -1712,6 +1716,7 @@
1712
1716
  "line": 8,
1713
1717
  "character": 3
1714
1718
  },
1719
+ "signature": "type ModuleTarget = {\n name: string;\n exposes: {\n [internalPath: string]: string;\n };\n shared: {\n [key: string]: any;\n };\n}",
1715
1720
  "name": "ModuleTarget",
1716
1721
  "exportNode": {
1717
1722
  "__schema": "TypeSchema",
@@ -1899,6 +1904,7 @@
1899
1904
  "line": 9,
1900
1905
  "character": 17
1901
1906
  },
1907
+ "signature": "type HtmlConfig = {\n title: string;\n filename?: string | undefined;\n chunks?: string[] | undefined;\n chunkOrder?: \"manual\" | \"auto\" | undefined;\n templateContent: string;\n minify?: boolean | undefined;\n favicon?: string | undefined;\n}",
1902
1908
  "name": "HtmlConfig",
1903
1909
  "exportNode": {
1904
1910
  "__schema": "TypeSchema",
@@ -2184,6 +2190,7 @@
2184
2190
  "line": 10,
2185
2191
  "character": 15
2186
2192
  },
2193
+ "signature": "type EntryMap = {\n [entryName: string]: Entry;\n}",
2187
2194
  "name": "EntryMap",
2188
2195
  "exportNode": {
2189
2196
  "__schema": "TypeSchema",
@@ -2251,6 +2258,7 @@
2251
2258
  "line": 11,
2252
2259
  "character": 12
2253
2260
  },
2261
+ "signature": "type Entry = {\n filename: string;\n import: string | string[];\n library?: LibraryOptions | undefined;\n}",
2254
2262
  "name": "Entry",
2255
2263
  "exportNode": {
2256
2264
  "__schema": "TypeSchema",
@@ -2401,6 +2409,7 @@
2401
2409
  "line": 12,
2402
2410
  "character": 15
2403
2411
  },
2412
+ "signature": "type MetaData = {\n initiator?: string | undefined;\n envId?: string | undefined;\n isEnvTemplate?: boolean | undefined;\n}",
2404
2413
  "name": "MetaData",
2405
2414
  "exportNode": {
2406
2415
  "__schema": "TypeSchema",
@@ -2524,6 +2533,7 @@
2524
2533
  "line": 15,
2525
2534
  "character": 3
2526
2535
  },
2536
+ "signature": "interface Bundler",
2527
2537
  "name": "Bundler",
2528
2538
  "exportNode": {
2529
2539
  "__schema": "InterfaceSchema",
@@ -2586,6 +2596,7 @@
2586
2596
  "line": 16,
2587
2597
  "character": 3
2588
2598
  },
2599
+ "signature": "type BundlerResult = {\n assets: Asset[];\n assetsByChunkName?: ChunksAssetsMap | undefined;\n entriesAssetsMap?: EntriesAssetsMap | undefined;\n errors: Error[];\n warnings: string[];\n components: Component[];\n startTime?: number | undefined;\n endTime?: number | undefined;\n outputPath?: string | undefined;\n}",
2589
2600
  "name": "BundlerResult",
2590
2601
  "exportNode": {
2591
2602
  "__schema": "TypeSchema",
@@ -2926,6 +2937,7 @@
2926
2937
  "line": 17,
2927
2938
  "character": 3
2928
2939
  },
2940
+ "signature": "type BundlerMode = \"prod\" | \"dev\"",
2929
2941
  "name": "BundlerMode",
2930
2942
  "exportNode": {
2931
2943
  "__schema": "TypeSchema",
@@ -2973,6 +2985,7 @@
2973
2985
  "line": 18,
2974
2986
  "character": 3
2975
2987
  },
2988
+ "signature": "type Asset = {\n name: string;\n size: number;\n compressedSize?: number | undefined;\n}",
2976
2989
  "name": "Asset",
2977
2990
  "exportNode": {
2978
2991
  "__schema": "TypeSchema",
@@ -3095,6 +3108,7 @@
3095
3108
  "line": 19,
3096
3109
  "character": 3
3097
3110
  },
3111
+ "signature": "type ChunksAssetsMap = {\n [assetName: string]: string[];\n}",
3098
3112
  "name": "ChunksAssetsMap",
3099
3113
  "exportNode": {
3100
3114
  "__schema": "TypeSchema",
@@ -3169,6 +3183,7 @@
3169
3183
  "line": 20,
3170
3184
  "character": 3
3171
3185
  },
3186
+ "signature": "type EntriesAssetsMap = {\n [entryId: string]: EntryAssets;\n}",
3172
3187
  "name": "EntriesAssetsMap",
3173
3188
  "exportNode": {
3174
3189
  "__schema": "TypeSchema",
@@ -3235,6 +3250,7 @@
3235
3250
  "line": 21,
3236
3251
  "character": 3
3237
3252
  },
3253
+ "signature": "type EntryAssets = {\n assets: Asset[];\n auxiliaryAssets: Asset[];\n assetsSize: number;\n compressedAssetsSize?: number | undefined;\n auxiliaryAssetsSize: number;\n compressedAuxiliaryAssetsSize: number;\n}",
3238
3254
  "name": "EntryAssets",
3239
3255
  "exportNode": {
3240
3256
  "__schema": "TypeSchema",
@@ -3400,6 +3416,7 @@
3400
3416
  "line": 23,
3401
3417
  "character": 15
3402
3418
  },
3419
+ "signature": "class BundlerMain",
3403
3420
  "name": "BundlerMain",
3404
3421
  "exportNode": {
3405
3422
  "__schema": "ClassSchema",
@@ -4169,6 +4186,7 @@
4169
4186
  "line": 24,
4170
4187
  "character": 15
4171
4188
  },
4189
+ "signature": "type ComponentDir = {\n componentDir?: ((componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: {\n relative: boolean;\n }) => PathOsBased | undefined) | undefined;\n}",
4172
4190
  "name": "ComponentDir",
4173
4191
  "exportNode": {
4174
4192
  "__schema": "TypeSchema",
@@ -4203,7 +4221,7 @@
4203
4221
  "line": 9,
4204
4222
  "character": 18
4205
4223
  },
4206
- "signature": "(componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: { \u001b[1mrelative\u001b[22m: boolean }): PathOsBased | undefined",
4224
+ "signature": "(componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: { relative: boolean }): PathOsBased | undefined",
4207
4225
  "name": "",
4208
4226
  "params": [
4209
4227
  {
@@ -4331,6 +4349,7 @@
4331
4349
  "line": 25,
4332
4350
  "character": 10
4333
4351
  },
4352
+ "signature": "class ComponentServer",
4334
4353
  "name": "ComponentServer",
4335
4354
  "exportNode": {
4336
4355
  "__schema": "ClassSchema",
@@ -4844,7 +4863,7 @@
4844
4863
  "_legacy": {
4845
4864
  "scope": "teambit.compilation",
4846
4865
  "name": "bundler",
4847
- "version": "1.0.410"
4866
+ "version": "1.0.412"
4848
4867
  },
4849
4868
  "_scope": "teambit.compilation"
4850
4869
  }
@@ -4860,6 +4879,7 @@
4860
4879
  "line": 27,
4861
4880
  "character": 10
4862
4881
  },
4882
+ "signature": "const BundlerAspect: Aspect",
4863
4883
  "name": "BundlerAspect",
4864
4884
  "exportNode": {
4865
4885
  "__schema": "VariableLikeSchema",
@@ -4895,6 +4915,7 @@
4895
4915
  "line": 27,
4896
4916
  "character": 42
4897
4917
  },
4918
+ "signature": "const BundlerAspect: Aspect",
4898
4919
  "name": "BundlerAspect",
4899
4920
  "exportNode": {
4900
4921
  "__schema": "VariableLikeSchema",
@@ -7155,7 +7176,7 @@
7155
7176
  "_legacy": {
7156
7177
  "scope": "teambit.compilation",
7157
7178
  "name": "bundler",
7158
- "version": "1.0.410"
7179
+ "version": "1.0.412"
7159
7180
  },
7160
7181
  "_scope": "teambit.compilation"
7161
7182
  }
@@ -8048,7 +8069,7 @@
8048
8069
  "line": 17,
8049
8070
  "character": 36
8050
8071
  },
8051
- "signature": "(devServer: DevServer, { envId }: { \u001b[1menvId\u001b[22m: string }): DevServer",
8072
+ "signature": "(devServer: DevServer, { envId }: { envId: string }): DevServer",
8052
8073
  "name": "",
8053
8074
  "params": [
8054
8075
  {
@@ -9070,7 +9091,7 @@
9070
9091
  "line": 9,
9071
9092
  "character": 18
9072
9093
  },
9073
- "signature": "(componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: { \u001b[1mrelative\u001b[22m: boolean }): PathOsBased | undefined",
9094
+ "signature": "(componentId: ComponentID, bitMapOptions?: GetBitMapComponentOptions, options?: { relative: boolean }): PathOsBased | undefined",
9074
9095
  "name": "",
9075
9096
  "params": [
9076
9097
  {
@@ -9818,7 +9839,7 @@
9818
9839
  "_legacy": {
9819
9840
  "scope": "teambit.compilation",
9820
9841
  "name": "bundler",
9821
- "version": "1.0.410"
9842
+ "version": "1.0.412"
9822
9843
  },
9823
9844
  "_scope": "teambit.compilation"
9824
9845
  }
@@ -9988,7 +10009,7 @@
9988
10009
  "componentId": {
9989
10010
  "scope": "teambit.compilation",
9990
10011
  "name": "bundler",
9991
- "version": "1.0.410"
10012
+ "version": "1.0.412"
9992
10013
  },
9993
10014
  "taggedModuleExports": []
9994
10015
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.410/dist/bundler.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.410/dist/bundler.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.412/dist/bundler.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_bundler@1.0.412/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.410",
3
+ "version": "1.0.412",
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.410"
9
+ "version": "1.0.412"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -14,22 +14,21 @@
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.410",
18
- "@teambit/builder": "1.0.410",
19
- "@teambit/component": "1.0.410",
20
- "@teambit/cli": "0.0.987",
21
- "@teambit/dependency-resolver": "1.0.410",
22
- "@teambit/graphql": "1.0.410",
23
- "@teambit/pubsub": "1.0.410",
24
- "@teambit/legacy.bit-map": "0.0.33",
17
+ "@teambit/envs": "1.0.412",
18
+ "@teambit/builder": "1.0.412",
19
+ "@teambit/component": "1.0.412",
20
+ "@teambit/cli": "0.0.989",
21
+ "@teambit/dependency-resolver": "1.0.412",
22
+ "@teambit/graphql": "1.0.412",
23
+ "@teambit/pubsub": "1.0.412",
24
+ "@teambit/legacy.bit-map": "0.0.34",
25
25
  "@teambit/toolbox.path.path": "0.0.4",
26
26
  "@teambit/toolbox.network.get-port": "1.0.6"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash": "4.14.165",
30
30
  "@types/mocha": "9.1.0",
31
- "chai": "4.3.0",
32
- "@teambit/harmony.envs.core-aspect-env": "0.0.47"
31
+ "@teambit/harmony.envs.core-aspect-env": "0.0.59"
33
32
  },
34
33
  "peerDependencies": {
35
34
  "@apollo/client": "^3.6.0",