Skip to content

Commit

Permalink
Move project graph.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Feb 3, 2024
1 parent c88d8ad commit 7e362f1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ publish = false
[dependencies]
extism-pdk = { workspace = true }
moon_pdk = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }
1 change: 1 addition & 0 deletions crates/common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub mod download;
pub mod project_graph;

pub fn map_miette_error(error: impl std::fmt::Display) -> extism_pdk::Error {
moon_pdk::anyhow!("{error}")
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions crates/migrate-turborepo/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#[cfg(feature = "wasm")]
mod migrate_turborepo;

#[cfg(feature = "wasm")]
mod project_graph;

#[cfg(feature = "wasm")]
mod turbo_json;

Expand Down
3 changes: 1 addition & 2 deletions crates/migrate-turborepo/src/migrate_turborepo.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use crate::project_graph::{Project, ProjectGraph};
use crate::turbo_json::*;
use extism_pdk::*;
use moon_common::Id;
Expand All @@ -7,7 +6,7 @@ use moon_config::{
PartialProjectConfig, PartialTaskArgs, PartialTaskConfig, PartialTaskDependency,
PartialTaskOptionsConfig, PlatformType, PortablePath, TaskOptionEnvFile, TaskOutputStyle,
};
use moon_extension_common::map_miette_error;
use moon_extension_common::{map_miette_error, project_graph::*};
use moon_pdk::*;
use moon_target::Target;
use rustc_hash::FxHashMap;
Expand Down

0 comments on commit 7e362f1

Please sign in to comment.