-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug][v2] tauri plugin new [name] creates examples folder #11009
Comments
This is an intended behavior and not a bug, as it is meant to setup a project for you to test your plugin with. However I will open a PR to add |
I would like to make the argument that the default setup should not include an examples folder, and the same goes for GitHub workflows. #11092 The way I see it, if someone is developing a plugin, they likely already have a Tauri project where that plugin will be used or tested. The plugin project should contain only the required scaffolding. In my case, I just developed my first Tauri plugin for v2 and noticed that there were several files that were not necessary for the plugin itself. These “extras” only add noise to the repository, making it harder to understand the core logic of the plugin and adding unnecessary clutter. |
I agree on the |
Describe the bug
Running
npm run tauri plugin new [name]
creates an examples folder inside tauri-plugin-[name].Reproduction
npm run tauri plugin new [name]
Expected behavior
No examples folder. Only required files.
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: