chore(build): 注册 common/uikit 模块,接线依赖与 INTERNET 权限

This commit is contained in:
AndyChen1024
2026-09-11 16:22:45 +08:00
parent d5e2d88c4c
commit 3a116df871
4 changed files with 59 additions and 1 deletions

View File

@@ -37,6 +37,30 @@
]
}
]
},
{
"name": "common",
"srcPath": "./common",
"targets": [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
},
{
"name": "uikit",
"srcPath": "./uikit",
"targets": [
{
"name": "default",
"applyToProducts": [
"default"
]
}
]
}
]
}

View File

@@ -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"
}
}
}

View File

@@ -5,6 +5,9 @@
"main": "",
"author": "",
"license": "",
"dependencies": {}
"dependencies": {
"common": "file:../common",
"uikit": "file:../uikit"
}
}

View File

@@ -9,6 +9,11 @@
],
"deliveryWithInstall": true,
"installationFree": false,
"requestPermissions": [
{
"name": "ohos.permission.INTERNET"
}
],
"pages": "$profile:main_pages",
"abilities": [
{