@tarojs/plugin-platform-harmony-cpp 4.1.1-alpha.0 → 4.1.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/README.md CHANGED
@@ -67,13 +67,6 @@ const config = {
67
67
  // ['@tarojs/plugin-platform-harmony-cpp', { useChoreLibrary: false }],
68
68
  // ['@tarojs/plugin-platform-harmony-cpp', { useChoreLibrary: '4.1.0-alpha.0' }],
69
69
  ],
70
- harmony: {
71
- ohPackage: {
72
- dependencies: {
73
- 'library': 'file:../library',
74
- },
75
- },
76
- },
77
70
  // ...
78
71
  }
79
72
  ```
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var utils = require('@tarojs/vite-runner/dist/utils');
15
15
  var parseCssToStylesheet = require('@tarojs/parse-css-to-stylesheet');
16
16
  var constants = require('@tarojs/vite-runner/dist/harmony/postcss/constants');
17
17
 
18
- var version = "4.1.1-alpha.0";
18
+ var version = "4.1.1";
19
19
 
20
20
  const PKG_NAME = '@taro-oh/library';
21
21
  const PKG_VERSION = version;
@@ -1029,7 +1029,7 @@ class Harmony extends dist.HarmonyOS_ArkTS {
1029
1029
  });
1030
1030
  // Note: 注入 Taro Hooks 相关依赖
1031
1031
  this.apiEntryList = [
1032
- /(@tarojs[\\/]plugin-platform-harmony-cpp|plugin-platform-harmony-cpp)[\\/]dist[\\/]runtime[\\/]apischunk[\\/]index\.js/,
1032
+ /(@tarojs[\\/]plugin-platform-harmony-cpp|platform-harmony-cpp)[\\/]dist[\\/]runtime[\\/]apischunk[\\/]index\.js/,
1033
1033
  ];
1034
1034
  this.externalDeps.push(['@tarojs/shared', /^@tarojs[\\/]shared$/]);
1035
1035
  this.externalDeps.push(['react-reconciler', /^react-reconciler$/]);
@@ -1131,7 +1131,6 @@ const staticDirname = 'static';
1131
1131
  let harName = `${PKG_NAME}-${PKG_VERSION}.har`;
1132
1132
  if (!helper.fs.existsSync(path.join(__dirname, '..', staticDirname, harName))) {
1133
1133
  harName = require('fast-glob').sync('**/*.har', { cwd: path.join(__dirname, '..', staticDirname) })[0] || '';
1134
- console.log('使用 har', harName);
1135
1134
  }
1136
1135
  var index = (ctx, options = {}) => {
1137
1136
  options.useChoreLibrary = options.useChoreLibrary ?? 'local';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/plugin-platform-harmony-cpp",
3
- "version": "4.1.1-alpha.0",
3
+ "version": "4.1.1",
4
4
  "description": "鸿蒙系统插件 C-API 版本",
5
5
  "author": "O2Team",
6
6
  "homepage": "https://gitee.com/openharmony-sig/taro",
@@ -13,6 +13,7 @@
13
13
  "files": [
14
14
  "index.js",
15
15
  "dist",
16
+ "static",
16
17
  "types"
17
18
  ],
18
19
  "types": "types/index.d.ts",
@@ -40,9 +41,9 @@
40
41
  "rollup-plugin-node-externals": "^5.1.3",
41
42
  "rollup-plugin-ts": "^3.4.5",
42
43
  "scheduler": "^0.23.2",
43
- "@tarojs/react": "4.1.1-alpha.0",
44
- "@tarojs/service": "4.1.1-alpha.0",
45
- "@tarojs/runner-utils": "4.1.1-alpha.0"
44
+ "@tarojs/react": "4.1.1",
45
+ "@tarojs/runner-utils": "4.1.1",
46
+ "@tarojs/service": "4.1.1"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@rollup/plugin-typescript": "^11.1.6",
@@ -56,30 +57,30 @@
56
57
  "tslib": "^2.6.3",
57
58
  "typescript": "~5.4.5",
58
59
  "vite": "^4.2.0",
59
- "@tarojs/helper": "4.1.1-alpha.0",
60
- "@tarojs/plugin-framework-react": "4.1.1-alpha.0",
61
- "@tarojs/plugin-platform-harmony-ets": "4.1.1-alpha.0",
62
- "@tarojs/components": "4.1.1-alpha.0",
63
- "@tarojs/shared": "4.1.1-alpha.0",
64
- "@tarojs/taro": "4.1.1-alpha.0",
65
- "@tarojs/react": "4.1.1-alpha.0",
66
- "rollup-plugin-copy": "4.1.1-alpha.0",
67
- "@tarojs/runtime": "4.1.1-alpha.0",
68
- "@tarojs/vite-runner": "4.1.1-alpha.0"
60
+ "@tarojs/components": "4.1.1",
61
+ "@tarojs/helper": "4.1.1",
62
+ "@tarojs/plugin-framework-react": "4.1.1",
63
+ "@tarojs/plugin-platform-harmony-ets": "4.1.1",
64
+ "@tarojs/react": "4.1.1",
65
+ "@tarojs/runtime": "4.1.1",
66
+ "@tarojs/shared": "4.1.1",
67
+ "@tarojs/taro": "4.1.1",
68
+ "@tarojs/vite-runner": "4.1.1",
69
+ "rollup-plugin-copy": "4.1.1"
69
70
  },
70
71
  "peerDependencies": {
71
72
  "less": "^4.2.0",
72
73
  "sass": "^1.75.0",
73
74
  "stylus": "^0.63.0",
74
- "@tarojs/helper": "4.1.1-alpha.0",
75
- "@tarojs/components": "4.1.1-alpha.0",
76
- "@tarojs/plugin-framework-react": "4.1.1-alpha.0",
77
- "@tarojs/react": "4.1.1-alpha.0",
78
- "@tarojs/plugin-platform-harmony-ets": "4.1.1-alpha.0",
79
- "@tarojs/runtime": "4.1.1-alpha.0",
80
- "@tarojs/shared": "4.1.1-alpha.0",
81
- "@tarojs/vite-runner": "4.1.1-alpha.0",
82
- "@tarojs/taro": "4.1.1-alpha.0"
75
+ "@tarojs/components": "4.1.1",
76
+ "@tarojs/helper": "4.1.1",
77
+ "@tarojs/plugin-framework-react": "4.1.1",
78
+ "@tarojs/react": "4.1.1",
79
+ "@tarojs/plugin-platform-harmony-ets": "4.1.1",
80
+ "@tarojs/runtime": "4.1.1",
81
+ "@tarojs/shared": "4.1.1",
82
+ "@tarojs/vite-runner": "4.1.1",
83
+ "@tarojs/taro": "4.1.1"
83
84
  },
84
85
  "scripts": {
85
86
  "prebuild": "rimraf --impl=move-remove dist",