feat(tauri): Replace Node with Bun & Add Tauri Integration for Cross-Platform Desktop/Mobile Builds#72
Open
imsakg wants to merge 1 commit into
Open
feat(tauri): Replace Node with Bun & Add Tauri Integration for Cross-Platform Desktop/Mobile Builds#72imsakg wants to merge 1 commit into
imsakg wants to merge 1 commit into
Conversation
- Add `bun run` equivalents for npm scripts in README commands section - Include Tauri development and build commands for desktop and mobile platforms - Add `bun.lock` file for package locking with Bun package manager
Author
|
This PR could have missing or wrong parts. So, before merging it let's discuss on it.
|
|
Why bun? |
Author
|
It is fast. |
|
Amazing reason, let's port it to Rust to make it even faster :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces Tauri integration into the project, replacing the previous Node.js-based commands with Bun and adding necessary configurations and dependencies for building cross-platform desktop and mobile applications. Key changes include updates to the
README.mdfile, new dependencies inpackage.json, and the addition of Tauri-specific files and configurations.Tauri Integration
README.md: Updated commands to use Bun instead of npm and added Tauri-specific commands for development and building applications across platforms.package.json: Added@tauri-apps/clias a dependency to enable Tauri integration.src-tauri/Cargo.toml: Added a Rust configuration file for the Tauri app, specifying dependencies liketauri,serde, andlog.src-tauri/tauri.conf.json: Added Tauri configuration for app details, build commands, and bundling options, including support for all platforms.Tauri Project Setup
src-tauri/.gitignore: Added entries to ignore compiled files and schemas generated by Cargo.src-tauri/build.rs: Added a build script to configure the Tauri application build process.src-tauri/src/lib.rs: Implemented the main logic for running the Tauri application, including plugin setup for logging in debug mode.src-tauri/src/main.rs: Created the entry point for the Tauri application, linking to the library'srunfunction.src-tauri/capabilities/default.json: Defined default permissions and capabilities for the Tauri application.