@mybricks/to-code-taro 1.0.0 → 1.0.1
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/cjs/handleGlobal.d.ts +2 -2
- package/dist/cjs/toCodeTaro.d.ts +2 -2
- package/dist/cjs/toCodeTaro.js +1 -1
- package/dist/cjs/utils/handlePageConfig.d.ts +1 -1
- package/dist/esm/handleGlobal.d.ts +2 -2
- package/dist/esm/toCodeTaro.d.ts +2 -2
- package/dist/esm/toCodeTaro.js +1 -1
- package/dist/esm/utils/handlePageConfig.d.ts +1 -1
- package/package.json +2 -2
|
@@ -13,8 +13,8 @@ declare const handleGlobal: (params: HandleGlobalParams, config: ToTaroCodeConfi
|
|
|
13
13
|
cssContent?: string;
|
|
14
14
|
pageConfigContent?: string;
|
|
15
15
|
importManager: ImportManager;
|
|
16
|
-
type: "module" | "
|
|
17
|
-
meta?: import("@mybricks/
|
|
16
|
+
type: "module" | "fx" | "global" | "extension-event" | "extension-api" | "extension-config" | "api" | "normal" | "popup" | "extension-bus" | "abstractEventTypeDef" | "jsModules" | "commonIndex" | "tabBarConfig";
|
|
17
|
+
meta?: import("@mybricks/to-code-react/dist/cjs/toCode/types").Scene;
|
|
18
18
|
name: string;
|
|
19
19
|
tabBarConfig?: string;
|
|
20
20
|
};
|
package/dist/cjs/toCodeTaro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import toCode from "@mybricks/to-code-react/dist/
|
|
2
|
-
import type { ToJSON } from "@mybricks/to-code-react/dist/
|
|
1
|
+
import toCode from "@mybricks/to-code-react/dist/cjs/toCode";
|
|
2
|
+
import type { ToJSON } from "@mybricks/to-code-react/dist/cjs/toCode/types";
|
|
3
3
|
import { ImportManager } from "./utils";
|
|
4
4
|
export interface ToTaroCodeConfig {
|
|
5
5
|
getComponentMeta: (com: Extract<UI["children"][0], {
|
package/dist/cjs/toCodeTaro.js
CHANGED
|
@@ -32,7 +32,7 @@ __export(toCodeTaro_exports, {
|
|
|
32
32
|
default: () => toCodeTaro_default
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(toCodeTaro_exports);
|
|
35
|
-
var import_toCode = __toESM(require("@mybricks/to-code-react/dist/
|
|
35
|
+
var import_toCode = __toESM(require("@mybricks/to-code-react/dist/cjs/toCode"));
|
|
36
36
|
var import_handleSlot = __toESM(require("./handleSlot"));
|
|
37
37
|
var import_utils = require("./utils");
|
|
38
38
|
var import_handleGlobal = __toESM(require("./handleGlobal"));
|
|
@@ -13,8 +13,8 @@ declare const handleGlobal: (params: HandleGlobalParams, config: ToTaroCodeConfi
|
|
|
13
13
|
cssContent?: string;
|
|
14
14
|
pageConfigContent?: string;
|
|
15
15
|
importManager: ImportManager;
|
|
16
|
-
type: "module" | "
|
|
17
|
-
meta?: import("@mybricks/
|
|
16
|
+
type: "module" | "fx" | "global" | "extension-event" | "extension-api" | "extension-config" | "api" | "normal" | "popup" | "extension-bus" | "abstractEventTypeDef" | "jsModules" | "commonIndex" | "tabBarConfig";
|
|
17
|
+
meta?: import("@mybricks/to-code-react/dist/cjs/toCode/types").Scene;
|
|
18
18
|
name: string;
|
|
19
19
|
tabBarConfig?: string;
|
|
20
20
|
};
|
package/dist/esm/toCodeTaro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import toCode from "@mybricks/to-code-react/dist/
|
|
2
|
-
import type { ToJSON } from "@mybricks/to-code-react/dist/
|
|
1
|
+
import toCode from "@mybricks/to-code-react/dist/cjs/toCode";
|
|
2
|
+
import type { ToJSON } from "@mybricks/to-code-react/dist/cjs/toCode/types";
|
|
3
3
|
import { ImportManager } from "./utils";
|
|
4
4
|
export interface ToTaroCodeConfig {
|
|
5
5
|
getComponentMeta: (com: Extract<UI["children"][0], {
|
package/dist/esm/toCodeTaro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
2
2
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
3
3
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
4
|
-
import toCode from "@mybricks/to-code-react/dist/
|
|
4
|
+
import toCode from "@mybricks/to-code-react/dist/cjs/toCode";
|
|
5
5
|
import handleSlot from "./handleSlot";
|
|
6
6
|
import { ImportManager, firstCharToLowerCase, firstCharToUpperCase } from "./utils";
|
|
7
7
|
import handleGlobal from "./handleGlobal";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mybricks/to-code-taro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "To code for Taro",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build:deps": "father prebundle",
|
|
13
13
|
"prepublishOnly": "father doctor && npm run build",
|
|
14
14
|
"test": "tsx test/index.ts",
|
|
15
|
-
"test:project": "tsx test/genProject.ts",
|
|
15
|
+
"test:project": "tsx test/genProject.ts",
|
|
16
16
|
"test:template": "tsx test/genTemplate.ts",
|
|
17
17
|
"test:watch": "ts-node-dev --respawn test/index.ts",
|
|
18
18
|
"test:harmony": "tsx test/write-harmony-output.ts",
|