Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Polish turbo.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Feb 15, 2024
1 parent d9581b5 commit f35f2ed
Show file tree
Hide file tree
Showing 12 changed files with 375 additions and 338 deletions.
1 change: 0 additions & 1 deletion crates/migrate-nx/src/migrate_nx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use starbase_utils::{fs, glob, json};

#[host_fn]
extern "ExtismHost" {
fn exec_command(input: Json<ExecCommandInput>) -> Json<ExecCommandOutput>;
fn host_log(input: Json<HostLogInput>);
}

Expand Down
2 changes: 1 addition & 1 deletion crates/migrate-nx/src/nx_migrator.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::nx_json::*;
use crate::nx_project_json::{NxProjectJson, PackageJsonWithNx};
use crate::nx_project_json::*;
use moon_config::{
InputPath, OutputPath, PartialProjectDependsOn, PartialTaskArgs, PartialTaskConfig,
PartialTaskDependency, PartialTaskOptionsConfig, PartialVcsConfig, PartialWorkspaceProjects,
Expand Down
7 changes: 7 additions & 0 deletions crates/migrate-turborepo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.1.0

#### 🚀 Updates

- Removed the requirement of moon's project graph. Will now scan for `package.json`s instead.
- Cleaned up the migration code to be more readable and maintainable.

## 0.0.2

#### 🚀 Updates
Expand Down
2 changes: 1 addition & 1 deletion crates/migrate-turborepo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ moon_pdk = { workspace = true }
moon_target = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }
starbase_utils = { workspace = true, features = ["json", "yaml"] }
starbase_utils = { workspace = true, features = ["glob", "json", "yaml"] }

[dev-dependencies]
moon_pdk_test_utils = { workspace = true }
Expand Down
3 changes: 1 addition & 2 deletions crates/migrate-turborepo/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#[cfg(feature = "wasm")]
mod migrate_turborepo;

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

#[cfg(feature = "wasm")]
pub use migrate_turborepo::*;
Loading

0 comments on commit f35f2ed

Please sign in to comment.