mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-08-31 15:37:50 +00:00
[feat] New sysinfo api, update dep (#251)
Some checks are pending
Some checks are pending
* 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:
parent
993e276e72
commit
0bca6739a7
14 changed files with 113 additions and 98 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue