Skip to content

Commit ef41d0e

Browse files
update to tauri v2 (#115)
* update to tauri v2 * undo formatting * add release profile to significantly reduce binary size
1 parent 4511de4 commit ef41d0e

20 files changed

+3283
-3503
lines changed

tauri-todos/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite App</title>
7+
<title>Todo App</title>
88
</head>
99
<body>
1010
<div id="root"></div>

tauri-todos/package-lock.json

Lines changed: 1092 additions & 678 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tauri-todos/package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,30 @@
22
"name": "iroh-tauri-todomvc",
33
"private": true,
44
"version": "0.1.0",
5+
"type": "module",
56
"scripts": {
67
"dev": "vite",
78
"build": "tsc && vite build",
89
"preview": "vite preview",
910
"tauri": "tauri"
1011
},
1112
"dependencies": {
12-
"@tauri-apps/api": "^1.0.2",
13-
"@types/react-modal": "^3.16.0",
13+
"react": "^19.1.0",
14+
"react-dom": "^19.1.0",
15+
"@tauri-apps/api": "^2",
1416
"jotai": "^2.2.3",
15-
"react": "^18.2.0",
16-
"react-dom": "^18.2.0",
1717
"react-use": "^17.4.0",
1818
"reactjs-popup": "^2.0.5",
1919
"todomvc-app-css": "^2.4.2",
20-
"use-debounce": "^9.0.0",
21-
"uuid": "^9.0.0"
20+
"use-debounce": "^10.0.0",
21+
"uuid": "^11.1.0"
2222
},
2323
"devDependencies": {
24-
"@tauri-apps/cli": "^1.0.5",
25-
"@types/react": "^18.0.15",
26-
"@types/react-dom": "^18.0.6",
27-
"@types/uuid": "^8.3.4",
28-
"@vitejs/plugin-react": "^4.0.4",
29-
"typescript": "^4.7.4",
30-
"vite": "^4.4.8"
24+
"@types/react": "^19.1.6",
25+
"@types/react-dom": "^19.1.5",
26+
"@vitejs/plugin-react": "^4.3.4",
27+
"typescript": "*",
28+
"vite": "^6.0.3",
29+
"@tauri-apps/cli": "^2"
3130
}
3231
}

tauri-todos/src-tauri/.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Generated by Cargo
22
# will have compiled files and executables
33
/target/
4-
WixTools
4+
5+
# Generated by Tauri
6+
# will have schema files for capabilities auto-completion
7+
/gen/schemas

0 commit comments

Comments
 (0)