Skip to content

Commit

Permalink
Update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Dec 17, 2024
1 parent 743fe4f commit 053f911
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ starbase_archive = { version = "0.9.0", features = [
"zip",
"zip-deflate",
] }
starbase_console = { version = "0.1.0", features = ["ui"] }
starbase_console = { version = "0.1.1", features = ["ui"] }
starbase_events = { version = "0.6.3" }
starbase_sandbox = { version = "0.8.0" }
starbase_shell = { version = "0.6.8", features = ["miette"] }
starbase_styles = { version = "0.4.8" }
starbase_styles = { version = "0.4.9" }
starbase_utils = { version = "0.9.1", default-features = false, features = [
"json",
"miette",
Expand Down
8 changes: 7 additions & 1 deletion crates/cli/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ use proto_core::{
use rustc_hash::FxHashSet;
use semver::Version;
use starbase::{AppResult, AppSession};
use starbase_console::ui::{style_to_color, ConsoleTheme};
use starbase_console::{Console, EmptyReporter};
use starbase_styles::Style;
use std::sync::Arc;
use tokio::task::JoinSet;
use tracing::debug;
Expand All @@ -38,10 +40,14 @@ pub struct ProtoSession {

impl ProtoSession {
pub fn new(cli: CLI) -> Self {
let mut console = Console::<EmptyReporter>::new(false);
console.set_theme(ConsoleTheme::branded(style_to_color(Style::Shell)));
console.set_reporter(EmptyReporter);

Self {
cli,
cli_version: Version::parse(env!("CARGO_PKG_VERSION")).unwrap(),
console: Console::new(false),
console,
env: Arc::new(ProtoEnvironment::default()),
}
}
Expand Down

0 comments on commit 053f911

Please sign in to comment.