@tarojs/plugin-platform-harmony-cpp 4.1.4-beta.9 → 4.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/plugin-platform-harmony-cpp",
3
- "version": "4.1.4-beta.9",
3
+ "version": "4.1.4",
4
4
  "description": "鸿蒙系统插件 C-API 版本",
5
5
  "author": "O2Team",
6
6
  "homepage": "https://gitee.com/openharmony-sig/taro",
@@ -34,16 +34,18 @@
34
34
  "react": "^18.3.1",
35
35
  "react-dom": "^18.3.1",
36
36
  "react-reconciler": "0.29.0",
37
+ "rollup": "^3.29.4",
38
+ "rollup-plugin-dts": "^6.1.1",
39
+ "rollup-plugin-node-externals": "^5.1.3",
40
+ "rollup-plugin-ts": "^3.4.5",
37
41
  "scheduler": "^0.23.2",
38
- "@tarojs/react": "4.1.4-beta.9",
39
- "@tarojs/service": "4.1.4-beta.9",
40
- "@tarojs/runner-utils": "4.1.4-beta.9"
42
+ "@tarojs/react": "4.1.4",
43
+ "@tarojs/runner-utils": "4.1.4",
44
+ "@tarojs/service": "4.1.4"
41
45
  },
42
46
  "devDependencies": {
43
- "rollup": "^3.29.4",
44
- "rollup-plugin-dts": "^6.2.1",
45
- "rollup-plugin-node-externals": "^5.1.3",
46
47
  "@rollup/plugin-typescript": "^11.1.6",
48
+ "@types/node": "^18.19.34",
47
49
  "@types/conventional-commits-parser": "^3.0.0",
48
50
  "conventional-commits-parser": "^3.0.0",
49
51
  "postcss": "^8.4.38",
@@ -55,30 +57,30 @@
55
57
  "tslib": "^2.6.3",
56
58
  "typescript": "~5.4.5",
57
59
  "vite": "^4.2.0",
58
- "@tarojs/helper": "4.1.4-beta.9",
59
- "@tarojs/components": "4.1.4-beta.9",
60
- "@tarojs/plugin-framework-react": "4.1.4-beta.9",
61
- "@tarojs/react": "4.1.4-beta.9",
62
- "@tarojs/runtime": "4.1.4-beta.9",
63
- "@tarojs/plugin-platform-harmony-ets": "4.1.4-beta.9",
64
- "@tarojs/shared": "4.1.4-beta.9",
65
- "@tarojs/taro": "4.1.4-beta.9",
66
- "@tarojs/vite-runner": "4.1.4-beta.9",
67
- "rollup-plugin-copy": "4.1.4-beta.9"
60
+ "@tarojs/helper": "4.1.4",
61
+ "@tarojs/components": "4.1.4",
62
+ "@tarojs/plugin-framework-react": "4.1.4",
63
+ "@tarojs/plugin-platform-harmony-ets": "4.1.4",
64
+ "@tarojs/runtime": "4.1.4",
65
+ "@tarojs/shared": "4.1.4",
66
+ "@tarojs/taro": "4.1.4",
67
+ "@tarojs/react": "4.1.4",
68
+ "@tarojs/vite-runner": "4.1.4",
69
+ "rollup-plugin-copy": "4.1.4"
68
70
  },
69
71
  "peerDependencies": {
70
72
  "less": "^4.2.0",
71
73
  "sass": "^1.75.0",
72
74
  "stylus": "^0.63.0",
73
- "@tarojs/helper": "4.1.4-beta.9",
74
- "@tarojs/react": "4.1.4-beta.9",
75
- "@tarojs/plugin-framework-react": "4.1.4-beta.9",
76
- "@tarojs/plugin-platform-harmony-ets": "4.1.4-beta.9",
77
- "@tarojs/shared": "4.1.4-beta.9",
78
- "@tarojs/components": "4.1.4-beta.9",
79
- "@tarojs/taro": "4.1.4-beta.9",
80
- "@tarojs/runtime": "4.1.4-beta.9",
81
- "@tarojs/vite-runner": "4.1.4-beta.9"
75
+ "@tarojs/components": "4.1.4",
76
+ "@tarojs/helper": "4.1.4",
77
+ "@tarojs/plugin-framework-react": "4.1.4",
78
+ "@tarojs/plugin-platform-harmony-ets": "4.1.4",
79
+ "@tarojs/react": "4.1.4",
80
+ "@tarojs/runtime": "4.1.4",
81
+ "@tarojs/shared": "4.1.4",
82
+ "@tarojs/taro": "4.1.4",
83
+ "@tarojs/vite-runner": "4.1.4"
82
84
  },
83
85
  "scripts": {
84
86
  "prebuild": "rimraf --impl=move-remove dist",
@@ -89,7 +91,7 @@
89
91
  "dev": "pnpm run rollup -w",
90
92
  "ohpm-publish": "pnpm run tsx --files ./scripts/ohpm-publish",
91
93
  "remove:reference": "pnpm run tsx --files ./scripts/reference",
92
- "rollup": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
94
+ "rollup": "rollup --config rollup.config.mts --configPlugin @rollup/plugin-typescript --bundleConfigAsCjs",
93
95
  "tsx": "ts-node --skipIgnore"
94
96
  }
95
97
  }
package/dist/index.d.ts DELETED
@@ -1,32 +0,0 @@
1
- import { HarmonyOS_ArkTS } from '@tarojs/plugin-platform-harmony-ets/dist';
2
- import { IPluginContext, TConfig } from '@tarojs/service';
3
- import { IHarmonyConfig } from '@tarojs/taro/types/compile';
4
-
5
- declare class Harmony extends HarmonyOS_ArkTS {
6
- option: IOptions;
7
- platform: string;
8
- runtimePath: string;
9
- useETS: boolean;
10
- useJSON5: boolean;
11
- get context(): IPluginContext;
12
- constructor(ctx: IPluginContext, config: TConfig, option: IOptions);
13
- get harmonyPluginPath(): string;
14
- get harmonyCppPluginPath(): string;
15
- get apiLibrary(): string;
16
- get componentLibrary(): string;
17
- get runtimeLibrary(): string;
18
- get runtimeFrameworkLibrary(): string;
19
- get runtimeFrameworkReconciler(): string;
20
- modifyPageConfig(): void;
21
- updateModulePackage(outputRoot: string, ohPackage?: Exclude<IHarmonyConfig['ohPackage'], undefined>, ohpm?: string): void;
22
- }
23
-
24
- interface IOptions {
25
- useConfigName?: string;
26
- /** @default "local" */
27
- useChoreLibrary?: 'local' | 'remote' | false | string;
28
- }
29
- declare const _default: (ctx: IPluginContext, options?: IOptions) => void;
30
-
31
- export { Harmony as HarmonyCPP, _default as default };
32
- export type { IOptions };