mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-26 15:19:57 +02:00
Compare commits
468 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c61b224564 | |||
| 719cd9398e | |||
| 84bfcea116 | |||
| 021547be1c | |||
| eb5c600eda | |||
| ee5332fa84 | |||
| 802e416a51 | |||
| e0da7a8b8d | |||
| e9937b2220 | |||
| 4dfbb13520 | |||
| 60728ea22a | |||
| 7dee8ab6e2 | |||
| 30dd3f8b45 | |||
| 49a4f78806 | |||
| 7f025e5240 | |||
| 5700bd2213 | |||
| d402c3865a | |||
| 90ef77c872 | |||
| 51856e9e0a | |||
| 9741b97e8c | |||
| e421b9a2c0 | |||
| 371a2f7361 | |||
| 52c093ac9d | |||
| 6d6508f18e | |||
| 3fa814d1f0 | |||
| 1fe3dab64c | |||
| 5dadd205f5 | |||
| 3e15acea9a | |||
| 3e78173df9 | |||
| 64fac08bfb | |||
| fdc382dff0 | |||
| b2aea04567 | |||
| 3449dd5a8f | |||
| 57f69c6615 | |||
| cfb3ec0e21 | |||
| b8bf4ad360 | |||
| 87cc58527d | |||
| e0d2e2c53f | |||
| 9a7092ca44 | |||
| 606fa08dae | |||
| 62f1e40682 | |||
| c8e5614063 | |||
| 03c255ae20 | |||
| a706748dd3 | |||
| 7c1046d239 | |||
| a90f36b07e | |||
| e5249cff0b | |||
| d57df4debe | |||
| 1f649c7f1f | |||
| 0ca4cc914c | |||
| 9dcad78f44 | |||
| 4341d7f500 | |||
| 77149dc432 | |||
| 525abc4be5 | |||
| 14cee64c82 | |||
| 3fd283121f | |||
| ae8024565f | |||
| 2302c2db1c | |||
| 44c50c1275 | |||
| 415bf2abc3 | |||
| 36207a93f3 | |||
| 854754e10b | |||
| 1c2f137a8a | |||
| 8c67d44aef | |||
| cfd48b3b2e | |||
| 558e14bb4c | |||
| aef5dd6157 | |||
| 74ee7edc43 | |||
| 7e1c17a635 | |||
| 3c1f3874f4 | |||
| 51ddf6a715 | |||
| 62082b7086 | |||
| aee14ed426 | |||
| 9b2840db94 | |||
| 60064fce52 | |||
| 0058583583 | |||
| fb676626f1 | |||
| f445c704a1 | |||
| fd785ab5de | |||
| a1a82208ed | |||
| dc49de5341 | |||
| 4c2454d410 | |||
| fe6dd0ff9e | |||
| ab8d089b2b | |||
| ee02ea7746 | |||
| 9501cfa5f5 | |||
| e8069af804 | |||
| 0975a687a0 | |||
| 654a7299c3 | |||
| 58eab11faf | |||
| fb62d03f73 | |||
| 7e5e34420b | |||
| f12d35609a | |||
| 44273b9889 | |||
| 2f7e32b5e0 | |||
| 30bcf5dcc2 | |||
| 68579934c9 | |||
| 04459afbb6 | |||
| 3b2bd3065d | |||
| f930505de4 | |||
| 34319bd977 | |||
| 34737186fe | |||
| 4bd1f15bb9 | |||
| aabc4d3a24 | |||
| fc9b189e83 | |||
| b7ff3a6bdb | |||
| 04a0aea0ab | |||
| e564e2aa91 | |||
| 118f6b4334 | |||
| fd0a52aa86 | |||
| 52e3bdab26 | |||
| dd09e3c3f4 | |||
| 2797954799 | |||
| 025210be28 | |||
| 221f50f53b | |||
| 6bf1bd8d44 | |||
| 41fe9053a0 | |||
| 27bb5d9a27 | |||
| 3168e17603 | |||
| dd514e7a88 | |||
| 6e142b4230 | |||
| fd1c7c8dbb | |||
| 59c63f31cc | |||
| 3cbb55aa7b | |||
| 60765694f5 | |||
| fd75401aee | |||
| ca34972266 | |||
| 179184326b | |||
| d8efd3cd20 | |||
| 5d39ddcf22 | |||
| 2050a3bea2 | |||
| c078f57a09 | |||
| dc5721ac13 | |||
| 1d9741b52b | |||
| 7a37355e17 | |||
| 5cbd593e76 | |||
| f7600b5fff | |||
| fb85e5dd76 | |||
| 6f3f66794a | |||
| 79d6e19c4b | |||
| aebd4f6185 | |||
| 341a5320c3 | |||
| cc03ccf5e0 | |||
| 009299ebec | |||
| 204e5aacad | |||
| 8a45c35160 | |||
| ebf821afd1 | |||
| 984110a978 | |||
| 2b898f0786 | |||
| b2269333e3 | |||
| 41afcae399 | |||
| 9291e4d2ca | |||
| 3715f3c9a6 | |||
| 253ae66210 | |||
| 949e2d6c45 | |||
| 64a6240f79 | |||
| 77680f6ed8 | |||
| 8c3a6a253d | |||
| 57fd28126c | |||
| a34fade500 | |||
| 713c54ef83 | |||
| a9b2a9af84 | |||
| c23b3d4bc8 | |||
| 0dd97d9115 | |||
| 3912800db3 | |||
| c23d7c51f6 | |||
| 5906cf4335 | |||
| d4a54157f0 | |||
| 3d301c654e | |||
| 12e80ffe00 | |||
| a2fe55512f | |||
| d00519e3e3 | |||
| 6995127778 | |||
| c565a08d09 | |||
| cf4d7d4e6c | |||
| 72c2ce82c1 | |||
| 4654591d82 | |||
| feb1e93fcb | |||
| ff134a8ca4 | |||
| f8255e1db5 | |||
| b9bcb2b6af | |||
| 51819c601f | |||
| f7280c8830 | |||
| 0cb99bdaf1 | |||
| de04935b2f | |||
| b4c95b25df | |||
| de452d4373 | |||
| e271382982 | |||
| 3a350add23 | |||
| 3518a23fa0 | |||
| c6a1b86404 | |||
| 091a78f1d2 | |||
| 16f68c2397 | |||
| 16d87bf236 | |||
| e502a706d1 | |||
| 17e8014b69 | |||
| de732d0ab0 | |||
| e2e97db519 | |||
| 9ea9e05944 | |||
| d0482502e9 | |||
| 0c040bcc9a | |||
| 0d5e7e2892 | |||
| 01c913e83e | |||
| 532622d8b2 | |||
| 448846b834 | |||
| 3c52f30ea4 | |||
| f690777a91 | |||
| f946a7cf1f | |||
| b914775898 | |||
| 66b9eaa0e5 | |||
| e2fa6d3a1b | |||
| 6c823ae31a | |||
| f4c9e13250 | |||
| 121f68b449 | |||
| ec067a5997 | |||
| 5d170a5444 | |||
| 4dd7f5ddd8 | |||
| 998f86371c | |||
| 84f8bd5e1e | |||
| af943db6f8 | |||
| bc7eecf420 | |||
| 5081f30daf | |||
| 584eb61f16 | |||
| 7b053ba6f6 | |||
| 7701392500 | |||
| e4e19e001b | |||
| 78061c3455 | |||
| 6b079cfdd1 | |||
| 5f68990297 | |||
| 94678051df | |||
| 59644c5d22 | |||
| edde2dedf1 | |||
| 05aaad3aec | |||
| 279698700a | |||
| 2c00c0292c | |||
| 901dd560be | |||
| b867127329 | |||
| 132c58f80d | |||
| f8925b9687 | |||
| 1e60a9888d | |||
| 788989aa60 | |||
| 096b152731 | |||
| ad03b8e035 | |||
| d13e6bcb78 | |||
| 0f34919c9c | |||
| 4899895479 | |||
| 4db635f19b | |||
| 9606089b2a | |||
| 34df132fb1 | |||
| b1e5cae5a0 | |||
| da308af3d9 | |||
| bc85babc87 | |||
| 0c1077f6d5 | |||
| 518b529a19 | |||
| 6de87966ec | |||
| 99d6ac0f95 | |||
| 95da90f82e | |||
| e847cedc1f | |||
| edf8d84f39 | |||
| e399b5294d | |||
| 913d289e8f | |||
| ada1381451 | |||
| 2b269f1b6d | |||
| 647d8894fe | |||
| 5ec310199f | |||
| bb09c7ca6e | |||
| 20a1d24ee0 | |||
| fa275731be | |||
| d8bfdc73a6 | |||
| 22bb0e5b61 | |||
| 37cb9a6681 | |||
| 725ff4295e | |||
| 117c67da13 | |||
| 490d4208d7 | |||
| 1adf7e3872 | |||
| 21bf0a4f84 | |||
| 644807bf01 | |||
| 93bdb6d133 | |||
| 4c120d4176 | |||
| 8824a24e15 | |||
| f83b9e9813 | |||
| 77ee644afd | |||
| 288e7b9ae2 | |||
| 12b78a23c4 | |||
| 97e2e75e29 | |||
| 7d926ee5b9 | |||
| 22a17980ff | |||
| 9973f8ee83 | |||
| 08243e94c7 | |||
| ac9a25cc12 | |||
| b07c092cd2 | |||
| 381a466db3 | |||
| a66549329c | |||
| 77dfcb8566 | |||
| c1bbfaaecd | |||
| 66e8dbfc1a | |||
| 4003bdada2 | |||
| 40ef9a818f | |||
| 8f6d341e45 | |||
| 76daee7aaf | |||
| 955ed6aec6 | |||
| 28bc5c2e3e | |||
| 720b60400f | |||
| a570d68ca8 | |||
| acce342fcc | |||
| 6dedb3fa6d | |||
| bd3b5e948d | |||
| 99d125d86b | |||
| 03d3cc3677 | |||
| 469c277407 | |||
| 757ab74c8e | |||
| 0cb1baf09a | |||
| f1372adc9d | |||
| 29751ee939 | |||
| 9db5a6a0f5 | |||
| 1146f068e1 | |||
| 0ee590366b | |||
| 7873d2b3f5 | |||
| ce9a97c45c | |||
| 17c42fd42a | |||
| b18a03a376 | |||
| d126183d0a | |||
| 0959fe3757 | |||
| f30a3b0501 | |||
| 7d332ef634 | |||
| e162e811fe | |||
| a8310f4149 | |||
| a171e0fcce | |||
| bf29a72baa | |||
| 70e2fadd91 | |||
| 3779fb5063 | |||
| 0b0088821e | |||
| f69a7805a7 | |||
| 4216c0517f | |||
| 909ff619e0 | |||
| 6ada2af2e1 | |||
| 8e1ae08c69 | |||
| 264a044097 | |||
| da8a7bbe3a | |||
| d9fa37ada5 | |||
| 98f8ef5a9f | |||
| e268c02ab6 | |||
| 1578970f81 | |||
| 04ce9c4f6c | |||
| a2eb3a6e43 | |||
| 60a8545cb7 | |||
| b344177d8b | |||
| 4b627f0dd5 | |||
| b76bf2d94b | |||
| 475ef7255f | |||
| 955fd90eec | |||
| 0d41e748cf | |||
| 706f32dd1d | |||
| 0f739dbc48 | |||
| 554cb902b0 | |||
| acd383af75 | |||
| f1a60fcb6a | |||
| 73f628147b | |||
| 9013854f42 | |||
| 0678af3a6c | |||
| 1d8662e71a | |||
| 5661cce795 | |||
| b665c9cbce | |||
| bd4544dbd7 | |||
| 381aed09a6 | |||
| c9ed72d846 | |||
| 7327602f15 | |||
| b0518206cd | |||
| 69e4c2e56f | |||
| 7581576a24 | |||
| 430bd6f4f3 | |||
| ec05513d89 | |||
| 5ac7a70694 | |||
| aff47992b3 | |||
| cfb3d74d9f | |||
| eeb37c7e10 | |||
| 584c4849bf | |||
| cb0a788d17 | |||
| db45dfaab3 | |||
| 43224c5d5c | |||
| f3749e4de8 | |||
| 9d7ae45b0e | |||
| 200f61c99d | |||
| 36121a2268 | |||
| bc834d4e77 | |||
| de8295301e | |||
| 0e18aaa02a | |||
| 6b6b6fc2e4 | |||
| b3e04cf95e | |||
| 01a8ba72b8 | |||
| e1d06b93b7 | |||
| d92a6f4439 | |||
| 54ec85bf50 | |||
| b25ce0d81b | |||
| 806404e96e | |||
| f0fb25a9b7 | |||
| 068b9a22f3 | |||
| 732244cb6d | |||
| 290616d8e3 | |||
| bd07784cce | |||
| dc47e99cb2 | |||
| 9fc73e06ea | |||
| a940ef6250 | |||
| 224108818d | |||
| 0bbda536c7 | |||
| e18ed3dc96 | |||
| 6b06dd0c8f | |||
| cd57dcdf04 | |||
| 58330f9ec1 | |||
| 463f5971eb | |||
| c8b78034a4 | |||
| 989bee8192 | |||
| fe0256c8c9 | |||
| 7685e30462 | |||
| 0d4d029011 | |||
| ecda84f8d5 | |||
| 021d23bef3 | |||
| eb1679b997 | |||
| 5c1b7917e4 | |||
| 6af3216fab | |||
| fa54f3cc9a | |||
| 56dde76889 | |||
| 89a7754bdf | |||
| 52a48dd80a | |||
| 1829c2806a | |||
| 723b9f7fa8 | |||
| 62b0d739bc | |||
| c776916f14 | |||
| d9de5b19d1 | |||
| b4efa58d5d | |||
| aea748ced7 | |||
| 8fecaba3f0 | |||
| f255343b54 | |||
| e045223660 | |||
| e94b089e51 | |||
| 6ea07297f4 | |||
| bd1ed5903f | |||
| 1fa4d30eab | |||
| f39586bcb4 | |||
| 5e20d7d339 | |||
| dbc1d9374d | |||
| 44e47fe98b | |||
| 04ebd0282e | |||
| f853774154 | |||
| e9977eb2f8 | |||
| 555cb07bfe | |||
| 1f16c64d67 | |||
| 9c7eb35967 | |||
| a9132161df | |||
| edf9a4f29d | |||
| 21387ac199 | |||
| 45f02f1ba8 | |||
| f976ab7cd4 | |||
| cbd930166c | |||
| a305b05cff | |||
| 3e5da59abc | |||
| 326df68839 | |||
| faa89850d0 | |||
| 8aacc312cf | |||
| 95986f1c4d | |||
| b115fd22e0 | |||
| cdd3aafdc6 | |||
| 961a13860e | |||
| 01e534a1c9 | |||
| 9f70233ebb | |||
| 78a4097d09 | |||
| 35373956ea | |||
| bf285d471d |
+2
-2
@@ -7,5 +7,5 @@ ignore = [
|
|||||||
# wry needs kuchiki on Android
|
# wry needs kuchiki on Android
|
||||||
"RUSTSEC-2023-0019",
|
"RUSTSEC-2023-0019",
|
||||||
# atty is only used when the `colored` feature is enabled on tauri-plugin-log
|
# atty is only used when the `colored` feature is enabled on tauri-plugin-log
|
||||||
"RUSTSEC-2021-0145"
|
"RUSTSEC-2021-0145",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
"upload": "minor"
|
||||||
|
"upload-js": "minor"
|
||||||
|
---
|
||||||
|
|
||||||
|
Added a new field `progressTotal` to track the total amount of data transferred during the upload/download process.
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"biometric": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"nfc": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
"authenticator-js": patch
|
|
||||||
"autostart-js": patch
|
|
||||||
"barcode-scanner-js": patch
|
|
||||||
"biometric-js": patch
|
|
||||||
"cli-js": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
"deep-link-js": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
"fs-js": patch
|
|
||||||
"global-shortcut-js": patch
|
|
||||||
"http-js": patch
|
|
||||||
"log-js": patch
|
|
||||||
"nfc-js": patch
|
|
||||||
"notification-js": patch
|
|
||||||
"os-js": patch
|
|
||||||
"positioner-js": patch
|
|
||||||
"process-js": patch
|
|
||||||
"shell-js": patch
|
|
||||||
"sql-js": patch
|
|
||||||
"store-js": patch
|
|
||||||
"stronghold-js": patch
|
|
||||||
"updater-js": patch
|
|
||||||
"upload-js": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri beta.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"clipboard-manager": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Expose `Clipboard` struct
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add support for writing HTML content to the clipboard.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"clipboard-manager": "minor"
|
|
||||||
"clipboard-manager-js": "minor"
|
|
||||||
---
|
|
||||||
|
|
||||||
Add support for `read_image` and `write_image` to the clipboard plugin (desktop).
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"clipboard-manager": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
The `write` and `read` commands are now called `write_text` and `read_text` so the permission name was changed.
|
|
||||||
+48
-40
@@ -3,24 +3,40 @@
|
|||||||
"pkgManagers": {
|
"pkgManagers": {
|
||||||
"javascript": {
|
"javascript": {
|
||||||
"version": true,
|
"version": true,
|
||||||
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.cjs npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
|
"getPublishedVersion": {
|
||||||
"publish": ["pnpm build", "pnpm publish --access public --no-git-checks"]
|
"use": "fetch:check",
|
||||||
|
"options": {
|
||||||
|
"url": "https://registry.npmjs.com/${ pkg.pkgFile.pkg.name }/${ pkg.pkgFile.version }"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"publish": [
|
||||||
|
{
|
||||||
|
"command": "pnpm build",
|
||||||
|
"dryRunCommand": "pnpm build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "npm publish --provenance --access public",
|
||||||
|
"dryRunCommand": "npm publish --provenance --access public --dry-run",
|
||||||
|
"pipe": true
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"rust": {
|
"rust": {
|
||||||
"version": true,
|
"version": true,
|
||||||
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.cjs cargo ${ pkgFile.pkg.package.name } ${ pkgFile.pkg.package.version }",
|
"getPublishedVersion": {
|
||||||
|
"use": "fetch:check",
|
||||||
|
"options": {
|
||||||
|
"url": "https://crates.io/api/v1/crates/${ pkg.pkgFile.pkg.package.name }/${ pkg.pkgFile.version }"
|
||||||
|
}
|
||||||
|
},
|
||||||
"publish": [
|
"publish": [
|
||||||
{
|
|
||||||
"command": "cargo package --no-verify",
|
|
||||||
"dryRunCommand": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
|
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
|
||||||
"dryRunCommand": true,
|
"dryRunCommand": true,
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "cargo publish",
|
"command": "cargo publish --no-verify",
|
||||||
"dryRunCommand": "cargo publish --dry-run",
|
"dryRunCommand": "cargo publish --dry-run",
|
||||||
"pipe": true
|
"pipe": true
|
||||||
},
|
},
|
||||||
@@ -52,7 +68,10 @@
|
|||||||
"os",
|
"os",
|
||||||
"process",
|
"process",
|
||||||
"shell",
|
"shell",
|
||||||
"updater"
|
"store",
|
||||||
|
"updater",
|
||||||
|
"geolocation",
|
||||||
|
"haptics"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"api-example-js": {
|
"api-example-js": {
|
||||||
@@ -74,6 +93,7 @@
|
|||||||
"os-js",
|
"os-js",
|
||||||
"process-js",
|
"process-js",
|
||||||
"shell-js",
|
"shell-js",
|
||||||
|
"store-js",
|
||||||
"updater-js"
|
"updater-js"
|
||||||
],
|
],
|
||||||
"postversion": "pnpm install --no-frozen-lockfile"
|
"postversion": "pnpm install --no-frozen-lockfile"
|
||||||
@@ -85,14 +105,6 @@
|
|||||||
"dependencies": ["deep-link-js"],
|
"dependencies": ["deep-link-js"],
|
||||||
"postversion": "pnpm install --no-frozen-lockfile"
|
"postversion": "pnpm install --no-frozen-lockfile"
|
||||||
},
|
},
|
||||||
"authenticator": {
|
|
||||||
"path": "./plugins/authenticator",
|
|
||||||
"manager": "rust"
|
|
||||||
},
|
|
||||||
"authenticator-js": {
|
|
||||||
"path": "./plugins/authenticator",
|
|
||||||
"manager": "javascript"
|
|
||||||
},
|
|
||||||
"autostart": {
|
"autostart": {
|
||||||
"path": "./plugins/autostart",
|
"path": "./plugins/autostart",
|
||||||
"manager": "rust"
|
"manager": "rust"
|
||||||
@@ -158,6 +170,14 @@
|
|||||||
"path": "./plugins/dialog",
|
"path": "./plugins/dialog",
|
||||||
"manager": "javascript"
|
"manager": "javascript"
|
||||||
},
|
},
|
||||||
|
"geolocation": {
|
||||||
|
"path": "./plugins/geolocation",
|
||||||
|
"manager": "rust"
|
||||||
|
},
|
||||||
|
"geolocation-js": {
|
||||||
|
"path": "./plugins/geolocation",
|
||||||
|
"manager": "javascript"
|
||||||
|
},
|
||||||
"global-shortcut": {
|
"global-shortcut": {
|
||||||
"path": "./plugins/global-shortcut",
|
"path": "./plugins/global-shortcut",
|
||||||
"manager": "rust"
|
"manager": "rust"
|
||||||
@@ -166,6 +186,14 @@
|
|||||||
"path": "./plugins/global-shortcut",
|
"path": "./plugins/global-shortcut",
|
||||||
"manager": "javascript"
|
"manager": "javascript"
|
||||||
},
|
},
|
||||||
|
"haptics": {
|
||||||
|
"path": "./plugins/haptics",
|
||||||
|
"manager": "rust"
|
||||||
|
},
|
||||||
|
"haptics-js": {
|
||||||
|
"path": "./plugins/haptics",
|
||||||
|
"manager": "javascript"
|
||||||
|
},
|
||||||
"http": {
|
"http": {
|
||||||
"path": "./plugins/http",
|
"path": "./plugins/http",
|
||||||
"manager": "rust",
|
"manager": "rust",
|
||||||
@@ -242,32 +270,12 @@
|
|||||||
},
|
},
|
||||||
"single-instance": {
|
"single-instance": {
|
||||||
"path": "./plugins/single-instance",
|
"path": "./plugins/single-instance",
|
||||||
"manager": "rust"
|
"manager": "rust",
|
||||||
|
"dependencies": ["deep-link"]
|
||||||
},
|
},
|
||||||
"sql": {
|
"sql": {
|
||||||
"path": "./plugins/sql",
|
"path": "./plugins/sql",
|
||||||
"manager": "rust",
|
"manager": "rust"
|
||||||
"publish": [
|
|
||||||
{
|
|
||||||
"command": "cargo package --no-verify",
|
|
||||||
"dryRunCommand": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
|
|
||||||
"dryRunCommand": true,
|
|
||||||
"pipe": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "cargo publish --features sqlite",
|
|
||||||
"dryRunCommand": "cargo publish --features sqlite --dry-run",
|
|
||||||
"pipe": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "echo '```\n\n</details>\n'",
|
|
||||||
"dryRunCommand": true,
|
|
||||||
"pipe": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"sql-js": {
|
"sql-js": {
|
||||||
"path": "./plugins/sql",
|
"path": "./plugins/sql",
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"dialog": "patch"
|
|
||||||
"dialog-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Allow configuring `canCreateDirectories` for open and save dialogs on macOS, if not configured, it will be set to `true` by default.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"dialog": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed an issue where dialogs would not spawn but instead freeze the whole app.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
dialog: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed an issue where the dialog apis panicked when they were called with no application windows open.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"dialog": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed an issue where dialogs on android would return the Content URI instead of the file path
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Enhance the scope type to also allow a plain string representing the path to allow or deny.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"http": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
The scope URL now follows the URL pattern standard instead of a simple glob pattern.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"log-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added `attachLogger` helper function to register a function that should be called for each log entry.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"single-instance": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added the `semver` feature flag to make the single instance mechanism only trigger for semver compatible versions.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"websocket": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change:** Enable rustls by default and added a method to configure the TLS Connector for tungstenite.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": patch
|
|
||||||
"fs-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix infinite loop on cargo build operations
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"autostart": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix LaunchAgent-based autostart for macOS.
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
deep-link: patch
|
||||||
|
deep-link-js: patch
|
||||||
|
---
|
||||||
|
|
||||||
|
`onOpenUrl()` will now not call `getCurrent()` anymore, matching the documented behavior.
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes `watch` and `watchImmediate` which previously ignored the `baseDir` parameter.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"http": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change:** Removed the `default-tls` feature flag. The `rustls-tls`, `http2`, `macos-system-configuration`, and `charset` feature flags are now enabled by default.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"http": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes scope not allowing subpaths, query parameters and hash when those values are empty.
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
'log-plugin': 'patch'
|
||||||
|
'log-js': 'patch'
|
||||||
|
---
|
||||||
|
|
||||||
|
Make webview log target more consistent that it always starts with `webview`
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'single-instance': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix doesn't shutdown immediately.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add a `on_before_exit` hook for cleanup before spawning the updater on Windows, defaults to `app.cleanup_before_exit` when used through `UpdaterExt`
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change:** The `rustls-tls` feature flag is now enabled by default.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix deserialization of `windows > installerArgs` config field.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
On Windows, fallback to `passive` install mode when not defined in config.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"updater": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix Windows powershell window flashing on update
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"single-instance": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `zbus::blocking::connection::Builder` import.
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
"fs": "patch"
|
||||||
|
"fs-js": "patch"
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix `readDir` function failing to read directories that contain broken symlinks.
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"biometric": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"nfc": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
The global API script is now only added to the binary when the `withGlobalTauri` config is true.
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
"global-shortcut": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change** Refactored the plugin Rust APIs for better DX and flexibility:
|
|
||||||
|
|
||||||
- Changed `Builder::with_handler` to be a method instead of a static method, it will also be triggered for any and all shortcuts even if the shortcut is registered through JS.
|
|
||||||
- Added `Builder::with_shortcut` and `Builder::with_shortcuts` to register shortcuts on the plugin builder.
|
|
||||||
- Added `on_shortcut` and `on_all_shortcuts` to register shortcuts with a handler.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"http": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Add `unsafe-headers` cargo feature flag to allow using [forbidden headers](https://fetch.spec.whatwg.org/#terminology-headers).
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"http": "patch"
|
|
||||||
"http-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Allow `User-Agent` header to be set.
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'localhost': 'minor'
|
||||||
|
---
|
||||||
|
|
||||||
|
Add custom host binding to allow external access
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"biometric": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"nfc": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update MSRV to 1.75.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"notification": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix development mode check to set the app ID on macOS.
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
"tag": "beta",
|
|
||||||
"changes": [
|
|
||||||
".changes/beta.md",
|
|
||||||
".changes/clipboard-expose-struct.md",
|
|
||||||
".changes/clipboard-html.md",
|
|
||||||
".changes/clipboard-manager-image.md",
|
|
||||||
".changes/clipboard-text-command-rename.md",
|
|
||||||
".changes/dialog-can-create-directories.md",
|
|
||||||
".changes/dialog-linux-freeze.md",
|
|
||||||
".changes/dialog-main-thread.md",
|
|
||||||
".changes/dialog-path-return-mismatch.md",
|
|
||||||
".changes/enhance-fs-scope-type.md",
|
|
||||||
".changes/enhance-http-scope.md",
|
|
||||||
".changes/feat-log-attachlogger.md",
|
|
||||||
".changes/feat-single-instance-semver.md",
|
|
||||||
".changes/feat-websocket-tls-connector.md",
|
|
||||||
".changes/file-autogen-fix.md",
|
|
||||||
".changes/fix-autolaunch-macos.md",
|
|
||||||
".changes/fix-fs-watcher-basedir.md",
|
|
||||||
".changes/fix-http-default-features.md",
|
|
||||||
".changes/fix-http-scope-url-match.md",
|
|
||||||
".changes/fix-shutdown-timing.md",
|
|
||||||
".changes/fix-updater-cleanup.md",
|
|
||||||
".changes/fix-updater-default-features.md",
|
|
||||||
".changes/fix-updater-installer-args-deserialization.md",
|
|
||||||
".changes/fix-updater-installmode.md",
|
|
||||||
".changes/fix-updater-powershell-flashing.md",
|
|
||||||
".changes/fix-zbus-import.md",
|
|
||||||
".changes/global-api-script-refactor.md",
|
|
||||||
".changes/global-shortcut-refactor.md",
|
|
||||||
".changes/http-unsafe-headers.md",
|
|
||||||
".changes/http-user-agent.md",
|
|
||||||
".changes/msrv-1.75.md",
|
|
||||||
".changes/notification-fix-dev-check.md",
|
|
||||||
".changes/public-with-store.md",
|
|
||||||
".changes/remove-unc-path-prefix.md",
|
|
||||||
".changes/reqwest-0.12.md",
|
|
||||||
".changes/scoped-resources-table.md",
|
|
||||||
".changes/shell-fix-schema-command-property-name.md",
|
|
||||||
".changes/shell-shellexcute.md",
|
|
||||||
".changes/single-instance.macos.md",
|
|
||||||
".changes/tauri-beta-14-dependencies.md",
|
|
||||||
".changes/tauri-beta-14.md",
|
|
||||||
".changes/tauri-beta-15.md",
|
|
||||||
".changes/tauri-beta-4.md",
|
|
||||||
".changes/tauri-beta-8.md",
|
|
||||||
".changes/tauri-beta-9.md",
|
|
||||||
".changes/upload-returnval.md",
|
|
||||||
".changes/window-state-custom-filename.md",
|
|
||||||
".changes/window-state-default-filename.md",
|
|
||||||
".changes/window-state-js-binding.md",
|
|
||||||
".changes/window-state-json.md"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'store': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `with_store` and `StoreCollection` changed to private in #1011
|
|
||||||
+1
-1
@@ -11,7 +11,7 @@ Use the following format:
|
|||||||
```md
|
```md
|
||||||
---
|
---
|
||||||
"package-a": patch
|
"package-a": patch
|
||||||
"package-b": minor
|
"package-b": minor:feat
|
||||||
---
|
---
|
||||||
|
|
||||||
Change summary goes here
|
Change summary goes here
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
dialog: patch
|
|
||||||
fs: patch
|
|
||||||
store: patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking Change:** All apis that return paths to the frontend will now remove the `\\?\` UNC prefix on Windows.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"upload": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change**: Removed http3 feature and added http2 feature.
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": "patch"
|
|
||||||
"http": "patch"
|
|
||||||
"updater": "patch"
|
|
||||||
"clipboard-manager": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"shell": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Change shell's schema property name `command` to `cmd`.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"shell": "patch"
|
|
||||||
"shell-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
On Windows, fix `open` can't open file if the file is being used by a program.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"single-instance": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Added implementation for MacOS.
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"sql": "patch"
|
||||||
|
---
|
||||||
|
|
||||||
|
Allow blocking on async code without creating a nested runtime.
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"http": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update dependencies to align with tauri 2.0.0-beta.14.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update for tauri 2.0.0-beta.14.
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": patch
|
|
||||||
"http": patch
|
|
||||||
"updater": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update for tauri 2.0.0-beta.15.
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"biometric": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"nfc": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
"authenticator-js": patch
|
|
||||||
"autostart-js": patch
|
|
||||||
"barcode-scanner-js": patch
|
|
||||||
"biometric-js": patch
|
|
||||||
"cli-js": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
"deep-link-js": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
"fs-js": patch
|
|
||||||
"global-shortcut-js": patch
|
|
||||||
"http-js": patch
|
|
||||||
"log-js": patch
|
|
||||||
"nfc-js": patch
|
|
||||||
"notification-js": patch
|
|
||||||
"os-js": patch
|
|
||||||
"positioner-js": patch
|
|
||||||
"process-js": patch
|
|
||||||
"shell-js": patch
|
|
||||||
"sql-js": patch
|
|
||||||
"store-js": patch
|
|
||||||
"stronghold-js": patch
|
|
||||||
"updater-js": patch
|
|
||||||
"upload-js": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri beta.4.
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
---
|
|
||||||
"authenticator": patch
|
|
||||||
"autostart": patch
|
|
||||||
"barcode-scanner": patch
|
|
||||||
"biometric": patch
|
|
||||||
"cli": patch
|
|
||||||
"clipboard-manager": patch
|
|
||||||
"deep-link": patch
|
|
||||||
"dialog": patch
|
|
||||||
"fs": patch
|
|
||||||
"global-shortcut": patch
|
|
||||||
"http": patch
|
|
||||||
"localhost": patch
|
|
||||||
"log-plugin": patch
|
|
||||||
"nfc": patch
|
|
||||||
"notification": patch
|
|
||||||
"os": patch
|
|
||||||
"persisted-scope": patch
|
|
||||||
"positioner": patch
|
|
||||||
"process": patch
|
|
||||||
"shell": patch
|
|
||||||
"single-instance": patch
|
|
||||||
"sql": patch
|
|
||||||
"store": patch
|
|
||||||
"stronghold": patch
|
|
||||||
"updater": patch
|
|
||||||
"upload": patch
|
|
||||||
"websocket": patch
|
|
||||||
"window-state": patch
|
|
||||||
"authenticator-js": patch
|
|
||||||
"autostart-js": patch
|
|
||||||
"barcode-scanner-js": patch
|
|
||||||
"biometric-js": patch
|
|
||||||
"cli-js": patch
|
|
||||||
"clipboard-manager-js": patch
|
|
||||||
"deep-link-js": patch
|
|
||||||
"dialog-js": patch
|
|
||||||
"fs-js": patch
|
|
||||||
"global-shortcut-js": patch
|
|
||||||
"http-js": patch
|
|
||||||
"log-js": patch
|
|
||||||
"nfc-js": patch
|
|
||||||
"notification-js": patch
|
|
||||||
"os-js": patch
|
|
||||||
"positioner-js": patch
|
|
||||||
"process-js": patch
|
|
||||||
"shell-js": patch
|
|
||||||
"sql-js": patch
|
|
||||||
"store-js": patch
|
|
||||||
"stronghold-js": patch
|
|
||||||
"updater-js": patch
|
|
||||||
"upload-js": patch
|
|
||||||
"websocket-js": patch
|
|
||||||
"window-state-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri beta.8.
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
"fs": patch
|
|
||||||
"http": patch
|
|
||||||
"shell": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update to tauri beta.9.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"upload": patch
|
|
||||||
"upload-js": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Return the upload response as a string and error out if the status code is not within 200-299.
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
"window-state": "patch"
|
|
||||||
"window-state-js": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
Add `Builder::with_filename` to support using a custom filename. Also add `AppHandleExt::file_name` and a similar function in JS, to retrieve it later.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"window-state": "patch"
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change**: Renamed `STATE_FILENAME` const to `DEFAULT_FILENAME`.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `restore_window` and `filename` js binding missing permission
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"window-state": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
**Breaking change**: Changed the format of the state file from bincode to json. Also changed the filename to from `.window-state` to `.window-state.json`.
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
target
|
|
||||||
node_modules
|
|
||||||
dist
|
|
||||||
build/
|
|
||||||
dist-js
|
|
||||||
api-iife.js
|
|
||||||
init-iife.js
|
|
||||||
init.js
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"env": {
|
|
||||||
"browser": true,
|
|
||||||
"es2021": true
|
|
||||||
},
|
|
||||||
"extends": [
|
|
||||||
"prettier",
|
|
||||||
"eslint:recommended",
|
|
||||||
"plugin:@typescript-eslint/recommended",
|
|
||||||
"plugin:security/recommended-legacy"
|
|
||||||
],
|
|
||||||
"overrides": [],
|
|
||||||
"parser": "@typescript-eslint/parser",
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": "latest",
|
|
||||||
"sourceType": "module"
|
|
||||||
},
|
|
||||||
"plugins": ["@typescript-eslint"],
|
|
||||||
"rules": {}
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
@@ -7,23 +7,23 @@ name: Audit JavaScript
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: '0 0 * * *'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/audit-javascript.yml"
|
- '.github/workflows/audit-javascript.yml'
|
||||||
- "**/pnpm-lock.yaml"
|
- '**/pnpm-lock.yaml'
|
||||||
- "**/package.json"
|
- '**/package.json'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/audit-javascript.yml"
|
- '.github/workflows/audit-javascript.yml'
|
||||||
- "**/pnpm-lock.yaml"
|
- '**/pnpm-lock.yaml'
|
||||||
- "**/package.json"
|
- '**/package.json'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -33,20 +33,20 @@ jobs:
|
|||||||
audit-js:
|
audit-js:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Cache pnpm modules
|
- name: Cache pnpm modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: 'lts/*'
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 8.x.x
|
version: 9.x.x
|
||||||
run_install: true
|
run_install: true
|
||||||
- name: audit
|
- name: audit
|
||||||
run: pnpm audit
|
run: pnpm audit
|
||||||
|
|||||||
@@ -7,23 +7,23 @@ name: Audit Rust
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: '0 0 * * *'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/audit-rust.yml"
|
- '.github/workflows/audit-rust.yml'
|
||||||
- "**/Cargo.lock"
|
- '**/Cargo.lock'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/audit-rust.yml"
|
- '.github/workflows/audit-rust.yml'
|
||||||
- "**/Cargo.lock"
|
- '**/Cargo.lock'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
audit-rust:
|
audit-rust:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: rustsec/audit-check@v1
|
- uses: rustsec/audit-check@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ name: check generated files
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/check-generated-files.yml"
|
- '.github/workflows/check-generated-files.yml'
|
||||||
- "**/guest-js/**"
|
- '**/guest-js/**'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -20,15 +20,11 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
packages: ${{ steps.filter.outputs.changes }}
|
packages: ${{ steps.filter.outputs.changes }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v2
|
- uses: dorny/paths-filter@v2
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
authenticator:
|
|
||||||
- .github/workflows/check-generated-files.yml
|
|
||||||
- plugins/authenticator/guest-js/**
|
|
||||||
- plugins/authenticator/src/api-iife.js
|
|
||||||
autostart:
|
autostart:
|
||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/autostart/guest-js/**
|
- plugins/autostart/guest-js/**
|
||||||
@@ -49,10 +45,18 @@ jobs:
|
|||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/fs/guest-js/**
|
- plugins/fs/guest-js/**
|
||||||
- plugins/fs/src/api-iife.js
|
- plugins/fs/src/api-iife.js
|
||||||
|
geolocation:
|
||||||
|
- .github/workflows/check-generated-files.yml
|
||||||
|
- plugins/geolocation/guest-js/**
|
||||||
|
- plugins/geolocation/src/api-iife.js
|
||||||
global-shortcut:
|
global-shortcut:
|
||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/global-shortcut/guest-js/**
|
- plugins/global-shortcut/guest-js/**
|
||||||
- plugins/global-shortcut/src/api-iife.js
|
- plugins/global-shortcut/src/api-iife.js
|
||||||
|
haptics:
|
||||||
|
- .github/workflows/check-generated-files.yml
|
||||||
|
- plugins/haptics/guest-js/**
|
||||||
|
- plugins/haptics/src/api-iife.js
|
||||||
http:
|
http:
|
||||||
- .github/workflows/check-generated-files.yml
|
- .github/workflows/check-generated-files.yml
|
||||||
- plugins/http/guest-js/**
|
- plugins/http/guest-js/**
|
||||||
@@ -121,21 +125,21 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache pnpm modules
|
- name: Cache pnpm modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: 'lts/*'
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 8.x.x
|
version: 9.x.x
|
||||||
run_install: true
|
run_install: true
|
||||||
|
|
||||||
- name: build api
|
- name: build api
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v2
|
- uses: dorny/paths-filter@v2
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
name: covector comment
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [covector status] # the `name` of the workflow run on `pull_request` running `status` with `comment: true`
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
|
# note all other permissions are set to none if not specified
|
||||||
|
# and these set the permissions for `secrets.GITHUB_TOKEN`
|
||||||
|
permissions:
|
||||||
|
# to read the action artifacts on `covector status` workflows
|
||||||
|
actions: read
|
||||||
|
# to write the comment
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
download:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.workflow_run.conclusion == 'success' &&
|
||||||
|
(github.event.workflow_run.head_repository.full_name != github.repository || github.actor == 'dependabot[bot]')
|
||||||
|
steps:
|
||||||
|
- name: covector status
|
||||||
|
uses: jbolda/covector/packages/action@covector-v0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
command: 'status'
|
||||||
@@ -10,11 +10,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # required for use of git history
|
fetch-depth: 0 # required for use of git history
|
||||||
- name: covector status
|
- name: covector status
|
||||||
uses: jbolda/covector/packages/action@covector-v0
|
uses: jbolda/covector/packages/action@covector-v0
|
||||||
id: covector
|
id: covector
|
||||||
with:
|
with:
|
||||||
command: "status"
|
command: 'status'
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
comment: true
|
||||||
|
|||||||
@@ -1,75 +0,0 @@
|
|||||||
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
name: version or publish
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- v2
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
version-or-publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 65
|
|
||||||
outputs:
|
|
||||||
change: ${{ steps.covector.outputs.change }}
|
|
||||||
commandRan: ${{ steps.covector.outputs.commandRan }}
|
|
||||||
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # required for use of git history
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "lts/*"
|
|
||||||
registry-url: "https://registry.npmjs.org"
|
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 8.x.x
|
|
||||||
run_install: true
|
|
||||||
|
|
||||||
- name: install webkit2gtk and libudev for [authenticator]
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
|
|
||||||
|
|
||||||
- name: cargo login
|
|
||||||
run: cargo login ${{ secrets.ORG_CRATES_IO_TOKEN }}
|
|
||||||
|
|
||||||
- name: git config
|
|
||||||
run: |
|
|
||||||
git config --global user.name "${{ github.event.pusher.name }}"
|
|
||||||
git config --global user.email "${{ github.event.pusher.email }}"
|
|
||||||
|
|
||||||
- name: Setup target dir on /mnt
|
|
||||||
run: |
|
|
||||||
sudo mkdir /mnt/target
|
|
||||||
WORKSPACE_OWNER="$(stat -c '%U:%G' "${GITHUB_WORKSPACE}")"
|
|
||||||
sudo chown -R "${WORKSPACE_OWNER}" /mnt/target
|
|
||||||
|
|
||||||
- name: covector version or publish (publish when no change files present)
|
|
||||||
uses: jbolda/covector/packages/action@covector-v0
|
|
||||||
id: covector
|
|
||||||
env:
|
|
||||||
CARGO_TARGET_DIR: /mnt/target
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
command: "version-or-publish"
|
|
||||||
createRelease: true
|
|
||||||
|
|
||||||
- name: Create Pull Request With Versions Bumped
|
|
||||||
id: cpr
|
|
||||||
uses: tauri-apps/create-pull-request@v3
|
|
||||||
if: steps.covector.outputs.commandRan == 'version'
|
|
||||||
with:
|
|
||||||
title: "Publish New Versions (v2)"
|
|
||||||
commit-message: "publish new versions"
|
|
||||||
labels: "version updates"
|
|
||||||
branch: "ci/release-v2"
|
|
||||||
body: ${{ steps.covector.outputs.change }}
|
|
||||||
@@ -8,6 +8,15 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
|
- v2
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
# required for npm provenance
|
||||||
|
id-token: write
|
||||||
|
# required to create the GitHub Release
|
||||||
|
contents: write
|
||||||
|
# required for creating the Version Packages Release
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version-or-publish:
|
version-or-publish:
|
||||||
@@ -19,25 +28,20 @@ jobs:
|
|||||||
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
|
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # required for use of git history
|
fetch-depth: 0 # required for use of git history
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: 'lts/*'
|
||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 8.x.x
|
version: 9.x.x
|
||||||
run_install: true
|
run_install: true
|
||||||
|
|
||||||
- name: install webkit2gtk and libudev for [authenticator]
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
|
|
||||||
|
|
||||||
- name: cargo login
|
- name: cargo login
|
||||||
run: cargo login ${{ secrets.ORG_CRATES_IO_TOKEN }}
|
run: cargo login ${{ secrets.ORG_CRATES_IO_TOKEN }}
|
||||||
|
|
||||||
@@ -46,23 +50,36 @@ jobs:
|
|||||||
git config --global user.name "${{ github.event.pusher.name }}"
|
git config --global user.name "${{ github.event.pusher.name }}"
|
||||||
git config --global user.email "${{ github.event.pusher.email }}"
|
git config --global user.email "${{ github.event.pusher.email }}"
|
||||||
|
|
||||||
|
- name: Setup target dir on /mnt
|
||||||
|
# This directory has a larger partition size
|
||||||
|
run: |
|
||||||
|
sudo mkdir /mnt/target
|
||||||
|
WORKSPACE_OWNER="$(stat -c '%U:%G' "${GITHUB_WORKSPACE}")"
|
||||||
|
sudo chown -R "${WORKSPACE_OWNER}" /mnt/target
|
||||||
|
|
||||||
- name: covector version or publish (publish when no change files present)
|
- name: covector version or publish (publish when no change files present)
|
||||||
uses: jbolda/covector/packages/action@covector-v0
|
uses: jbolda/covector/packages/action@covector-v0
|
||||||
id: covector
|
id: covector
|
||||||
env:
|
env:
|
||||||
|
CARGO_TARGET_DIR: /mnt/target
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
command: "version-or-publish"
|
command: 'version-or-publish'
|
||||||
createRelease: true
|
createRelease: true
|
||||||
|
recognizeContributors: true
|
||||||
|
|
||||||
|
- name: Sync Cargo.lock
|
||||||
|
if: steps.covector.outputs.commandRan == 'version'
|
||||||
|
run: cargo tree --depth 0
|
||||||
|
|
||||||
- name: Create Pull Request With Versions Bumped
|
- name: Create Pull Request With Versions Bumped
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: tauri-apps/create-pull-request@v3
|
uses: tauri-apps/create-pull-request@v3
|
||||||
if: steps.covector.outputs.commandRan == 'version'
|
if: steps.covector.outputs.commandRan == 'version'
|
||||||
with:
|
with:
|
||||||
title: "Publish New Versions"
|
title: 'Publish New Versions (${{ github.ref_name }})'
|
||||||
commit-message: "publish new versions"
|
commit-message: 'publish new versions'
|
||||||
labels: "version updates"
|
labels: 'version updates'
|
||||||
branch: "ci/release-v1"
|
branch: 'ci/release-${{ github.ref_name }}'
|
||||||
body: ${{ steps.covector.outputs.change }}
|
body: ${{ steps.covector.outputs.change }}
|
||||||
|
|||||||
@@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
name: check formatting
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
rustfmt:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: install Rust stable and rustfmt
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: rustfmt
|
||||||
|
|
||||||
|
- name: run cargo fmt
|
||||||
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
|
prettier:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Cache pnpm modules
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.pnpm-store
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 'lts/*'
|
||||||
|
- uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 9.x.x
|
||||||
|
run_install: true
|
||||||
|
- run: pnpm format:check
|
||||||
|
|
||||||
|
taplo:
|
||||||
|
name: taplo (.toml files)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: install Rust stable
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- name: install taplo-cli
|
||||||
|
uses: taiki-e/install-action@v2
|
||||||
|
with:
|
||||||
|
tool: taplo-cli
|
||||||
|
|
||||||
|
- run: taplo fmt --check --diff
|
||||||
@@ -10,15 +10,15 @@ on:
|
|||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/integration-tests.yml"
|
- '.github/workflows/integration-tests.yml'
|
||||||
- "plugins/updater/src/**"
|
- 'plugins/updater/src/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/integration-tests.yml"
|
- '.github/workflows/integration-tests.yml'
|
||||||
- "plugins/updater/src/**"
|
- 'plugins/updater/src/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-integration-tests:
|
run-integration-tests:
|
||||||
@@ -27,23 +27,21 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-22.04, macos-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: install stable
|
- name: install stable
|
||||||
uses: actions-rs/toolchain@v1
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
|
|
||||||
- name: install Linux dependencies
|
- name: install Linux dependencies
|
||||||
if: matrix.platform == 'ubuntu-latest'
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev libfuse2
|
sudo apt-get install -y webkit2gtk-4.0 libwebkit2gtk-4.1-dev libayatana-appindicator3-dev libfuse2
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
|||||||
@@ -10,23 +10,23 @@ on:
|
|||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/lint-javascript.yml"
|
- '.github/workflows/lint-javascript.yml'
|
||||||
- "plugins/*/guest-js/**"
|
- 'plugins/*/guest-js/**'
|
||||||
- ".eslintignore"
|
- '.eslintignore'
|
||||||
- ".eslintrc.json"
|
- '.eslintrc.json'
|
||||||
- ".prettierignore"
|
- '.prettierignore'
|
||||||
- "**/package.json"
|
- '**/package.json'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/lint-javascript.yml"
|
- '.github/workflows/lint-javascript.yml'
|
||||||
- "plugins/*/guest-js/**"
|
- 'plugins/*/guest-js/**'
|
||||||
- ".eslintignore"
|
- '.eslintignore'
|
||||||
- ".eslintrc.json"
|
- '.eslintrc.json'
|
||||||
- ".prettierignore"
|
- '.prettierignore'
|
||||||
- "**/package.json"
|
- '**/package.json'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -36,40 +36,20 @@ jobs:
|
|||||||
eslint:
|
eslint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Cache pnpm modules
|
- name: Cache pnpm modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: 'lts/*'
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 8.x.x
|
version: 9.x.x
|
||||||
run_install: true
|
run_install: true
|
||||||
- name: eslint
|
- name: eslint
|
||||||
run: pnpm lint
|
run: pnpm lint
|
||||||
prettier:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Cache pnpm modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ~/.pnpm-store
|
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: "lts/*"
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 8.x.x
|
|
||||||
run_install: true
|
|
||||||
- name: prettier check
|
|
||||||
run: pnpm format-check
|
|
||||||
|
|||||||
@@ -10,19 +10,19 @@ on:
|
|||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/lint-rust.yml"
|
- '.github/workflows/lint-rust.yml'
|
||||||
- "plugins/*/src/**"
|
- 'plugins/*/src/**'
|
||||||
- "!plugins/*/src/api-iife.js"
|
- '!plugins/*/src/api-iife.js'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/lint-rust.yml"
|
- '.github/workflows/lint-rust.yml'
|
||||||
- "plugins/*/src/**"
|
- 'plugins/*/src/**'
|
||||||
- "!plugins/*/src/api-iife.js"
|
- '!plugins/*/src/api-iife.js'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -36,14 +36,11 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
packages: ${{ steps.filter.outputs.changes }}
|
packages: ${{ steps.filter.outputs.changes }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v2
|
- uses: dorny/paths-filter@v2
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
tauri-plugin-authenticator:
|
|
||||||
- .github/workflows/lint-rust.yml
|
|
||||||
- plugins/authenticator/**
|
|
||||||
tauri-plugin-autostart:
|
tauri-plugin-autostart:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/autostart/**
|
- plugins/autostart/**
|
||||||
@@ -53,6 +50,9 @@ jobs:
|
|||||||
tauri-plugin-clipboard-manager:
|
tauri-plugin-clipboard-manager:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/clipboard-manager/**
|
- plugins/clipboard-manager/**
|
||||||
|
tauri-plugin-deep-link:
|
||||||
|
- .github/workflows/lint-rust.yml
|
||||||
|
- plugins/deep-link/**
|
||||||
tauri-plugin-dialog:
|
tauri-plugin-dialog:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/dialog/**
|
- plugins/dialog/**
|
||||||
@@ -60,9 +60,15 @@ jobs:
|
|||||||
tauri-plugin-fs:
|
tauri-plugin-fs:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/fs/**
|
- plugins/fs/**
|
||||||
|
tauri-plugin-geolocation:
|
||||||
|
- .github/workflows/lint-rust.yml
|
||||||
|
- plugins/geolocation/**
|
||||||
tauri-plugin-global-shortcut:
|
tauri-plugin-global-shortcut:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/global-shortcut/**
|
- plugins/global-shortcut/**
|
||||||
|
tauri-plugin-haptics:
|
||||||
|
- .github/workflows/lint-rust.yml
|
||||||
|
- plugins/haptics/**
|
||||||
tauri-plugin-http:
|
tauri-plugin-http:
|
||||||
- .github/workflows/lint-rust.yml
|
- .github/workflows/lint-rust.yml
|
||||||
- plugins/http/**
|
- plugins/http/**
|
||||||
@@ -120,19 +126,19 @@ jobs:
|
|||||||
clippy:
|
clippy:
|
||||||
needs: changes
|
needs: changes
|
||||||
if: ${{ needs.changes.outputs.packages != '[]' && needs.changes.outputs.packages != '' }}
|
if: ${{ needs.changes.outputs.packages != '[]' && needs.changes.outputs.packages != '' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
package: ${{ fromJSON(needs.changes.outputs.packages) }}
|
package: ${{ fromJSON(needs.changes.outputs.packages) }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: install webkit2gtk and libudev for [authenticator]
|
- name: install webkit2gtk
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
|
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev
|
||||||
|
|
||||||
- name: Install clippy with stable toolchain
|
- name: Install clippy with stable toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -141,32 +147,8 @@ jobs:
|
|||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: create dummy dist
|
|
||||||
working-directory: examples/api
|
|
||||||
run: mkdir dist
|
|
||||||
|
|
||||||
- name: clippy ${{ matrix.package }}
|
- name: clippy ${{ matrix.package }}
|
||||||
if: matrix.package != 'tauri-plugin-sql'
|
|
||||||
run: cargo clippy --package ${{ matrix.package }} --all-targets -- -D warnings
|
run: cargo clippy --package ${{ matrix.package }} --all-targets -- -D warnings
|
||||||
|
|
||||||
- name: clippy ${{ matrix.package }} mysql
|
- name: clippy ${{ matrix.package }} --all-features
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
run: cargo clippy --package ${{ matrix.package }} --all-targets --all-features -- -D warnings
|
||||||
run: cargo clippy --package ${{ matrix.package }} --all-targets --no-default-features --features mysql -- -D warnings
|
|
||||||
|
|
||||||
- name: clippy ${{ matrix.package }} postgres
|
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
|
||||||
run: cargo clippy --package ${{ matrix.package }} --all-targets --no-default-features --features postgres -- -D warnings
|
|
||||||
|
|
||||||
fmt:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Install rustfmt with nightly toolchain
|
|
||||||
uses: dtolnay/rust-toolchain@nightly
|
|
||||||
with:
|
|
||||||
components: rustfmt
|
|
||||||
|
|
||||||
- name: Check formatting
|
|
||||||
run: cargo fmt --all -- --check
|
|
||||||
|
|||||||
@@ -19,26 +19,26 @@ jobs:
|
|||||||
sync-to-mirrors:
|
sync-to-mirrors:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Fetch git tags
|
- name: Fetch git tags
|
||||||
run: git fetch origin 'refs/tags/*:refs/tags/*'
|
run: git fetch origin 'refs/tags/*:refs/tags/*'
|
||||||
|
|
||||||
- name: Cache pnpm modules
|
- name: Cache pnpm modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: 'lts/*'
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
- uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 8.x.x
|
version: 9.x.x
|
||||||
run_install: true
|
run_install: true
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
|
|||||||
@@ -10,21 +10,21 @@ on:
|
|||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/test-rust.yml"
|
- '.github/workflows/test-rust.yml'
|
||||||
- "plugins/*/src/**"
|
- 'plugins/*/src/**'
|
||||||
- "!plugins/*/src/api-iife.js"
|
- '!plugins/*/src/api-iife.js'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
- "**/Cargo.lock"
|
- '**/Cargo.lock'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/test-rust.yml"
|
- '.github/workflows/test-rust.yml'
|
||||||
- "plugins/*/src/**"
|
- 'plugins/*/src/**'
|
||||||
- "!plugins/*/src/api-iife.js"
|
- '!plugins/*/src/api-iife.js'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
- "**/Cargo.lock"
|
- '**/Cargo.lock'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -38,86 +38,118 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
packages: ${{ steps.filter.outputs.changes }}
|
packages: ${{ steps.filter.outputs.changes }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: dorny/paths-filter@v2
|
- uses: dorny/paths-filter@v2
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
base: v2
|
base: v2
|
||||||
filters: |
|
filters: |
|
||||||
tauri-plugin-authenticator:
|
|
||||||
- .github/workflows/test-rust.yml
|
|
||||||
- plugins/authenticator/**
|
|
||||||
tauri-plugin-autostart:
|
tauri-plugin-autostart:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/autostart/**
|
- plugins/autostart/**
|
||||||
tauri-plugin-cli:
|
tauri-plugin-cli:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/cli/**
|
- plugins/cli/**
|
||||||
tauri-plugin-clipboard-manager:
|
tauri-plugin-clipboard-manager:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/clipboard-manager/**
|
- plugins/clipboard-manager/**
|
||||||
|
tauri-plugin-deep-link:
|
||||||
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
|
- plugins/deep-link/**
|
||||||
tauri-plugin-dialog:
|
tauri-plugin-dialog:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/dialog/**
|
- plugins/dialog/**
|
||||||
- plugins/fs/**
|
- plugins/fs/**
|
||||||
tauri-plugin-fs:
|
tauri-plugin-fs:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/fs/**
|
- plugins/fs/**
|
||||||
|
tauri-plugin-geolocation:
|
||||||
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
|
- plugins/geolocation/**
|
||||||
tauri-plugin-global-shortcut:
|
tauri-plugin-global-shortcut:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/global-shortcut/**
|
- plugins/global-shortcut/**
|
||||||
|
tauri-plugin-haptics:
|
||||||
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
|
- plugins/haptics/**
|
||||||
tauri-plugin-http:
|
tauri-plugin-http:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/http/**
|
- plugins/http/**
|
||||||
- plugins/fs/**
|
- plugins/fs/**
|
||||||
tauri-plugin-localhost:
|
tauri-plugin-localhost:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/localhost/**
|
- plugins/localhost/**
|
||||||
tauri-plugin-log:
|
tauri-plugin-log:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/log/**
|
- plugins/log/**
|
||||||
tauri-plugin-notification:
|
tauri-plugin-notification:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/notification/**
|
- plugins/notification/**
|
||||||
tauri-plugin-os:
|
tauri-plugin-os:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/os/**
|
- plugins/os/**
|
||||||
tauri-plugin-persisted-scope:
|
tauri-plugin-persisted-scope:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/persisted-scope/**
|
- plugins/persisted-scope/**
|
||||||
- plugins/fs/**
|
- plugins/fs/**
|
||||||
tauri-plugin-positioner:
|
tauri-plugin-positioner:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/positioner/**
|
- plugins/positioner/**
|
||||||
tauri-plugin-process:
|
tauri-plugin-process:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/process/**
|
- plugins/process/**
|
||||||
tauri-plugin-shell:
|
tauri-plugin-shell:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/shell/**
|
- plugins/shell/**
|
||||||
tauri-plugin-single-instance:
|
tauri-plugin-single-instance:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/single-instance/**
|
- plugins/single-instance/**
|
||||||
tauri-plugin-sql:
|
tauri-plugin-sql:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/sql/**
|
- plugins/sql/**
|
||||||
tauri-plugin-store:
|
tauri-plugin-store:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/store/**
|
- plugins/store/**
|
||||||
tauri-plugin-stronghold:
|
tauri-plugin-stronghold:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/stronghold/**
|
- plugins/stronghold/**
|
||||||
tauri-plugin-updater:
|
tauri-plugin-updater:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/updater/**
|
- plugins/updater/**
|
||||||
tauri-plugin-upload:
|
tauri-plugin-upload:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/upload/**
|
- plugins/upload/**
|
||||||
tauri-plugin-websocket:
|
tauri-plugin-websocket:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/websocket/**
|
- plugins/websocket/**
|
||||||
tauri-plugin-window-state:
|
tauri-plugin-window-state:
|
||||||
- .github/workflows/test-rust.yml
|
- .github/workflows/test-rust.yml
|
||||||
|
- Cargo.toml
|
||||||
- plugins/window-state/**
|
- plugins/window-state/**
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@@ -132,51 +164,45 @@ jobs:
|
|||||||
target: x86_64-pc-windows-msvc,
|
target: x86_64-pc-windows-msvc,
|
||||||
os: windows-latest,
|
os: windows-latest,
|
||||||
runner: 'cargo',
|
runner: 'cargo',
|
||||||
command: "test",
|
command: 'test'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: x86_64-unknown-linux-gnu,
|
target: x86_64-unknown-linux-gnu,
|
||||||
os: ubuntu-latest,
|
os: ubuntu-22.04,
|
||||||
runner: 'cargo',
|
runner: 'cargo',
|
||||||
command: "test",
|
command: 'test'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: x86_64-apple-darwin,
|
target: aarch64-apple-darwin,
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
runner: 'cargo',
|
runner: 'cargo',
|
||||||
command: "test",
|
command: 'test'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-apple-ios,
|
target: aarch64-apple-ios,
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
runner: 'cargo',
|
runner: 'cargo',
|
||||||
command: "build",
|
command: 'build'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-linux-android,
|
target: aarch64-linux-android,
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
runner: 'cross',
|
runner: 'cross',
|
||||||
command: "build",
|
command: 'build'
|
||||||
}
|
}
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform.os }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: install webkit2gtk and libudev for [authenticator]
|
- name: install webkit2gtk
|
||||||
if: contains(matrix.platform.target, 'unknown-linux')
|
if: contains(matrix.platform.target, 'unknown-linux')
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
|
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev
|
||||||
|
|
||||||
- name: install openssl
|
- uses: dtolnay/rust-toolchain@1.77.2
|
||||||
if: ${{ matrix.platform.os == 'windows-latest' && matrix.package == 'tauri-plugin-authenticator' }}
|
|
||||||
run: |
|
|
||||||
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
|
|
||||||
vcpkg install openssl:x64-windows-static-md
|
|
||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@1.75.0
|
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform.target }}
|
targets: ${{ matrix.platform.target }}
|
||||||
|
|
||||||
@@ -184,30 +210,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: cache-${{ matrix.package }}-${{ matrix.platform.target }}
|
key: cache-${{ matrix.package }}-${{ matrix.platform.target }}
|
||||||
|
|
||||||
- name: create dummy dist
|
|
||||||
working-directory: examples/api
|
|
||||||
run: mkdir dist
|
|
||||||
|
|
||||||
- name: install cross
|
- name: install cross
|
||||||
if: ${{ matrix.platform.runner == 'cross' }}
|
if: ${{ matrix.platform.runner == 'cross' }}
|
||||||
run: cargo +stable install cross --git https://github.com/cross-rs/cross
|
run: cargo +stable install cross --git https://github.com/cross-rs/cross
|
||||||
|
|
||||||
- name: test ${{ matrix.package }}
|
- name: test ${{ matrix.package }}
|
||||||
if: matrix.package != 'tauri-plugin-sql' && matrix.package != 'tauri-plugin-http'
|
if: matrix.package != 'tauri-plugin-http'
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features
|
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features
|
||||||
|
|
||||||
- name: test ${{ matrix.package }}
|
- name: test ${{ matrix.package }}
|
||||||
if: matrix.package == 'tauri-plugin-http'
|
if: matrix.package == 'tauri-plugin-http'
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets
|
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets
|
||||||
|
|
||||||
- name: test ${{ matrix.package }} sqlite
|
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features sqlite
|
|
||||||
|
|
||||||
- name: test ${{ matrix.package }} mysql
|
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features mysql
|
|
||||||
|
|
||||||
- name: test ${{ matrix.package }} postgres
|
|
||||||
if: matrix.package == 'tauri-plugin-sql'
|
|
||||||
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features postgres
|
|
||||||
|
|||||||
+57
-7
@@ -1,8 +1,58 @@
|
|||||||
target
|
# dependency directories
|
||||||
node_modules
|
node_modules/
|
||||||
dist-js
|
target/
|
||||||
dist
|
|
||||||
|
# Optional npm and yarn cache directory
|
||||||
|
.npm/
|
||||||
|
.yarn/
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# dotenv environment variables file
|
||||||
|
.env
|
||||||
|
|
||||||
|
# .vscode workspace settings file
|
||||||
|
.vscode/settings.json
|
||||||
|
|
||||||
|
# npm, yarn and bun lock files
|
||||||
|
package-lock.json
|
||||||
|
yarn.lock
|
||||||
|
bun.lockb
|
||||||
|
|
||||||
|
# rust compiled folders
|
||||||
|
target/
|
||||||
|
|
||||||
|
# compiled plugins
|
||||||
|
dist-js/
|
||||||
|
|
||||||
|
# plugins .tauri directory
|
||||||
|
/plugins/*/.tauri
|
||||||
|
|
||||||
|
# examples
|
||||||
|
examples/*/dist
|
||||||
|
plugins/*/examples/*/dist
|
||||||
|
examples/*/src-tauri/gen/schemas
|
||||||
|
plugins/*/examples/*/src-tauri/gen/schemas
|
||||||
|
|
||||||
|
# logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# miscellaneous
|
||||||
|
/.vs
|
||||||
|
.DS_Store
|
||||||
|
.Thumbs.db
|
||||||
|
*.sublime*
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
debug.log
|
||||||
.gradle
|
TODO.md
|
||||||
**/capabilities/schemas
|
|
||||||
+24
-9
@@ -1,12 +1,27 @@
|
|||||||
target
|
/.changes
|
||||||
node_modules
|
/.vscode
|
||||||
dist
|
|
||||||
dist-js
|
# dependcies and artifacts directories
|
||||||
|
node_modules/
|
||||||
|
target/
|
||||||
|
dist-js/
|
||||||
|
dist/
|
||||||
|
|
||||||
|
# lock files
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
Cargo.lock
|
|
||||||
.build
|
# examples gen directory
|
||||||
build
|
examples/*/src-tauri/gen/
|
||||||
|
plugins/*/examples/*/src-tauri/gen/
|
||||||
|
|
||||||
|
# autogenerated files
|
||||||
|
**/autogenerated/**/*.md
|
||||||
api-iife.js
|
api-iife.js
|
||||||
init-iife.js
|
init-iife.js
|
||||||
intermediates/
|
CHANGELOG.md
|
||||||
*schema.json
|
*schema.json
|
||||||
|
|
||||||
|
# mobile build
|
||||||
|
**/ios/.build
|
||||||
|
**/.tauri
|
||||||
|
plugins/*/android/build
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"singleQuote": true,
|
||||||
|
"semi": false,
|
||||||
|
"trailingComma": "none"
|
||||||
|
}
|
||||||
@@ -2,129 +2,129 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import fs from "fs";
|
import fs from 'fs'
|
||||||
import path from "path";
|
import path from 'path'
|
||||||
import readline from "readline";
|
import readline from 'readline'
|
||||||
|
|
||||||
const header = `Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
const header = `Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
SPDX-License-Identifier: MIT`;
|
SPDX-License-Identifier: MIT`
|
||||||
const ignoredLicenses = [
|
const ignoredLicenses = [
|
||||||
"// Copyright 2021 Flavio Oliveira",
|
'// Copyright 2021 Flavio Oliveira',
|
||||||
"// Copyright 2021 Jonas Kruckenberg",
|
'// Copyright 2021 Jonas Kruckenberg',
|
||||||
"// Copyright 2018-2023 the Deno authors.",
|
'// Copyright 2018-2023 the Deno authors.'
|
||||||
];
|
]
|
||||||
|
|
||||||
const extensions = [".rs", ".js", ".ts", ".yml", ".swift", ".kt"];
|
const extensions = ['.rs', '.js', '.ts', '.yml', '.swift', '.kt']
|
||||||
const ignore = [
|
const ignore = [
|
||||||
"target",
|
'target',
|
||||||
"templates",
|
'templates',
|
||||||
"node_modules",
|
'node_modules',
|
||||||
"gen",
|
'gen',
|
||||||
"dist",
|
'dist',
|
||||||
"dist-js",
|
'dist-js',
|
||||||
".svelte-kit",
|
'.svelte-kit',
|
||||||
"api-iife.js",
|
'api-iife.js',
|
||||||
"init-iife.js",
|
'init-iife.js',
|
||||||
".build",
|
'.build',
|
||||||
"notify_rust",
|
'notify_rust'
|
||||||
];
|
]
|
||||||
|
|
||||||
async function checkFile(file) {
|
async function checkFile(file) {
|
||||||
if (
|
if (
|
||||||
extensions.some((e) => file.endsWith(e)) &&
|
extensions.some((e) => file.endsWith(e)) &&
|
||||||
!ignore.some((i) => file.includes(`${path.sep}${i}`))
|
!ignore.some((i) => file.includes(`${path.sep}${i}`))
|
||||||
) {
|
) {
|
||||||
const fileStream = fs.createReadStream(file);
|
const fileStream = fs.createReadStream(file)
|
||||||
const rl = readline.createInterface({
|
const rl = readline.createInterface({
|
||||||
input: fileStream,
|
input: fileStream,
|
||||||
crlfDelay: Infinity,
|
crlfDelay: Infinity
|
||||||
});
|
})
|
||||||
|
|
||||||
let contents = ``;
|
let contents = ``
|
||||||
let i = 0;
|
let i = 0
|
||||||
for await (let line of rl) {
|
for await (let line of rl) {
|
||||||
// ignore empty lines, allow shebang, swift-tools-version and bundler license
|
// ignore empty lines, allow shebang, swift-tools-version and bundler license
|
||||||
if (
|
if (
|
||||||
line.length === 0 ||
|
line.length === 0 ||
|
||||||
line.startsWith("#!") ||
|
line.startsWith('#!') ||
|
||||||
line.startsWith("// swift-tools-version:") ||
|
line.startsWith('// swift-tools-version:') ||
|
||||||
ignoredLicenses.includes(line)
|
ignoredLicenses.includes(line)
|
||||||
) {
|
) {
|
||||||
continue;
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// strip comment marker
|
// strip comment marker
|
||||||
if (line.startsWith("// ")) {
|
if (line.startsWith('// ')) {
|
||||||
line = line.substring(3);
|
line = line.substring(3)
|
||||||
} else if (line.startsWith("# ")) {
|
} else if (line.startsWith('# ')) {
|
||||||
line = line.substring(2);
|
line = line.substring(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
contents += line;
|
contents += line
|
||||||
if (++i === 3) {
|
if (++i === 3) {
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
contents += "\n";
|
contents += '\n'
|
||||||
}
|
}
|
||||||
if (contents !== header) {
|
if (contents !== header) {
|
||||||
return true;
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
async function check(src) {
|
async function check(src) {
|
||||||
const missingHeader = [];
|
const missingHeader = []
|
||||||
|
|
||||||
for (const entry of fs.readdirSync(src, {
|
for (const entry of fs.readdirSync(src, {
|
||||||
withFileTypes: true,
|
withFileTypes: true
|
||||||
})) {
|
})) {
|
||||||
const p = path.join(src, entry.name);
|
const p = path.join(src, entry.name)
|
||||||
|
|
||||||
if (entry.isSymbolicLink() || ignore.includes(entry.name)) {
|
if (entry.isSymbolicLink() || ignore.includes(entry.name)) {
|
||||||
continue;
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.isDirectory()) {
|
if (entry.isDirectory()) {
|
||||||
const missing = await check(p);
|
const missing = await check(p)
|
||||||
missingHeader.push(...missing);
|
missingHeader.push(...missing)
|
||||||
} else {
|
} else {
|
||||||
const isMissing = await checkFile(p);
|
const isMissing = await checkFile(p)
|
||||||
if (isMissing) {
|
if (isMissing) {
|
||||||
missingHeader.push(p);
|
missingHeader.push(p)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return missingHeader;
|
return missingHeader
|
||||||
}
|
}
|
||||||
|
|
||||||
const [_bin, _script, ...files] = process.argv;
|
const [_bin, _script, ...files] = process.argv
|
||||||
|
|
||||||
if (files.length > 0) {
|
if (files.length > 0) {
|
||||||
async function run() {
|
async function run() {
|
||||||
const missing = [];
|
const missing = []
|
||||||
for (const f of files) {
|
for (const f of files) {
|
||||||
const isMissing = await checkFile(f);
|
const isMissing = await checkFile(f)
|
||||||
if (isMissing) {
|
if (isMissing) {
|
||||||
missing.push(f);
|
missing.push(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (missing.length > 0) {
|
if (missing.length > 0) {
|
||||||
console.log(missing.join("\n"));
|
console.log(missing.join('\n'))
|
||||||
process.exit(1);
|
process.exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
run();
|
run()
|
||||||
} else {
|
} else {
|
||||||
check(path.resolve(new URL(import.meta.url).pathname, "../../..")).then(
|
check(path.resolve(new URL(import.meta.url).pathname, '../../..')).then(
|
||||||
(missing) => {
|
(missing) => {
|
||||||
if (missing.length > 0) {
|
if (missing.length > 0) {
|
||||||
console.log(missing.join("\n"));
|
console.log(missing.join('\n'))
|
||||||
process.exit(1);
|
process.exit(1)
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,6 @@ then
|
|||||||
echo "working directory is clean"
|
echo "working directory is clean"
|
||||||
else
|
else
|
||||||
echo "found diff"
|
echo "found diff"
|
||||||
|
git diff --name-status HEAD
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,60 +0,0 @@
|
|||||||
#!/usr/bin/env node
|
|
||||||
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
|
||||||
// SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
/*
|
|
||||||
This script is solely intended to be run as part of the `covector publish` step to
|
|
||||||
check the latest version of a crate, considering the current minor version.
|
|
||||||
*/
|
|
||||||
|
|
||||||
const https = require("https");
|
|
||||||
|
|
||||||
const kind = process.argv[2];
|
|
||||||
const packageName = process.argv[3];
|
|
||||||
const packageVersion = process.argv[4];
|
|
||||||
const target = packageVersion.substring(0, packageVersion.lastIndexOf("."));
|
|
||||||
|
|
||||||
let url = null;
|
|
||||||
switch (kind) {
|
|
||||||
case "cargo":
|
|
||||||
url = `https://crates.io/api/v1/crates/${packageName}`;
|
|
||||||
break;
|
|
||||||
case "npm":
|
|
||||||
url = `https://registry.npmjs.org/${packageName}`;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new Error("unexpected kind " + kind);
|
|
||||||
}
|
|
||||||
|
|
||||||
const options = {
|
|
||||||
headers: {
|
|
||||||
"Content-Type": "application/json",
|
|
||||||
Accept: "application/json",
|
|
||||||
"User-Agent": "tauri (https://github.com/tauri-apps/tauri)",
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
https.get(url, options, (response) => {
|
|
||||||
let chunks = [];
|
|
||||||
response.on("data", function (chunk) {
|
|
||||||
chunks.push(chunk);
|
|
||||||
});
|
|
||||||
|
|
||||||
response.on("end", function () {
|
|
||||||
const data = JSON.parse(chunks.join(""));
|
|
||||||
if (kind === "cargo") {
|
|
||||||
if (data.versions) {
|
|
||||||
const versions = data.versions.filter((v) => v.num.startsWith(target));
|
|
||||||
console.log(versions.length ? versions[0].num : "0.0.0");
|
|
||||||
} else {
|
|
||||||
console.log("0.0.0");
|
|
||||||
}
|
|
||||||
} else if (kind === "npm") {
|
|
||||||
const versions = Object.keys(data.versions || {}).filter((v) =>
|
|
||||||
v.startsWith(target),
|
|
||||||
);
|
|
||||||
console.log(versions[versions.length - 1] || "0.0.0");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
Vendored
+8
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"rust-lang.rust-analyzer",
|
||||||
|
"EditorConfig.EditorConfig",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"tamasfe.even-better-toml"
|
||||||
|
]
|
||||||
|
}
|
||||||
Generated
+2261
-1993
File diff suppressed because it is too large
Load Diff
+9
-5
@@ -2,6 +2,7 @@
|
|||||||
members = [
|
members = [
|
||||||
"plugins/*",
|
"plugins/*",
|
||||||
"plugins/*/tests/*",
|
"plugins/*/tests/*",
|
||||||
|
"plugins/updater/tests/updater-migration/v2-app",
|
||||||
"plugins/*/examples/*/src-tauri",
|
"plugins/*/examples/*/src-tauri",
|
||||||
"examples/*/src-tauri",
|
"examples/*/src-tauri",
|
||||||
]
|
]
|
||||||
@@ -10,20 +11,23 @@ resolver = "2"
|
|||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
tauri = "2.0.0-beta.15"
|
tauri = { version = "2", default-features = false }
|
||||||
tauri-build = "2.0.0-beta.12"
|
tauri-build = "2"
|
||||||
tauri-plugin = "2.0.0-beta.12"
|
tauri-plugin = "2"
|
||||||
|
tauri-utils = "2"
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
thiserror = "1"
|
thiserror = "2"
|
||||||
url = "2"
|
url = "2"
|
||||||
schemars = "0.8"
|
schemars = "0.8"
|
||||||
dunce = "1"
|
dunce = "1"
|
||||||
|
specta = "=2.0.0-rc.20"
|
||||||
|
#tauri-specta = "=2.0.0-rc.11"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Tauri Programme within The Commons Conservancy"]
|
authors = ["Tauri Programme within The Commons Conservancy"]
|
||||||
license = "Apache-2.0 OR MIT"
|
license = "Apache-2.0 OR MIT"
|
||||||
rust-version = "1.75"
|
rust-version = "1.77.2"
|
||||||
repository = "https://github.com/tauri-apps/plugins-workspace"
|
repository = "https://github.com/tauri-apps/plugins-workspace"
|
||||||
|
|
||||||
# default to small, optimized release binaries
|
# default to small, optimized release binaries
|
||||||
|
|||||||
@@ -1,37 +1,48 @@
|
|||||||
|
# Official Tauri Plugins
|
||||||
|
|
||||||
|
This repo and all plugins require a Rust version of at least **1.77.2**
|
||||||
|
|
||||||
## Plugins Found Here
|
## Plugins Found Here
|
||||||
|
|
||||||
| | | Win | Mac | Lin | iOS | And |
|
| | | Win | Mac | Lin | iOS | And |
|
||||||
| ----------------------------------------------- | ------------------------------------------------------ | --- | --- | --- | --- | --- |
|
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | --- | --- | --- | --- |
|
||||||
| [authenticator](plugins/authenticator) | Interface with hardware security keys. | ✅ | ✅ | ✅ | ? | ? |
|
| [autostart](plugins/autostart) | Automatically launch your app at system startup. | ✅ | ✅ | ✅ | ❌ | ❌ |
|
||||||
| [autostart](plugins/autostart) | Automatically launch your app at system startup. | ✅ | ✅ | ✅ | ? | ? |
|
| [barcode-scanner](plugins/barcode-scanner) | Allows your mobile application to use the camera to scan QR codes, EAN-13 and other kinds of barcodes. | ? | ? | ? | ✅ | ✅ |
|
||||||
| [barcode-scanner](plugins/barcode-scanner) | Allows your mobile application to use the camera to scan QR codes, EAN-13 and other kinds of barcodes. | ? | ? | ? | ✅ | ✅ |
|
| [biometric](plugins/biometric) | Prompt the user for biometric authentication on Android and iOS. | ? | ? | ? | ✅ | ✅ |
|
||||||
| [biometric](plugins/biometric) | Prompt the user for biometric authentication on Android and iOS. | ? | ? | ? | ✅ | ✅ |
|
| [cli](plugins/cli) | Parse arguments from your Command Line Interface | ✅ | ✅ | ✅ | ❌ | ❌ |
|
||||||
| [cli](plugins/cli) | Parse arguments from your Command Line Interface | ✅ | ✅ | ✅ | ? | ? |
|
| [clipboard-manager](plugins/clipboard-manager) | Read and write to the system clipboard. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [clipboard-manager](plugins/clipboard-manager) | Read and write to the system clipboard. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [deep-link](plugins/deep-link) | Set your Tauri application as the default handler for an URL. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [deep-link](plugins/deep-link) | Set your Tauri application as the default handler for an URL. | ? | ? | ? | ✅ | ✅ |
|
| [dialog](plugins/dialog) | Native system dialogs for opening and saving files along with message dialogs. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [dialog](plugins/dialog) | Native system dialogs for opening and saving files along with message dialogs. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [fs](plugins/fs) | Access the file system. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [fs](plugins/fs) | Access the file system. | ✅ | ✅ | ✅ | ? | ? |
|
| [geolocation](plugins/geolocation) | Get and track current device position. | ? | ? | ? | ✅ | ✅ |
|
||||||
| [global-shortcut](plugins/global-shortcut) | Register global shortcuts. | ✅ | ✅ | ✅ | ? | ? |
|
| [global-shortcut](plugins/global-shortcut) | Register global shortcuts. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [http](plugins/http) | Access the HTTP client written in Rust. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [haptics](plugins/haptics) | Haptic feedback and vibrations. | ? | ? | ? | ✅ | ✅ |
|
||||||
| [localhost](plugins/localhost) | Use a localhost server in production apps. | ✅ | ✅ | ✅ | ? | ? |
|
| [http](plugins/http) | Access the HTTP client written in Rust. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [log](plugins/log) | Configurable logging. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [localhost](plugins/localhost) | Use a localhost server in production apps. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [nfc](plugins/nfc) | Read and write NFC tags on Android and iOS. | ? | ? | ? | ✅ | ✅ |
|
| [log](plugins/log) | Configurable logging. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [notification](plugins/notification) | Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [nfc](plugins/nfc) | Read and write NFC tags on Android and iOS. | ? | ? | ? | ✅ | ✅ |
|
||||||
| [os](plugins/os) | Read information about the operating system. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [notification](plugins/notification) | Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [persisted-scope](plugins/persisted-scope) | Persist runtime scope changes on the filesystem. | ✅ | ✅ | ✅ | ? | ? |
|
| [os](plugins/os) | Read information about the operating system. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [positioner](plugins/positioner) | Move windows to common locations. | ✅ | ✅ | ✅ | ? | ? |
|
| [persisted-scope](plugins/persisted-scope) | Persist runtime scope changes on the filesystem. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [process](plugins/process) | This plugin provides APIs to access the current process. To spawn child processes, see the [`shell`](https://github.com/tauri-apps/tauri-plugin-shell) plugin. | ✅ | ✅ | ✅ | ? | ? |
|
| [positioner](plugins/positioner) | Move windows to common locations. | ✅ | ✅ | ✅ | ❌ | ❌ |
|
||||||
| [shell](plugins/shell) | Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. | ✅ | ✅ | ✅ | ? | ? |
|
| [process](plugins/process) | This plugin provides APIs to access the current process. To spawn child processes, see the [`shell`](https://github.com/tauri-apps/tauri-plugin-shell) plugin. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [single-instance](plugins/single-instance) | Ensure a single instance of your tauri app is running. | ✅ | ? | ✅ | ? | ? |
|
| [shell](plugins/shell) | Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [sql](plugins/sql) | Interface with SQL databases. | ✅ | ✅ | ✅ | ? | ? |
|
| [single-instance](plugins/single-instance) | Ensure a single instance of your tauri app is running. | ✅ | ✅ | ✅ | ❌ | ❌ |
|
||||||
| [store](plugins/store) | Persistent key value storage. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
| [sql](plugins/sql) | Interface with SQL databases. | ✅ | ✅ | ✅ | ? | ✅ |
|
||||||
| [stronghold](plugins/stronghold) | Encrypted, secure database. | ✅ | ✅ | ✅ | ? | ? |
|
| [store](plugins/store) | Persistent key value storage. | ✅ | ✅ | ✅ | ✅ | ✅ |
|
||||||
| [updater](plugins/updater) | In-app updates for Tauri applications. | ✅ | ✅ | ✅ | ? | ? |
|
| [stronghold](plugins/stronghold) | Encrypted, secure database. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [upload](plugins/upload) | Tauri plugin for file uploads through HTTP. | ✅ | ✅ | ✅ | ? | ? |
|
| [updater](plugins/updater) | In-app updates for Tauri applications. | ✅ | ✅ | ✅ | ❌ | ❌ |
|
||||||
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. | ✅ | ✅ | ✅ | ? | ? |
|
| [upload](plugins/upload) | Tauri plugin for file uploads through HTTP. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? |
|
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. | ✅ | ✅ | ✅ | ? | ? |
|
||||||
|
| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ❌ | ❌ |
|
||||||
|
|
||||||
_This repo and all plugins require a Rust version of at least **1.75**_
|
- ✅: (Partially) Supported
|
||||||
|
- ❌: Not supported
|
||||||
|
- `?` : Unknown/Untested or Planned
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
PRs accepted. Please make sure to read the [Contributing Guide](https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md) before making a pull request.
|
||||||
|
|
||||||
## Partners
|
## Partners
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -20,4 +20,4 @@ We prefer to receive reports in English.
|
|||||||
|
|
||||||
Please disclose a vulnerability or security relevant issue here: [https://github.com/tauri-apps/plugins-workspace/security/advisories/new](https://github.com/tauri-apps/plugins-workspace/security/advisories/new).
|
Please disclose a vulnerability or security relevant issue here: [https://github.com/tauri-apps/plugins-workspace/security/advisories/new](https://github.com/tauri-apps/plugins-workspace/security/advisories/new).
|
||||||
|
|
||||||
Alternatively, you can also contact us by email via [security@tauri.app](mailto:security@tauri.app).
|
Alternatively, you can also contact us by email via [security@tauri.app](mailto:security@tauri.app).
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
import eslint from '@eslint/js'
|
||||||
|
import eslintConfigPrettier from 'eslint-config-prettier'
|
||||||
|
import eslintPluginSecurity from 'eslint-plugin-security'
|
||||||
|
import tseslint from 'typescript-eslint'
|
||||||
|
|
||||||
|
export default tseslint.config(
|
||||||
|
{
|
||||||
|
ignores: [
|
||||||
|
'**/target',
|
||||||
|
'**/node_modules',
|
||||||
|
'**/examples',
|
||||||
|
'**/dist',
|
||||||
|
'**/dist-js',
|
||||||
|
'**/build',
|
||||||
|
'**/api-iife.js',
|
||||||
|
'**/init-iife.js',
|
||||||
|
'**/init.js',
|
||||||
|
'**/rollup.config.js',
|
||||||
|
'**/bindings.ts',
|
||||||
|
'**/.test-server',
|
||||||
|
'.scripts',
|
||||||
|
'eslint.config.js'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
eslint.configs.recommended,
|
||||||
|
eslintConfigPrettier,
|
||||||
|
eslintPluginSecurity.configs.recommended,
|
||||||
|
...tseslint.configs.recommendedTypeChecked,
|
||||||
|
{
|
||||||
|
languageOptions: {
|
||||||
|
parserOptions: { project: true, tsconfigRootDir: import.meta.dirname }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
)
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
/node_modules/
|
|
||||||
/.vscode/
|
|
||||||
.DS_Store
|
|
||||||
.cargo
|
|
||||||
@@ -1,5 +1,243 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## \[2.0.2]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `fs-js@2.0.2`
|
||||||
|
|
||||||
|
## \[2.0.1]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `dialog-js@2.0.1`
|
||||||
|
- Upgraded to `fs-js@2.0.1`
|
||||||
|
- Upgraded to `http-js@2.0.1`
|
||||||
|
- Upgraded to `shell-js@2.0.1`
|
||||||
|
- Upgraded to `store-js@2.1.0`
|
||||||
|
|
||||||
|
## \[2.0.0]
|
||||||
|
|
||||||
|
- [`e2c4dfb6`](https://github.com/tauri-apps/plugins-workspace/commit/e2c4dfb6af43e5dd8d9ceba232c315f5febd55c1) Update to tauri v2 stable release.
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0`
|
||||||
|
- Upgraded to `biometric-js@2.0.0`
|
||||||
|
- Upgraded to `cli-js@2.0.0`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.0.0`
|
||||||
|
- Upgraded to `fs-js@2.0.0`
|
||||||
|
- Upgraded to `dialog-js@2.0.0`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0`
|
||||||
|
- Upgraded to `http-js@2.0.0`
|
||||||
|
- Upgraded to `log-js@2.0.0`
|
||||||
|
- Upgraded to `nfc-js@2.0.0`
|
||||||
|
- Upgraded to `notification-js@2.0.0`
|
||||||
|
- Upgraded to `os-js@2.0.0`
|
||||||
|
- Upgraded to `process-js@2.0.0`
|
||||||
|
- Upgraded to `shell-js@2.0.0`
|
||||||
|
- Upgraded to `store-js@2.0.0`
|
||||||
|
- Upgraded to `updater-js@2.0.0`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.5]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `store-js@2.0.0-rc.2`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.4]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-rc.2`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.0.0-rc.2`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.3]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `updater-js@2.0.0-rc.2`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.2]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `notification-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `cli-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `fs-js@2.0.0-rc.2`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `http-js@2.0.0-rc.2`
|
||||||
|
- Upgraded to `log-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `os-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `process-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `shell-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `store-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `updater-js@2.0.0-rc.1`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.1]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `http-js@2.0.0-rc.1`
|
||||||
|
- Upgraded to `fs-js@2.0.0-rc.1`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.0]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `cli-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `fs-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `http-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `log-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `notification-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `os-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `process-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `shell-js@2.0.0-rc.0`
|
||||||
|
- Upgraded to `updater-js@2.0.0-rc.0`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.12]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `cli-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.1.0-beta.6`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `fs-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.9`
|
||||||
|
- Upgraded to `log-js@2.0.0-beta.9`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `notification-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `os-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `process-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.9`
|
||||||
|
- Upgraded to `updater-js@2.0.0-beta.8`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.11]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `os-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `cli-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.1.0-beta.5`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `fs-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `log-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `notification-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `process-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.8`
|
||||||
|
- Upgraded to `updater-js@2.0.0-beta.7`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.10]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `os-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `cli-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.1.0-beta.4`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `fs-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `log-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `notification-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `process-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.7`
|
||||||
|
- Upgraded to `updater-js@2.0.0-beta.6`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.9]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.6`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.8]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `cli-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.1.0-beta.3`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `fs-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `log-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `notification-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `os-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `process-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.6`
|
||||||
|
- Upgraded to `updater-js@2.0.0-beta.5`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.7]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `cli-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.1.0-beta.2`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `fs-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `log-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `notification-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `os-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `process-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.5`
|
||||||
|
- Upgraded to `updater-js@2.0.0-beta.4`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.6]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.4`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.5]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `global-shortcut-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `barcode-scanner-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `biometric-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `cli-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `clipboard-manager-js@2.1.0-beta.1`
|
||||||
|
- Upgraded to `dialog-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `fs-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `http-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `log-js@2.0.0-beta.4`
|
||||||
|
- Upgraded to `nfc-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `notification-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `os-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `process-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `shell-js@2.0.0-beta.3`
|
||||||
|
- Upgraded to `updater-js@2.0.0-beta.3`
|
||||||
|
|
||||||
## \[2.0.0-beta.4]
|
## \[2.0.0-beta.4]
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
window.__TAURI_ISOLATION_HOOK__ = (payload) => {
|
window.__TAURI_ISOLATION_HOOK__ = (payload) => {
|
||||||
return payload;
|
return payload
|
||||||
};
|
}
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "bundler",
|
||||||
"target": "esnext",
|
"target": "ESNext",
|
||||||
"module": "esnext",
|
"module": "ESNext",
|
||||||
/**
|
/**
|
||||||
* svelte-preprocess cannot figure out whether you have
|
* svelte-preprocess cannot figure out whether you have
|
||||||
* a value or a type, so tell TypeScript to enforce using
|
* a value or a type, so tell TypeScript to enforce using
|
||||||
* `import type` instead of `import` for Types.
|
* `import type` instead of `import` for Types.
|
||||||
*/
|
*/
|
||||||
"importsNotUsedAsValues": "error",
|
"verbatimModuleSyntax": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
/**
|
/**
|
||||||
@@ -18,8 +18,6 @@
|
|||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"baseUrl": ".",
|
|
||||||
/**
|
/**
|
||||||
* Typecheck JS in `.svelte` and `.js` files by default.
|
* Typecheck JS in `.svelte` and `.js` files by default.
|
||||||
* Disable this if you'd like to use dynamic types.
|
* Disable this if you'd like to use dynamic types.
|
||||||
|
|||||||
+29
-26
@@ -1,40 +1,43 @@
|
|||||||
{
|
{
|
||||||
"name": "svelte-app",
|
"name": "api",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.0-beta.4",
|
"version": "2.0.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --clearScreen false",
|
"dev": "vite --clearScreen false",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"serve": "vite preview"
|
"serve": "vite preview",
|
||||||
|
"tauri": "tauri"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "2.0.0-beta.8",
|
"@tauri-apps/api": "2.1.1",
|
||||||
"@tauri-apps/plugin-barcode-scanner": "2.0.0-beta.2",
|
"@tauri-apps/plugin-barcode-scanner": "2.0.0",
|
||||||
"@tauri-apps/plugin-biometric": "2.0.0-beta.2",
|
"@tauri-apps/plugin-biometric": "2.0.0",
|
||||||
"@tauri-apps/plugin-cli": "2.0.0-beta.2",
|
"@tauri-apps/plugin-cli": "2.0.0",
|
||||||
"@tauri-apps/plugin-clipboard-manager": "2.1.0-beta.0",
|
"@tauri-apps/plugin-clipboard-manager": "2.0.0",
|
||||||
"@tauri-apps/plugin-dialog": "2.0.0-beta.2",
|
"@tauri-apps/plugin-dialog": "2.0.1",
|
||||||
"@tauri-apps/plugin-fs": "2.0.0-beta.2",
|
"@tauri-apps/plugin-fs": "2.0.2",
|
||||||
"@tauri-apps/plugin-global-shortcut": "2.0.0-beta.2",
|
"@tauri-apps/plugin-geolocation": "2.0.0",
|
||||||
"@tauri-apps/plugin-http": "2.0.0-beta.2",
|
"@tauri-apps/plugin-global-shortcut": "2.0.0",
|
||||||
"@tauri-apps/plugin-nfc": "2.0.0-beta.2",
|
"@tauri-apps/plugin-haptics": "2.0.0",
|
||||||
"@tauri-apps/plugin-notification": "2.0.0-beta.2",
|
"@tauri-apps/plugin-http": "2.0.1",
|
||||||
"@tauri-apps/plugin-os": "2.0.0-beta.2",
|
"@tauri-apps/plugin-nfc": "2.0.0",
|
||||||
"@tauri-apps/plugin-process": "2.0.0-beta.2",
|
"@tauri-apps/plugin-notification": "2.0.0",
|
||||||
"@tauri-apps/plugin-shell": "2.0.0-beta.2",
|
"@tauri-apps/plugin-os": "2.0.0",
|
||||||
"@tauri-apps/plugin-updater": "2.0.0-beta.2",
|
"@tauri-apps/plugin-process": "2.0.0",
|
||||||
"@zerodevx/svelte-json-view": "1.0.9"
|
"@tauri-apps/plugin-shell": "2.0.1",
|
||||||
|
"@tauri-apps/plugin-store": "2.1.0",
|
||||||
|
"@tauri-apps/plugin-updater": "2.0.0",
|
||||||
|
"@zerodevx/svelte-json-view": "1.0.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/codicon": "^1.1.37",
|
"@iconify-json/codicon": "^1.1.37",
|
||||||
"@iconify-json/ph": "^1.1.8",
|
"@iconify-json/ph": "^1.1.8",
|
||||||
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||||
"@tauri-apps/cli": "2.0.0-beta.13",
|
"@tauri-apps/cli": "2.1.0",
|
||||||
"@unocss/extractor-svelte": "^0.59.0",
|
"@unocss/extractor-svelte": "^0.64.0",
|
||||||
"internal-ip": "^8.0.0",
|
"svelte": "^5.0.0",
|
||||||
"svelte": "^4.2.8",
|
"unocss": "^0.64.0",
|
||||||
"unocss": "^0.59.0",
|
"vite": "^5.4.7"
|
||||||
"vite": "^5.0.13"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,363 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## \[2.0.5]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `clipboard-manager@2.0.2`
|
||||||
|
- Upgraded to `log-plugin@2.0.2`
|
||||||
|
|
||||||
|
## \[2.0.4]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `fs@2.0.3`
|
||||||
|
- Upgraded to `dialog@2.0.3`
|
||||||
|
- Upgraded to `http@2.0.3`
|
||||||
|
|
||||||
|
## \[2.0.3]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `dialog@2.0.2`
|
||||||
|
- Upgraded to `fs@2.0.2`
|
||||||
|
- Upgraded to `http@2.0.2`
|
||||||
|
- Upgraded to `shell@2.0.2`
|
||||||
|
- Upgraded to `store@2.1.0`
|
||||||
|
|
||||||
|
## \[2.0.2]
|
||||||
|
|
||||||
|
- [`a1a82208`](https://github.com/tauri-apps/plugins-workspace/commit/a1a82208ed4ab87f83310be0dc95428aec9ab241) ([#1873](https://github.com/tauri-apps/plugins-workspace/pull/1873) by [@lucasfernog](https://github.com/tauri-apps/plugins-workspace/../../lucasfernog)) Downgrade MSRV to 1.77.2 to support Windows 7.
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.1`
|
||||||
|
- Upgraded to `biometric@2.0.1`
|
||||||
|
- Upgraded to `cli@2.0.1`
|
||||||
|
- Upgraded to `clipboard-manager@2.0.1`
|
||||||
|
- Upgraded to `fs@2.0.1`
|
||||||
|
- Upgraded to `dialog@2.0.1`
|
||||||
|
- Upgraded to `geolocation@2.0.1`
|
||||||
|
- Upgraded to `global-shortcut@2.0.1`
|
||||||
|
- Upgraded to `haptics@2.0.1`
|
||||||
|
- Upgraded to `http@2.0.1`
|
||||||
|
- Upgraded to `log-plugin@2.0.1`
|
||||||
|
- Upgraded to `nfc@2.0.1`
|
||||||
|
- Upgraded to `notification@2.0.1`
|
||||||
|
- Upgraded to `os@2.0.1`
|
||||||
|
- Upgraded to `process@2.0.1`
|
||||||
|
- Upgraded to `shell@2.0.1`
|
||||||
|
- Upgraded to `store@2.0.1`
|
||||||
|
- Upgraded to `updater@2.0.2`
|
||||||
|
|
||||||
|
## \[2.0.1]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `updater@2.0.1`
|
||||||
|
|
||||||
|
## \[2.0.0]
|
||||||
|
|
||||||
|
- [`e2c4dfb6`](https://github.com/tauri-apps/plugins-workspace/commit/e2c4dfb6af43e5dd8d9ceba232c315f5febd55c1) Update to tauri v2 stable release.
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0`
|
||||||
|
- Upgraded to `biometric@2.0.0`
|
||||||
|
- Upgraded to `cli@2.0.0`
|
||||||
|
- Upgraded to `clipboard-manager@2.0.0`
|
||||||
|
- Upgraded to `fs@2.0.0`
|
||||||
|
- Upgraded to `dialog@2.0.0`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0`
|
||||||
|
- Upgraded to `http@2.0.0`
|
||||||
|
- Upgraded to `log-plugin@2.0.0`
|
||||||
|
- Upgraded to `nfc@2.0.0`
|
||||||
|
- Upgraded to `notification@2.0.0`
|
||||||
|
- Upgraded to `os@2.0.0`
|
||||||
|
- Upgraded to `process@2.0.0`
|
||||||
|
- Upgraded to `shell@2.0.0`
|
||||||
|
- Upgraded to `store@2.0.0`
|
||||||
|
- Upgraded to `updater@2.0.0`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.8]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `cli@2.0.0-rc.2`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.8`
|
||||||
|
- Upgraded to `fs@2.0.0-rc.6`
|
||||||
|
- Upgraded to `shell@2.0.0-rc.4`
|
||||||
|
- Upgraded to `store@2.0.0-rc.4`
|
||||||
|
- Upgraded to `updater@2.0.0-rc.4`
|
||||||
|
- Upgraded to `http@2.0.0-rc.6`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.7]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `clipboard-manager@2.0.0-rc.4`
|
||||||
|
- Upgraded to `fs@2.0.0-rc.5`
|
||||||
|
- Upgraded to `notification@2.0.0-rc.5`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.7`
|
||||||
|
- Upgraded to `http@2.0.0-rc.5`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.6]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.6`
|
||||||
|
- Upgraded to `fs@2.0.0-rc.4`
|
||||||
|
- Upgraded to `http@2.0.0-rc.4`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.5]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-rc.4`
|
||||||
|
- Upgraded to `notification@2.0.0-rc.4`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.4]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `fs@2.0.0-rc.3`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.5`
|
||||||
|
- Upgraded to `updater@2.0.0-rc.3`
|
||||||
|
- Upgraded to `http@2.0.0-rc.3`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.3]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `fs@2.0.0-rc.2`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.4`
|
||||||
|
- Upgraded to `http@2.0.0-rc.2`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.2]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-rc.3`
|
||||||
|
- Upgraded to `notification@2.0.0-rc.3`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.3`
|
||||||
|
- Upgraded to `fs@2.0.0-rc.1`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-rc.2`
|
||||||
|
- Upgraded to `store@2.0.0-rc.3`
|
||||||
|
- Upgraded to `biometric@2.0.0-rc.3`
|
||||||
|
- Upgraded to `cli@2.0.0-rc.1`
|
||||||
|
- Upgraded to `clipboard-manager@2.0.0-rc.3`
|
||||||
|
- Upgraded to `http@2.0.0-rc.1`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-rc.2`
|
||||||
|
- Upgraded to `nfc@2.0.0-rc.3`
|
||||||
|
- Upgraded to `os@2.0.0-rc.1`
|
||||||
|
- Upgraded to `process@2.0.0-rc.1`
|
||||||
|
- Upgraded to `shell@2.0.0-rc.3`
|
||||||
|
- Upgraded to `updater@2.0.0-rc.2`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.1]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-rc.2`
|
||||||
|
- Upgraded to `biometric@2.0.0-rc.2`
|
||||||
|
- Upgraded to `clipboard-manager@2.0.0-rc.2`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.2`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-rc.1`
|
||||||
|
- Upgraded to `nfc@2.0.0-rc.2`
|
||||||
|
- Upgraded to `notification@2.0.0-rc.2`
|
||||||
|
- Upgraded to `shell@2.0.0-rc.2`
|
||||||
|
|
||||||
|
## \[2.0.0-rc.0]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.1`
|
||||||
|
- Upgraded to `updater@2.0.0-rc.1`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-rc.1`
|
||||||
|
- Upgraded to `clipboard-manager@2.0.0-rc.1`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-rc.1`
|
||||||
|
- Upgraded to `biometric@2.0.0-rc.1`
|
||||||
|
- Upgraded to `nfc@2.0.0-rc.1`
|
||||||
|
- Upgraded to `notification@2.0.0-rc.1`
|
||||||
|
- Upgraded to `shell@2.0.0-rc.1`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.17]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-rc.0`
|
||||||
|
- Upgraded to `biometric@2.0.0-rc.0`
|
||||||
|
- Upgraded to `cli@2.0.0-rc.0`
|
||||||
|
- Upgraded to `clipboard-manager@2.0.0-rc.0`
|
||||||
|
- Upgraded to `dialog@2.0.0-rc.0`
|
||||||
|
- Upgraded to `fs@2.0.0-rc.0`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-rc.0`
|
||||||
|
- Upgraded to `http@2.0.0-rc.0`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-rc.0`
|
||||||
|
- Upgraded to `nfc@2.0.0-rc.0`
|
||||||
|
- Upgraded to `notification@2.0.0-rc.0`
|
||||||
|
- Upgraded to `os@2.0.0-rc.0`
|
||||||
|
- Upgraded to `process@2.0.0-rc.0`
|
||||||
|
- Upgraded to `shell@2.0.0-rc.0`
|
||||||
|
- Upgraded to `updater@2.0.0-rc.0`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.16]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `fs@2.0.0-beta.12`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.10`
|
||||||
|
- Upgraded to `biometric@2.0.0-beta.9`
|
||||||
|
- Upgraded to `cli@2.0.0-beta.9`
|
||||||
|
- Upgraded to `clipboard-manager@2.1.0-beta.7`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.12`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-beta.9`
|
||||||
|
- Upgraded to `http@2.0.0-beta.13`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.10`
|
||||||
|
- Upgraded to `nfc@2.0.0-beta.9`
|
||||||
|
- Upgraded to `notification@2.0.0-beta.12`
|
||||||
|
- Upgraded to `os@2.0.0-beta.9`
|
||||||
|
- Upgraded to `process@2.0.0-beta.9`
|
||||||
|
- Upgraded to `shell@2.0.0-beta.10`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.12`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.15]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.9`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.14]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `notification@2.0.0-beta.11`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.11`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.13]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `biometric@2.0.0-beta.8`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-beta.8`
|
||||||
|
- Upgraded to `http@2.0.0-beta.12`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.9`
|
||||||
|
- Upgraded to `cli@2.0.0-beta.8`
|
||||||
|
- Upgraded to `clipboard-manager@2.1.0-beta.6`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.11`
|
||||||
|
- Upgraded to `fs@2.0.0-beta.11`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.8`
|
||||||
|
- Upgraded to `nfc@2.0.0-beta.8`
|
||||||
|
- Upgraded to `notification@2.0.0-beta.10`
|
||||||
|
- Upgraded to `os@2.0.0-beta.8`
|
||||||
|
- Upgraded to `process@2.0.0-beta.8`
|
||||||
|
- Upgraded to `shell@2.0.0-beta.9`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.10`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.12]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `clipboard-manager@2.1.0-beta.5`
|
||||||
|
- Upgraded to `fs@2.0.0-beta.10`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.9`
|
||||||
|
- Upgraded to `notification@2.0.0-beta.9`
|
||||||
|
- Upgraded to `os@2.0.0-beta.7`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.8`
|
||||||
|
- Upgraded to `biometric@2.0.0-beta.7`
|
||||||
|
- Upgraded to `cli@2.0.0-beta.7`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.10`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-beta.7`
|
||||||
|
- Upgraded to `http@2.0.0-beta.11`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.7`
|
||||||
|
- Upgraded to `nfc@2.0.0-beta.7`
|
||||||
|
- Upgraded to `process@2.0.0-beta.7`
|
||||||
|
- Upgraded to `shell@2.0.0-beta.8`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.11]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `notification@2.0.0-beta.8`
|
||||||
|
- Upgraded to `http@2.0.0-beta.10`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.8`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.10]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.7`
|
||||||
|
- Upgraded to `biometric@2.0.0-beta.6`
|
||||||
|
- Upgraded to `clipboard-manager@2.1.0-beta.4`
|
||||||
|
- Upgraded to `nfc@2.0.0-beta.6`
|
||||||
|
- Upgraded to `notification@2.0.0-beta.7`
|
||||||
|
- Upgraded to `shell@2.0.0-beta.7`
|
||||||
|
- Upgraded to `cli@2.0.0-beta.6`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.9`
|
||||||
|
- Upgraded to `fs@2.0.0-beta.9`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-beta.6`
|
||||||
|
- Upgraded to `http@2.0.0-beta.9`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.6`
|
||||||
|
- Upgraded to `os@2.0.0-beta.6`
|
||||||
|
- Upgraded to `process@2.0.0-beta.6`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.7`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.9]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `clipboard-manager@2.1.0-beta.3`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.8`
|
||||||
|
- Upgraded to `http@2.0.0-beta.8`
|
||||||
|
- Upgraded to `notification@2.0.0-beta.6`
|
||||||
|
- Upgraded to `shell@2.0.0-beta.6`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.6`
|
||||||
|
- Upgraded to `biometric@2.0.0-beta.5`
|
||||||
|
- Upgraded to `nfc@2.0.0-beta.5`
|
||||||
|
- Upgraded to `cli@2.0.0-beta.5`
|
||||||
|
- Upgraded to `fs@2.0.0-beta.8`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-beta.5`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.5`
|
||||||
|
- Upgraded to `os@2.0.0-beta.5`
|
||||||
|
- Upgraded to `process@2.0.0-beta.5`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.6`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.8]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `shell@2.0.0-beta.5`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.7]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `clipboard-manager@2.1.0-beta.2`
|
||||||
|
- Upgraded to `global-shortcut@2.0.0-beta.4`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.5`
|
||||||
|
- Upgraded to `biometric@2.0.0-beta.4`
|
||||||
|
- Upgraded to `cli@2.0.0-beta.4`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.7`
|
||||||
|
- Upgraded to `fs@2.0.0-beta.7`
|
||||||
|
- Upgraded to `http@2.0.0-beta.7`
|
||||||
|
- Upgraded to `log-plugin@2.0.0-beta.4`
|
||||||
|
- Upgraded to `nfc@2.0.0-beta.4`
|
||||||
|
- Upgraded to `notification@2.0.0-beta.5`
|
||||||
|
- Upgraded to `os@2.0.0-beta.4`
|
||||||
|
- Upgraded to `process@2.0.0-beta.4`
|
||||||
|
- Upgraded to `shell@2.0.0-beta.4`
|
||||||
|
- Upgraded to `updater@2.0.0-beta.5`
|
||||||
|
|
||||||
|
## \[2.0.0-beta.6]
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Upgraded to `notification@2.0.0-beta.4`
|
||||||
|
- Upgraded to `barcode-scanner@2.0.0-beta.4`
|
||||||
|
- Upgraded to `dialog@2.0.0-beta.6`
|
||||||
|
- Upgraded to `fs@2.0.0-beta.6`
|
||||||
|
- Upgraded to `http@2.0.0-beta.6`
|
||||||
|
|
||||||
## \[2.0.0-beta.5]
|
## \[2.0.0-beta.5]
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "api"
|
name = "api"
|
||||||
publish = false
|
publish = false
|
||||||
version = "2.0.0-beta.5"
|
version = "2.0.5"
|
||||||
description = "An example Tauri Application showcasing the api"
|
description = "An example Tauri Application showcasing the api"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = { workspace = true }
|
rust-version = { workspace = true }
|
||||||
@@ -9,49 +9,58 @@ license = "Apache-2.0 OR MIT"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "api_lib"
|
name = "api_lib"
|
||||||
crate-type = [ "staticlib", "cdylib", "rlib" ]
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { workspace = true, features = [ "codegen", "isolation" ] }
|
tauri-build = { workspace = true, features = ["codegen", "isolation"] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
tiny_http = "0.12"
|
tiny_http = "0.12"
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-beta.3" }
|
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.2" }
|
||||||
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-beta.5", features = [ "watch" ] }
|
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.3", features = [
|
||||||
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.1.0-beta.1" }
|
"watch",
|
||||||
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-beta.5" }
|
] }
|
||||||
tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-beta.5" }
|
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.2" }
|
||||||
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-beta.3", features = [ "windows7-compat" ] }
|
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.3" }
|
||||||
tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-beta.3" }
|
tauri-plugin-http = { path = "../../../plugins/http", features = [
|
||||||
tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-beta.3" }
|
"multipart",
|
||||||
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-beta.3" }
|
], version = "2.0.3" }
|
||||||
|
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.1", features = [
|
||||||
|
"windows7-compat",
|
||||||
|
] }
|
||||||
|
tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.1" }
|
||||||
|
tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.1" }
|
||||||
|
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.2" }
|
||||||
|
tauri-plugin-store = { path = "../../../plugins/store", version = "2.1.0" }
|
||||||
|
|
||||||
[dependencies.tauri]
|
[dependencies.tauri]
|
||||||
workspace = true
|
workspace = true
|
||||||
features = [
|
features = [
|
||||||
|
"wry",
|
||||||
|
"compression",
|
||||||
"image-ico",
|
"image-ico",
|
||||||
"image-png",
|
"image-png",
|
||||||
"isolation",
|
"isolation",
|
||||||
"macos-private-api",
|
"macos-private-api",
|
||||||
"tray-icon",
|
"tray-icon",
|
||||||
"protocol-asset"
|
"protocol-asset",
|
||||||
]
|
]
|
||||||
|
|
||||||
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
|
||||||
tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.0-beta.3" }
|
tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.1" }
|
||||||
tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-beta.3" }
|
tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.1" }
|
||||||
tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-beta.4" }
|
tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.2" }
|
||||||
|
tauri-plugin-window-state = { path = "../../../plugins/window-state", version = "2.0.0" }
|
||||||
|
|
||||||
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
|
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
|
||||||
tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.0.0-beta.3" }
|
tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.0.1" }
|
||||||
tauri-plugin-nfc = { path = "../../../plugins/nfc", version = "2.0.0-beta.3" }
|
tauri-plugin-nfc = { path = "../../../plugins/nfc", version = "2.0.1" }
|
||||||
tauri-plugin-biometric = { path = "../../../plugins/biometric/", version = "2.0.0-beta.3" }
|
tauri-plugin-biometric = { path = "../../../plugins/biometric/", version = "2.0.1" }
|
||||||
|
tauri-plugin-geolocation = { path = "../../../plugins/geolocation/", version = "2.0.1" }
|
||||||
[target."cfg(target_os = \"windows\")".dependencies]
|
tauri-plugin-haptics = { path = "../../../plugins/haptics/", version = "2.0.1" }
|
||||||
window-shadows = "0.2"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
prod = [ "tauri/custom-protocol" ]
|
prod = ["tauri/custom-protocol"]
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>NSCameraUsageDescription</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
<string>Request camera access for WebRTC</string>
|
<string>Request camera access for WebRTC</string>
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
<string>Request microphone access for WebRTC</string>
|
<string>Request microphone access for WebRTC</string>
|
||||||
</dict>
|
<key>NSFaceIDUsageDescription</key>
|
||||||
|
<string>Authenticate with biometrics</string>
|
||||||
|
<key>NFCReaderUsageDescription</key>
|
||||||
|
<string>Read and write to NFC tags for testing</string>
|
||||||
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -14,20 +14,13 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"app:default",
|
"core:default",
|
||||||
"resources:default",
|
|
||||||
"fs:default",
|
"fs:default",
|
||||||
"menu:default",
|
"core:window:allow-minimize",
|
||||||
"path:default",
|
"core:window:allow-maximize",
|
||||||
"tray:default",
|
"core:window:allow-unmaximize",
|
||||||
"event:default",
|
"core:window:allow-close",
|
||||||
"window:default",
|
"core:window:allow-start-dragging",
|
||||||
"window:allow-minimize",
|
|
||||||
"window:allow-maximize",
|
|
||||||
"window:allow-unmaximize",
|
|
||||||
"window:allow-close",
|
|
||||||
"window:allow-start-dragging",
|
|
||||||
"image:default",
|
|
||||||
"notification:default",
|
"notification:default",
|
||||||
"os:allow-platform",
|
"os:allow-platform",
|
||||||
"dialog:allow-open",
|
"dialog:allow-open",
|
||||||
@@ -36,7 +29,7 @@
|
|||||||
"dialog:allow-confirm",
|
"dialog:allow-confirm",
|
||||||
"dialog:allow-message",
|
"dialog:allow-message",
|
||||||
{
|
{
|
||||||
"identifier": "shell:allow-execute",
|
"identifier": "shell:allow-spawn",
|
||||||
"allow": [
|
"allow": [
|
||||||
{
|
{
|
||||||
"name": "sh",
|
"name": "sh",
|
||||||
@@ -44,7 +37,7 @@
|
|||||||
"args": [
|
"args": [
|
||||||
"-c",
|
"-c",
|
||||||
{
|
{
|
||||||
"validator": "\\S+"
|
"validator": ".+"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -54,12 +47,13 @@
|
|||||||
"args": [
|
"args": [
|
||||||
"/C",
|
"/C",
|
||||||
{
|
{
|
||||||
"validator": "\\S+"
|
"validator": ".+"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"shell:allow-open",
|
||||||
"shell:allow-kill",
|
"shell:allow-kill",
|
||||||
"shell:allow-stdin-write",
|
"shell:allow-stdin-write",
|
||||||
"process:allow-exit",
|
"process:allow-exit",
|
||||||
@@ -68,6 +62,9 @@
|
|||||||
"clipboard-manager:allow-write-text",
|
"clipboard-manager:allow-write-text",
|
||||||
"clipboard-manager:allow-read-image",
|
"clipboard-manager:allow-read-image",
|
||||||
"clipboard-manager:allow-write-image",
|
"clipboard-manager:allow-write-image",
|
||||||
|
"fs:allow-open",
|
||||||
|
"fs:allow-write",
|
||||||
|
"fs:allow-read",
|
||||||
"fs:allow-rename",
|
"fs:allow-rename",
|
||||||
"fs:allow-mkdir",
|
"fs:allow-mkdir",
|
||||||
"fs:allow-remove",
|
"fs:allow-remove",
|
||||||
@@ -82,6 +79,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"deny": ["$APPDATA/db/*.stronghold"]
|
"deny": ["$APPDATA/db/*.stronghold"]
|
||||||
}
|
},
|
||||||
|
"store:default"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
"updater:default",
|
"updater:default",
|
||||||
"global-shortcut:allow-unregister",
|
"global-shortcut:allow-unregister",
|
||||||
"global-shortcut:allow-register",
|
"global-shortcut:allow-register",
|
||||||
"global-shortcut:allow-unregister-all"
|
"global-shortcut:allow-unregister-all",
|
||||||
|
{ "identifier": "fs:allow-watch", "allow": ["*", "**/*"] },
|
||||||
|
"fs:allow-unwatch"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user