Enhance PatchSet data model update handling and update default project path in CLI

- Improved the `removeDataModelName` function in PatchSet to remove names from both `changedName` and `changedProperties`, ensuring more robust update management.
- Updated the default project path in the ServeCommand struct to `default.project.json5` for clearer project serving expectations.
This commit is contained in:
Joe 2026-01-30 11:35:49 -06:00
parent 77088eccd8
commit a98d5c6cce
2 changed files with 21 additions and 6 deletions

View file

@ -19,8 +19,8 @@ const DEFAULT_PORT: u16 = 34872;
/// Expose a Rojo project to the Rojo Studio plugin.
#[derive(Debug, Parser)]
pub struct ServeCommand {
/// Path to the project to serve. Defaults to the current directory.
#[clap(default_value = "")]
/// Path to the project to serve. Defaults to `default.project.json5`.
#[clap(default_value = "default.project.json5")]
pub project: PathBuf,
/// The IP address to listen on. Defaults to `127.0.0.1`.