diff --git a/.changeset/afraid-turtles-roll.md b/.changeset/afraid-turtles-roll.md new file mode 100644 index 000000000..e6f1ac0ec --- /dev/null +++ b/.changeset/afraid-turtles-roll.md @@ -0,0 +1,5 @@ +--- +"create-farm": patch +--- + +Fix tauri development command in `create-farm` diff --git a/.changeset/brave-phones-shop.md b/.changeset/brave-phones-shop.md new file mode 100644 index 000000000..ddb263f35 --- /dev/null +++ b/.changeset/brave-phones-shop.md @@ -0,0 +1,5 @@ +--- +"create-farm": patch +--- + +Refactor `create-farm` prompts diff --git a/.changeset/silent-colts-juggle.md b/.changeset/silent-colts-juggle.md new file mode 100644 index 000000000..6be9fc3b8 --- /dev/null +++ b/.changeset/silent-colts-juggle.md @@ -0,0 +1,5 @@ +--- +"create-farm": patch +--- + +Fix supported templates display diff --git a/.changeset/tasty-ants-kick.md b/.changeset/tasty-ants-kick.md new file mode 100644 index 000000000..a9eaff13b --- /dev/null +++ b/.changeset/tasty-ants-kick.md @@ -0,0 +1,5 @@ +--- +"create-farm": patch +--- + +Auto rewrite template project name in `create-farm` diff --git a/.changeset/violet-lions-impress.md b/.changeset/violet-lions-impress.md new file mode 100644 index 000000000..e1ccc5eeb --- /dev/null +++ b/.changeset/violet-lions-impress.md @@ -0,0 +1,5 @@ +--- +"create-farm": patch +--- + +Support `create-farm` to run with `--force` diff --git a/crates/create-farm-rs/src/args.rs b/crates/create-farm-rs/src/args.rs index cc1a22e9c..ff0be43a9 100644 --- a/crates/create-farm-rs/src/args.rs +++ b/crates/create-farm-rs/src/args.rs @@ -1,5 +1,5 @@ use crate::{package_manager::PackageManager, template::Template}; -use clap::Parser; +use clap::{ArgAction, Parser}; #[derive(Parser, Debug)] #[command( @@ -15,6 +15,8 @@ pub struct Args { pub manager: Option, #[arg(short, long, help = "Project template to use")] pub template: Option