@zacktt/test 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/SKILL.md +116 -0
- package/THIRD-PARTY-LICENSES +3572 -0
- package/dist/cli.js +1264 -0
- package/docs.zip +0 -0
- package/package.json +76 -0
- package/templates/application/AppScope/app.json5 +10 -0
- package/templates/application/AppScope/resources/base/element/string.json +8 -0
- package/templates/application/AppScope/resources/base/media/layered_image.json +7 -0
- package/templates/application/build-profile.json5 +42 -0
- package/templates/application/code-linter.json5 +32 -0
- package/templates/application/entry/build-profile.json5 +33 -0
- package/templates/application/entry/hvigorfile.ts +7 -0
- package/templates/application/entry/obfuscation-rules.txt +20 -0
- package/templates/application/entry/oh-package.json5 +10 -0
- package/templates/application/entry/src/main/ets/entryability/EntryAbility.ets +63 -0
- package/templates/application/entry/src/main/ets/entrybackupability/EntryBackupAbility.ets +31 -0
- package/templates/application/entry/src/main/ets/pages/Index.ets +38 -0
- package/templates/application/entry/src/main/module.json5 +50 -0
- package/templates/application/entry/src/main/resources/base/element/color.json +8 -0
- package/templates/application/entry/src/main/resources/base/element/float.json +8 -0
- package/templates/application/entry/src/main/resources/base/element/string.json +16 -0
- package/templates/application/entry/src/main/resources/base/media/layered_image.json +7 -0
- package/templates/application/entry/src/main/resources/base/profile/backup_config.json +3 -0
- package/templates/application/entry/src/main/resources/base/profile/main_pages.json +5 -0
- package/templates/application/entry/src/main/resources/dark/element/color.json +8 -0
- package/templates/application/hvigor/hvigor-config.json5 +23 -0
- package/templates/application/hvigorfile.ts +7 -0
- package/templates/application/oh-package.json5 +10 -0
package/docs.zip
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zacktt/test",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "HarmonyOS application development command line tool",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"devecocli": "dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"scripts",
|
|
13
|
+
"templates",
|
|
14
|
+
"THIRD-PARTY-LICENSES",
|
|
15
|
+
"SKILL.md",
|
|
16
|
+
"docs.zip"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"prepare": "husky",
|
|
20
|
+
"build": "tsup",
|
|
21
|
+
"download-docs": "tsx scripts/download-docs.ts",
|
|
22
|
+
"dev": "tsx watch src/cli.ts",
|
|
23
|
+
"start": "tsx src/cli.ts",
|
|
24
|
+
"lint": "eslint src",
|
|
25
|
+
"lint:fix": "eslint src --fix",
|
|
26
|
+
"format": "prettier --write src",
|
|
27
|
+
"license": "generate-license-file --input package.json --output THIRD-PARTY-LICENSES --overwrite --ci",
|
|
28
|
+
"prepublishOnly": "npm run lint && npm run license && npm run build"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"harmonyos",
|
|
35
|
+
"deveco",
|
|
36
|
+
"cli"
|
|
37
|
+
],
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@eslint/js": "^10.0.1",
|
|
40
|
+
"@types/adm-zip": "^0.5.8",
|
|
41
|
+
"@types/fs-extra": "^11.0.4",
|
|
42
|
+
"@types/global-agent": "^3.0.0",
|
|
43
|
+
"@types/node": "^25.6.0",
|
|
44
|
+
"@types/turndown": "^5.0.5",
|
|
45
|
+
"eslint": "^10.2.1",
|
|
46
|
+
"generate-license-file": "^4.2.1",
|
|
47
|
+
"husky": "9.1.7",
|
|
48
|
+
"prettier": "^3.8.3",
|
|
49
|
+
"tsup": "^8.5.1",
|
|
50
|
+
"tsx": "^4.21.0",
|
|
51
|
+
"turndown": "^7.2.4",
|
|
52
|
+
"typescript": "^6.0.3",
|
|
53
|
+
"typescript-eslint": "^8.59.1"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
57
|
+
"ripgrep": "^0.3.1",
|
|
58
|
+
"adm-zip": "^0.5.17",
|
|
59
|
+
"axios": "1.15.2",
|
|
60
|
+
"colorette": "^2.0.20",
|
|
61
|
+
"commander": "^13.1.0",
|
|
62
|
+
"execa": "^9.6.1",
|
|
63
|
+
"fs-extra": "^11.3.4",
|
|
64
|
+
"global-agent": "^4.1.3",
|
|
65
|
+
"json5": "^2.2.3",
|
|
66
|
+
"ora": "^8.2.0",
|
|
67
|
+
"p-limit": "^5.0.0",
|
|
68
|
+
"proper-lockfile": "^4.1.2",
|
|
69
|
+
"regedit": "^5.1.4",
|
|
70
|
+
"smol-toml": "^1.6.1",
|
|
71
|
+
"zod": "^4.4.3"
|
|
72
|
+
},
|
|
73
|
+
"overrides": {
|
|
74
|
+
"dotenv": "16.4.7"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"app": {
|
|
3
|
+
"signingConfigs": [],
|
|
4
|
+
"products": [
|
|
5
|
+
{
|
|
6
|
+
"name": "default",
|
|
7
|
+
"signingConfig": "default",
|
|
8
|
+
"targetSdkVersion": "6.0.2(22)",
|
|
9
|
+
"compatibleSdkVersion": "6.0.2(22)",
|
|
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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"apiType": "stageMode",
|
|
3
|
+
"buildOption": {
|
|
4
|
+
"resOptions": {
|
|
5
|
+
"copyCodeResource": {
|
|
6
|
+
"enable": false
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"buildOptionSet": [
|
|
11
|
+
{
|
|
12
|
+
"name": "release",
|
|
13
|
+
"arkOptions": {
|
|
14
|
+
"obfuscation": {
|
|
15
|
+
"ruleOptions": {
|
|
16
|
+
"enable": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"./obfuscation-rules.txt"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
"targets": [
|
|
26
|
+
{
|
|
27
|
+
"name": "default"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "ohosTest",
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// @ts-nocheck – Template file, only used when copied into a project directory
|
|
2
|
+
import { hapTasks } from '@ohos/hvigor-ohos-plugin';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
system: hapTasks /* Built-in plugin of Hvigor. It cannot be modified. */,
|
|
6
|
+
plugins: [] /* Custom plugin to extend the functionality of Hvigor. */,
|
|
7
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Define project specific obfuscation rules here.
|
|
2
|
+
# You can include the obfuscation configuration files in the current module's build-profile.json5.
|
|
3
|
+
|
|
4
|
+
# Obfuscation options:
|
|
5
|
+
# -disable-obfuscation: disable all obfuscations
|
|
6
|
+
# -enable-property-obfuscation: obfuscate the property names
|
|
7
|
+
# -enable-toplevel-obfuscation: obfuscate the names in the global scope
|
|
8
|
+
# -compact: remove unnecessary blank spaces and all line feeds
|
|
9
|
+
# -remove-log: remove all console.* statements
|
|
10
|
+
# -print-namecache: print the name cache that contains the mapping from the old names to new names
|
|
11
|
+
# -apply-namecache: reuse the given cache file
|
|
12
|
+
|
|
13
|
+
# Keep options:
|
|
14
|
+
# -keep-property-name: specifies property names that you want to keep
|
|
15
|
+
# -keep-global-name: specifies names that you want to keep in the global scope
|
|
16
|
+
|
|
17
|
+
-enable-property-obfuscation
|
|
18
|
+
-enable-toplevel-obfuscation
|
|
19
|
+
-enable-filename-obfuscation
|
|
20
|
+
-enable-export-obfuscation
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Huawei Device Co., Ltd.
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { AbilityConstant, ConfigurationConstant, UIAbility, Want } from '@kit.AbilityKit';
|
|
17
|
+
import { hilog } from '@kit.PerformanceAnalysisKit';
|
|
18
|
+
import { window } from '@kit.ArkUI';
|
|
19
|
+
|
|
20
|
+
const DOMAIN = 0x0000;
|
|
21
|
+
|
|
22
|
+
export default class EntryAbility extends UIAbility {
|
|
23
|
+
onCreate(want: Want, launchParam: AbilityConstant.LaunchParam): void {
|
|
24
|
+
try {
|
|
25
|
+
this.context.getApplicationContext().setColorMode(ConfigurationConstant.ColorMode.COLOR_MODE_NOT_SET);
|
|
26
|
+
} catch (err) {
|
|
27
|
+
hilog.error(DOMAIN, 'testTag', 'Failed to set colorMode. Cause: %{public}s', JSON.stringify(err));
|
|
28
|
+
}
|
|
29
|
+
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onCreate');
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
onDestroy(): void {
|
|
33
|
+
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onDestroy');
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
onWindowStageCreate(windowStage: window.WindowStage): void {
|
|
37
|
+
// Main window is created, set main page for this ability
|
|
38
|
+
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onWindowStageCreate');
|
|
39
|
+
|
|
40
|
+
windowStage.loadContent('pages/Index', (err) => {
|
|
41
|
+
if (err.code) {
|
|
42
|
+
hilog.error(DOMAIN, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err));
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
hilog.info(DOMAIN, 'testTag', 'Succeeded in loading the content.');
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
onWindowStageDestroy(): void {
|
|
50
|
+
// Main window is destroyed, release UI related resources
|
|
51
|
+
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onWindowStageDestroy');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
onForeground(): void {
|
|
55
|
+
// Ability has brought to foreground
|
|
56
|
+
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onForeground');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
onBackground(): void {
|
|
60
|
+
// Ability has back to background
|
|
61
|
+
hilog.info(DOMAIN, 'testTag', '%{public}s', 'Ability onBackground');
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Huawei Device Co., Ltd.
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { hilog } from '@kit.PerformanceAnalysisKit';
|
|
17
|
+
import { BackupExtensionAbility, BundleVersion } from '@kit.CoreFileKit';
|
|
18
|
+
|
|
19
|
+
const DOMAIN = 0x0000;
|
|
20
|
+
|
|
21
|
+
export default class EntryBackupAbility extends BackupExtensionAbility {
|
|
22
|
+
async onBackup() {
|
|
23
|
+
hilog.info(DOMAIN, 'testTag', 'onBackup ok');
|
|
24
|
+
await Promise.resolve();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
async onRestore(bundleVersion: BundleVersion) {
|
|
28
|
+
hilog.info(DOMAIN, 'testTag', 'onRestore ok %{public}s', JSON.stringify(bundleVersion));
|
|
29
|
+
await Promise.resolve();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2026 Huawei Device Co., Ltd.
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
@Entry
|
|
17
|
+
@Component
|
|
18
|
+
struct Index {
|
|
19
|
+
@State message: string = 'Hello World';
|
|
20
|
+
|
|
21
|
+
build() {
|
|
22
|
+
RelativeContainer() {
|
|
23
|
+
Text(this.message)
|
|
24
|
+
.id('HelloWorld')
|
|
25
|
+
.fontSize($r('app.float.page_text_font_size'))
|
|
26
|
+
.fontWeight(FontWeight.Bold)
|
|
27
|
+
.alignRules({
|
|
28
|
+
center: { anchor: '__container__', align: VerticalAlign.Center },
|
|
29
|
+
middle: { anchor: '__container__', align: HorizontalAlign.Center }
|
|
30
|
+
})
|
|
31
|
+
.onClick(() => {
|
|
32
|
+
this.message = 'Welcome';
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
.height('100%')
|
|
36
|
+
.width('100%')
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": {
|
|
3
|
+
"name": "entry",
|
|
4
|
+
"type": "entry",
|
|
5
|
+
"description": "$string:module_desc",
|
|
6
|
+
"mainElement": "EntryAbility",
|
|
7
|
+
"deviceTypes": [
|
|
8
|
+
"phone"
|
|
9
|
+
],
|
|
10
|
+
"deliveryWithInstall": true,
|
|
11
|
+
"installationFree": false,
|
|
12
|
+
"pages": "$profile:main_pages",
|
|
13
|
+
"abilities": [
|
|
14
|
+
{
|
|
15
|
+
"name": "EntryAbility",
|
|
16
|
+
"srcEntry": "./ets/entryability/EntryAbility.ets",
|
|
17
|
+
"description": "$string:EntryAbility_desc",
|
|
18
|
+
"icon": "$media:layered_image",
|
|
19
|
+
"label": "$string:EntryAbility_label",
|
|
20
|
+
"startWindowIcon": "$media:startIcon",
|
|
21
|
+
"startWindowBackground": "$color:start_window_background",
|
|
22
|
+
"exported": true,
|
|
23
|
+
"skills": [
|
|
24
|
+
{
|
|
25
|
+
"entities": [
|
|
26
|
+
"entity.system.home"
|
|
27
|
+
],
|
|
28
|
+
"actions": [
|
|
29
|
+
"ohos.want.action.home"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"extensionAbilities": [
|
|
36
|
+
{
|
|
37
|
+
"name": "EntryBackupAbility",
|
|
38
|
+
"srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets",
|
|
39
|
+
"type": "backup",
|
|
40
|
+
"exported": false,
|
|
41
|
+
"metadata": [
|
|
42
|
+
{
|
|
43
|
+
"name": "ohos.extension.backup",
|
|
44
|
+
"resource": "$profile:backup_config"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"modelVersion": "6.0.2",
|
|
3
|
+
"dependencies": {
|
|
4
|
+
},
|
|
5
|
+
"execution": {
|
|
6
|
+
// "analyze": "normal", /* Define the build analyze mode. Value: [ "normal" | "advanced" | "ultrafine" | false ]. Default: "normal" */
|
|
7
|
+
// "daemon": true, /* Enable daemon compilation. Value: [ true | false ]. Default: true */
|
|
8
|
+
// "incremental": true, /* Enable incremental compilation. Value: [ true | false ]. Default: true */
|
|
9
|
+
// "parallel": true, /* Enable parallel compilation. Value: [ true | false ]. Default: true */
|
|
10
|
+
// "typeCheck": false, /* Enable typeCheck. Value: [ true | false ]. Default: false */
|
|
11
|
+
// "optimizationStrategy": "memory" /* Define the optimization strategy. Value: [ "memory" | "performance" ]. Default: "memory" */
|
|
12
|
+
},
|
|
13
|
+
"logging": {
|
|
14
|
+
// "level": "info" /* Define the log level. Value: [ "debug" | "info" | "warn" | "error" ]. Default: "info" */
|
|
15
|
+
},
|
|
16
|
+
"debugging": {
|
|
17
|
+
// "stacktrace": false /* Disable stacktrace compilation. Value: [ true | false ]. Default: false */
|
|
18
|
+
},
|
|
19
|
+
"nodeOptions": {
|
|
20
|
+
// "maxOldSpaceSize": 8192 /* Enable nodeOptions maxOldSpaceSize compilation. Unit M. Used for the daemon process. Default: 8192*/
|
|
21
|
+
// "exposeGC": true /* Enable to trigger garbage collection explicitly. Default: true*/
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// @ts-nocheck – Template file, only used when copied into a project directory
|
|
2
|
+
import { appTasks } from '@ohos/hvigor-ohos-plugin';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
system: appTasks /* Built-in plugin of Hvigor. It cannot be modified. */,
|
|
6
|
+
plugins: [] /* Custom plugin to extend the functionality of Hvigor. */,
|
|
7
|
+
};
|