From 18ad810768bfa5b5a68570025f1f12b72d22ac65 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Tue, 19 Jan 2021 08:50:56 -0500 Subject: [PATCH] Chore: cleanup the CLI package --- Cargo.toml | 2 +- packages/{diopack => cli}/.gitignore | 0 packages/{diopack => cli}/.vscode/settings.json | 0 packages/{diopack => cli}/Cargo.toml | 2 +- packages/{diopack => cli}/README.md | 0 packages/{diopack => cli}/src/builder.rs | 0 packages/{diopack => cli}/src/cargo.rs | 0 packages/{diopack => cli}/src/cli.rs | 0 packages/{diopack => cli}/src/config.rs | 0 packages/{diopack => cli}/src/develop.rs | 0 packages/{diopack => cli}/src/error.rs | 0 packages/{diopack => cli}/src/lib.rs | 0 packages/{diopack => cli}/src/logging.rs | 0 packages/{diopack => cli}/src/main.rs | 1 + packages/{diopack => cli}/src/watch.rs | 0 packages/html-macro/Cargo.toml | 9 +++++---- 16 files changed, 8 insertions(+), 6 deletions(-) rename packages/{diopack => cli}/.gitignore (100%) rename packages/{diopack => cli}/.vscode/settings.json (100%) rename packages/{diopack => cli}/Cargo.toml (96%) rename packages/{diopack => cli}/README.md (100%) rename packages/{diopack => cli}/src/builder.rs (100%) rename packages/{diopack => cli}/src/cargo.rs (100%) rename packages/{diopack => cli}/src/cli.rs (100%) rename packages/{diopack => cli}/src/config.rs (100%) rename packages/{diopack => cli}/src/develop.rs (100%) rename packages/{diopack => cli}/src/error.rs (100%) rename packages/{diopack => cli}/src/lib.rs (100%) rename packages/{diopack => cli}/src/logging.rs (100%) rename packages/{diopack => cli}/src/main.rs (96%) rename packages/{diopack => cli}/src/watch.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 6c9992aca..e978d5349 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ "packages/recoil", "packages/redux", "packages/web", - "packages/diopack", + "packages/cli", # # # diff --git a/packages/diopack/.gitignore b/packages/cli/.gitignore similarity index 100% rename from packages/diopack/.gitignore rename to packages/cli/.gitignore diff --git a/packages/diopack/.vscode/settings.json b/packages/cli/.vscode/settings.json similarity index 100% rename from packages/diopack/.vscode/settings.json rename to packages/cli/.vscode/settings.json diff --git a/packages/diopack/Cargo.toml b/packages/cli/Cargo.toml similarity index 96% rename from packages/diopack/Cargo.toml rename to packages/cli/Cargo.toml index d9b8cfbec..9546ab45f 100644 --- a/packages/diopack/Cargo.toml +++ b/packages/cli/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "diopack" +name = "dioxus-cli" version = "0.0.0" authors = ["Jonathan Kelley "] edition = "2018" diff --git a/packages/diopack/README.md b/packages/cli/README.md similarity index 100% rename from packages/diopack/README.md rename to packages/cli/README.md diff --git a/packages/diopack/src/builder.rs b/packages/cli/src/builder.rs similarity index 100% rename from packages/diopack/src/builder.rs rename to packages/cli/src/builder.rs diff --git a/packages/diopack/src/cargo.rs b/packages/cli/src/cargo.rs similarity index 100% rename from packages/diopack/src/cargo.rs rename to packages/cli/src/cargo.rs diff --git a/packages/diopack/src/cli.rs b/packages/cli/src/cli.rs similarity index 100% rename from packages/diopack/src/cli.rs rename to packages/cli/src/cli.rs diff --git a/packages/diopack/src/config.rs b/packages/cli/src/config.rs similarity index 100% rename from packages/diopack/src/config.rs rename to packages/cli/src/config.rs diff --git a/packages/diopack/src/develop.rs b/packages/cli/src/develop.rs similarity index 100% rename from packages/diopack/src/develop.rs rename to packages/cli/src/develop.rs diff --git a/packages/diopack/src/error.rs b/packages/cli/src/error.rs similarity index 100% rename from packages/diopack/src/error.rs rename to packages/cli/src/error.rs diff --git a/packages/diopack/src/lib.rs b/packages/cli/src/lib.rs similarity index 100% rename from packages/diopack/src/lib.rs rename to packages/cli/src/lib.rs diff --git a/packages/diopack/src/logging.rs b/packages/cli/src/logging.rs similarity index 100% rename from packages/diopack/src/logging.rs rename to packages/cli/src/logging.rs diff --git a/packages/diopack/src/main.rs b/packages/cli/src/main.rs similarity index 96% rename from packages/diopack/src/main.rs rename to packages/cli/src/main.rs index 1518b961d..7a5df372c 100644 --- a/packages/diopack/src/main.rs +++ b/packages/cli/src/main.rs @@ -1,4 +1,5 @@ use diopack::cli::{LaunchCommand, LaunchOptions}; +use dioxus_cli as diopack; #[async_std::main] async fn main() -> diopack::error::Result<()> { diff --git a/packages/diopack/src/watch.rs b/packages/cli/src/watch.rs similarity index 100% rename from packages/diopack/src/watch.rs rename to packages/cli/src/watch.rs diff --git a/packages/html-macro/Cargo.toml b/packages/html-macro/Cargo.toml index eeda9a007..84ac05deb 100644 --- a/packages/html-macro/Cargo.toml +++ b/packages/html-macro/Cargo.toml @@ -2,11 +2,12 @@ name = "html-macro" version = "0.1.9" description = "html macro" -authors = ["Chinedu Francis Nwafili "] +authors = [ + "Jonathan Kelley", + "Chinedu Francis Nwafili ", +] keywords = ["virtual", "dom", "wasm", "assembly", "webassembly"] license = "MIT/Apache-2.0" -repository = "https://github.com/chinedufn/percy" -documentation = "https://chinedufn.github.io/percy/api/html_macro/" edition = "2018" [lib] @@ -16,4 +17,4 @@ proc-macro = true proc-macro2 = { version = "0.4", features = ["span-locations"] } quote = "0.6.11" syn = { version = "0.15", features = ["full", "extra-traits"] } -html-validation = {path = "../html-validation", version = "0.1.2"} +html-validation = { path = "../html-validation", version = "0.1.2" }