Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Tauri 2.0#11

Open
kacperpaczos wants to merge 2 commits intop2panda:mainfrom
kacperpaczos:tauri-2.0
Open

Tauri 2.0#11
kacperpaczos wants to merge 2 commits intop2panda:mainfrom
kacperpaczos:tauri-2.0

Conversation

@kacperpaczos
Copy link

🚀 Complete Tauri v2 Migration with p2panda Integration

This PR migrates the entire project from Tauri v1 to v2 with full p2panda integration.

🔧 Key Changes

Frontend (JavaScript/TypeScript):

  • ✅ Fix Tauri API import: @tauri-apps/api/tauri@tauri-apps/api/core
  • ✅ Update package.json dependencies to Tauri v2.8.0
  • ✅ Configure dynamic port support in vite.config.ts (default 1420)
  • ✅ Update README.md with Node.js v16+ requirements and npm usage

Backend (Rust):

  • ✅ Update Cargo.toml dependencies for Tauri v2 compatibility
  • ✅ Implement p2panda integration with schema management
  • ✅ Add key pair handling and session management
  • ✅ Update Tauri.toml configuration for v2 compatibility

Configuration:

  • ✅ Generate Tauri v2 permission schemas
  • ✅ Update build commands to use npm instead of bun
  • ✅ Configure development workflow with dynamic ports

🧪 Testing

  • ✅ All changes tested with npm dev workflow
  • ✅ Dynamic port configuration working (PORT=1420/1421)
  • ✅ p2panda integration functional
  • ✅ Tauri v2 API calls working correctly

📋 Migration Summary

  • 14 files changed
  • 8,165 insertions, 2,119 deletions
  • 4 new schema files generated
  • Complete backward compatibility maintained

�� Ready for Review

This PR is ready for review and merge. All functionality has been tested and verified to work with the new Tauri v2 architecture.

Kacper Paczos added 2 commits September 2, 2025 23:00
- Change beforeDevCommand from "bun run dev" to "npm run dev"
- Keep beforeBuildCommand as "npm run build"
- Update README: Node.js >=16 requirement and usage with npm
- Vite dev server uses PORT env (default 1420)
- No runtime logic changes, dev-only config update
- Fix Tauri API import: @tauri-apps/api/tauri -> @tauri-apps/api/core
- Update package.json dependencies to Tauri v2.8.0
- Configure dynamic port support in vite.config.ts (default 1420)
- Update Rust dependencies in Cargo.toml for Tauri v2
- Implement p2panda integration in Rust backend
- Add schema management and key pair handling
- Update Tauri.toml configuration for v2 compatibility
- Generate Tauri v2 permission schemas
- All changes tested and working with npm dev workflow
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant