Compare commits

..

2 Commits

Author SHA1 Message Date
f6b2c74d2d Refactor code structure for improved readability and maintainability 2025-12-18 23:38:43 +08:00
cf50a5322f Update Tauri project configuration and dependencies
- Modified Claude settings configuration
- Updated index.html
- Added Cargo.lock file
- Updated Cargo.toml dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-10 10:57:53 +08:00
6 changed files with 6470 additions and 13 deletions

View File

@@ -2,7 +2,10 @@
"permissions": { "permissions": {
"allow": [ "allow": [
"Bash(git init:*)", "Bash(git init:*)",
"Bash(git add:*)" "Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git remote add origin:*)",
"Bash(git push:*)"
] ]
} }
} }

View File

@@ -1,10 +1,10 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="zh-CN">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri + React + Typescript</title> <title>Light Code</title>
</head> </head>
<body> <body>

View File

@@ -7,20 +7,20 @@
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
"preview": "vite preview", "preview": "vite preview",
"tauri": "tauri" "tauri": "tauri dev"
}, },
"dependencies": { "dependencies": {
"react": "^19.1.0", "react": "^19.2.3",
"react-dom": "^19.1.0", "react-dom": "^19.2.3",
"@tauri-apps/api": "^2", "@tauri-apps/api": "^2",
"@tauri-apps/plugin-opener": "^2" "@tauri-apps/plugin-opener": "^2"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^19.1.8", "@types/react": "^19.2.7",
"@types/react-dom": "^19.1.6", "@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.6.0", "@vitejs/plugin-react": "^5.1.2",
"typescript": "~5.8.3", "typescript": "~5.9.3",
"vite": "^7.0.4", "vite": "^7.3.0",
"@tauri-apps/cli": "^2" "@tauri-apps/cli": "^2"
} }
} }

1231
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

5223
src-tauri/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,8 @@
[package] [package]
name = "tauri-template" name = "tauri-template"
version = "0.1.0" version = "0.1.0"
description = "A Tauri App" description = "Light Code"
authors = ["you"] authors = ["abearxiong"]
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html