@tarojs/plugin-platform-harmony-cpp 4.1.4 → 4.1.5
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.d.ts +32 -0
- package/dist/index.js +1 -1
- package/dist/runtime/apischunk/index.d.ts +1580 -776
- package/dist/runtime/apischunk/index.js +400 -400
- package/dist/runtime/framework/native-page.ts +2 -2
- package/package.json +30 -34
- package/static/@taro-oh/library-4.1.5.har +0 -0
- package/static/@taro-oh/library-4.1.4.har +0 -0
|
@@ -446,12 +446,12 @@ export function createNativeComponentConfig (
|
|
|
446
446
|
Component,
|
|
447
447
|
compName: string,
|
|
448
448
|
react: typeof React,
|
|
449
|
-
|
|
449
|
+
reactDOM,
|
|
450
450
|
componentConfig: any = {}
|
|
451
451
|
) {
|
|
452
452
|
reactMeta.R = react
|
|
453
453
|
h = react.createElement
|
|
454
|
-
ReactDOM =
|
|
454
|
+
ReactDOM = reactDOM
|
|
455
455
|
setReconciler(ReactDOM)
|
|
456
456
|
const { isUseReact18 = true } = componentConfig
|
|
457
457
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/plugin-platform-harmony-cpp",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "鸿蒙系统插件 C-API 版本",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"homepage": "https://gitee.com/openharmony-sig/taro",
|
|
@@ -24,28 +24,24 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@babel/core": "^7.24.7",
|
|
26
26
|
"@babel/preset-env": "^7.24.4",
|
|
27
|
-
"@rollup/plugin-alias": "^5.1.0",
|
|
28
|
-
"@rollup/plugin-commonjs": "^25.0.8",
|
|
29
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
30
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
31
|
-
"@rollup/plugin-replace": "^5.0.7",
|
|
32
27
|
"@tarojs/parse-css-to-stylesheet": "^1.1.8",
|
|
33
28
|
"fast-glob": "^3.3.2",
|
|
34
29
|
"react": "^18.3.1",
|
|
35
30
|
"react-dom": "^18.3.1",
|
|
36
31
|
"react-reconciler": "0.29.0",
|
|
37
|
-
"rollup": "^3.29.4",
|
|
38
|
-
"rollup-plugin-dts": "^6.1.1",
|
|
39
|
-
"rollup-plugin-node-externals": "^5.1.3",
|
|
40
|
-
"rollup-plugin-ts": "^3.4.5",
|
|
41
32
|
"scheduler": "^0.23.2",
|
|
42
|
-
"@tarojs/
|
|
43
|
-
"@tarojs/
|
|
44
|
-
"@tarojs/service": "4.1.
|
|
33
|
+
"@tarojs/runner-utils": "4.1.5",
|
|
34
|
+
"@tarojs/react": "4.1.5",
|
|
35
|
+
"@tarojs/service": "4.1.5"
|
|
45
36
|
},
|
|
46
37
|
"devDependencies": {
|
|
38
|
+
"rollup": "^3.29.4",
|
|
39
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
40
|
+
"rollup-plugin-node-externals": "^5.1.3",
|
|
41
|
+
"@rollup/plugin-commonjs": "^25.0.8",
|
|
42
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
43
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
47
44
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
48
|
-
"@types/node": "^18.19.34",
|
|
49
45
|
"@types/conventional-commits-parser": "^3.0.0",
|
|
50
46
|
"conventional-commits-parser": "^3.0.0",
|
|
51
47
|
"postcss": "^8.4.38",
|
|
@@ -57,30 +53,30 @@
|
|
|
57
53
|
"tslib": "^2.6.3",
|
|
58
54
|
"typescript": "~5.4.5",
|
|
59
55
|
"vite": "^4.2.0",
|
|
60
|
-
"@tarojs/helper": "4.1.
|
|
61
|
-
"@tarojs/
|
|
62
|
-
"@tarojs/
|
|
63
|
-
"@tarojs/
|
|
64
|
-
"@tarojs/
|
|
65
|
-
"@tarojs/
|
|
66
|
-
"@tarojs/
|
|
67
|
-
"
|
|
68
|
-
"@tarojs/
|
|
69
|
-
"
|
|
56
|
+
"@tarojs/helper": "4.1.5",
|
|
57
|
+
"@tarojs/plugin-framework-react": "4.1.5",
|
|
58
|
+
"@tarojs/components": "4.1.5",
|
|
59
|
+
"@tarojs/react": "4.1.5",
|
|
60
|
+
"@tarojs/plugin-platform-harmony-ets": "4.1.5",
|
|
61
|
+
"@tarojs/runtime": "4.1.5",
|
|
62
|
+
"@tarojs/shared": "4.1.5",
|
|
63
|
+
"rollup-plugin-copy": "4.1.5",
|
|
64
|
+
"@tarojs/taro": "4.1.5",
|
|
65
|
+
"@tarojs/vite-runner": "4.1.5"
|
|
70
66
|
},
|
|
71
67
|
"peerDependencies": {
|
|
72
68
|
"less": "^4.2.0",
|
|
73
69
|
"sass": "^1.75.0",
|
|
74
70
|
"stylus": "^0.63.0",
|
|
75
|
-
"@tarojs/components": "4.1.
|
|
76
|
-
"@tarojs/helper": "4.1.
|
|
77
|
-
"@tarojs/plugin-framework-react": "4.1.
|
|
78
|
-
"@tarojs/plugin-platform-harmony-ets": "4.1.
|
|
79
|
-
"@tarojs/react": "4.1.
|
|
80
|
-
"@tarojs/
|
|
81
|
-
"@tarojs/
|
|
82
|
-
"@tarojs/taro": "4.1.
|
|
83
|
-
"@tarojs/vite-runner": "4.1.
|
|
71
|
+
"@tarojs/components": "4.1.5",
|
|
72
|
+
"@tarojs/helper": "4.1.5",
|
|
73
|
+
"@tarojs/plugin-framework-react": "4.1.5",
|
|
74
|
+
"@tarojs/plugin-platform-harmony-ets": "4.1.5",
|
|
75
|
+
"@tarojs/react": "4.1.5",
|
|
76
|
+
"@tarojs/shared": "4.1.5",
|
|
77
|
+
"@tarojs/runtime": "4.1.5",
|
|
78
|
+
"@tarojs/taro": "4.1.5",
|
|
79
|
+
"@tarojs/vite-runner": "4.1.5"
|
|
84
80
|
},
|
|
85
81
|
"scripts": {
|
|
86
82
|
"prebuild": "rimraf --impl=move-remove dist",
|
|
@@ -91,7 +87,7 @@
|
|
|
91
87
|
"dev": "pnpm run rollup -w",
|
|
92
88
|
"ohpm-publish": "pnpm run tsx --files ./scripts/ohpm-publish",
|
|
93
89
|
"remove:reference": "pnpm run tsx --files ./scripts/reference",
|
|
94
|
-
"rollup": "rollup --config rollup.config.
|
|
90
|
+
"rollup": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
|
|
95
91
|
"tsx": "ts-node --skipIgnore"
|
|
96
92
|
}
|
|
97
93
|
}
|
|
Binary file
|
|
Binary file
|