@teambit/compilation.aspect-docs.multi-compiler 0.0.130 → 0.0.131
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/dist/index.js +7 -15
- package/dist/index.js.map +1 -1
- package/dist/multi-compiler.composition.js +11 -20
- package/dist/multi-compiler.composition.js.map +1 -1
- package/dist/multi-compiler.mdx.js.map +1 -1
- package/package-tar/teambit-compilation.aspect-docs.multi-compiler-0.0.131.tgz +0 -0
- package/package.json +4 -4
- package/package-tar/teambit-compilation.aspect-docs.multi-compiler-0.0.130.tgz +0 -0
package/dist/index.js
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return _multiCompiler["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
var _multiCompiler = _interopRequireDefault(require("./multi-compiler.mdx"));
|
|
14
|
-
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
-
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MultiCompiler = void 0;
|
|
7
|
+
var multi_compiler_mdx_1 = require("./multi-compiler.mdx");
|
|
8
|
+
Object.defineProperty(exports, "MultiCompiler", { enumerable: true, get: function () { return __importDefault(multi_compiler_mdx_1).default; } });
|
|
17
9
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;AAAA,2DAAgE;AAAvD,oIAAA,OAAO,OAAiB"}
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.MultiCompilerDocs = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _documenterTheme = require("@teambit/documenter.theme.theme-compositions");
|
|
11
|
-
|
|
12
|
-
var _mdxUi = require("@teambit/mdx.ui.mdx-layout");
|
|
13
|
-
|
|
14
|
-
var _index = require("./index");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
var MultiCompilerDocs = function MultiCompilerDocs() {
|
|
19
|
-
return /*#__PURE__*/_react["default"].createElement(_documenterTheme.ThemeCompositions, null, /*#__PURE__*/_react["default"].createElement(_mdxUi.MDXLayout, null, /*#__PURE__*/_react["default"].createElement(_index.MultiCompiler, null)));
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
20
4
|
};
|
|
21
|
-
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MultiCompilerDocs = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const documenter_theme_theme_compositions_1 = require("@teambit/documenter.theme.theme-compositions");
|
|
9
|
+
const mdx_ui_mdx_layout_1 = require("@teambit/mdx.ui.mdx-layout");
|
|
10
|
+
const index_1 = require("./index");
|
|
11
|
+
const MultiCompilerDocs = () => (react_1.default.createElement(documenter_theme_theme_compositions_1.ThemeCompositions, null,
|
|
12
|
+
react_1.default.createElement(mdx_ui_mdx_layout_1.MDXLayout, null,
|
|
13
|
+
react_1.default.createElement(index_1.MultiCompiler, null))));
|
|
22
14
|
exports.MultiCompilerDocs = MultiCompilerDocs;
|
|
23
|
-
|
|
24
15
|
//# sourceMappingURL=multi-compiler.composition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["multi-compiler.composition.tsx"],"names":[
|
|
1
|
+
{"version":3,"file":"multi-compiler.composition.js","sourceRoot":"","sources":["../multi-compiler.composition.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,sGAAiF;AACjF,kEAAuD;AACvD,mCAAwC;AAEjC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,CACrC,8BAAC,uDAAiB;IAChB,8BAAC,6BAAS;QACR,8BAAC,qBAAa,OAAG,CACP,CACM,CACrB,CAAC;AANW,QAAA,iBAAiB,qBAM5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["multi-compiler.mdx.js"],"names":["layoutProps","MDXLayout","MDXContent","components","props","isMDXComponent"],"mappings":";;;;;;;AAEA;;AACA;;AAKA;;;;;;;;;;;;AAGA,IAAMA,WAAW,GAAG,EAApB;AAGA,IAAMC,SAAS,GAAG,SAAlB;;AACe,SAASC,UAAT,OAGZ;AAAA,MAFDC,UAEC,QAFDA,UAEC;AAAA,MADEC,KACF;;AACD,SAAO,iBAAC,SAAD,eAAeJ,WAAf,EAAgCI,KAAhC;AAAuC,IAAA,UAAU,EAAED,UAAnD;AAA+D,IAAA,OAAO,EAAC;AAAvE,MACL,iBAAC,uBAAD;AAAkB,IAAA,UAAU,EAAE,EAA9B;AAAkC,IAAA,OAAO,EAAC;AAA1C,KAA6D,+LAAsK;AAAY,IAAA,UAAU,EAAC;AAAvB,yBAAtK,mBAA7D,EACE,6BACE;AAAI,IAAA,UAAU,EAAC;AAAf,KAAoB;AAAY,IAAA,UAAU,EAAC;AAAvB,uEAApB,mGAAiO;AAAY,IAAA,UAAU,EAAC;AAAvB,wBAAjO,WAAuS;AAAY,IAAA,UAAU,EAAC;AAAvB,mBAAvS,YADF,EAEE;AAAI,IAAA,UAAU,EAAC;AAAf,8DAFF,CADF,EAKE,8BAAK;AAAM,IAAA,UAAU,EAAC,KAAjB;AACD,iBAAa;AADZ,sOAAL,CALF,CADK,CAAP;AAeD;;AAED;AACAD,UAAU,CAACG,cAAX,GAA4B,IAA5B","sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.
|
|
1
|
+
{"version":3,"sources":["multi-compiler.mdx.js"],"names":["layoutProps","MDXLayout","MDXContent","components","props","isMDXComponent"],"mappings":";;;;;;;AAEA;;AACA;;AAKA;;;;;;;;;;;;AAGA,IAAMA,WAAW,GAAG,EAApB;AAGA,IAAMC,SAAS,GAAG,SAAlB;;AACe,SAASC,UAAT,OAGZ;AAAA,MAFDC,UAEC,QAFDA,UAEC;AAAA,MADEC,KACF;;AACD,SAAO,iBAAC,SAAD,eAAeJ,WAAf,EAAgCI,KAAhC;AAAuC,IAAA,UAAU,EAAED,UAAnD;AAA+D,IAAA,OAAO,EAAC;AAAvE,MACL,iBAAC,uBAAD;AAAkB,IAAA,UAAU,EAAE,EAA9B;AAAkC,IAAA,OAAO,EAAC;AAA1C,KAA6D,+LAAsK;AAAY,IAAA,UAAU,EAAC;AAAvB,yBAAtK,mBAA7D,EACE,6BACE;AAAI,IAAA,UAAU,EAAC;AAAf,KAAoB;AAAY,IAAA,UAAU,EAAC;AAAvB,uEAApB,mGAAiO;AAAY,IAAA,UAAU,EAAC;AAAvB,wBAAjO,WAAuS;AAAY,IAAA,UAAU,EAAC;AAAvB,mBAAvS,YADF,EAEE;AAAI,IAAA,UAAU,EAAC;AAAf,8DAFF,CADF,EAKE,8BAAK;AAAM,IAAA,UAAU,EAAC,KAAjB;AACD,iBAAa;AADZ,sOAAL,CALF,CADK,CAAP;AAeD;;AAED;AACAD,UAAU,CAACG,cAAX,GAA4B,IAA5B","sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.compilation_aspect-docs_multi-compiler@0.0.131","sourcesContent":["\n// @ts-nocheck\nimport React from 'react'\nimport { mdx } from '@mdx-js/react'\n\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nimport { MDXScopeProvider } from '@teambit/mdx.ui.mdx-scope-context';\n\n\nconst layoutProps = {\n \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n <MDXScopeProvider components={{}} mdxType=\"MDXScopeProvider\"><p>{`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 `}<inlineCode parentName=\"p\">{`isFileSupported()`}</inlineCode>{` compiler API.`}</p>\n <ul>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`createCompiler(compilers: Compiler[], options: CompilerOptions)`}</inlineCode>{` API to support the creation a Multi-compiler instance which can be used in the Env API (the `}<inlineCode parentName=\"li\">{`overrideCompiler`}</inlineCode>{` and `}<inlineCode parentName=\"li\">{`getCompiler`}</inlineCode>{` APIs).`}</li>\n <li parentName=\"ul\">{`Supports the creation of a multi-compiler build tasks.`}</li>\n </ul>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-ts\"\n }}>{`// create a multi compiler instance.\nconst compiler = multiCompiler.createCompiler([createBabelCompiler(), createTsCompiler()]);\n\n// create a multi-compiler build task.\ncompiler.createTask('MultiCompiler', compiler);\n`}</code></pre></MDXScopeProvider>\n </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;"]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/compilation.aspect-docs.multi-compiler",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.131",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/compilation/aspect-docs/multi-compiler",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.compilation",
|
|
8
8
|
"name": "aspect-docs/multi-compiler",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.131"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"core-js": "^3.0.0",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@types/jest": "^26.0.0",
|
|
22
22
|
"@types/react-dom": "^17.0.5",
|
|
23
23
|
"@types/node": "12.20.4",
|
|
24
|
-
"@teambit/documenter.theme.theme-compositions": "
|
|
25
|
-
"@teambit/mdx.ui.mdx-layout": "0.0.
|
|
24
|
+
"@teambit/documenter.theme.theme-compositions": "4.1.1",
|
|
25
|
+
"@teambit/mdx.ui.mdx-layout": "0.0.493"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
Binary file
|