Skip to content

Commit

Permalink
chore: Upgrade tauri plugins version
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Sep 1, 2024
1 parent 19c4631 commit e804fd7
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 18 deletions.
3 changes: 2 additions & 1 deletion apps/desktop/src/lib/sample-worker.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { clipboard, dialog } from 'tauri-api-adapter/worker'
import { clipboard, dialog, shell } from 'tauri-api-adapter/worker'

clipboard.readText().then((text) => {
console.log('From Worker: ', text)
})
shell.executeBashScript('echo "Hello from Worker"').then(console.log)
// dialog.confirm('Are you sure?').then((response) => {
// console.log('From Worker: ', response)
// })
16 changes: 8 additions & 8 deletions packages/tauri-api-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"name": "tauri-api-adapter",
"version": "0.3.4",
"type": "module",
"devDependencies": {
"@types/bun": "latest",
"typedoc": "^0.26.6"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -39,6 +35,10 @@
}
},
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
"typedoc": "^0.26.6"
},
"dependencies": {
"@huakunshen/comlink": "^4.4.1",
"@rollup/plugin-alias": "^5.1.0",
Expand All @@ -56,10 +56,10 @@
"rollup": "^4.18.0",
"shx": "^0.3.4",
"tsc-alias": "^1.8.10",
"tauri-plugin-clipboard-api": "^2.1.6",
"tauri-plugin-network-api": "^2.0.3-beta.1",
"tauri-plugin-shellx-api": "^2.0.8",
"tauri-plugin-system-info-api": "^2.0.2",
"tauri-plugin-clipboard-api": "^2.1.7",
"tauri-plugin-network-api": "^2.0.3",
"tauri-plugin-shellx-api": "^2.0.9",
"tauri-plugin-system-info-api": "^2.0.4",
"typescript": "^5.0.0",
"valibot": "^0.40.0"
},
Expand Down
50 changes: 41 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e804fd7

Please sign in to comment.