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
co-authored by Amr Bashir
parent caf8456864
commit 22991af9f4
72 changed files with 435 additions and 419 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ type ClipResponse = Clip<"PlainText", string>;
* Writes plain text to the clipboard.
* @example
* ```typescript
* import { writeText, readText } from 'tauri-plugin-clipboard-api';
* import { writeText, readText } from '@tauri-apps/plugin-clipboard';
* await writeText('Tauri is awesome!');
* assert(await readText(), 'Tauri is awesome!');
* ```
@@ -65,7 +65,7 @@ async function writeText(
* Gets the clipboard content as plain text.
* @example
* ```typescript
* import { readText } from 'tauri-plugin-clipboard-api';
* import { readText } from '@tauri-apps/plugin-clipboard';
* const clipboardText = await readText();
* ```
* @since 1.0.0.
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "tauri-plugin-clipboard-api",
"name": "@tauri-apps/plugin-clipboard",
"version": "0.0.0",
"license": "MIT or APACHE-2.0",
"authors": [