Skip to content

Commit

Permalink
fix(cli): upgrade heck to better support Chinese/Japanese prodcut nam…
Browse files Browse the repository at this point in the history
…e on Linux (#9298)
  • Loading branch information
jetli committed Apr 1, 2024
1 parent dbe81b8 commit 9dd67ab
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .changes/cli-chinese-product-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---

Upgrade `heck` to v0.5 to better support Chinese and Japanese product name, because Chinese do not have word separation.
14 changes: 10 additions & 4 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 core/tauri-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tauri-utils = { version = "1.5.3", path = "../tauri-utils", features = [
cargo_toml = "0.15"
serde = "1"
serde_json = "1"
heck = "0.4"
heck = "0.5"
json-patch = "1.2"
tauri-winres = "0.1"
semver = "1"
Expand Down
2 changes: 1 addition & 1 deletion core/tauri-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ proc-macro = true
proc-macro2 = { version = "1", features = ["span-locations"] }
quote = "1"
syn = { version = "1", features = ["full"] }
heck = "0.4"
heck = "0.5"
tauri-codegen = { version = "1.4.2", default-features = false, path = "../tauri-codegen" }
tauri-utils = { version = "1.5.3", path = "../tauri-utils" }

Expand Down
2 changes: 1 addition & 1 deletion core/tauri-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dunce = "1"
log = "0.4.20"

[target."cfg(target_os = \"linux\")".dependencies]
heck = "0.4"
heck = "0.5"

[target."cfg(windows)".dependencies]
windows-version = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion core/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ win7-notifications = { version = "0.4", optional = true }
features = [ "Win32_Foundation" ]

[build-dependencies]
heck = "0.4"
heck = "0.5"
once_cell = "1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion tooling/bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ plist = "1"
regex = "1"

[target."cfg(target_os = \"linux\")".dependencies]
heck = "0.4"
heck = "0.5"
ar = "0.9.0"
md5 = "0.7.0"

Expand Down
17 changes: 10 additions & 7 deletions tooling/cli/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 tooling/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ semver = "1.0"
regex = "1.10.2"
unicode-width = "0.1"
zeroize = "1.6"
heck = { version = "0.4", features = [ "unicode" ] }
heck = "0.5"
dialoguer = "0.11"
url = { version = "2.4", features = [ "serde" ] }
os_pipe = "1"
Expand Down

0 comments on commit 9dd67ab

Please sign in to comment.