From ffe1e30cbc6d9864b7b2b4665e217778f5bd7290 Mon Sep 17 00:00:00 2001 From: xinhu Date: Thu, 7 Dec 2023 10:59:43 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E5=BA=93=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=90=8D=E4=B8=BAlibrary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xinhu --- README.md | 2 +- build-profile.json5 | 4 ++-- entry/oh-package.json5 | 2 +- {RoundedImageView => library}/.gitignore | 0 {RoundedImageView => library}/build-profile.json5 | 0 {RoundedImageView => library}/hvigorfile.ts | 0 {RoundedImageView => library}/index.ets | 0 {RoundedImageView => library}/oh-package.json5 | 0 .../src/main/ets/components/DownloadUtils.ts | 0 .../src/main/ets/components/FileUtils.ts | 0 .../src/main/ets/components/GlobalContext.ts | 0 .../src/main/ets/components/PixelMapUtils.ts | 0 .../src/main/ets/components/RoundedImageView.ets | 0 .../src/main/ets/components/ScaleType.ts | 0 .../src/main/ets/components/SrcType.ts | 0 .../src/main/ets/components/TileMode.ts | 0 {RoundedImageView => library}/src/main/module.json5 | 4 ++-- .../src/main/resources/base/element/string.json | 0 .../src/main/resources/en_US/element/string.json | 0 .../src/main/resources/zh_CN/element/string.json | 0 20 files changed, 6 insertions(+), 6 deletions(-) rename {RoundedImageView => library}/.gitignore (100%) rename {RoundedImageView => library}/build-profile.json5 (100%) rename {RoundedImageView => library}/hvigorfile.ts (100%) rename {RoundedImageView => library}/index.ets (100%) rename {RoundedImageView => library}/oh-package.json5 (100%) rename {RoundedImageView => library}/src/main/ets/components/DownloadUtils.ts (100%) rename {RoundedImageView => library}/src/main/ets/components/FileUtils.ts (100%) rename {RoundedImageView => library}/src/main/ets/components/GlobalContext.ts (100%) rename {RoundedImageView => library}/src/main/ets/components/PixelMapUtils.ts (100%) rename {RoundedImageView => library}/src/main/ets/components/RoundedImageView.ets (100%) rename {RoundedImageView => library}/src/main/ets/components/ScaleType.ts (100%) rename {RoundedImageView => library}/src/main/ets/components/SrcType.ts (100%) rename {RoundedImageView => library}/src/main/ets/components/TileMode.ts (100%) rename {RoundedImageView => library}/src/main/module.json5 (74%) rename {RoundedImageView => library}/src/main/resources/base/element/string.json (100%) rename {RoundedImageView => library}/src/main/resources/en_US/element/string.json (100%) rename {RoundedImageView => library}/src/main/resources/zh_CN/element/string.json (100%) diff --git a/README.md b/README.md index b52b27e..dd3e242 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ OpenHarmony ohpm 环境配置等更多内容,请参考[如何安装 OpenHarmon ``` |---- RoundedImageView | |---- entry # 示例代码文件夹 -| |---- RoundedImageView # RoundedImageView库文件夹 +| |---- library # RoundedImageView库文件夹 | |---- src | |---- main | |---- ets diff --git a/build-profile.json5 b/build-profile.json5 index 416203c..47f4f64 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -24,8 +24,8 @@ ] }, { - "name": "RoundedImageView", - "srcPath": "./RoundedImageView" + "name": "library", + "srcPath": "./library" } ] } \ No newline at end of file diff --git a/entry/oh-package.json5 b/entry/oh-package.json5 index cf9f489..25879a1 100644 --- a/entry/oh-package.json5 +++ b/entry/oh-package.json5 @@ -6,6 +6,6 @@ "repository": {}, "version": "2.0.1", "dependencies": { - "@ohos/roundedimageview": "file:../RoundedImageView" + "@ohos/roundedimageview": "file:../library" } } diff --git a/RoundedImageView/.gitignore b/library/.gitignore similarity index 100% rename from RoundedImageView/.gitignore rename to library/.gitignore diff --git a/RoundedImageView/build-profile.json5 b/library/build-profile.json5 similarity index 100% rename from RoundedImageView/build-profile.json5 rename to library/build-profile.json5 diff --git a/RoundedImageView/hvigorfile.ts b/library/hvigorfile.ts similarity index 100% rename from RoundedImageView/hvigorfile.ts rename to library/hvigorfile.ts diff --git a/RoundedImageView/index.ets b/library/index.ets similarity index 100% rename from RoundedImageView/index.ets rename to library/index.ets diff --git a/RoundedImageView/oh-package.json5 b/library/oh-package.json5 similarity index 100% rename from RoundedImageView/oh-package.json5 rename to library/oh-package.json5 diff --git a/RoundedImageView/src/main/ets/components/DownloadUtils.ts b/library/src/main/ets/components/DownloadUtils.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/DownloadUtils.ts rename to library/src/main/ets/components/DownloadUtils.ts diff --git a/RoundedImageView/src/main/ets/components/FileUtils.ts b/library/src/main/ets/components/FileUtils.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/FileUtils.ts rename to library/src/main/ets/components/FileUtils.ts diff --git a/RoundedImageView/src/main/ets/components/GlobalContext.ts b/library/src/main/ets/components/GlobalContext.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/GlobalContext.ts rename to library/src/main/ets/components/GlobalContext.ts diff --git a/RoundedImageView/src/main/ets/components/PixelMapUtils.ts b/library/src/main/ets/components/PixelMapUtils.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/PixelMapUtils.ts rename to library/src/main/ets/components/PixelMapUtils.ts diff --git a/RoundedImageView/src/main/ets/components/RoundedImageView.ets b/library/src/main/ets/components/RoundedImageView.ets similarity index 100% rename from RoundedImageView/src/main/ets/components/RoundedImageView.ets rename to library/src/main/ets/components/RoundedImageView.ets diff --git a/RoundedImageView/src/main/ets/components/ScaleType.ts b/library/src/main/ets/components/ScaleType.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/ScaleType.ts rename to library/src/main/ets/components/ScaleType.ts diff --git a/RoundedImageView/src/main/ets/components/SrcType.ts b/library/src/main/ets/components/SrcType.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/SrcType.ts rename to library/src/main/ets/components/SrcType.ts diff --git a/RoundedImageView/src/main/ets/components/TileMode.ts b/library/src/main/ets/components/TileMode.ts similarity index 100% rename from RoundedImageView/src/main/ets/components/TileMode.ts rename to library/src/main/ets/components/TileMode.ts diff --git a/RoundedImageView/src/main/module.json5 b/library/src/main/module.json5 similarity index 74% rename from RoundedImageView/src/main/module.json5 rename to library/src/main/module.json5 index 657c11a..0204bcb 100644 --- a/RoundedImageView/src/main/module.json5 +++ b/library/src/main/module.json5 @@ -1,10 +1,10 @@ { "module": { - "name": "RoundedImageView", + "name": "library", "type": "har", "deviceTypes": [ "default", "tablet" ] } -} +} \ No newline at end of file diff --git a/RoundedImageView/src/main/resources/base/element/string.json b/library/src/main/resources/base/element/string.json similarity index 100% rename from RoundedImageView/src/main/resources/base/element/string.json rename to library/src/main/resources/base/element/string.json diff --git a/RoundedImageView/src/main/resources/en_US/element/string.json b/library/src/main/resources/en_US/element/string.json similarity index 100% rename from RoundedImageView/src/main/resources/en_US/element/string.json rename to library/src/main/resources/en_US/element/string.json diff --git a/RoundedImageView/src/main/resources/zh_CN/element/string.json b/library/src/main/resources/zh_CN/element/string.json similarity index 100% rename from RoundedImageView/src/main/resources/zh_CN/element/string.json rename to library/src/main/resources/zh_CN/element/string.json -- Gitee