feat(plugins): use @tauri-apps namespace on NPM (#368)

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
Lucas Fernandes Nogueira
2023-05-17 20:52:53 -03:00
committed by GitHub
parent caf8456864
commit 22991af9f4
72 changed files with 435 additions and 419 deletions
+4 -4
View File
@@ -18,7 +18,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml
[dependencies]
tauri-plugin-dialog-api = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-dialog = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
```
You can install the JavaScript Guest bindings using your preferred JavaScript package manager:
@@ -26,11 +26,11 @@ You can install the JavaScript Guest bindings using your preferred JavaScript pa
> Note: Since most JavaScript package managers are unable to install packages from git monorepos we provide read-only mirrors of each plugin. This makes installation option 2 more ergonomic to use.
```sh
pnpm add tauri-plugin-dialog-api
pnpm add @tauri-apps/plugin-dialog
# or
npm add tauri-plugin-dialog-api
npm add @tauri-apps/plugin-dialog
# or
yarn add tauri-plugin-dialog-api
yarn add @tauri-apps/plugin-dialog
```
## Usage
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "tauri-plugin-dialog-api",
"name": "@tauri-apps/plugin-dialog",
"version": "0.0.0",
"license": "MIT or APACHE-2.0",
"authors": [