diff --git a/Cargo.lock b/Cargo.lock index ed4124fa644..b05506058e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3014,7 +3014,7 @@ version = "0.1.0" dependencies = [ "miette", "moon_common", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_target", "moon_utils", "serde", @@ -3366,7 +3366,7 @@ version = "0.1.0" dependencies = [ "miette", "moon_config", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_tool", "proto_core", "rustc-hash", @@ -3408,7 +3408,7 @@ dependencies = [ "miette", "moon_action", "moon_action_context", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_project", "moon_target", "moon_task", @@ -3542,7 +3542,7 @@ dependencies = [ "moon_config", "moon_logger", "moon_node_lang", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_process", "moon_terminal", "moon_tool", @@ -3607,7 +3607,7 @@ dependencies = [ "moon_common", "moon_config", "moon_hash", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_process", "moon_project", "moon_task", @@ -3635,7 +3635,7 @@ dependencies = [ ] [[package]] -name = "moon_platform_runtime2" +name = "moon_platform_runtime" version = "0.1.0" dependencies = [ "moon_config", @@ -3796,7 +3796,7 @@ dependencies = [ "moon_hash", "moon_logger", "moon_platform", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_process", "moon_project", "moon_target", @@ -3873,7 +3873,7 @@ dependencies = [ "miette", "moon_config", "moon_logger", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_process", "moon_terminal", "moon_tool", @@ -3991,7 +3991,7 @@ dependencies = [ "async-trait", "miette", "moon_lang", - "moon_platform_runtime2", + "moon_platform_runtime", "moon_process", "proto_core", "rustc-hash", diff --git a/crates/core/action/Cargo.toml b/crates/core/action/Cargo.toml index 1acf7da1538..7d8a6a0046b 100644 --- a/crates/core/action/Cargo.toml +++ b/crates/core/action/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] moon_common = { path = "../../../nextgen/common" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_target = { path = "../../../nextgen/target" } moon_utils = { path = "../utils" } miette = { workspace = true } diff --git a/crates/core/action/src/node.rs b/crates/core/action/src/node.rs index 49fcafc43a1..f79e2a63f54 100644 --- a/crates/core/action/src/node.rs +++ b/crates/core/action/src/node.rs @@ -1,5 +1,5 @@ use moon_common::Id; -use moon_platform_runtime2::Runtime; +use moon_platform_runtime::Runtime; use moon_target::Target; use serde::Serialize; use std::hash::{Hash, Hasher}; diff --git a/crates/core/emitter/Cargo.toml b/crates/core/emitter/Cargo.toml index 78fc6cca335..d2de0a23737 100644 --- a/crates/core/emitter/Cargo.toml +++ b/crates/core/emitter/Cargo.toml @@ -14,7 +14,7 @@ harness = false [dependencies] moon_action = { path = "../action" } moon_action_context = { path = "../action-context" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_project = { path = "../../../nextgen/project" } moon_target = { path = "../../../nextgen/target" } moon_task = { path = "../../../nextgen/task" } diff --git a/crates/core/emitter/src/event.rs b/crates/core/emitter/src/event.rs index 0481ac5ab47..7552a2cbfc6 100644 --- a/crates/core/emitter/src/event.rs +++ b/crates/core/emitter/src/event.rs @@ -1,6 +1,6 @@ use moon_action::{Action, ActionNode}; use moon_action_context::ActionContext; -use moon_platform_runtime2::Runtime; +use moon_platform_runtime::Runtime; use moon_project::Project; use moon_target::Target; use moon_task::Task; diff --git a/crates/core/platform/Cargo.toml b/crates/core/platform/Cargo.toml index af605d9b2a6..8703ed1207c 100644 --- a/crates/core/platform/Cargo.toml +++ b/crates/core/platform/Cargo.toml @@ -9,7 +9,7 @@ moon_action_context = { path = "../action-context" } moon_common = { path = "../../../nextgen/common" } moon_config = { path = "../../../nextgen/config" } moon_hash = { path = "../../../nextgen/hash" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_process = { path = "../../../nextgen/process" } moon_project = { path = "../../../nextgen/project" } moon_task = { path = "../../../nextgen/task" } diff --git a/crates/core/platform/src/lib.rs b/crates/core/platform/src/lib.rs index ad1a8aa17a9..5447a49c0a7 100644 --- a/crates/core/platform/src/lib.rs +++ b/crates/core/platform/src/lib.rs @@ -5,5 +5,5 @@ mod platform; pub use manager::*; pub use moon_config::PlatformType; -pub use moon_platform_runtime2::*; +pub use moon_platform_runtime::*; pub use platform::*; diff --git a/crates/core/platform/src/platform.rs b/crates/core/platform/src/platform.rs index 9efebaa142f..ac9cd2b98e0 100644 --- a/crates/core/platform/src/platform.rs +++ b/crates/core/platform/src/platform.rs @@ -6,7 +6,7 @@ use moon_config::{ ProjectsSourcesMap, TasksConfigsMap, Version, }; use moon_hash::ContentHasher; -use moon_platform_runtime2::{Runtime, RuntimeReq}; +use moon_platform_runtime::{Runtime, RuntimeReq}; use moon_process::Command; use moon_project::Project; use moon_task::Task; diff --git a/crates/core/runner/Cargo.toml b/crates/core/runner/Cargo.toml index 37248787ec7..80f4bd82792 100644 --- a/crates/core/runner/Cargo.toml +++ b/crates/core/runner/Cargo.toml @@ -14,7 +14,7 @@ moon_emitter = { path = "../emitter" } moon_hash = { path = "../../../nextgen/hash" } moon_logger = { path = "../logger" } moon_platform = { path = "../platform" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_process = { path = "../../../nextgen/process" } moon_project = { path = "../../../nextgen/project" } moon_target = { path = "../../../nextgen/target" } diff --git a/crates/core/runner/src/runner.rs b/crates/core/runner/src/runner.rs index 2a237059ac8..04bde98059a 100644 --- a/crates/core/runner/src/runner.rs +++ b/crates/core/runner/src/runner.rs @@ -11,7 +11,7 @@ use moon_emitter::{Emitter, Event, EventFlow}; use moon_hash::ContentHasher; use moon_logger::{debug, warn}; use moon_platform::PlatformManager; -use moon_platform_runtime2::Runtime; +use moon_platform_runtime::Runtime; use moon_process::{args, output_to_error, output_to_string, Command, Output}; use moon_project::Project; use moon_target::{TargetError, TargetScope}; diff --git a/crates/core/tool/Cargo.toml b/crates/core/tool/Cargo.toml index 26c5bbcecb6..b901c2f0298 100644 --- a/crates/core/tool/Cargo.toml +++ b/crates/core/tool/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] moon_lang = { path = "../lang" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_process = { path = "../../../nextgen/process" } async-trait = { workspace = true } miette = { workspace = true } diff --git a/crates/core/tool/src/errors.rs b/crates/core/tool/src/errors.rs index 71834129e71..e1b88ebaf82 100644 --- a/crates/core/tool/src/errors.rs +++ b/crates/core/tool/src/errors.rs @@ -1,5 +1,5 @@ use miette::Diagnostic; -use moon_platform_runtime2::Runtime; +use moon_platform_runtime::Runtime; use starbase_styles::{Style, Stylize}; use thiserror::Error; diff --git a/crates/core/tool/src/manager.rs b/crates/core/tool/src/manager.rs index c88c0ac768f..e4b438cc642 100644 --- a/crates/core/tool/src/manager.rs +++ b/crates/core/tool/src/manager.rs @@ -1,6 +1,6 @@ use crate::errors::ToolError; use crate::tool::Tool; -use moon_platform_runtime2::{Runtime, RuntimeReq}; +use moon_platform_runtime::{Runtime, RuntimeReq}; use proto_core::Version; use rustc_hash::FxHashMap; diff --git a/crates/deno/tool/Cargo.toml b/crates/deno/tool/Cargo.toml index 5abd668c0d2..ab95af131ef 100644 --- a/crates/deno/tool/Cargo.toml +++ b/crates/deno/tool/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] moon_config = { path = "../../../nextgen/config" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_tool = { path = "../../core/tool" } miette = { workspace = true } proto_core = { workspace = true } diff --git a/crates/deno/tool/src/deno_tool.rs b/crates/deno/tool/src/deno_tool.rs index c1e2c35c93c..a014cd8948f 100644 --- a/crates/deno/tool/src/deno_tool.rs +++ b/crates/deno/tool/src/deno_tool.rs @@ -1,5 +1,5 @@ use moon_config::DenoConfig; -use moon_platform_runtime2::RuntimeReq; +use moon_platform_runtime::RuntimeReq; use moon_tool::{async_trait, Tool}; use proto_core::ProtoEnvironment; use std::path::PathBuf; diff --git a/crates/node/tool/Cargo.toml b/crates/node/tool/Cargo.toml index 952ff172eec..3553e06c70b 100644 --- a/crates/node/tool/Cargo.toml +++ b/crates/node/tool/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] moon_config = { path = "../../../nextgen/config" } moon_logger = { path = "../../core/logger" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_process = { path = "../../../nextgen/process" } moon_node_lang = { path = "../lang" } moon_terminal = { path = "../../core/terminal" } diff --git a/crates/node/tool/src/node_tool.rs b/crates/node/tool/src/node_tool.rs index 2ff1f4c0a51..cb62c451b5f 100644 --- a/crates/node/tool/src/node_tool.rs +++ b/crates/node/tool/src/node_tool.rs @@ -4,7 +4,7 @@ use crate::yarn_tool::YarnTool; use moon_config::{NodeConfig, NodePackageManager}; use moon_logger::debug; use moon_node_lang::node; -use moon_platform_runtime2::RuntimeReq; +use moon_platform_runtime::RuntimeReq; use moon_process::Command; use moon_terminal::{print_checkpoint, Checkpoint}; use moon_tool::{ diff --git a/crates/rust/tool/Cargo.toml b/crates/rust/tool/Cargo.toml index 9b79ef54c03..88942878d9d 100644 --- a/crates/rust/tool/Cargo.toml +++ b/crates/rust/tool/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] moon_config = { path = "../../../nextgen/config" } moon_logger = { path = "../../core/logger" } -moon_platform_runtime2 = { path = "../../../nextgen/platform-runtime" } +moon_platform_runtime = { path = "../../../nextgen/platform-runtime" } moon_process = { path = "../../../nextgen/process" } moon_terminal = { path = "../../core/terminal" } moon_tool = { path = "../../core/tool" } diff --git a/crates/rust/tool/src/rust_tool.rs b/crates/rust/tool/src/rust_tool.rs index 76ffc7e7b73..ef6a683e2ce 100644 --- a/crates/rust/tool/src/rust_tool.rs +++ b/crates/rust/tool/src/rust_tool.rs @@ -1,6 +1,6 @@ use moon_config::RustConfig; use moon_logger::debug; -use moon_platform_runtime2::RuntimeReq; +use moon_platform_runtime::RuntimeReq; use moon_process::Command; use moon_terminal::{print_checkpoint, Checkpoint}; use moon_tool::{async_trait, load_tool_plugin, Tool}; diff --git a/nextgen/platform-runtime/Cargo.toml b/nextgen/platform-runtime/Cargo.toml index 6fcf6406332..40859f911c4 100644 --- a/nextgen/platform-runtime/Cargo.toml +++ b/nextgen/platform-runtime/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "moon_platform_runtime2" +name = "moon_platform_runtime" version = "0.1.0" edition = "2021" publish = false