Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Update impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jul 2, 2024
1 parent 20fecf2 commit 13d0d37
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.11.4

#### 🚀 Updates

- Updated to support proto v0.37 release.

## 0.11.3

#### 🚀 Updates
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/node-depman/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node_depman_plugin"
version = "0.11.3"
version = "0.11.4"
edition = "2021"
license = "MIT"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion crates/node-depman/src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,11 @@ pub fn locate_executables(
let config = get_tool_config::<NodeDepmanPluginConfig>()?;

if config.shared_globals_dir {
globals_lookup_dirs.clear();
globals_lookup_dirs.push("$PROTO_HOME/tools/node/globals/bin".into());
}

Ok(Json(LocateExecutablesOutput {
exes_dir: Some(".".into()),
globals_lookup_dirs,
primary: Some(primary),
secondary,
Expand Down
2 changes: 1 addition & 1 deletion crates/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node_plugin"
version = "0.11.3"
version = "0.11.4"
edition = "2021"
license = "MIT"
publish = false
Expand Down
5 changes: 5 additions & 0 deletions crates/node/src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ pub fn locate_executables(
let env = get_host_environment()?;

Ok(Json(LocateExecutablesOutput {
exes_dir: Some(if env.os == HostOS::Windows {
".".into()
} else {
"bin".into()
}),
globals_lookup_dirs: vec!["$PROTO_HOME/tools/node/globals/bin".into()],
primary: Some(ExecutableConfig::new(if env.os == HostOS::Windows {
format!("{}.exe", BIN)
Expand Down
2 changes: 1 addition & 1 deletion crates/node/tests/versions_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ generate_resolve_versions_tests!("node-test", {
"lts-gallium" => "16.20.2",
"lts/fermium" => "14.21.3",
"stable" => "20.15.0",
"node" => "22.3.0",
"node" => "22.4.0",
});

#[test]
Expand Down

0 comments on commit 13d0d37

Please sign in to comment.