Skip to content

Commit

Permalink
feat(mfe): remove hyphen from microfrontends binary name (#9683)
Browse files Browse the repository at this point in the history
### Description

The standard naming for microfrontends does not have a hyphen. This
updates Turborepo to look for the binary without the hyphen.

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
  • Loading branch information
mknichel authored Jan 10, 2025
1 parent 1a40277 commit 6b4c82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/task_graph/visitor/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl<'a> CommandProvider for MicroFrontendProxyProvider<'a> {
args.extend(local_apps);

// TODO: leverage package manager to find the local proxy
let program = package_dir.join_components(&["node_modules", ".bin", "micro-frontends"]);
let program = package_dir.join_components(&["node_modules", ".bin", "microfrontends"]);
let mut cmd = Command::new(program.as_std_path());
cmd.current_dir(package_dir).args(args).open_stdin();

Expand Down

0 comments on commit 6b4c82d

Please sign in to comment.