Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
meowtec committed May 8, 2023
1 parent 324fc56 commit 631be63
Show file tree
Hide file tree
Showing 9 changed files with 2,647 additions and 2,380 deletions.
498 changes: 336 additions & 162 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"description": "A simple chat room.",
"author": "meowtec <berton@gmail.com>",
"devDependencies": {
"@types/node": "^18.15.13",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.38.0",
"@types/node": "^18.16.5",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.40.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^3.5.5",
Expand Down
22 changes: 11 additions & 11 deletions packages/launcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@
"tauri": "tauri"
},
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@fontsource/roboto": "^4.5.8",
"@tauri-apps/api": "^1.2.0",
"@meowtec/lansend-shared": "workspace:*",
"@tauri-apps/api": "^1.3.0",
"clsx": "^1.2.1",
"copy-to-clipboard": "^3.3.3",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swr": "^2.0.4",
"copy-to-clipboard": "^3.3.3"
"swr": "^2.1.5"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.0",
"@types/node": "^18.14.4",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@tauri-apps/cli": "^1.3.1",
"@types/node": "^18.16.5",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@vitejs/plugin-react": "^3.1.0",
"vite-plugin-svg-sprite": "^0.3.1",
"internal-ip": "^7.0.0",
"typescript": "^5.0.4",
"vite": "^4.1.4"
"vite": "^4.3.5",
"vite-plugin-svg-sprite": "^0.3.1"
}
}
12 changes: 4 additions & 8 deletions packages/launcher/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,20 @@ name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

[build-dependencies]
tauri-build = { version = "1.2", features = [] }
tauri-build = { version = "1.3", features = [] }

[dependencies]
# "dialog-all", "shell-open"
tauri = { version = "1.2", features = ["dialog-all", "icon-png", "shell-open", "system-tray"] }
tauri = { version = "1.3", features = ["dialog-all", "icon-png", "shell-open", "system-tray"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.26", features = ["rt", "rt-multi-thread", "macros", "fs"] }
anyhow = "1.0"
log = "0.4"
lansend-server = { path = "../../server" }
local-ip-address = { git = "https://github.com/meowtec/local-ip-address.git", branch = "feat/unix" }
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }

[target.'cfg(target_os = "android")'.dependencies]
ndk-context = "0.1.1"
jni = "0.20.0"
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }

[features]
# this feature is used for production builds or when `devPath` points to the filesystem
Expand Down
4 changes: 2 additions & 2 deletions packages/launcher/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
mod ip;
mod platform;
#[cfg(desktop)]
mod tray;
#[cfg(desktop)]
Expand Down Expand Up @@ -110,7 +109,8 @@ pub fn run() {
tray::init_tray(app);

let config = app.config();
let app_data_dir = platform::get_app_data_dir(&config)?;
let app_data_dir = tauri::api::path::app_data_dir(&config)
.map_or(Err(anyhow::anyhow!("no data dir")), Ok)?;
log::info!("app data dir: {:?}", app_data_dir);

server_state_1.init_with_app_dir(app_data_dir);
Expand Down
30 changes: 0 additions & 30 deletions packages/launcher/src-tauri/src/platform.rs

This file was deleted.

2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@types/react": "^18.0.28"
"@types/react": "^18.2.6"
}
}
24 changes: 12 additions & 12 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@
"description": "A simple chat room.",
"dependencies": {
"@floating-ui/react-dom": "^1.3.0",
"@react-hook/merged-ref": "^1.3.2",
"@meowtec/lansend-shared": "workspace:*",
"@react-hook/merged-ref": "^1.3.2",
"boring-avatars": "^1.7.0",
"clsx": "^1.2.1",
"copy-to-clipboard": "^3.3.3",
"detect-port": "^1.5.1",
"fast-deep-equal": "^3.1.3",
"immer": "^9.0.19",
"immer": "^9.0.21",
"mime": "^3.0.0",
"mitt": "^3.0.0",
"nanoid": "^4.0.1",
"nanoid": "^4.0.2",
"normalize.css": "^8.0.1",
"react-transition-group": "^4.4.5",
"react-use": "^17.4.0",
"react-virtual": "^2.10.4",
"reselect": "^4.1.7",
"reselect": "^4.1.8",
"seedrandom": "^3.0.5",
"swr": "^2.0.4",
"zustand": "^4.3.5"
"swr": "^2.1.5",
"zustand": "^4.3.8"
},
"devDependencies": {
"@types/mime": "^3.0.1",
"@types/node": "^18.14.4",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-transition-group": "^4.4.5",
"@types/node": "^18.16.5",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@types/react-transition-group": "^4.4.6",
"@types/seedrandom": "^3.0.5",
"@vitejs/plugin-react": "^3.1.0",
"execa": "^6.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.58.3",
"sass": "^1.62.1",
"ts-node": "^10.9.1",
"typed-css-modules": "^0.7.2",
"typescript": "^5.0.4",
"vite": "^4.1.4",
"vite": "^4.3.5",
"vite-plugin-svg-sprite": "^0.3.1"
},
"scripts": {
Expand Down

0 comments on commit 631be63

Please sign in to comment.