284 Commits

Author SHA1 Message Date
Fabian-Lars
e180c047ed ci: set up covector (#329)
* ci: set up covector

* remove postpublish

* push new tags to mirrors

* fetch tags of current repo in workflow file

* use our fork of create-pull-request action

* fmt

* use org tokens

* simplify string subst

* fmt again

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4799361831

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2023-04-25 15:32:33 +00:00
FabianLars
62b21ef243 fix: Change out dir of type declaration files, fixes #321
Closes #322

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4730794281

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2023-04-18 09:33:22 +00:00
Fabian-Lars
1638a2520e chore(deps): Update all deps. Run pnpm dedupe (#320)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4723441558

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2023-04-17 16:19:39 +00:00
Fabian-Lars
dc1574930c ci: set pnpm version (#319)
* ci: set pnpm version

* fmt

* missed one

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4723212261 \n\nCo-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2023-04-17 15:55:30 +00:00
Amr Bashir
f3310d55c2 feat(window-state): add js api, closes #254 (#309)
* feat(window-state): add js api, closes #254

* symlink tsconfig.json

* update symlink

* Update plugins/window-state/package.json

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update Cargo.toml

* move to cmd.rs

* Update plugins/window-state/guest-js/index.ts

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4723002931\nCo-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2023-04-17 15:33:01 +00:00
FabianLars
3a8b9a6b24 fix(sql): bind Value::Null as None in select query
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4407559882
2023-03-13 17:04:22 +00:00
FabianLars
34832fbe1e fix(sql): bind Value::Null as None, fixes #11 (#278)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4404994113
2023-03-13 12:41:18 +00:00
FabianLars
b945c7a74e feat(sql): Improve type decoding. Adds support for time and dates (#266)
* feat(sql): Improve type decoding. Adds support for time and dates

* remove default feat

* typo

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4335797420
2023-03-05 11:26:01 +00:00
FabianLars
abd8759ef4 chore: Add MSRV to all readmes (#255)
* chore: Add MSRV to all readmes

* fix single-instance support matrix

* wording

* wording

* typo

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4184387391
2023-02-15 13:33:19 +00:00
FabianLars
a446f737f0 fix(sql): derive datatype from value, not colomn (#118)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4183683080
2023-02-15 12:08:28 +00:00
FabianLars
3a1da9500f feat(sql): Handle JSON columns as TEXT columns and return content as string, closes #112 (#113)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4014474713
2023-01-26 10:54:42 +00:00
FabianLars
7eec233816 Fix sql example in readme (#91)
The line where the plugin is added: `.plugin(tauri_plugin_sql::Builder::default())` give my this error;

```the trait `Plugin<tauri_runtime_wry::Wry<EventLoopMessage>>` is not implemented for `tauri_plugin_sql::Builder````

I found this fix: https://github.com/tauri-apps/tauri/issues/5947 and it works.

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3923049064
2023-01-15 10:48:35 +00:00
FabianLars
7cd5d7249a fix: change dist for js files, fixes #76 for yarn3 (#88)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3903864444
2023-01-12 15:59:41 +00:00
FabianLars
c47fcf748a Merge pull request #85 from tauri-apps/websocket
chore: Add tauri-plugin-websocket history

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3902852969
2023-01-12 13:49:38 +00:00
FabianLars
f926d6abda fix(sql): don't panic if no migrations were provided, fixes #84
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3894269807
2023-01-11 15:34:28 +00:00
FabianLars
c045264ad6 fix(sql): derive default on Builder, fixes #82 (#83)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3893237057
2023-01-11 13:25:44 +00:00
FabianLars
9019e76d27 fix: fix path patterns in files property (#78)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3885686829
2023-01-10 17:21:55 +00:00
FabianLars
2682838d16 refactor: use builder style (#50)
* refactor(upload): use plugin builder style

* refactor(sql): use builder style

* refactor(fs-watch): use builder style

* refactor(fs-extra): use builder style

* refactor(auth): use builder style

* fmt

* fmt

Co-authored-by: FabianLars <fabianlars@fabianlars.de>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3862615009
2023-01-07 14:54:45 +00:00
JonasKruckenberg
f05e18b0fd Update sync.yml
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/3861974889
2023-01-07 12:03:57 +00:00
Vilian Gerdzhikov
5379183f13 getting rid of disgusting then calls (#175) 2022-11-18 18:35:23 +01:00
Vilian Gerdzhikov
5b6dd9f9a4 Formatting svelte (#174)
* formatting and update comments

* removed debugging console.log

* new app img
2022-11-18 15:17:41 +01:00
Vilian Gerdzhikov
3a85031f39 Improve svelte example (#173)
* Squashed commit of the following:

commit fbd2f50901df0dfa4283cf0687c0c584706a8e40
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Thu Nov 17 04:34:25 2022 +0200

    remove todo comment

commit 399ffdf64156bd4c999767e7bf4a5db90c7e9c3c
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Thu Nov 17 04:15:57 2022 +0200

    docs, rewrite todo store, ui updates

commit 5d408c34ea18b573517f626f89b5cdb36c0deed2
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Thu Nov 17 04:14:56 2022 +0200

    added tailwind

commit ce68a2a71c0679b71e89fa25934ff9ee20a56506
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 23:45:33 2022 +0200

    silence null type err

commit cde78f70fb1f8a7d0750cf81dbb8080f574a4adf
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 23:42:48 2022 +0200

    add doc comments

commit 8e83acc64d660ad7d774beb6536a8a68bc24d2ea
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 23:04:54 2022 +0200

    using generics instead of explicit type casting

commit f1f8c56e0dd054dda80ca65493080755e4fb7177
Merge: 2e29b58 3128e46
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 23:02:48 2022 +0200

    merge

commit 2e29b58f84813615b89afe839e32bbeaabb2fd22
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 23:00:31 2022 +0200

    removed unused imports

commit fa9623413b
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 12:45:33 2022 +0200

    fix path error due to project relocation

commit 4fe75ec5e6
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 12:39:01 2022 +0200

    remove old svelte example

commit e07deac29b
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Wed Nov 16 01:57:54 2022 +0200

    move example a folder up

commit 240b8e2956
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Tue Nov 15 10:54:21 2022 +0200

    ignore all target dirs

commit 36af3b2b2a
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Tue Nov 15 10:52:43 2022 +0200

    new svelte example

commit 3c81501ebf
Author: Fractal-Tess <vgfractal@gmail.com>
Date:   Mon Nov 14 15:37:52 2022 +0200

    silence rust-analyzer compiler error

* upgrade versions

* fix checkbox err, abstracted away todo component

* replaced copy /w open in file explorer
2022-11-17 23:50:10 +01:00
Vilian Gerdzhikov
3128e46281 chore: Rewrite svelte example (#170)
* new svelte example

* ignore all target dirs

* move example a folder up

* remove old svelte example

* fix path error due to project relocation

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2022-11-16 14:21:02 +01:00
Vilian Gerdzhikov
deefe16866 silence rust-analyzer compiler error (#168)
* silence rust-analyzer compiler error

* fix: disable deprecation warning

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-11-15 23:33:04 +01:00
Vilian Gerdzhikov
ed19472d89 fix: enable systray feature flag in svelte example (#169) 2022-11-14 15:30:33 +01:00
Alex Semin
c62fcb3599 Close all database pools when the app exits (#156)
* Close all database pools when the app exits

* Fix formatting
2022-11-01 12:47:32 +01:00
Ken Snyder
42a9ecd38b feat: add close api. Expand vue example (#157)
* chore: added a system-bar menu item to the example TODO app

* chore: updated screenshots in README

* chore: add github action to test matrix build of vue-todo example app

* chore: attempt to fix action by use of working-directory instead of run

* chore: added workflow_dispatch to github action

* chore: added name to new github action

* chore: adding vue-todo github action

* fix: added ACTIONS_ALLOW_UNSECURE_COMMANDS to action to address concern raised in Tauri package

* fix: take 2

* fix: vue-todo action changed to use "projectPath" instead of "working-directory"

* fix: explicit distPath

* chore: allow workflow_dispatch for test action

* chore: further updates to github actions

* fix: fixed action name

* chore: and again

* ag

* chore: ag2

* chore: moving back to working-directory

* fix: working dir path

* chore: I hate github actions and they hate me back

* fix: using npm over yarn

* chore: ag3

* chore: updated README with cross-os pictures

* chore: use safer exit routine

* chore: only add main window dropdown to macOS

* chore: add npm install steps to github action

* chore: simple script renaming on package.json to be more clear

* chore: updated image for windows app without the main window dropdown

* use cache v2 for npm

* chore: fixed typo

* chore: fixed another typo

* chore: switch away from "ci" target and back to just install

* chore: use package.json for caching

* chore: one more go

* chore: added missing dep that pnpm allowed for but npm does not

* chore: move away from npm install

* with working-direcotry

* add global install of pnpm

* working-dir

* use home dir not relative dir

* so so

* fix typo

* and

* one last time

* realy i'm done

* the build command should work

* fix pnpm install in background

* build webview first

* build webview first

* that's all for now folks

* i hate actions

* key

* no npm cache

* cache removal

* fix: remove single quotes in build:esm target

* chore: updated vue-todo action

* chore: added "libappindicator3" for linux install in github action

* chore: fixed apt-get package name

* chore: updated Rust and TS deps and moved to 2021 edition

* feature: added close() API to close database connection pools

* fix: remove duplicate brace

* ci: improve vue-todo workflow

* remove unused config.toml

* fix eslint error

* install instructions

* fix type

* rebuild webview-dist

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2022-10-11 13:30:28 +02:00
renovate[bot]
1b5e8e5852 fix(deps): change tauri version to 1 (#151)
* fix(deps): update rust crate tauri to 1.1

* Update Cargo.toml

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-09-15 20:00:20 +02:00
renovate[bot]
013b002d72 chore(deps): update dependency @rollup/plugin-node-resolve to v14 (#146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 13:43:35 +02:00
renovate[bot]
57cb997db0 chore(deps): update dependency @rollup/plugin-typescript to v8.5.0 (#145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 13:34:40 +02:00
renovate[bot]
fe09871338 chore(deps): update typescript-eslint monorepo to v5.36.2 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 13:34:05 +02:00
Fabian-Lars
373438ea8a fix(example): Update dependencies of svelte example. Closes #129 (#130)
* fix(example): Update dependencies of svelte example. Closes #129

* update sveltekit version + migration
2022-09-04 17:58:26 +02:00
renovate[bot]
ab899e90d4 fix(deps): update rust crate sqlx to 0.6 (#115)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 17:09:16 +02:00
renovate[bot]
db97cba1a2 chore(deps): update dependency typescript to v4.8.2 (#141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 16:38:52 +02:00
renovate[bot]
13ddfd31ac chore(deps): update dependency rollup to v2.79.0 (#138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 15:59:27 +02:00
renovate[bot]
993a3f822b chore(deps): update typescript-eslint monorepo to v5.36.1 (#135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 15:58:39 +02:00
renovate[bot]
5e4707f0d8 chore(deps): update dependency eslint to v8.23.0 (#134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 15:58:03 +02:00
renovate[bot]
ae9b032748 chore(deps): update dependency @rollup/plugin-typescript to v8.4.0 (#131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 15:56:31 +02:00
renovate[bot]
cbb33a741f fix(deps): change version of tokio to 1 (#125)
* fix(deps): update rust crate tokio to 1.21

* change tokio version to 1

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-09-04 15:55:12 +02:00
renovate[bot]
2191700775 chore(deps): update dependency typescript to v4.7.4 (#116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 20:07:35 +02:00
renovate[bot]
244bde2c84 chore(deps): update dependency eslint to v8.20.0 (#117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 20:07:15 +02:00
renovate[bot]
c06c91c87b chore(deps): update dependency rollup to v2.77.2 (#118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 20:06:57 +02:00
renovate[bot]
6fc617fb00 chore(deps): update typescript-eslint monorepo to v5.31.0 (#119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 20:06:39 +02:00
renovate[bot]
38f5895523 chore(deps): update dependency eslint-plugin-prettier to v4.2.1 (#120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-27 20:05:47 +02:00
Yuki Shindo
dd4b336982 fix(examples): Add vite to todos-app (#123)
* [examples:todos-app]: Add vite

* Commit a diff
2022-07-12 02:36:03 +02:00
Fabian-Lars
0ecceb7ab1 Merge pull request #114 from tauri-apps/renovate/tauri-monorepo
fix(deps): update tauri monorepo
2022-07-10 22:31:22 +02:00
Fabian-Lars
b48f77da00 fix examples for tauri@v1 2022-07-10 22:09:39 +02:00
renovate[bot]
ddb69d4ed2 fix(deps): update tauri monorepo 2022-07-06 21:22:59 +00:00
Fabian-Lars
f5921d0264 Merge pull request #108 from tauri-apps/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v5.28.0
2022-06-16 13:35:11 +02:00
Fabian-Lars
be57af961b Merge pull request #113 from tauri-apps/renovate/prettier-2.x
chore(deps): update dependency prettier to v2.7.1
2022-06-16 13:34:49 +02:00