@oniroproject/core 0.6.0 → 0.6.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 ADDED
@@ -0,0 +1,25 @@
1
+ # @oniroproject/core
2
+
3
+ Shared library powering the Oniro/OpenHarmony app-development toolchain. Wraps SDK install, command-line tools install, project scaffolding, signing-config generation, `hvigorw` builds, emulator lifecycle, `hdc` install/launch, and hilog streaming — all behind a vscode-agnostic API that runs on Linux, macOS, and Windows.
4
+
5
+ This package backs [`@oniroproject/oniro-app`](https://www.npmjs.com/package/@oniroproject/oniro-app) (the `oniro-app` CLI). If you just want to build/run Oniro apps from a shell, install the CLI; install this library directly if you're embedding the same functionality into an editor extension or another tool.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @oniroproject/core
11
+ ```
12
+
13
+ Requires Node.js 20+.
14
+
15
+ ## Usage
16
+
17
+ ```ts
18
+ import { installSdk, signProject, buildProject } from '@oniroproject/core';
19
+ ```
20
+
21
+ The exported surface mirrors what the CLI exposes — SDK/cmd-tools/emulator install + lifecycle, project create, sign, build, hdc install/launch, hilog parsing. See the [repository README](https://github.com/eclipse-oniro4openharmony/oniro-app-builder#readme) for the high-level workflow.
22
+
23
+ ## License
24
+
25
+ Apache-2.0
package/dist/index.cjs CHANGED
@@ -1777,7 +1777,7 @@ async function createScaffold(opts) {
1777
1777
  }
1778
1778
 
1779
1779
  // src/index.ts
1780
- var VERSION = "0.6.0";
1780
+ var VERSION = "0.6.1";
1781
1781
  // Annotate the CommonJS export names for ESM import in node:
1782
1782
  0 && (module.exports = {
1783
1783
  ALL_SDKS,
package/dist/index.js CHANGED
@@ -1670,7 +1670,7 @@ async function createScaffold(opts) {
1670
1670
  }
1671
1671
 
1672
1672
  // src/index.ts
1673
- var VERSION = "0.6.0";
1673
+ var VERSION = "0.6.1";
1674
1674
  export {
1675
1675
  ALL_SDKS,
1676
1676
  APL_VALUES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oniroproject/core",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Shared library for Oniro/OpenHarmony app development tooling: SDK install, build, sign, emulator, hdc, project scaffolding.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {