From bed2771be0c87fcbaebd27b7b65d62dabe23e6b6 Mon Sep 17 00:00:00 2001
From: likang
Date: Sat, 23 Dec 2023 10:37:24 +0800
Subject: [PATCH 1/2] =?UTF-8?q?[Issues:=20#I8QQ4A]=20masked-view=E6=96=87?=
=?UTF-8?q?=E6=A1=A3=E6=9B=B4=E6=96=B0vmall=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vmall/react-native-masked-view.md | 33 +++++++++++--------------------
1 file changed, 12 insertions(+), 21 deletions(-)
diff --git a/vmall/react-native-masked-view.md b/vmall/react-native-masked-view.md
index 5cacc1b8..6f346c19 100644
--- a/vmall/react-native-masked-view.md
+++ b/vmall/react-native-masked-view.md
@@ -1,10 +1,10 @@
-> 模板版本:v0.0.1
+> 模板版本:v0.1.1
-
@react-native-masked-view/masked-view
+ masked-view
-
+
@@ -12,33 +12,24 @@
-## 安装与使用
-
-> [!tip] 目前部分 React-Native-OpenHarmony(RNOH) 三方库的 npm 包部署在私仓,需要通过 github token 来获取访问权限。
+[!tip] [Github 地址](https://github.com/react-native-oh-library/masked-view)
-在与 `package.json` 文件相同的目录中,创建或编辑 `.npmrc` 文件以包含指定 GitHub Packages URL 和托管包的命名空间的行。 将 TOKEN 替换为 RNOH 三方库指定的 token。
-
-```bash
-@react-native-oh-library:registry=https://npm.pkg.github.com
-//npm.pkg.github.com/:_authToken=TOKEN
-```
+## 安装与使用
进入到工程目录并输入以下命令:
-**正在 npm 发布中,当前请先从仓库[Release](https://github.com/react-native-oh-library/masked-view/releases)中获取库 tgz,通过使用本地依赖来安装本库。**
-
#### **yarn**
```bash
-yarn add xxx
+yarn add @react-native-oh-tpl/masked-view
```
#### **npm**
```bash
-npm install xxx
+npm install @react-native-oh-tpl/masked-view
```
@@ -46,7 +37,7 @@ npm install xxx
下面的代码展示了这个库的基本使用场景:
```js
-import MaskedView from "@react-native-masked-view/masked-view";
+import MaskedView from "@react-native-oh-tpl/masked-view";
Date: Sat, 23 Dec 2023 10:59:45 +0800
Subject: [PATCH 2/2] =?UTF-8?q?[Issues:=20#I8QQ4A]=20masked-view=E6=96=87?=
=?UTF-8?q?=E6=A1=A3=E6=9B=B4=E6=96=B0vmall=E7=89=88=E6=9C=AC=20=EF=BC=8C?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vmall/react-native-masked-view.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vmall/react-native-masked-view.md b/vmall/react-native-masked-view.md
index 6f346c19..34e03a07 100644
--- a/vmall/react-native-masked-view.md
+++ b/vmall/react-native-masked-view.md
@@ -1,10 +1,10 @@
> 模板版本:v0.1.1
-
masked-view
+ @react-native-masked-view/masked-view
-
+
@@ -37,7 +37,7 @@ npm install @react-native-oh-tpl/masked-view
下面的代码展示了这个库的基本使用场景:
```js
-import MaskedView from "@react-native-oh-tpl/masked-view";
+import MaskedView from "@react-native-masked-view/masked-view";