Tauri Plugin Dev Guest JS

Use when authoring the npm-package half of a Tauri v2 plugin — the `guest-js/index.ts` exporting friendly wrappers around `invoke('plugin:my-plugin/cmd_name', args)`, typed `Channel` streaming wrappers, `addPluginListener('plugin-name', 'event-name', cb)` for native-emitted events, the `package.json` `exports` map for dual ESM/CJS, bundling with `tsup` or `rollup`, lockstep versioning with the Rust crate, and the publish workflow.

stuffbucket 508f439 4 files · 15.1 KB Updated

File contents

stuffbucket/skills/tree/main/plugins/stuffbucket/skills/tauri-plugin-dev-guest-js commit 508f4397cd

Frequently asked questions

npx skillmds@latest add stuffbucket/tauri-plugin-dev-guest-js