@tarojs/rn-transformer 3.6.11-alpha.0 → 3.6.11-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/rn-transformer",
3
- "version": "3.6.11-alpha.0",
3
+ "version": "3.6.11-alpha.4",
4
4
  "description": "Taro RN 入口文件处理",
5
5
  "main": "dist/index.js",
6
6
  "types": "./src/types/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "jest-environment-node": "^29.5.0",
41
41
  "ts-jest": "^29.0.5",
42
42
  "typescript": "^4.7.4",
43
- "@tarojs/helper": "3.6.11-alpha.0"
43
+ "@tarojs/helper": "3.6.11-alpha.4"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsc",
@@ -40,6 +40,7 @@ export interface AppConfig {
40
40
  designWidth: number | ((size?: string | number) => number)
41
41
  deviceRatio?: Record<string, number>
42
42
  tabBar:Record<string, any>
43
+ components?: string[]
43
44
  }
44
45
 
45
46
  interface SubPackage {
@@ -64,3 +65,5 @@ export interface TransformLinariaOption {
64
65
  */
65
66
  sourceCode: string
66
67
  }
68
+
69
+ export declare function getAppConfig (appPath: string): AppConfig