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

Commit 9561127

Browse files
committed
new: Support more aliases.
1 parent 5787f57 commit 9561127

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.6.1
4+
5+
#### 🚀 Updates
6+
7+
- Added `lts` and `lts-latest` as supported remote aliases.
8+
39
## 0.6.0
410

511
#### 🚀 Updates

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members = ["crates/*"]
66
extism-pdk = "0.3.4"
77
proto_pdk = { version = "0.11.1" } # , path = "../../proto/crates/pdk" }
88
proto_pdk_api = { version = "0.11.1" } # , path = "../../proto/crates/pdk-api" }
9-
proto_pdk_test_utils = { version = "0.12.0" } # , path = "../../proto/crates/pdk-test-utils" }
9+
proto_pdk_test_utils = { version = "0.12.1" } # , path = "../../proto/crates/pdk-test-utils" }
1010
regex = { version = "1.10.2", default-features = false, features = [
1111
"std",
1212
"unicode",

crates/node-depman/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "node_depman_plugin"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = "2021"
55
license = "MIT"
66
publish = false

crates/node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "node_plugin"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
edition = "2021"
55
license = "MIT"
66
publish = false

crates/node/src/proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn resolve_version(
104104
if let UnresolvedVersionSpec::Alias(alias) = input.initial {
105105
let candidate = if alias == "node" {
106106
"latest"
107-
} else if alias == "lts-*" || alias == "lts/*" {
107+
} else if alias == "lts" || alias == "lts-latest" || alias == "lts-*" || alias == "lts/*" {
108108
"stable"
109109
} else if alias.starts_with("lts-") || alias.starts_with("lts/") {
110110
&alias[4..]

0 commit comments

Comments
 (0)