Skip to content

Commit 6fc5719

Browse files
authored
Merge pull request #5 from fengbl-create/sig
fix:非codegen 修改引入依赖包
2 parents 7db236b + 79ff078 commit 6fc5719

File tree

7 files changed

+40
-10
lines changed

7 files changed

+40
-10
lines changed

harmony/image_editor.har

314 Bytes
Binary file not shown.

harmony/image_editor/BuildProfile.ets

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1+
/**
2+
* Use these variables when you tailor your ArkTS code. They must be of the const type.
3+
*/
4+
export const HAR_VERSION = '3.2.0-nc.0.1.2';
5+
export const BUILD_MODE_NAME = 'debug';
6+
export const DEBUG = true;
7+
export const TARGET_NAME = 'default';
8+
9+
/**
10+
* BuildProfile Class is used only for compatibility purposes.
11+
*/
112
export default class BuildProfile {
2-
static readonly HAR_VERSION = '1.0.0';
3-
static readonly BUILD_MODE_NAME = 'debug';
4-
static readonly DEBUG = true;
13+
static readonly HAR_VERSION = HAR_VERSION;
14+
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
15+
static readonly DEBUG = DEBUG;
16+
static readonly TARGET_NAME = TARGET_NAME;
517
}

harmony/image_editor/oh-package-lock.json5

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

harmony/image_editor/oh-package.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@react-native-oh-tpl/image-editor",
3-
"version": "3.2.0-nc.0.1.1",
3+
"version": "3.2.0-nc.0.1.2",
44
"description": "Please describe the basic information.",
55
"main": "index.ets",
66
"author": "",
7-
"license": "Apache-2.0",
7+
"license": "MIT License",
88
dependencies: {
9-
rnoh: 'file:../rnoh'
9+
"@rnoh/react-native-openharmony": "file:../react_native_openharmony"
1010
}
1111
}

harmony/image_editor/src/main/ets/ImageEditorModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* SOFTWARE.
2323
*/
2424

25-
import { TurboModule } from 'rnoh/ts'
25+
import { TurboModule } from '@rnoh/react-native-openharmony/ts'
2626
import Logger from './Logger'
2727
import http from '@ohos.net.http'
2828
import ResponseCode from '@ohos.net.http'

harmony/image_editor/src/main/ets/ImageEditorPackage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
* SOFTWARE.
2323
*/
2424

25-
import {RNPackage, TurboModulesFactory} from 'rnoh/ts';
26-
import type {TurboModule, TurboModuleContext} from 'rnoh/ts';
25+
import {RNPackage, TurboModulesFactory} from '@rnoh/react-native-openharmony/ts';
26+
import type {TurboModule, TurboModuleContext} from '@rnoh/react-native-openharmony/ts';
2727
import {ImageEditorModule} from './ImageEditorModule';
2828

2929
class ImageEditorModulesFactory extends TurboModulesFactory {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-oh-tpl/image-editor",
3-
"version": "3.2.0-nc.0.1.1",
3+
"version": "3.2.0-nc.0.1.2",
44
"description": "React Native Image Editing native modules for iOS & Android & Harmony",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)