From 3a116df871c44920e1b12ef08c1b85500abed409 Mon Sep 17 00:00:00 2001 From: AndyChen1024 Date: Fri, 11 Sep 2026 16:22:45 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E6=B3=A8=E5=86=8C=20common/uik?= =?UTF-8?q?it=20=E6=A8=A1=E5=9D=97=EF=BC=8C=E6=8E=A5=E7=BA=BF=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E4=B8=8E=20INTERNET=20=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-profile.json5 | 24 ++++++++++++++++++++++++ entry/oh-package-lock.json5 | 26 ++++++++++++++++++++++++++ entry/oh-package.json5 | 5 ++++- entry/src/main/module.json5 | 5 +++++ 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 entry/oh-package-lock.json5 diff --git a/build-profile.json5 b/build-profile.json5 index 06966fe..e0d07e4 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -37,6 +37,30 @@ ] } ] + }, + { + "name": "common", + "srcPath": "./common", + "targets": [ + { + "name": "default", + "applyToProducts": [ + "default" + ] + } + ] + }, + { + "name": "uikit", + "srcPath": "./uikit", + "targets": [ + { + "name": "default", + "applyToProducts": [ + "default" + ] + } + ] } ] } \ No newline at end of file diff --git a/entry/oh-package-lock.json5 b/entry/oh-package-lock.json5 new file mode 100644 index 0000000..44a087b --- /dev/null +++ b/entry/oh-package-lock.json5 @@ -0,0 +1,26 @@ +{ + "meta": { + "stableOrder": true, + "enableUnifiedLockfile": false + }, + "lockfileVersion": 3, + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", + "specifiers": { + "common@../common": "common@../common", + "uikit@../uikit": "uikit@../uikit" + }, + "packages": { + "common@../common": { + "name": "common", + "version": "1.0.0", + "resolved": "../common", + "registryType": "local" + }, + "uikit@../uikit": { + "name": "uikit", + "version": "1.0.0", + "resolved": "../uikit", + "registryType": "local" + } + } +} \ No newline at end of file diff --git a/entry/oh-package.json5 b/entry/oh-package.json5 index 248c3b7..74f7477 100644 --- a/entry/oh-package.json5 +++ b/entry/oh-package.json5 @@ -5,6 +5,9 @@ "main": "", "author": "", "license": "", - "dependencies": {} + "dependencies": { + "common": "file:../common", + "uikit": "file:../uikit" + } } diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 53024e8..d6776f8 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -9,6 +9,11 @@ ], "deliveryWithInstall": true, "installationFree": false, + "requestPermissions": [ + { + "name": "ohos.permission.INTERNET" + } + ], "pages": "$profile:main_pages", "abilities": [ {