From 485e25a22a20dbc489b0332f9f1bc9d969272385 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Dec 2021 17:18:59 -0300 Subject: [PATCH] chore(deps) Update Tauri CLI (#3074) Co-authored-by: Renovate Bot Co-authored-by: Lucas Nogueira --- tooling/cli.rs/Cargo.lock | 18 +++++++++--------- tooling/cli.rs/Cargo.toml | 10 +++++----- tooling/cli.rs/config_definition.rs | 2 +- tooling/cli.rs/src/build.rs | 2 +- tooling/cli.rs/src/interface/rust.rs | 2 +- tooling/cli.rs/src/plugin/init.rs | 2 +- .../with-api/examples/svelte-app/package.json | 10 +++++----- .../templates/plugin/with-api/package.json | 6 +++--- 8 files changed, 26 insertions(+), 26 deletions(-) diff --git a/tooling/cli.rs/Cargo.lock b/tooling/cli.rs/Cargo.lock index 8f712c858..19c9ec726 100644 --- a/tooling/cli.rs/Cargo.lock +++ b/tooling/cli.rs/Cargo.lock @@ -229,9 +229,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.0.0-rc.0" +version = "3.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79b70f999da60e6619a29b131739d2211ed4d4301f40372e94a8081422e9d6c7" +checksum = "9d358d5dcd274692e60df775bd452f66341a49ab90cc6cc1084c4350a3f914d9" dependencies = [ "atty", "bitflags", @@ -246,9 +246,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.0.0-rc.0" +version = "3.0.0-rc.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe8c0f28022faaef0387fa54f8e33fee22b804a88bbd91303197da2ff8ca6a5d" +checksum = "6a0823802ec32930a7b22133dc3a8b7cf297297e8af413e59d2fbbf864c7bd63" dependencies = [ "heck 0.3.3", "proc-macro-error", @@ -1184,9 +1184,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" +checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" [[package]] name = "opaque-debug" @@ -1991,7 +1991,7 @@ dependencies = [ "encode_unicode", "glob", "handlebars", - "heck 0.3.3", + "heck 0.4.0", "include_dir", "json-patch", "lazy_static", @@ -2125,9 +2125,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.10.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "506eddc39809976da80f4cd83941cf9ee3bbcccbeb5aa16e9592662899b41054" +checksum = "c14e16aafed5fb7a1bdc293270ca28f17d0a09b4f528f8de34521f2a32d99198" dependencies = [ "combine", "indexmap", diff --git a/tooling/cli.rs/Cargo.toml b/tooling/cli.rs/Cargo.toml index 5a1bfcb2e..3ca15f164 100644 --- a/tooling/cli.rs/Cargo.toml +++ b/tooling/cli.rs/Cargo.toml @@ -18,17 +18,17 @@ name = "cargo-tauri" path = "src/main.rs" [dependencies] -clap = { version = "3.0.0-rc.0", features = [ "derive" ] } +clap = { version = "=3.0.0-rc.5", features = [ "derive" ] } anyhow = "1.0" tauri-bundler = { version = "1.0.0-beta.4", path = "../bundler" } colored = "2.0" -once_cell = "1.8" +once_cell = "1.9" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" serde_with = "1.11" notify = "4.0" shared_child = "1.0" -toml_edit = "0.10" +toml_edit = "0.12" json-patch = "0.2" schemars = { version = "0.8", features = ["url"] } toml = "0.5" @@ -48,7 +48,7 @@ unicode-width = "0.1" tempfile = "3" zeroize = "1.4" glob = "0.3" -heck = "0.3" +heck = "0.4" dialoguer = "0.9" url = { version = "2.2", features = [ "serde" ] } @@ -56,7 +56,7 @@ url = { version = "2.2", features = [ "serde" ] } encode_unicode = "0.3" [target."cfg(target_os = \"linux\")".build-dependencies] -heck = "0.3" +heck = "0.4" [build-dependencies] schemars = { version = "0.8", features = ["url"] } diff --git a/tooling/cli.rs/config_definition.rs b/tooling/cli.rs/config_definition.rs index 4972744bf..3d0041db4 100644 --- a/tooling/cli.rs/config_definition.rs +++ b/tooling/cli.rs/config_definition.rs @@ -5,7 +5,7 @@ #![allow(clippy::field_reassign_with_default)] #[cfg(target_os = "linux")] -use heck::KebabCase; +use heck::ToKebabCase; use schemars::JsonSchema; use serde::{Deserialize, Serialize}; use serde_json::Value as JsonValue; diff --git a/tooling/cli.rs/src/build.rs b/tooling/cli.rs/src/build.rs index 9f2bbcf1d..8992130a6 100644 --- a/tooling/cli.rs/src/build.rs +++ b/tooling/cli.rs/src/build.rs @@ -15,7 +15,7 @@ use crate::Result; use anyhow::Context; use clap::Parser; #[cfg(target_os = "linux")] -use heck::KebabCase; +use heck::ToKebabCase; use std::{env::set_current_dir, fs::rename, path::PathBuf, process::Command}; use tauri_bundler::bundle::{bundle_project, PackageType}; diff --git a/tooling/cli.rs/src/interface/rust.rs b/tooling/cli.rs/src/interface/rust.rs index bc946d60c..7ac2f8c22 100644 --- a/tooling/cli.rs/src/interface/rust.rs +++ b/tooling/cli.rs/src/interface/rust.rs @@ -12,7 +12,7 @@ use std::{ use anyhow::Context; #[cfg(target_os = "linux")] -use heck::KebabCase; +use heck::ToKebabCase; use serde::Deserialize; use crate::helpers::{app_paths::tauri_dir, config::Config, manifest::Manifest, Logger}; diff --git a/tooling/cli.rs/src/plugin/init.rs b/tooling/cli.rs/src/plugin/init.rs index 8243b98eb..960661ed5 100644 --- a/tooling/cli.rs/src/plugin/init.rs +++ b/tooling/cli.rs/src/plugin/init.rs @@ -10,7 +10,7 @@ use crate::{ use anyhow::Context; use clap::{ArgSettings, Parser}; use handlebars::{to_json, Handlebars}; -use heck::{KebabCase, SnakeCase}; +use heck::{ToKebabCase, ToSnakeCase}; use include_dir::{include_dir, Dir}; use std::{collections::BTreeMap, env::current_dir, fs::remove_dir_all, path::PathBuf}; diff --git a/tooling/cli.rs/templates/plugin/with-api/examples/svelte-app/package.json b/tooling/cli.rs/templates/plugin/with-api/examples/svelte-app/package.json index fe17458ca..2a3f7d878 100644 --- a/tooling/cli.rs/templates/plugin/with-api/examples/svelte-app/package.json +++ b/tooling/cli.rs/templates/plugin/with-api/examples/svelte-app/package.json @@ -10,20 +10,20 @@ }, "devDependencies": { "@rollup/plugin-commonjs": "21.0.1", - "@rollup/plugin-node-resolve": "13.0.6", + "@rollup/plugin-node-resolve": "13.1.1", "@rollup/plugin-typescript": "8.3.0", "@tauri-apps/cli": "1.0.0-beta.10", "@tsconfig/svelte": "2.0.1", - "rollup": "2.60.2", + "rollup": "2.61.1", "rollup-plugin-css-only": "3.1.0", "rollup-plugin-livereload": "2.0.5", "rollup-plugin-svelte": "7.1.0", "rollup-plugin-terser": "7.0.2", - "svelte": "3.44.2", + "svelte": "3.44.3", "svelte-check": "2.2.10", - "svelte-preprocess": "4.9.8", + "svelte-preprocess": "4.10.0", "tslib": "2.3.1", - "typescript": "4.5.2" + "typescript": "4.5.4" }, "dependencies": { "sirv-cli": "1.0.14", diff --git a/tooling/cli.rs/templates/plugin/with-api/package.json b/tooling/cli.rs/templates/plugin/with-api/package.json index ebbd5108a..eb2f7b540 100644 --- a/tooling/cli.rs/templates/plugin/with-api/package.json +++ b/tooling/cli.rs/templates/plugin/with-api/package.json @@ -12,11 +12,11 @@ "pretest": "yarn build" }, "devDependencies": { - "@rollup/plugin-node-resolve": "13.0.6", + "@rollup/plugin-node-resolve": "13.1.1", "@rollup/plugin-typescript": "8.3.0", - "rollup": "2.60.2", + "rollup": "2.61.1", "rollup-plugin-terser": "7.0.2", - "typescript": "4.5.2" + "typescript": "4.5.4" }, "dependencies": { "@tauri-apps/api": "1.0.0-beta.8",