Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2be5cfe
add component subcommand
ealmloff Sep 15, 2025
af28ffd
Merge branch 'remote-origin' into dx-components-command
ealmloff Sep 15, 2025
60a1006
add dx component add, remove and list commands
ealmloff Sep 16, 2025
94dd8ef
handle rust dependencies
ealmloff Sep 16, 2025
c35262a
handle component dependencies
ealmloff Sep 17, 2025
c9346f7
fetch remote registries
ealmloff Sep 17, 2025
6640345
sort components before listing them
ealmloff Sep 17, 2025
89d6a00
remove local dependency
ealmloff Sep 17, 2025
84bf206
move te component manifest into the dioxus workspace
ealmloff Sep 18, 2025
5a92333
add additional instalation instructions the first time the component
ealmloff Sep 18, 2025
ee9cf63
fix mod name
ealmloff Sep 18, 2025
04c865c
fix clippy
ealmloff Sep 18, 2025
c201197
improve docs and move to the main branch of components
ealmloff Sep 19, 2025
29fa5d6
fix typos
ealmloff Sep 19, 2025
9b34aeb
more typos
ealmloff Sep 19, 2025
36f4d8e
undo const-serialize changes
ealmloff Sep 19, 2025
3987bc9
remove a few unwraps
ealmloff Sep 19, 2025
1798a01
Allow adding multiple components at once and add a `--all` flag
ealmloff Sep 22, 2025
e4950ce
add options to the config for the base path, global asset path and
ealmloff Sep 22, 2025
f2b782c
component_path -> component_dir
ealmloff Sep 22, 2025
195bc4b
component_dir is always relative to the crate root
ealmloff Sep 22, 2025
987366a
fix clippy
ealmloff Sep 22, 2025
afc5178
Merge branch 'remote-origin' into dx-components-command
ealmloff Oct 7, 2025
795cb6d
Merge branch 'remote-origin' into dx-components-command
ealmloff Oct 7, 2025
5cdc17c
fix request imports
ealmloff Oct 7, 2025
de8f7aa
Merge remote-tracking branch 'origin/main' into dx-components-command
jkelleyrtp Oct 8, 2025
105b6f6
wip: code style changes
jkelleyrtp Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ members = [
"packages/native-dom",
"packages/asset-resolver",
"packages/depinfo",
"packages/component-manifest",

# CLI harnesses, all included
"packages/cli-harnesses/*",
Expand Down Expand Up @@ -182,6 +183,7 @@ dioxus-native = { path = "packages/native", version = "0.7.0-rc.0" }
dioxus-native-dom = { path = "packages/native-dom", version = "0.7.0-rc.0" }
dioxus-asset-resolver = { path = "packages/asset-resolver", version = "0.7.0-rc.0" }
dioxus-config-macros = { path = "packages/config-macros", version = "0.7.0-rc.0" }
dioxus-component-manifest = { path = "packages/component-manifest", version = "0.7.0-rc.0" }

generational-box = { path = "packages/generational-box", version = "0.7.0-rc.0" }
lazy-js-bundle = { path = "packages/lazy-js-bundle", version = "0.7.0-rc.0" }
Expand Down Expand Up @@ -948,4 +950,4 @@ doc-scrape-examples = true

[[example]]
name = "__scrape_example_list"
path = "examples/scripts/scrape_examples.rs"
path = "examples/scripts/scrape_examples.rs"
2 changes: 2 additions & 0 deletions packages/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ wasm-split-cli = { workspace = true }
depinfo = { workspace = true }
subsecond-types = { workspace = true }
dioxus-cli-telemetry = { workspace = true }
dioxus-component-manifest = { workspace = true }

clap = { workspace = true, features = ["derive", "cargo"] }
convert_case = { workspace = true }
Expand Down Expand Up @@ -78,6 +79,7 @@ dunce = { workspace = true }
dirs = { workspace = true }
reqwest = { workspace = true, features = ["rustls-tls", "trust-dns", "json"] }
tower = { workspace = true }
git2 = "0.20.2"

# path lookup
which = { version = "8.0.0" }
Expand Down
10 changes: 3 additions & 7 deletions packages/cli/src/build/builder.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{
serve::WebServer, BuildArtifacts, BuildRequest, BuildStage, BuilderUpdate, BundleFormat,
ProgressRx, ProgressTx, Result, RustcArgs, StructuredOutput,
serve::WebServer, verbosity_or_default, BuildArtifacts, BuildRequest, BuildStage,
BuilderUpdate, BundleFormat, ProgressRx, ProgressTx, Result, RustcArgs, StructuredOutput,
};
use anyhow::{bail, Context};
use dioxus_cli_opt::process_file_to;
Expand Down Expand Up @@ -489,11 +489,7 @@ impl AppBuilder {
));
}

if crate::VERBOSITY
.get()
.map(|f| f.verbose)
.unwrap_or_default()
{
if verbosity_or_default().verbose {
envs.push(("RUST_BACKTRACE".into(), "1".to_string()));
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/build/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,7 @@ impl BuildRequest {
cargo_args.push(self.executable_name().to_string());

// Set offline/locked/frozen
let lock_opts = crate::VERBOSITY.get().cloned().unwrap_or_default();
let lock_opts = crate::verbosity_or_default();
if lock_opts.frozen {
cargo_args.push("--frozen".to_string());
}
Expand Down
Loading
Loading