feat: Refactor and update dependencies for v1.0.9 #207
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 several significant updates across the project, focusing on dependency upgrades, Tauri backend improvements, and configuration/metadata changes. It modernizes the codebase, enhances compatibility, and refines permissions and capabilities for the Tauri application.
Dependency and Configuration Updates:
package.json(React, Tauri, Radix UI, etc.) to their latest versions for improved stability, security, and features. Also updated dev dependencies and added new packages such asnext-themes,sonner, andtw-animate-css.components.jsonto use the "new-york" style, changed Tailwind base color, disabled RSC, added new aliases, and set the icon library to "lucide".postcss.config.jsfile, indicating a shift in how CSS is processed or configured..gitignorefiles to reflect new build artifacts and generated files, and removed.envfrom ignore list. [1] [2]Tauri Backend Enhancements:
src-tauri/src/lib.rs, introducing modularization and many new Tauri command handlers for save file operations, inventory and skill editing, CRC bypass, outpost saves, and more. This makes the backend more maintainable and feature-rich.Cargo.tomlto version 1.0.9, added a[lib]section for unique library naming, updated dependencies (notably Tauri plugins and Rust crates), and removed unused features. [1] [2]logger.rsby removing unused dependencies (term,term_size) and adjusting logger trait signatures.Permissions and Capabilities:
migratedcapability with a new, more restrictivedefaultcapability in Tauri, limiting permissions to only those required for the main window and removing unnecessary access. Updated corresponding schema files. [1] [2] [3]Documentation and Metadata:
README.mdto add a project screenshot and recognize new contributors with badges. [1] [2]package.jsonandCargo.tomlto 1.0.9. [1] [2]Most important changes:
1. Dependency and Configuration Modernization
.gitignorefiles to match new build and generated file patterns. [1] [2]2. Tauri Backend Refactor and Feature Expansion
src-tauri/src/lib.rsfor modularity and maintainability, added comprehensive Tauri command handlers for all major save file operations and integrations.Cargo.toml. [1] [2]logger.rs.3. Permissions and Capabilities Restriction
migratedTauri capability with a new, more restrictivedefaultcapability, reducing the application's permission surface and updating schema files accordingly. [1] [2] [3]4. Documentation and Metadata Updates
README.mdfor improved documentation and community recognition. [1] [2]