feat: expose helper API in headless and UI modules

- Add helper API to headless module exports
- Update UI custom module to include helper API
- Bump package version to 0.1.3
This commit is contained in:
Huakun Shen 2025-02-07 02:45:57 -05:00
parent 7b6c0934ab
commit 27fdff03d9
No known key found for this signature in database
4 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ {
"$schema": "https://jsr.io/schema/config-file.v1.json", "$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@kunkun/api", "name": "@kunkun/api",
"version": "0.1.1", "version": "0.1.3",
"license": "MIT", "license": "MIT",
"exports": { "exports": {
".": "./src/index.ts", ".": "./src/index.ts",

View File

@ -1,6 +1,6 @@
{ {
"name": "@kksh/api", "name": "@kksh/api",
"version": "0.1.2", "version": "0.1.3",
"type": "module", "type": "module",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -110,6 +110,7 @@ export const {
notification, notification,
sysInfo, sysInfo,
network, network,
helper,
system, system,
open, open,
utils, utils,

View File

@ -101,6 +101,7 @@ export const {
toast, toast,
utils, utils,
open, open,
app app,
helper
} = api } = api
export { Child, RPCChannel, Command, DenoCommand } from "../../api/shell" export { Child, RPCChannel, Command, DenoCommand } from "../../api/shell"