@tarojs/plugin-platform-harmony-ets 4.0.0-beta.105 → 4.0.0-beta.107
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
|
-
import { getPageById } from '@tarojs/plugin-framework-react'
|
|
2
|
+
import { getPageById } from '@tarojs/plugin-framework-react/dist/runtime'
|
|
3
3
|
import { eventCenter, eventSource } from '@tarojs/runtime/dist/runtime.esm'
|
|
4
4
|
import { EMPTY_OBJ, toCamelCase } from '@tarojs/shared'
|
|
5
5
|
|
|
@@ -173,8 +173,9 @@ function initNativeComponentEntry (params: InitNativeComponentEntryParams) {
|
|
|
173
173
|
app?.appendChild(nativeApp)
|
|
174
174
|
app = nativeApp
|
|
175
175
|
}
|
|
176
|
-
|
|
177
|
-
ReactDOM.
|
|
176
|
+
|
|
177
|
+
const root = ReactDOM.createRoot(app)
|
|
178
|
+
root.render?.(h(Entry))
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/plugin-platform-harmony-ets",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.107",
|
|
4
4
|
"description": "OpenHarmony & 鸿蒙系统插件",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"homepage": "https://gitee.com/openharmony-sig/taro",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"webpack-sources": "^3.2.3",
|
|
28
28
|
"@babel/preset-react": "^7.24.1",
|
|
29
29
|
"webpack": "5.91.0",
|
|
30
|
-
"@tarojs/components": "4.0.0-beta.
|
|
31
|
-
"@tarojs/
|
|
32
|
-
"@tarojs/
|
|
33
|
-
"@tarojs/
|
|
34
|
-
"@tarojs/
|
|
35
|
-
"@tarojs/
|
|
36
|
-
"@tarojs/
|
|
30
|
+
"@tarojs/components": "4.0.0-beta.107",
|
|
31
|
+
"@tarojs/runner-utils": "4.0.0-beta.107",
|
|
32
|
+
"@tarojs/helper": "4.0.0-beta.107",
|
|
33
|
+
"@tarojs/service": "4.0.0-beta.107",
|
|
34
|
+
"@tarojs/shared": "4.0.0-beta.107",
|
|
35
|
+
"@tarojs/taro": "4.0.0-beta.107",
|
|
36
|
+
"@tarojs/runtime": "4.0.0-beta.107"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"fast-glob": "^3.3.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"rollup-plugin-ts": "^3.0.2",
|
|
43
43
|
"solid-js": "^1.8.16",
|
|
44
44
|
"tslib": "^2.4.0",
|
|
45
|
-
"rollup-plugin-copy": "4.0.0-beta.
|
|
45
|
+
"rollup-plugin-copy": "4.0.0-beta.107"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"prod": "pnpm run build",
|