From 36698d14363a6d1c14920c451d042e12f99432c8 Mon Sep 17 00:00:00 2001 From: Jonas Kruckenberg Date: Wed, 14 Dec 2022 20:39:21 +0100 Subject: [PATCH] fmt --- .eslintrc.json | 6 ++++- .github/workflows/audit-javascript.yml | 8 +++--- .github/workflows/audit-rust.yml | 8 +++--- .github/workflows/lint-javascript.yml | 22 ++++++++--------- .github/workflows/lint-rust.yml | 34 +++++++++++++------------- README.md | 28 ++++++++++----------- plugins/authenticator/README.md | 4 ++- plugins/autostart/README.md | 4 ++- plugins/fs-extra/README.md | 4 ++- plugins/fs-watch/README.md | 4 ++- plugins/localhost/README.md | 4 ++- plugins/log/README.md | 4 ++- plugins/persisted-scope/README.md | 4 ++- plugins/positioner/CHANGELOG.md | 2 +- plugins/positioner/README.md | 4 ++- plugins/sql/README.md | 4 ++- plugins/store/README.md | 4 ++- plugins/stronghold/README.md | 4 ++- plugins/upload/README.md | 4 ++- plugins/websocket/README.md | 4 ++- plugins/window-state/README.md | 4 ++- shared/template/README.md | 4 ++- 22 files changed, 101 insertions(+), 67 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 8400987e1..4cc47de1c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,7 +3,11 @@ "browser": true, "es2021": true }, - "extends": ["prettier", "eslint:recommended", "plugin:@typescript-eslint/recommended"], + "extends": [ + "prettier", + "eslint:recommended", + "plugin:@typescript-eslint/recommended" + ], "overrides": [], "parser": "@typescript-eslint/parser", "parserOptions": { diff --git a/.github/workflows/audit-javascript.yml b/.github/workflows/audit-javascript.yml index 6fb6a60a7..5d971450a 100644 --- a/.github/workflows/audit-javascript.yml +++ b/.github/workflows/audit-javascript.yml @@ -3,19 +3,19 @@ name: Audit JavaScript on: workflow_dispatch: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" push: branches: - dev paths: - - '.github/workflows/audit-javascript.yml' + - ".github/workflows/audit-javascript.yml" - "**/pnpm-lock.yaml" - "**/package.json" pull_request: branches: - dev paths: - - '.github/workflows/audit-javascript.yml' + - ".github/workflows/audit-javascript.yml" - "**/pnpm-lock.yaml" - "**/package.json" @@ -42,4 +42,4 @@ jobs: with: run_install: true - name: audit - run: pnpm audit \ No newline at end of file + run: pnpm audit diff --git a/.github/workflows/audit-rust.yml b/.github/workflows/audit-rust.yml index ff1cccbf5..f3ae64e24 100644 --- a/.github/workflows/audit-rust.yml +++ b/.github/workflows/audit-rust.yml @@ -3,19 +3,19 @@ name: Audit Rust on: workflow_dispatch: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" push: branches: - dev paths: - - '.github/workflows/audit-rust.yml' + - ".github/workflows/audit-rust.yml" - "**/Cargo.lock" - "**/Cargo.toml" pull_request: branches: - dev paths: - - '.github/workflows/audit-rust.yml' + - ".github/workflows/audit-rust.yml" - "**/Cargo.lock" - "**/Cargo.toml" @@ -30,4 +30,4 @@ jobs: - uses: actions/checkout@v3 - uses: actions-rs/audit-check@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint-javascript.yml b/.github/workflows/lint-javascript.yml index d834ec471..3fbe96e37 100644 --- a/.github/workflows/lint-javascript.yml +++ b/.github/workflows/lint-javascript.yml @@ -5,21 +5,21 @@ on: branches: - dev paths: - - '.github/workflows/lint-javascript.yml' - - 'plugins/*/guest-js/**' - - '.eslintignore' - - '.eslintrc.json' - - '.prettierignore' + - ".github/workflows/lint-javascript.yml" + - "plugins/*/guest-js/**" + - ".eslintignore" + - ".eslintrc.json" + - ".prettierignore" - "**/package.json" pull_request: branches: - dev paths: - - '.github/workflows/lint-javascript.yml' - - 'plugins/*/guest-js/**' - - '.eslintignore' - - '.eslintrc.json' - - '.prettierignore' + - ".github/workflows/lint-javascript.yml" + - "plugins/*/guest-js/**" + - ".eslintignore" + - ".eslintrc.json" + - ".prettierignore" - "**/package.json" concurrency: @@ -64,4 +64,4 @@ jobs: with: run_install: true - name: prettier check - run: pnpm format-check \ No newline at end of file + run: pnpm format-check diff --git a/.github/workflows/lint-rust.yml b/.github/workflows/lint-rust.yml index 313dc18dc..03dc26743 100644 --- a/.github/workflows/lint-rust.yml +++ b/.github/workflows/lint-rust.yml @@ -5,15 +5,15 @@ on: branches: - dev paths: - - '.github/workflows/lint-rust.yml' - - 'plugins/src/**' + - ".github/workflows/lint-rust.yml" + - "plugins/src/**" - "**/Cargo.toml" pull_request: branches: - dev paths: - - '.github/workflows/lint-rust.yml' - - 'plugins/src/**' + - ".github/workflows/lint-rust.yml" + - "plugins/src/**" - "**/Cargo.toml" concurrency: @@ -27,7 +27,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - name: install webkit2gtk run: | sudo apt-get update @@ -35,10 +35,10 @@ jobs: - name: Install clippy with stable toolchain uses: actions-rs/toolchain@v1 with: - profile: minimal - toolchain: stable - override: true - components: clippy + profile: minimal + toolchain: stable + override: true + components: clippy - uses: Swatinem/rust-cache@v1 - uses: actions-rs/clippy-check@v1 with: @@ -51,15 +51,15 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v3 - - name: Install rustfmt with nightly toolchain - uses: actions-rs/toolchain@v1 - with: + - uses: actions/checkout@v3 + - name: Install rustfmt with nightly toolchain + uses: actions-rs/toolchain@v1 + with: profile: minimal toolchain: nightly override: true components: rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check \ No newline at end of file + - uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check diff --git a/README.md b/README.md index 0ba833002..215d2d1a7 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,17 @@ | | | Win | Mac | Lin | iOS | And | | ------------------------------------------ | --------------------------------------------------------- | --- | --- | --- | --- | --- | -| [authenticator](plugins/authenticator) | Interface with hardware security keys. | ✅ | ✅ | ✅ | ? | ? | -| [autostart](plugins/autostart) | Automatically launch your app at system startup. | ✅ | ✅ | ✅ | ? | ? | -| [fs-extra](plugins/fs-extra) | File system methods that aren't included in the core API. | ✅ | ✅ | ✅ | ? | ? | -| [fs-watch](plugins/fs-watch) | Watch the filesystem for changes. | ✅ | ✅ | ✅ | ? | ? | -| [localhost](plugins/localhost) | Use a localhost server in production apps. | ✅ | ✅ | ✅ | ? | ? | -| [log](plugins/log) | Configurable logging. | ✅ | ✅ | ✅ | ? | ? | -| [persisted-scope](plugins/persisted-scope) | Persist runtime scope changes on the filesystem. | ✅ | ✅ | ✅ | ? | ? | -| [positioner](plugins/positioner) | Move windows to common locations. | ✅ | ✅ | ✅ | ? | ? | -| [sql](plugins/sql) | Interface with SQL databases. | ✅ | ✅ | ✅ | ? | ? | -| [store](plugins/store) | Persistent key value storage. | ✅ | ✅ | ✅ | ? | ? | -| [stronghold](plugins/stronghold) | Encrypted, secure database. | ✅ | ✅ | ✅ | ? | ? | -| [upload](plugins/upload) | Tauri plugin for file uploads through HTTP. | ✅ | ✅ | ✅ | ? | ? | -| [websocket](plugins/websocket) | | ✅ | ✅ | ✅ | ? | ? | -| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? | \ No newline at end of file +| [authenticator](plugins/authenticator) | Interface with hardware security keys. | ✅ | ✅ | ✅ | ? | ? | +| [autostart](plugins/autostart) | Automatically launch your app at system startup. | ✅ | ✅ | ✅ | ? | ? | +| [fs-extra](plugins/fs-extra) | File system methods that aren't included in the core API. | ✅ | ✅ | ✅ | ? | ? | +| [fs-watch](plugins/fs-watch) | Watch the filesystem for changes. | ✅ | ✅ | ✅ | ? | ? | +| [localhost](plugins/localhost) | Use a localhost server in production apps. | ✅ | ✅ | ✅ | ? | ? | +| [log](plugins/log) | Configurable logging. | ✅ | ✅ | ✅ | ? | ? | +| [persisted-scope](plugins/persisted-scope) | Persist runtime scope changes on the filesystem. | ✅ | ✅ | ✅ | ? | ? | +| [positioner](plugins/positioner) | Move windows to common locations. | ✅ | ✅ | ✅ | ? | ? | +| [sql](plugins/sql) | Interface with SQL databases. | ✅ | ✅ | ✅ | ? | ? | +| [store](plugins/store) | Persistent key value storage. | ✅ | ✅ | ✅ | ? | ? | +| [stronghold](plugins/stronghold) | Encrypted, secure database. | ✅ | ✅ | ✅ | ? | ? | +| [upload](plugins/upload) | Tauri plugin for file uploads through HTTP. | ✅ | ✅ | ✅ | ? | ? | +| [websocket](plugins/websocket) | | ✅ | ✅ | ✅ | ? | ? | +| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? | diff --git a/plugins/authenticator/README.md b/plugins/authenticator/README.md index 8d0e6c469..9b0fdcbe1 100644 --- a/plugins/authenticator/README.md +++ b/plugins/authenticator/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/autostart/README.md b/plugins/autostart/README.md index 7f5d3f50c..6fb456539 100644 --- a/plugins/autostart/README.md +++ b/plugins/autostart/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/fs-extra/README.md b/plugins/fs-extra/README.md index 6794bd762..6047161d6 100644 --- a/plugins/fs-extra/README.md +++ b/plugins/fs-extra/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/fs-watch/README.md b/plugins/fs-watch/README.md index e81ed211b..1c11acf05 100644 --- a/plugins/fs-watch/README.md +++ b/plugins/fs-watch/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/localhost/README.md b/plugins/localhost/README.md index 095d06ef0..66c0c5879 100644 --- a/plugins/localhost/README.md +++ b/plugins/localhost/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/log/README.md b/plugins/log/README.md index e6cbe721d..79504c989 100644 --- a/plugins/log/README.md +++ b/plugins/log/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/persisted-scope/README.md b/plugins/persisted-scope/README.md index 97fc7fd3a..3891b209f 100644 --- a/plugins/persisted-scope/README.md +++ b/plugins/persisted-scope/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/positioner/CHANGELOG.md b/plugins/positioner/CHANGELOG.md index 02a58e558..711997802 100644 --- a/plugins/positioner/CHANGELOG.md +++ b/plugins/positioner/CHANGELOG.md @@ -54,4 +54,4 @@ - [119d9c4](https://www.github.com/JonasKruckenberg/tauri-plugin-positioner/commit/119d9c47639e1df16f5520a08f039bdb6f39532b) update metadata on 2021-11-19 - [39e517c](https://www.github.com/JonasKruckenberg/tauri-plugin-positioner/commit/39e517c145a4a901839ae9b46e296370ce6ababf) Update update-metadata.md on 2021-11-19 data on 2021-11-19 - - [39e517c](https://www.github.com/JonasKruckenberg/tauri-plugin-positioner/commit/39e517c145a4a901839ae9b46e296370ce6ababf) Update update-metadata.md on 2021-11-19 \ No newline at end of file + - [39e517c](https://www.github.com/JonasKruckenberg/tauri-plugin-positioner/commit/39e517c145a4a901839ae9b46e296370ce6ababf) Update update-metadata.md on 2021-11-19 diff --git a/plugins/positioner/README.md b/plugins/positioner/README.md index 5a17b142d..5eb5195e4 100644 --- a/plugins/positioner/README.md +++ b/plugins/positioner/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/sql/README.md b/plugins/sql/README.md index a0e58b02a..8649c7392 100644 --- a/plugins/sql/README.md +++ b/plugins/sql/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/store/README.md b/plugins/store/README.md index ba0e00c46..8baf2b8e9 100644 --- a/plugins/store/README.md +++ b/plugins/store/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/stronghold/README.md b/plugins/stronghold/README.md index cb2e59282..0f5158c48 100644 --- a/plugins/stronghold/README.md +++ b/plugins/stronghold/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/upload/README.md b/plugins/upload/README.md index 94430a7da..04bb34001 100644 --- a/plugins/upload/README.md +++ b/plugins/upload/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/websocket/README.md b/plugins/websocket/README.md index a287c37b5..a864895b1 100644 --- a/plugins/websocket/README.md +++ b/plugins/websocket/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/plugins/window-state/README.md b/plugins/window-state/README.md index dbb28f1df..3f2619a2a 100644 --- a/plugins/window-state/README.md +++ b/plugins/window-state/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable. diff --git a/shared/template/README.md b/shared/template/README.md index cf5adb351..97196018f 100644 --- a/shared/template/README.md +++ b/shared/template/README.md @@ -5,11 +5,13 @@ ## Install ``` + ``` ## Usage ``` + ``` ## Contributing @@ -20,4 +22,4 @@ PRs accepted. Please make sure to read the Contributing Guide before making a pu Code: (c) 2015 - 2021 - The Tauri Programme within The Commons Conservancy. -MIT or MIT/Apache 2.0 where applicable. \ No newline at end of file +MIT or MIT/Apache 2.0 where applicable.