@hxa-rn/react-native-splash-view 0.0.21-beta.1 → 0.0.21
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## 项目介绍
|
|
6
6
|
|
|
7
|
-
`react-native-splash-view` 为 React Native 应用提供轻量级启动闪屏(Splash Screen)能力。鸿蒙适配包 `@hxa-rn/react-native-splash-view`(当前版本 **0.0.21
|
|
7
|
+
`react-native-splash-view` 为 React Native 应用提供轻量级启动闪屏(Splash Screen)能力。鸿蒙适配包 `@hxa-rn/react-native-splash-view`(当前版本 **0.0.21**)基于 TurboModule 实现,包含 JS 封装层与原生 HAR(`harmony/splash_view/`)。
|
|
8
8
|
|
|
9
9
|
核心能力:
|
|
10
10
|
|
|
@@ -183,7 +183,7 @@ cd example
|
|
|
183
183
|
npm install --legacy-peer-deps
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
Example 已改为从 npm 公仓安装 `@hxa-rn/react-native-splash-view@0.0.21
|
|
186
|
+
Example 已改为从 npm 公仓安装 `@hxa-rn/react-native-splash-view@0.0.21`,不再使用本地 `file:../xxx.tgz`,运行 Example 不必再执行 `npm pack`。
|
|
187
187
|
|
|
188
188
|
**3. 生成 JS Bundle**
|
|
189
189
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hxa-rn/react-native-splash-view",
|
|
3
3
|
"displayName": "@hxa-rn/react-native-splash-view",
|
|
4
|
-
"version": "0.0.21
|
|
4
|
+
"version": "0.0.21",
|
|
5
5
|
"description": "A lightweight splash screen library for React Native.",
|
|
6
6
|
"main": "./dist/commonjs/index.js",
|
|
7
7
|
"module": "./dist/module/index.js",
|