[feat] New sysinfo api, update dep (#251)
Some checks are pending
CI / build-test (macos-14) (push) Waiting to run
CI / build-test (ubuntu-24.04) (push) Waiting to run
CI / build-test (windows-latest) (push) Waiting to run
JSR Publish / publish (push) Waiting to run
NPM Package Publish / publish-npm (push) Waiting to run

* update tauri-plugin-system-info submodule to latest commit cb32fe8

* Update dependencies to latest versions, including valibot to 1.0.0-rc.4 and kkrpc to 0.2.1 across multiple packages. Bump api package version to 0.1.6.

* Update desktop and API package versions; change development server port and URL
This commit is contained in:
Huakun 2025-03-18 08:42:39 -04:00 committed by GitHub
parent 993e276e72
commit 0bca6739a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 113 additions and 98 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@kksh/api",
"version": "0.1.5",
"version": "0.1.6",
"type": "module",
"repository": {
"type": "git",
@ -65,17 +65,17 @@
"@tauri-apps/plugin-store": "^2.2.0",
"@tauri-apps/plugin-updater": "^2.3.0",
"@tauri-apps/plugin-upload": "^2.2.1",
"kkrpc": "^0.1.1",
"kkrpc": "^0.2.1",
"lodash": "^4.17.21",
"minimatch": "^10.0.1",
"node-fetch": "^3.3.2",
"semver": "^7.6.3",
"svelte-sonner": "^0.3.28",
"tauri-api-adapter": "^0.3.23",
"tauri-api-adapter": "^0.3.26",
"tauri-plugin-network-api": "2.0.5",
"tauri-plugin-shellx-api": "^2.0.16",
"tauri-plugin-system-info-api": "2.0.8",
"valibot": "^1.0.0-beta.10"
"valibot": "^1.0.0-rc.4"
},
"files": [
"src",

View file

@ -2,7 +2,7 @@ import { DenoIo, RPCChannel } from "kkrpc"
// deno-lint-ignore no-explicit-any
export function expose(api: Record<string, any>) {
const stdio = new DenoIo(Deno.stdin.readable, Deno.stdout.writable)
const stdio = new DenoIo(Deno.stdin.readable)
const channel = new RPCChannel(stdio, { expose: api })
return channel
}

View file

@ -21,7 +21,7 @@ export const breakingChangesVersionCheckpoints = [
const checkpointVersions = breakingChangesVersionCheckpoints.map((c) => c.version)
const sortedCheckpointVersions = sort(checkpointVersions)
export const version = "0.1.5"
export const version = "0.1.6"
export function isVersionBetween(v: string, start: string, end: string) {
const vCleaned = clean(v)