@teambit/multi-compiler 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/multi-compiler@1.0.
|
3
|
+
<testsuite name="teambit.compilation/multi-compiler@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/multi-compiler-preview"]=t():e["teambit.compilation/multi-compiler-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/multi-compiler-preview"]=t():e["teambit.compilation/multi-compiler-preview"]=t()}(self,(()=>(()=>{"use strict";var e={47756:(e,t,o)=>{Object.defineProperty(t,"b",{enumerable:!0,get:function(){return n.default}});var n=r(o(95522));function r(e){return e&&e.__esModule?e:{default:e}}r.__bit_component={id:"teambit.compilation/aspect-docs/multi-compiler@0.0.170",homepage:"https://bit.cloud/teambit/compilation/aspect-docs/multi-compiler",exported:!0}},95522:(e,t,o)=>{var n={id:"teambit.compilation/aspect-docs/multi-compiler@0.0.170",homepage:"https://bit.cloud/teambit/compilation/aspect-docs/multi-compiler",exported:!0};Object.defineProperty(t,"__esModule",{value:!0}),t.default=s,l(o(41594));var r=o(5016),i=["components"];function l(e){return e&&e.__esModule?e:{default:e}}function p(){return p=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},p.apply(null,arguments)}function a(e,t){if(null==e)return{};var o,n,r=c(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}function c(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}l.__bit_component=n,p.__bit_component=n,a.__bit_component=n,c.__bit_component=n;var m={},u="wrapper";function s(e){var t=e.components,o=a(e,i);return(0,r.mdx)(u,p({},m,o,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("p",null,"The multi-compiler aspect allows the configuration of multiple compilers on a component. This determines which compiler to apply on a component file using the ",(0,r.mdx)("inlineCode",{parentName:"p"},"isFileSupported()")," compiler API."),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"createCompiler(compilers: Compiler[], options: CompilerOptions)")," API to support the creation a Multi-compiler instance which can be used in the Env API (the ",(0,r.mdx)("inlineCode",{parentName:"li"},"overrideCompiler")," and ",(0,r.mdx)("inlineCode",{parentName:"li"},"getCompiler")," APIs)."),(0,r.mdx)("li",{parentName:"ul"},"Supports the creation of a multi-compiler build tasks.")),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-ts"},"// create a multi compiler instance.\nconst compiler = multiCompiler.createCompiler([createBabelCompiler(), createTsCompiler()]);\n\n// create a multi-compiler build task.\ncompiler.createTask('MultiCompiler', compiler);\n")))}s.__bit_component=n,s.isMDXComponent=!0},97362:(e,t,o)=>{var n={id:"teambit.compilation/multi-compiler@1.0.412",homepage:"https://bit.cloud/teambit/compilation/multi-compiler",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 l=()=>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/multi-complier.svg"}));l.__bit_component=n,t.Logo=l},5016:e=>{e.exports=MdxJsReact},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:()=>v,overview:()=>b});var r={};o.r(r),o.d(r,{default:()=>d});var i=o(97362),l=(o(41594),o(5016));const p=TeambitMdxUiMdxScopeContext;var a=o(47756),c=["components"];function m(){return m=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},m.apply(null,arguments)}var u={},s="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,c);return(0,l.mdx)(s,m({},u,o,{components:t,mdxType:"MDXLayout"}),(0,l.mdx)(p.MDXScopeProvider,{components:{MultiCompiler:a.b},mdxType:"MDXScopeProvider"},(0,l.mdx)(a.b,{mdxType:"MultiCompiler"})))}d.isMDXComponent=!0;const f=[i],b=[r],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
@@ -20,6 +20,7 @@
|
|
20
20
|
"line": 3,
|
21
21
|
"character": 10
|
22
22
|
},
|
23
|
+
"signature": "const MultiCompilerAspect: Aspect",
|
23
24
|
"name": "MultiCompilerAspect",
|
24
25
|
"exportNode": {
|
25
26
|
"__schema": "VariableLikeSchema",
|
@@ -55,6 +56,7 @@
|
|
55
56
|
"line": 4,
|
56
57
|
"character": 15
|
57
58
|
},
|
59
|
+
"signature": "class MultiCompilerMain",
|
58
60
|
"name": "MultiCompilerMain",
|
59
61
|
"exportNode": {
|
60
62
|
"__schema": "ClassSchema",
|
@@ -228,6 +230,7 @@
|
|
228
230
|
"line": 5,
|
229
231
|
"character": 15
|
230
232
|
},
|
233
|
+
"signature": "class MultiCompiler",
|
231
234
|
"name": "MultiCompiler",
|
232
235
|
"exportNode": {
|
233
236
|
"__schema": "ClassSchema",
|
@@ -996,7 +999,7 @@
|
|
996
999
|
"_legacy": {
|
997
1000
|
"scope": "teambit.compilation",
|
998
1001
|
"name": "multi-compiler",
|
999
|
-
"version": "1.0.
|
1002
|
+
"version": "1.0.412"
|
1000
1003
|
},
|
1001
1004
|
"_scope": "teambit.compilation"
|
1002
1005
|
}
|
@@ -2057,7 +2060,7 @@
|
|
2057
2060
|
"_legacy": {
|
2058
2061
|
"scope": "teambit.compilation",
|
2059
2062
|
"name": "multi-compiler",
|
2060
|
-
"version": "1.0.
|
2063
|
+
"version": "1.0.412"
|
2061
2064
|
},
|
2062
2065
|
"_scope": "teambit.compilation"
|
2063
2066
|
}
|
@@ -2072,7 +2075,7 @@
|
|
2072
2075
|
"componentId": {
|
2073
2076
|
"scope": "teambit.compilation",
|
2074
2077
|
"name": "multi-compiler",
|
2075
|
-
"version": "1.0.
|
2078
|
+
"version": "1.0.412"
|
2076
2079
|
},
|
2077
2080
|
"taggedModuleExports": []
|
2078
2081
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_multi-compiler@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_multi-compiler@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_multi-compiler@1.0.412/dist/multi-compiler.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.compilation_multi-compiler@1.0.412/dist/multi-compiler.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
@@ -1,26 +1,25 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/multi-compiler",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.412",
|
4
4
|
"homepage": "https://bit.cloud/teambit/compilation/multi-compiler",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.compilation",
|
8
8
|
"name": "multi-compiler",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.412"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"p-map-series": "2.1.0",
|
13
13
|
"@teambit/harmony": "0.4.6",
|
14
|
-
"@teambit/builder": "1.0.
|
15
|
-
"@teambit/compiler": "1.0.
|
16
|
-
"@teambit/component": "1.0.
|
14
|
+
"@teambit/builder": "1.0.412",
|
15
|
+
"@teambit/compiler": "1.0.412",
|
16
|
+
"@teambit/component": "1.0.412",
|
17
17
|
"@teambit/pipelines.modules.merge-component-results": "0.0.498",
|
18
|
-
"@teambit/cli": "0.0.
|
18
|
+
"@teambit/cli": "0.0.989"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@types/mocha": "9.1.0",
|
22
|
-
"
|
23
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.47",
|
22
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.59",
|
24
23
|
"@teambit/compilation.aspect-docs.multi-compiler": "0.0.170"
|
25
24
|
},
|
26
25
|
"peerDependencies": {
|