Skip to content
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

add tauri support #213

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@tauri-apps/cli": "^2.1.0",
Copy link

@coderabbitai coderabbitai bot Dec 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add missing Tauri dependencies and scripts

While @tauri-apps/cli is added, there are some essential Tauri-related additions missing:

  1. Add @tauri-apps/api dependency for Tauri frontend APIs
  2. Add Tauri-specific scripts for development workflow

Add these to package.json:

 "dependencies": {
+  "@tauri-apps/api": "^2.1.0",
   "@emotion/cache": "^11.11.0",
 },
 "scripts": {
+  "tauri": "tauri",
+  "tauri:dev": "tauri dev",
+  "tauri:build": "tauri build",
   "start": "./scripts/start-all-platforms.cmd",
 }

Committable suggestion skipped: line range outside the PR's diff.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no thanks

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qwqtoday, understood.

"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "13.3.0",
"@testing-library/user-event": "^14.2.1",
Expand Down
4 changes: 4 additions & 0 deletions src-tauri/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Generated by Cargo
# will have compiled files and executables
/target/
/gen/schemas
Loading