Skip to content

Commit c3d0959

Browse files
committed
init
0 parents  commit c3d0959

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+136968
-0
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
**/node_modules
2+
**/oh_modules
3+
/local.properties
4+
/.idea
5+
**/build
6+
/.hvigor
7+
.cxx
8+
/.clangd
9+
/.clang-format
10+
/.clang-tidy
11+
**/.test
12+
/.appanalyzer

AppScope/app.json5

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"app": {
3+
"bundleName": "club.openatom.myapplication",
4+
"vendor": "example",
5+
"versionCode": 1000000,
6+
"versionName": "1.0.0",
7+
"icon": "$media:layered_image",
8+
"label": "$string:app_name"
9+
}
10+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"string": [
3+
{
4+
"name": "app_name",
5+
"value": "rntest2"
6+
}
7+
]
8+
}
89.8 KB
Loading
15 KB
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"layered-image":
3+
{
4+
"background" : "$media:background",
5+
"foreground" : "$media:foreground"
6+
}
7+
}

build-profile.json5

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"app": {
3+
"signingConfigs": [],
4+
"products": [
5+
{
6+
"name": "default",
7+
"signingConfig": "default",
8+
"targetSdkVersion": "5.1.1(19)",
9+
"compatibleSdkVersion": "5.1.1(19)",
10+
"runtimeOS": "HarmonyOS",
11+
"buildOption": {
12+
"strictMode": {
13+
"caseSensitiveCheck": true,
14+
"useNormalizedOHMUrl": true
15+
}
16+
}
17+
}
18+
],
19+
"buildModeSet": [
20+
{
21+
"name": "debug",
22+
},
23+
{
24+
"name": "release"
25+
}
26+
]
27+
},
28+
"modules": [
29+
{
30+
"name": "entry",
31+
"srcPath": "./entry",
32+
"targets": [
33+
{
34+
"name": "default",
35+
"applyToProducts": [
36+
"default"
37+
]
38+
}
39+
]
40+
}
41+
]
42+
}

code-linter.json5

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"files": [
3+
"**/*.ets"
4+
],
5+
"ignore": [
6+
"**/src/ohosTest/**/*",
7+
"**/src/test/**/*",
8+
"**/src/mock/**/*",
9+
"**/node_modules/**/*",
10+
"**/oh_modules/**/*",
11+
"**/build/**/*",
12+
"**/.preview/**/*"
13+
],
14+
"ruleSet": [
15+
"plugin:@performance/recommended",
16+
"plugin:@typescript-eslint/recommended"
17+
],
18+
"rules": {
19+
"@security/no-unsafe-aes": "error",
20+
"@security/no-unsafe-hash": "error",
21+
"@security/no-unsafe-mac": "warn",
22+
"@security/no-unsafe-dh": "error",
23+
"@security/no-unsafe-dsa": "error",
24+
"@security/no-unsafe-ecdsa": "error",
25+
"@security/no-unsafe-rsa-encrypt": "error",
26+
"@security/no-unsafe-rsa-sign": "error",
27+
"@security/no-unsafe-rsa-key": "error",
28+
"@security/no-unsafe-dsa-key": "error",
29+
"@security/no-unsafe-dh-key": "error",
30+
"@security/no-unsafe-3des": "error"
31+
}
32+
}

entry/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/node_modules
2+
/oh_modules
3+
/.preview
4+
/build
5+
/.cxx
6+
/.test

entry/build-profile.json5

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"apiType": "stageMode",
3+
"buildOption": {
4+
"externalNativeOptions": {
5+
"path": "./src/main/cpp/CMakeLists.txt",
6+
"arguments": "",
7+
"cppFlags": "",
8+
"abiFilters": [
9+
"x86_64"
10+
]
11+
}
12+
},
13+
"buildOptionSet": [
14+
{
15+
"name": "release",
16+
"arkOptions": {
17+
"obfuscation": {
18+
"ruleOptions": {
19+
"enable": false,
20+
"files": [
21+
"./obfuscation-rules.txt"
22+
]
23+
}
24+
}
25+
}
26+
},
27+
],
28+
"targets": [
29+
{
30+
"name": "default"
31+
},
32+
{
33+
"name": "ohosTest",
34+
}
35+
]
36+
}

0 commit comments

Comments
 (0)