@builder.io/mitosis-cli 0.0.8 → 0.0.12
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/__tests__/cli-integration.test.js +5 -5
- package/dist/build/build.js +88 -72
- package/dist/build/helpers/babel-transform-expression.js +2 -2
- package/dist/build/helpers/compile-vue-file.js +25 -27
- package/dist/build/helpers/compile-vue-v2-file.js +16 -16
- package/dist/build/helpers/compile-vue-v2-file.test.js +2 -2
- package/dist/build/helpers/transpile-optional-chaining.js +3 -3
- package/dist/build/helpers/transpile-solid-file.js +2 -3
- package/dist/build/helpers/transpile-vue-binding-expression.js +2 -2
- package/dist/build/helpers/transpile.js +6 -6
- package/dist/cli.js +3 -3
- package/dist/commands/build.js +2 -2
- package/dist/commands/compile.js +17 -37
- package/dist/commands/new.js +2 -2
- package/dist/templates/library-simple/src/components/my-component.lite.jsx +2 -2
- package/dist/types/build/build.d.ts +1 -1
- package/dist/types/build/helpers/transpile.d.ts +1 -1
- package/dist/types/helpers/get-mitosis-config.d.ts +1 -1
- package/package.json +6 -3
- package/dist/targets.js +0 -18
- package/dist/templates/library-simple/package-lock.json +0 -2590
- package/dist/types/mitosis-config.js +0 -3
- package/dist/types/targets.d.ts +0 -1
- package/dist/types/types/mitosis-config.d.ts +0 -17
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWl0b3Npcy1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvbWl0b3Npcy1jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
package/dist/types/targets.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { componentToAngular as angular, componentToBuilder as builder, componentToCustomElement as customElement, componentToHtml as html, componentToMitosis as mitosis, componentToLiquid as liquid, componentToReact as react, componentToReactNative as reactNative, componentToSolid as solid, componentToSvelte as svelte, componentToSwift as swift, componentToTemplate as template, componentToVue as vue, } from '@builder.io/mitosis';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as targets from '../targets';
|
|
2
|
-
export declare type Targets = typeof targets;
|
|
3
|
-
export declare type Target = keyof Targets;
|
|
4
|
-
declare type FileInfo = {
|
|
5
|
-
path: string;
|
|
6
|
-
content: string;
|
|
7
|
-
target: string;
|
|
8
|
-
};
|
|
9
|
-
export declare type MitosisConfig = {
|
|
10
|
-
type?: 'library';
|
|
11
|
-
targets: Target[];
|
|
12
|
-
dest?: string;
|
|
13
|
-
files?: string | string[];
|
|
14
|
-
overridesDir?: string;
|
|
15
|
-
mapFile?: (info: FileInfo) => FileInfo | Promise<FileInfo>;
|
|
16
|
-
};
|
|
17
|
-
export {};
|