We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tauri add
1 parent f8e50e8 commit cad5504Copy full SHA for cad5504
.changes/cli-add-pkgname.md
@@ -0,0 +1,6 @@
1
+---
2
+tauri-cli: 'patch:bug'
3
+'@tauri-apps/cli': 'patch:bug'
4
5
+
6
+Fixed and issue that caused `tauri add` to try to install incorrect npm packages.
crates/tauri-cli/src/add.rs
@@ -58,7 +58,7 @@ pub fn run(options: Options) -> Result<()> {
58
let plugin_snake_case = plugin.replace('-', "_");
59
let crate_name = format!("tauri-plugin-{plugin}");
60
let npm_name = if is_known {
61
- format!("tauri-apps/plugin-{plugin}")
+ format!("@tauri-apps/plugin-{plugin}")
62
} else {
63
format!("tauri-plugin-{plugin}-api")
64
};
0 commit comments